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

How do define dynamic array in cobol.

669


What is rmode(24)

678


What is the difference between goback, stop run and exit program in cobol?

924


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

740


explain sorting techniques in cobol program?

686






Which mode is used to operate the sequential file?

663


How many sections are there in data division in COBOL?

678


State the various causes of s0c1, s0c5 and s0c7.

661


What is the difference between PIC 9.99 and 9v99 in COBOL?

732


how do you reference the esds vsam file formats from cobol programs

629


What is inspect in cobol ?

801


Which is not true about evaluate statement

1572


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

1868


How do you reference the fixed block file formats from cobol programs

703


What is the difference between PIC 9.99 and PIC9v99?

781