A list of all data sets associated with a single job can be requested
by setting STATTYPE to STATDLST. Because this is considered a verbose
type call (I/O is necessary to obtain the information), only information
about a single job can be requested (STATTRSA and STATTRSA_64 are supported).
Note the following about STATDLST calls:
- Information on all data sets is returned including instream (SYSIN)
data sets, internal data sets, data set that will not print, and data
sets that might have been already processed and
"deleted". You can determine the type of data set being returned by
examining bits in the STVSFLG1 byte.
- One SYSOUT verbose element (STATVO) is returned per data set instance.
Each STATVO will have a single SYSOUT terse section (STATSE). This
includes instream (SYSIN) data sets. Data set grouping does not affect
how data is returned. If JES3 is the subsystem returning information,
and the data set has not been processed by output processing, the
STATSE and STATSO will be mostly null (except for the data set name, SYSOUT class, and token). This is because output
processing is where JES3 resolves the various sources of output characteristics.
- SYSOUT and JOB filters can be used to limit the amount of data
that is returned.
- Values for data returned will NOT always reflect attribute changes
made after the data set was created (including changes made via operator
command, SWB modify services, and exits).