Previous Topic: Recovering from *NoCat Tape ErrorsNext Topic: Backing Up and Recovering the Database


Job Control Statements

Sample execution JCL can be found in member HAEXTLST in your CVDEJCL data set.

These job control statements are necessary to execute SARTSLST:

JOB

Initiates the job.

EXEC

Specifies the program name (PGM=SARTSLST).

The PARM parameter specifies the high-level name of the database, and the tape sequence number or a range of tapes to look up.

Examples:

PARM= 'VIEW.SYSTEM1,14'

Lists active reports on archival tape 14.

PARM= 'VIEW.SYSTEM1,5-100'

Lists active reports on archival tapes 5 through 100.

PARM= 'VIEW.SYSTEM1,10-20,DR'

Lists active reports on DR tapes 10 through 20.

STEPLIB DD

Defines the load library containing SARTSLST.

If the program resides in a linklist library, omit this statement.

SYSPRINT DD

Defines the sequential output data set (normally SYSOUT) into which the listing of uncataloged tapes is written.

If not a SYSOUT data set, DCB=BLKSIZE=nnn must be coded, where nnn is a multiple of 133.

SYSUDUMP

Defines a file for MVS dump output.

CTLCARDS

Specifies the creation of SARBCH statements to take action on the SYSOUT: the action is to either back it up again or delete it if there is no disk copy.