Programming Interface information
Programming Interface information

Transportable program

Each transportable program contains a descriptor and a body. A transportable program descriptor (TP descriptor) indicates the beginning of a transportable program and contains the primary name. The body contains the data that is required to rebuild the program object. The overall structure of a transportable program is shown in Figure 1. The TP descriptor record is mapped by TFMT_TPDESC, which is shown in Table 1.
Figure 1. Transportable program structureieab2t02
Table 1. Transportable program descriptor map
Name Description
TFMT_TPDESC DSECT   Maps the descriptor record
TFMT_TPEYE DS CL8 Transportable program descriptor identifier. Contains string 'IEWTPDSC'
TFMT_TPLVL DS FL1 Level number: 1
TFMT_TPPOV DS FL1 Program object version
TFMT_TPRS1 DS CL2 Reserved
TFMT_TPLEN DS FL4 Record length including the varying member name
TFMT_TPNAME_OFF DS FL2 Offset to the primary (member) name relative to the beginning of TFMT_TPDESC
TFMT_TPRS2 DS FL2 Reserved
TFMT_TPMEMNAM DSECT   Maps primary name
TFMT_TPMEM_LEN DS FL2 Length of the primary name
TFMT_TPMEM_VAL DS CL8 Primary (member) name, varying, with a maximum length of eight bytes.
End of Programming Interface information
End of Programming Interface information