LISTLOAD control statement

Use the LISTLOAD control statement to obtain a listing of load module or program objects. The listed data can help you verify why certain link-edit errors might have occurred.

LISTLOAD

 [OUTPUT={MODLIST|XREF|BOTH|MAP}]

 [,TITLE=('title',position)]

 [,DDN=ddname]

 [,MEMBER={member|(member1,membern...)}]

 [,RELOC=hhhhhhhh]

 [,ADATA={YES|NO}]

 [,IMPEXP={DUMP|SYMBOLS}]

 [,SECTION1={YES|NO}]
OUTPUT={MODLIST|XREF|BOTH|MAP}
OUTPUT=MODLIST requests a formatted listing of the text and control information of a load module or program object.

OUTPUT=XREF requests a module map and cross-reference listing for the load module or program object.

OUTPUT=BOTH requests both a formatted listing of the load module or program object and its map and cross-references.

OUTPUT=MAP requests a numerical map for the load module or program object.

If this parameter is omitted, OUTPUT=BOTH will be assumed.

TITLE=('title',position)
Specifies a title, from one to 40 characters long, to be printed below the heading line on each page of output. (The heading line identifies the page number and the type of listing being printed, and is not subject to user control.) The position subparameter specifies whether or not the title is indented; if TITLE=('title',1) is specified, or if the position parameter is omitted, the title will be printed flush left, that is, starting in the first column. If you want the title indented from the margin, use the position parameter to specify the number of characters to leave blank before the title. If you specify a position greater than 80, the indentation from the margin defaults to 1.
DDN=ddname
Identifies the DD statement that defines the data set containing the input object module. If the DDN= parameter is omitted, AMBLIST will assume SYSLIB as the default ddname.
MEMBER={member|(member1,membern...)}
Identifies the input load module or program object by member name or alias name. To specify more than one load module or program object, enclose the list of names in parentheses and separate the names with commas. If you omit the MEMBER= parameter, AMBLIST will print all modules in the data set.
Note:
  1. If you specify MEMBER=IEANUCxx, where xx is the suffix of the member used during the current IPL, AMBLIST will list the DAT-ON nucleus.
  2. AMBLIST will accept member names up to 63 bytes in length. For aliases longer than 63 bytes, their primary member names must be entered instead.
  3. If the DD name associated with this operation is allocated to a z/OS® UNIX System Services directory, there must also be a MEMBER parameter specifying the file or files in that directory.
RELOC=hhhhhhhh
Specifies a relocation or base address in hexadecimal of up to eight characters. When the relocation address is added to each relative map and cross-reference address, it gives the absolute central storage address for each item on the output listing. If you omit the RELOC parameter, no relocation is performed.
ADATA={YES|NO}
ADATA=YES on LISTLOAD OUTPUT=MODLIST or OUTPUT=BOTH requests a formatted listing of all ADATA classes, if they exist, in the program object to be displayed in the traditional dump format, 32 bytes per line, with hexadecimal representation on the left and EBCDIC on the right, in addition to the output listing with the specified output parameter.

OUTPUT=NO on LISTLOAD OUTPUT=MODLIST or OUTPUT=BOTH requests a normal formatted listings with the specified output parameter, and ADATA suppressed.

If this parameter is omitted, ADATA=NO will be assumed.

IMPEXP={DUMP|SYMBOLS}
IMPEXP=SYMBOLS indicates that section IEWBCIE text is displayed as a symbolically formatted IMPORT/EXPORT section of the output.

IMPEXP=DUMP indicates that section IEWBCIE text is displayed in the traditional dump format (as described under the ADATA parameter).

SECTION1={YES| NO}
SECTION1=YES requests that the module level section information be displayed.

SECTION1=NO requests that the module level section information not be displayed.