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 |
The maximum number of dimensions that an array can have in COBOL-85 is ?
Difference between cobol and cobol-ii?
What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'. 01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'. What will happen I want Display WS-VARX and WS-VARN?
what is Reentrancy and Quasi-reentrancy?
i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?
Can we call a CICS program from a batch program or viceversa?If so, how?
How can you display the SPOOL information ?
How many sections are there in data division?.
Why do we use COMP-3 variables for computation, when we know that they are non displayable fields and require additional MOVE to numeric field before we populate it in output Reports?
Which is not true about evaluate statement
How arrays can be defined in COBOL?
I have a Main Program which is calling Sub-Program which is a DB2 pgm. What will happen if I am not closing the cursor used in the Sub-program? Please advise..