AMBLIST will support formatted listings of program objects and
object modules in z/OS® UNIX System Services files.
To obtain a formatted listing of a program object in a z/OS UNIX System
Services file, specify the complete pathname in a DD statement and
code the control statement. Use the JCL example shown in
Figure 1 as a guide.
Figure 1. Example: z/OS UNIX System
Services program object//LIST EXEC PGM=AMBLIST
//HFS1 DD PATH='/u/USER1/outmod'
// PATHDISP=(KEEP,KEEP)
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
LISTLOAD DDN=HFS1,OUTPUT=MODLIST
To obtain a formatted listing of an object module in a z/OS UNIX System
Services file, specify the complete pathname in a DD statement and
code the control statement. Use the JCL example shown in
Figure 2 as a guide.
Figure 2. Example: z/OS UNIX System
Services object module/LIST EXEC PGM=AMBLIST
//HFS1 DD PATH='/u/USER1/myobject.o',PATHDISP=(KEEP,KEEP),
// PATHOPTS=(ORDONLY)
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
LISTOBJ DDN=HFS1
AMBLIST will support the LISTIDR control statement for program
objects in z/OS UNIX System Services files. Use the JCL example
shown in
Figure 3 as a guide.
Figure 3. Example: z/OS UNIX System
Services control statement//LIST EXEC PGM=AMBLIST
//HFS1 DD PATH='/u/USER1/outmod'
// PATHDISP=(KEEP,KEEP)
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
LISTIDR DDN=HFS1
For z/OS UNIX System Services files, MEMBER
NAME is the file name and LIBRARY is the directory name. If the pathname
is too long to fit in the space reserved on the line, it will be truncated
on the left and preceded by two periods and a space (".. "). In Figure 4, the library name is truncated while
the member name is not.Figure 4. Example: Differences in outputMEMBER NAME: 012345678901234567890123456789012345678901234567890123456789abc MAIN ENTRY POINT: 00000000
LIBRARY: .. 345678901234567890123456789012345678901234567890123456789abc/ AMODE OF MAIN ENTRY POINT: 31