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
i want a program using by if, evaluate , string, unstring, perform, occurs?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What the difference is between continue and next sentence?
What are the different rules to perform a Search?
how to convert the recors form vsam file to db2 table tru file aid
What is a scope terminator give example?
Why occurs cannot be used in 01 level in COBOL?
In COBOL, what is the different between index and subscript?
What are 77 levels used for?
i need a small 3d program using inline and outline.
What is static and dynamic call in cobol?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
Explain the configuration section of a cobol program with examples of syntax.