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 |
I am getting S00F abend when i try to compare two variable of different pic class,one variable is of 9(09) and another is S9(09) comp-3. First i moved the data from S9(09) comp-3 to 9(09), but no luck. So i tried to move the data from S9(09) comp-3 to X (09) and move to 9(09). I am getting same error message, Please help me to find solution for this ptoblem. ERROR MESSAGE - "The system or user abend S00F R=NULL was issued."
what is Pic 9v99 Indicates?
01 a pic 9(3) value is 123 01 b pic 9(6) move a to b wht will be the value ? and 01 a pic x(6) value is abc 01 b pic x(3) move a to b wht will be the value ?
What guidelines should be followed to write a structured Cobol program?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What is the LINKAGE SECTION used for?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
What is SQL Code -904 and -903 in DB2 And how to handle it?
What are the access modes of START statement?
What should be the sorting order for SEARCH ALL?
Can you REWRITE a record in an ESDS file? Can you DELETE a record from it?
6 Answers ABC, IBM, Mphasis, Wipro,
What is the LINKAGE SECTION used in COBOL?