Previous Topic: Report DescriptionNext Topic: Control Statement Specifications


Job Control Statements

//STEP01     EXEC PGM=TMSBLDVR,REGION=0M [,PARM=NEW]
//TMSRPT80   DD SYSOUT=*
//TMCNEW     DD DSN=new.tmc.name,DISP=OLD,DCB=(BUFNO=60,BLKSIZE=n*340) * NOTE
//SYSUDUMP   DD SYSOUT=*
//*
//SYSIN      DD *
ADDVOL 500000-502999
ADDVOL VT0000-VT2999   ROBTY=88,VENDOR='CA VTAPE'
REMVOL TN0100-TN0599
/*
//

Note: This is an OPTIONAL DD statement, see PARM=NEW for details. The BLKSIZE may be equal to the LRECL or any multiple of the LRECL. However, when blocking the TMC the smallest valid block size is 1020. Also, when formatting a small blocked test TMC, ensure that it consists of at least 2 blocks.

Parameter Definitions

NEW

When this parameter is specified, a new TMC is formatted without copying volume ranges or DSNB records from an input TMC. The new TMC must be preallocated and cataloged. CA 1 does not have to be active or batch active to run with PARM=NEW.

JCL Considerations

SYSIN

This DD defines the control statement input data set. When run in standalone mode TMSBLDVR will validate that the function requested is proper for the requested range.

TMSRPT80

This is the report output DD for TMS REPORT-80. This DD statement is required.

TMCNEW

This DD statement is required if PARM=NEW is specified. A newly allocated, empty TMC should be specified.The TMC DCB attributes follow:

	DCB=(RECFM=FB,LRECL=340,BLKSIZE=n*340,DSORG=PSU,BUFNO=60)

Completion Codes

The following completion codes are issued by TMSBLDVR:

0

Program completed successfully.

4

Program completed with minor errors. Review TMSRPT80 report for details on errors.

12

Program failed due to an invalid control statement.Review TMSRPT80 report for details on control statement errors.