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 the local-storage section?

689


What is the difference between binary search and sequential search?

645


How to use the same COBOL program in Batch and CICS on lines? explain with an example

1918


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1600


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

1223






How do you reference the following file formats from cobol programs?

702


How do you differentiate between cobol and cobol-ii?

662


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

665


What are the different rules for performing sort operation?

770


How you can characterize tables in cobol?

727


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1787


What is perform what is varying?

713


Difference between cobol and cobol-ii?

717


What are the rules of the move verb?

711


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

637