Previous Topic: Structured FormatNext Topic: Special Features


Sample Records in Structured Format

The following screen shows a record in COBOL or PL/I structured format.

DATATYPE= FC FILEID= INVNTRY  MODE=      LOG=OFF TODEST=         PASSWORD=   FUNC=      SUBFUNC=      RETMETH=        ARGTYP=     SRCHTYP=   MESSAGE= RECORD OBTAINED FOR VIEWING    RETNRCID=F1D7D9D6E3E2E8D440000000000000000000000000000000        CHGELEN=       RCID= C'1'       DATA=                                                         SIZE= 02D8   FORMAT= S USE= PRODUCT.PRODREC   LOC 0050           Name                      Hexadecimal            Character   -----------------------------------------------------------------------------   01 PRODREC                           |                            |   02 PRODUCTTYPE                      | D3                         | L   02 PRODUCTCODE                      | C2D4D5C8 40404040          | BMNH    02 PRODUCTDESCRIPTION               | E6D9C5D5 C3C8              | WRENCH  02  PRODUCTSITE                           | D1                         | J                                        |                            |                                       |                            |                                       |                            |                                       |                            |                                       |                            |                                       |                            |                                       |                            |  --------------------------------------------------------------------------------   1 Help       2 Format D   3 End        4 BEGB       5            6 DataType DL   7 Page bwd   8 Page fwd   9 Caps Off  10 Top       11 Bottom    12

The following screen shows a record in Assembler structured format.

 DATATYPE= FC FILEID= INVNTRY  MODE=      LOG=OFF TODEST=         PASSWORD=   FUNC=      SUBFUNC=      RETMETH=        ARGTYP=     SRCHTYP=   MESSAGE=     RETNRCID=D3C2D4D5C840404040404040404040404040404040404040        CHGELEN=       RCID= C'1'       DATA=                                                         SIZE= 0050   FORMAT= S USE= PRODUCT.PRODREC   LOC 0000  Displacement               Hexadecimal                   Character  ------------------------------------------------------------------------------    PRODTYPE             0 | D3                                  | L   PRODCODE             1 | C2D4D5C8 40404040                   | BMNH   PRODDESC             9 | E6D9C5D5 C3C8                       | WRENCH  PRODSITE            18 | D1                                  | J                          |                                     |                         |                                     |                         |                                     |                         |                                     |                         |                                     |                         |                                     |                         |                                     |  ------------------------------------------------------------------------------   1 Help       2 Format D   3 End        4 BEGB       5            6 DataType DL   7 Page bwd   8 Page fwd   9 Caps Off  10 Top       11 Bottom    12

Structured format is very similar to dump format:

Record/segment display—For Assembler, 16 bytes per line; for COBOL or PL/I, 12 bytes per line in hexadecimal and character

Numeric information (such as, SIZE, LOC)—Hexadecimal

Field entry—Hexadecimal or universal mode

Position of first byte of data in record or segment—LOCation 0

The structure‑name remains valid throughout the FILE session unless it is changed. This lets you shift display formats or data types without re‑entering the structure‑name.