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
How do you reference the fixed block file formats from cobol programs
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
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)?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
how do you reference the fixed unblock file formats from cobol programs
What is inspect in cobol ?
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
What is the difference between external and global variables in COBOL?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
how do you define single dimensional array and multidimensional array in your cobol?
Difference between cobol and cobol-ii?
Name the divisions, which are available in a cobol program?
What kind of error is trapped by on size error option?
What is the difference between structured cobol programming and object alternativelyiented cobol?