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
Name the divisions, which are available in a cobol program?
Write a program that uses move corresponding.
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What is the difference between PIC 9.99 and 9v99 in COBOL?
how do you reference the printer file formats from cobol programs
What is the local-storage section?
For rewrite, why is it mandatory that file needs to be opened?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
What are the rules of the move verb?
What is amode(24)?
What kind of error is trapped by on size error option?
how do you reference the esds vsam file formats from cobol programs
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks