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 |
how we rectify soc7 and soc4 errors in project?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
What do you feel makes a good program?
can we display comp-3 variables. if we want to display what we have to do . give me one example
In a COBOL II PERFORM statement, when is the conditional tested, before or after the perform execution?
How include time & date in the report generation in cobol programing?
hi dudes.....can any one help me..... what is SET TO TRUE all about,anyway?
Can we use icetool in cobol program?
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..
What are differences between Static Call and Dynamic Call?
10 Answers IBM, KBC, Keane India Ltd, Verizon,
With in these three which one is the default one Call Reference, Call By Value, Call By Content.-Which one is default?
what is amode(24), amode(31), rmode(24) and rmode(any)?