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

Why occurs cannot be used in 01 level in COBOL?

781


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.

1015


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

1763


What is the utilization of copybook in cobol?

737


Write a program that uses move corresponding.

750






Describe the cobol database components?

745


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

914


How do you differentiate between cobol and cobol-ii?

732


What is the problem of ordered sequential files access?

780


What is a SSRANGE and NOSSRANGE?

921


how do you reference the printer file formats from cobol programs

740


What are the cobol coding sheets?

723


how to refer the data field?

1879


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

814


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

724