If i initialize the 01 level variable in array, will it
initialize all the array elements (occurs)?
Answer Posted / snehatechm
occurs clause of an array cant be coded in 01 level.
it should always be coded in work area 2
01 xxx-yyy.
03 XX-YYY-ARRAY OCCURS 10 TIMES.
05 XX-YYY-MEM1 COMP-3 PIC S9(9).
05 XX-YYY-MEM2 COMP-3 PIC S9(9)V9.
| Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
In COBOL programming, what is PERFORM? What is VARYING?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
i need a small 3d program using inline and outline.
What is link edit in cobol?
How arrays can be defined in COBOL?
Explain what you understand by passing by value.
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
What are literals?
Which mode is used to operate the sequential file?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
What is cobol?
How do you reference the following file formats from cobol programs?
In COBOL, what is the different between index and subscript?
Can you please let me know the centre name of INS certification in Kolkata.