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
What rules are to be followed while using the corresponding options?
In which area will you utilize 88 level items in cobol?
What is the difference between next sentence and continue in cobol programing language?
What rules are followed by the search verb.
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
Write the code implementing the perform … varying.
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
how to refer the data field?
Define static linking and dynamic linking.
how do you reference the esds vsam file formats from cobol programs
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
How do define dynamic array in cobol.
How do we get current date from system with century in COBOL?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
what is difference between cobol and cobol/400