Figure 1. Format for CUI entries Field Field Off Leng Description
Name Type set
IEWBCUI Binder CUI buffer, Version 6
CUIH_BUFFER_ID Char 0 8 Buffer identifier "IEWBCUI"
CUIH_BUFFER_LENG Binary 8 4 Length of the buffer, including the header
CUIH_VERSION Binary 12 1 Version identifier
*** RESERVED *** Binary 13 3 Reserved, must be zeros
CUIH_ENTRY_LENG Binary 16 4 Length of entries
CUIH_ENTRY_COUNT Binary 20 4 Number of entries (bytes) in the buffer
*** RESERVED *** Binary 24 8 Reserved, initialize to zeros
CUIH_ENTRY_ORIGIN 32 First compile unit entry
CUI_ENTRY Compile Unit Entry
CUI_CU Binary 0 4 Compile unit number
CUI_SOURCE_CU Binary 4 4 Source of compile unit number
*** RESERVED *** Binary 8 2 Reserved, must be zero
CUI_MEMBER_LEN Binary 10 2 Length of member
CUI_MEMBER_PTR Pointer 12 4 Pointer to the member
*** RESERVED *** Binary 16 2 Reserved, must be zero
CUI_PATH_LEN Binary 18 2 Length of path
CUI_PATH_PTR Pointer 20 4 Pointer to the path
*** RESERVED *** Binary 24 2 Reserved, must be zero
CUI_DSNAME_LEN Binary 26 2 Length of dsname
CUI_DSNAME_PTR Pointer 28 4 Pointer to the dsname
CUI_DDNAME Char 32 8 Ddname
*** RESERVED *** Binary 40 2 Reserved, must be zero
CUI_CONCAT Binary 42 1 Concat
CUI_TYPE Binary 43 1 Source type
X'00' Load module
X'01' Generated by PUTD API version 1
X'02' Generated by PUTD API version 2 or higher
X'10' PO1 (PM1) format program object
X'11' Object module (traditional format)
X'12' Object module (XOBJ format)
X'13' Object module (GOFF format)
X'14' Unknown
X'15' Workmod
X'1E' Generated by the binder
X'20' PO2 (PM2) format program object
X'30' PO3 (PM3) format program object
X'41' PO4 (PM4) format program object, z/OS 1.3 compatible
X'42' z/OS 1.5 compatible
X'43' z/OS 1.7 compatible
X'51' PO5 (PM5) format program object, z/OS 1.8 compatible
X'52' z/OS 1.10 compatible
X'53' z/OS 1.13 compatible
X'54' z/OS 2.1 compatible
*** RESERVED *** Binary 44 4 Reserved, must be zero
*** RESERVED *** Binary 48 2 Reserved, must be zero
CUI_C_MEMBER_LEN Binary 50 2 Length of member (original)
CUI_C_MEMBER_PTR Pointer 52 4 Pointer to the member (original)
*** RESERVED *** Binary 56 2 Reserved, must be zero
CUI_C_PATH_LEN Binary 58 2 Length of path (original)
CUI_C_PATH_PTR Pointer 60 4 Pointer to the path (original)
*** RESERVED *** Binary 64 2 Reserved, must be zero
CUI_C_DSNAME_LEN Binary 66 2 Length of dsname (original)
CUI_C_DSNAME_PTR Pointer 68 4 Pointer to the dsname
*** RESERVED *** Char 72 3 Reserved, must be zero
CUI_C_TYPE Binary 75 1 Source type within the object file
CUI_C_SEQ Binary 76 4 CU sequence number within the object file
Note: - The header record contains information about the target workmod
as a whole. The format is the same as that of the other records. CUI_CU,
CUI_SOURCE_CU and CUI_C_SEQ will always be zero in the header record.
- Fields that have the comment original refer to the object module
used to build the program object the first time. These field contents
are not changed if the program object is rebound. However, this information
is available only if the program object is compatible with the z/OS® 1.5 format or
higher version. Thus, complete information is returned for nonheader
records only if the CUI_TYPE value is 42 or greater.
CUI_TYPE for program objects in formats compatible with releases earlier
than z/OS 1.5. Load modules
have CUI_TYPE set to the format of the target module.
- Entries for compile units representing sections
created by the binder, including section 1, contain no information
other than the compile unit number (CUI_CU) and the type (CUI_TYPE).