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 to convert the recors form vsam file to db2 table tru file aid
can u give result for the fallowing example... 05 a pic 9(2) 05 b redifines a pic x(2). move 'xy' to b. display a,b.
how to transfer the file from pc to mainframe??
Under which scenario you would go for a static call as opposed to dynamic call?
How to pass return codes from cobol to jcl?
what if any ,is the syntex error in the following piece of code 01 B PIC A(7) 02 C PIC 9(4) ........ IF(B NUMERIC) ADD 10 TO C a.the condition in the if statement is wrong b.noting is wrong c.because C is initialised.ADD 10 TO C is wrong d.both B and C shoud have same size.
A table has two indexes defined. Which one will be used by the SEARCH?
How can we increase the size of an existing PDS to include more no. of modules.
can i give 9(10) in comp 3 instead of s9(10) ? if i can give wht would be ths ans
What are options have been removed in COBOL 11?
how to transfer the file from pc to mainframe??
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?