1. Why occurs can not be used in 01 level? Occurs clause is there to repeat fields with same format, not the records. 2. ...
1. Why occurs can not be used in 01 level?
Occurs clause is there to repeat fields with same format, not the records.
2. What is the maximum number of dimensions that an array can have in COBOL?.
SEVEN in COBOL - 85 and THREE in COBOL - 84
3. How do you define a table/array in COBOL?
01 ARRAYS.
05 ARRAY1 pic X(9) OCCURS 10 TIMES.
05 ARRAY2 PIC X(6) OCCURS 20 TIMES INDEXED BY WS-INDEX
No comments
Post a Comment