Home>
Please tell me how to initialize the 2D table.
Do you use the REDEFINES clause? In the first place, I know the concept of using the REDEFINES clause as a concept, but it has not come out quite right.
I want to create a table in which constants (including characters) are predetermined.

Enter language here
COBOL
code
```
EX)

01 A-TBL
03 TBL-X OCCURS 11
03 TBL-Y OCCURS 3
05 B PIC 9(03)
05 C PIC X(05)
05 D PIC X(05)

What I tried

I'm new to COBOL and struggling with object-oriented programming. Please answer.

Supplementary information (FW/tool ​​version, etc.)
  • Answer # 1

    Have a look at this

Related articles