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

Answer Posted / guest

Milind , your answer is absolutely wrong .

If you compile yoru program - with a only"procedure
division - you will get belwo erros -
E A "IDENTIFICATION DIVISION" header was not found in
this program. It was assumed present.


E A "PROGRAM-ID" paragraph was not found. Program-
name "CBLNAM01" was assumed.

Otherwise - ans#1 andans#2 are absolutely
correct .

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between Global and External Variables?

666


What is the problem of ordered sequential files access?

702


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

958


Difference between cobol and cobol-ii?

708


What is redefines clause in COBOL?

851






What is the usage of comp fields in cobol?

660


How do get the result of your program directly on your pc?

1885


Explain the configuration section of a cobol program with examples of syntax.

660


what is amode(24), amode(31), rmode(24) and rmode(any)?

705


how do you reference the rrds file formats from cobol programs

801


What is perform what is varying?

711


Write a program that uses move corresponding.

673


Name the sections present in data division.

701


How many bytes S(8) comp field occupy and its maximum value?

1634


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

681