is it mandatory to give data division before procedure division ?
wht happens if i give procedure division first thn data division
? reply soon
Answers were Sorted based on User's Feedback
Answer / sarang sangeet
THE COMPILATION JOB GETS ABENDED WITH MAXCC=12.
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / paray2x
You will get compilation error.
All the files,identifiers, literals used in Procedure
Division have to defined first.
It is imperative for the Data division to appear before
procedure division.
| Is This Answer Correct ? | 3 Yes | 0 No |
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases
How to execute a set of JCL statements from a COBOL program?
I have dataset DS1 which has records say 1 2 3 4 5 ... ... etc And also I have second dataset DS2 whcih has records 1 3 4 5 6 8 .. ... Both the files are sorted and now I want to compare these files and write it into the third files if the records are matching.
Can anybody give me example of subscript and index
Can we call a CICS program from a batch program or viceversa?If so, how?
I got user abend U4038 while compiling my runjcl.. can anyone help me?
Explain about Redefines cluse?
What is difference between COBOL and VS COBOL II?.
i want to store 20 digits . h will u do it in cobol ?
If we use GO BACK instead of STOP RUN in cobol?
OCCURS clause is used in the DATA DIVISION on data names at (a) 01 level (b) 77 level (c) 88 level (d) any level from 02 to 49