Defines the input data set, which follows immediately. In this
case, the input data set is an object module.
SYSIN DD Statement
Defines the data set containing AMBLIST control statements, which
follows immediately.
LISTOBJ Control Statement
Instructs AMBLIST to format the data set
defined by the OBJMOD DD statement. It also specifies a title for each page of output, to be
indented 25 characters from the left margin.
In Figure 2, AMBLIST is used to list
all object modules contained in the data set named OBJMOD, and three
specific object modules from another data set called OBJMODS.
Note: If you are using AMBLIST to list program objects, IBM® recommends that you specify REGION=12M or
higher. Figure 2. Example:
Listing several object modules
Define input data sets that contain object modules.
SYSIN DD Statement
Defines the data set in the input stream containing AMBLIST control
statements.
LISTOBJ Control Statement #1
Instructs AMBLIST to format the data set
defined by the OBJSDS DD statement, treating it as a single member. It also specifies a title for
each page of output, to be indented 20 characters from the left margin.
LISTOBJ Control Statement #2
Instructs AMBLIST to format three members
of the partitioned data set (PDS or PDSE) defined by the OBJLIB DD statement. It also specifies a
title for each page of output, to be indented 20 characters from the left margin.