is it mandatory to give data division before procedure division ?
wht happens if i give procedure division first thn data division
? reply soon
Answer Posted / 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 |
Post New Answer View All Answers
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What are literals?
how do you reference the fixed unblock file formats from cobol programs
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
Write a program to enter and display the names of students in a class using the occurs clause.
How do we get current date from system with century in COBOL?
What are the various section in data division and briefly explain them.
how do you reference the variable unblock file formats from cobol programs
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
Can you please let me know the centre name of INS certification in Kolkata.
Which division and paragraphs are mandatory for a COBOL program?
What is Pic 9v99 Indicates in COBOL?
Name the divisions, which are available in a cobol program?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
What are INPUT PROCEDURE and OUTPUT PROCEDURE?