Description of MODLIST Output for a Load module/PDS

The listing produced by LISTLOAD OUTPUT=MODLIST consists of multiple parts (see Example: Output for LISTLOAD OUTPUT=MODLIST for an overlay structured load module and Example: Output for LISTLOAD OUTPUT=MODLIST for a normal (non-overlay) structured load module).

A page heading, displayed at the top of each page.
The page heading consists of one or two heading lines, in the following format:
     LISTING OF LOAD MODULE PL1LOAD

An individual listing for each record in the load module. Each record on DASD is identified by a sequence number (RECORD#), and type. Often there is size information for the record as well. This information is followed by its contents formatted according to the record type.

For more information on the details of the following fields, see z/OS MVS Program Management: Advanced Facilities, Appendix B. Load Module formats.

TYPE 20 - CESD
This is a record containing definitions or uses of external symbols.
  • CESD# - An internal number for the symbol assigned by the binder.
  • SYMBOL - The name of the symbol as used in the program, or an abbreviation of it.
  • TYPE - See chapter 2 of z/OS MVS Program Management: User's Guide and Reference for a description of the various types of external symbol dictionary entries.
    • ER - External Reference
    • WX -Weak External reference
    • LR - Label Reference
    • SD - Section Definition, a control section (CSECT)
    • PC - Private Code
    • CM - Common area
    • PR - Pseudoregister
  • ADDRESS - Offset within the bound program where the symbol is defined.
  • SEGNUM - Overlay structured modules only: the overlay segment number.
  • R/R/A - Non-overlay modules only: A bit-coded byte, displayed in hex, indicating AMODE, RMODE, and read- only attributes. The values of the three attributes are ORed together in the value displayed.
    • 08 - Read-only
    • 04 - RMODE=ANY (RMODE=24 if off)
    • 01 - AMODE=24
    • 02 - AMODE=31
    • 03 - AMODE=ANY
    • 10 - AMODE=64
  • ID/LENGTH - ESD number of referenced symbol for an LR, length of the section or field for SD, PC, CM, or PR
    • (DEC) - Length or ID displayed in decimal
    • (HEX) - Length or ID displayed in hexadecimal
TYPE 0 - RLD (May be 02, 06, or 0E)
In the RLD record type, AMBLIST outputs information in the following columns:
  • R-PTR - The ESDID of the target element
  • P-PTR - The ESDID of the element containing the adcon or data area to be modified
  • FL - flags
  • ADDR - address
TYPE 0 - CONTROL (May be 01, 05, or 0D)
The CONTROL record lists information on each of the control sections for the load module:
  • CESD# - CESD number of the control section
  • LENGTH - length of that control section
TEXT
This record type contains the program as loaded for execution. Text data is displayed by class name. In addition to the hexadecimal representation, text data is in EBCDIC format.
A trailer record.
******END OF LOAD MODULE LISTING