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
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
How to remove 2 duplicate records and copy only one using job control language?
how do you reference the printer file formats from cobol programs
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Have you used comp and comp-3 in your project? And how?
) How do u handle errors in BMS macro
Can you please let me know the centre name of INS certification in Kolkata.
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
Write some characteristics of cobol as means of business language.
How do you get the data to code the BMS macro?
What are the different open modes available in cobol?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?