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 to access the file from prodution from changeman tool and to submit a file to production
What are 77 levels used for?
how do you reference the esds vsam file formats from cobol programs
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
how do you reference the fixed unblock file formats from cobol programs
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
What is difference between static and dynamic call in cobol?
What are the different rules of SORT operation?
In which area will you utilize 88 level items in cobol?
how do you reference the rrds 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)
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
What are the different rules for performing sort operation?
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
how can i see junk values in dclgen or in hostvariable of comp ?