Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.
- In the Program Painter, type
REC in columns 4 through 6.
- Type your 01-level data item starting in column 12.
- To define elementary data items, skip a line and type them starting in column 16, as shown below. Do not enter the data item
level numbers, such as 01 or 05; AMB generates them based on how you indent the items. We recommend that you indent each new
level of elementary data items four columns. For example:
REC WS-STRUCT-IN-DSPAINTER-FORMAT.
MY-WS-FIELD-1 X8
MY-WS-FIELD-2
MY-WS-FIELD-3 X8
MY-WS-FIELD-3 X3
Generated AMB source:
01 WS-STRUCT-IN-DSPAINTER-FORMAT.
05 MY-WS-FIELD-1 PIC X(8).
05 MY-WS-FIELD-2.
10 MY-WS-FIELD-3 PIC X(8).
10 MY-WS-FIELD-4 PIC X(3).