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

Answer Posted / vijay

technically it is mentioned a flow chart to compile the
cobol programming so i prefers that 4 lines.

IDENTIFICATION DIVISION.
PROGRAM-ID. VIJAY.
ENVIRONMENT DIVISION.
PROCEDURE DIVISION.
DISPLAY ' ALL THE BEST FOR YOUR BRIGHTEST FEATURES'
STOP RUN.

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to convert the recors form vsam file to db2 table tru file aid

2972


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

891


How to remove 2 duplicate records and copy only one using job control language?

964


What are declaratives and what are their uses in cobol?

917


Write a cobol program making use of the redefine clause.

911






Name the divisions, which are available in a cobol program?

911


What is inspect in cobol ?

984


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

942


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

941


what is the difference between COBOL2 AND COBOL390?

2698


Why occurs cannot be used in 01 level in COBOL?

894


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

1151


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

3931


What is perform what is varying?

899


What is the Purpose of POINTER Phrase in STRING command in COBOL?

947