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

Answer Posted / sagar lahulkar

I think four lines are required

Identification division
Progam I'd..
Procedure division
Display

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

703


Write a program to explain size error.

673


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

732


what is search and searchall?what is the diffrence between them?give an best example?

5552


how do you reference the variable block file formats from cobol programs

684






How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2730


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

2723


Why occurs cannot be used in 01 level in COBOL?

715


How do you differentiate between cobol and cobol-ii?

656


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

2056


Write a cobol program making use of the redefine clause.

731


i need a small 3d program using inline and outline.

1637


What is cobol?

744


What is the usage of comp fields in cobol?

658


What is a report item?

741