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
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What do you understand by psb and acb?
What is rmode(24)
how do you reference the variable block file formats from cobol programs
How do you get the data to code the BMS macro?
How do get the result of your program directly on your pc?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
How you can read the file from bottom?
Can we redefine the field of x(200) to less than 200?
how do you reference the esds vsam file formats from cobol programs
What rules are to be followed while using the corresponding options?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
what is the use of outrecord?
Which division and paragraphs are mandatory for a COBOL program?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad