01 WS-NAME PIC X(10) OCCURES 2. by this we can get ws-name 2
times. My qustion is how can we access the second name
Answer Posted / veena
occurs can never be used in the 01 level. and when the
clause is used in 02 level, the variable has to be in the
level below that.
01 ws-name1.
02 ws-name2 occurs 2 times.
03 ws-name. pic x(10).
and also pic clause cannot be used in the same statement of
the occurs clause.
| Is This Answer Correct ? | 16 Yes | 7 No |
Post New Answer View All Answers
How you can read the file from bottom?
How do define dynamic array in cobol.
how do you reference the fixed unblock file formats from cobol programs
Can we redefine the field of x(200) to less than 200?
What is an in line perform? When would you use it? Anything else you wish to say about it.
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
how can i see junk values in dclgen or in hostvariable of comp ?
How to remove 2 duplicate records and copy only one using job control language?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
I have a File that has duplicate records. I need only those records that occur more than thrice.?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
) How do u handle errors in BMS macro
What are literals?