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

Answer Posted / nimsatprasad

First 2 lines are enough to minimum successfully compile
the cobol program

IDENTIFICATION DIVISION.
PROGRAM-ID. COVANSYS.
PROCEDURE DIVISION.
DISPLAY 'COVANSYS'.
STOP RUN.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is rmode(any) ?

777


What is the difference between comp and comp-3 usage?

776


Write a program to enter and display the names of students in a class using the occurs clause.

774


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

512


Write down the divisions of cobol program?

750






How can you get the ksds file records into your cobol program?

727


What are the different types of condition in cobol and write their forms.

751


Difference between cobol and cobol-ii?

821


What are various search techniques in cobol? Explain.

749


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1782


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

774


What is an in line perform? When would you use it? Anything else you wish to say about it.

739


What is the LINKAGE SECTION used in COBOL?

1040


What are the different open modes available in cobol?

822


how do you reference the printer file formats from cobol programs

766