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

Answer Posted / khamuruddin mohammed

Indentification Division
program-id

That's it..pgm will compile with the above 2 lines

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are literals?

725


What is amode(31)

807


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

875


how can i see junk values in dclgen or in hostvariable of comp ?

2636


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.

1785






Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

773


IF I mention stop run in CICS what happens?

1987


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

805


Which division and paragraphs are mandatory for a COBOL program?

792


Write a program to explain size error.

768


What is the difference between structured cobol programming and object alternativelyiented cobol?

855


What is the difference between Call and a Link?

794


How do you differentiate between cobol and cobol-ii?

753


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1616


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2155