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

Answer Posted / anoop

only two. identification division & program-id

Is This Answer Correct ?    26 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

1954


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

740


Can we redefine the field of x(200) to less than 200?

818


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1588


Which Search verb is equivalent to PERFORM…VARYING?

685






i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

894


What are the different rules to perform a Search?

615


How to use the same COBOL program in Batch and CICS on lines? explain with an example

1914


State the various causes of s0c1, s0c5 and s0c7.

661


IF I mention stop run in CICS what happens?

1896


What is the difference between PIC 9.99 and PIC9v99?

781


What are all the divisions of a COBOL program?

663


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

673


Why occurs cannot be used in 01 level in COBOL?

715


Name some of the examples of COBOl 11?

2682