what is the minimum number of lines a Cobol program should
have to successfully compile and run

Answer Posted / pratap

Hi All,

Only first two lines are enough for successful compilation
for a program.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is rmode(24)

890


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2978


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

891


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

939


What kind of error is trapped by on size error option?

943






EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2275


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1964


A table has two indexes defined. Which one will be used by the SEARCH?

998


State the various causes of s0c1, s0c5 and s0c7.

833


What is a scope terminator give example?

819


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

864


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5063


What are the cobol coding sheets?

848


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1061


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

893