The UPRS function allows the Reason for Rerun table that resides on the CMT to be maintained online. How is this defined and updated in CA 11?
The Reason for Rerun table is used to allow 4 character codes to be used for common rerun reasons when a job is rerun or setup for rerun. This command only updates the CMT copy of the table. The table is loaded into common storage when DBAS is initialized and can be reloaded by issuing the REFRESH operator command.
The Rerun Table also can be populated via the AL7REAT member that executes the U11OBD program. Any additions to the table requires a unique code name. Once the code and reason is defined, the Refresh command can be entered or the online UPRS function can be used to maintain the updated entry. See sample jcl below:
//RUN EXEC PGM=U11OBD
//STEPLIB DD DSN=YOUR.CAL7LOAD,DISP=SHR
// DD DSN=YOUR.DATACOM.CAAXLOAD,DISP=SHR
// DD DSN=YOUR.DATACOM.CUSLIB,DISP=SHR
//SYSUDUMP DD SYSOUT=*
//RMSRPT DD SYSOUT=*
//SYSIN DD *
UPRS A,BAD1,1 - BAD INPUT FILE
UPRS A,JCL1,2 - BAD JCL OVERRIDE
UPRS A,OUT1,3 - THIS IS MY OUTPUT FILE
UPRS A,HARD,4 - HARDWARE ERROR
UPRS A,ERR1,5 - JCL ERROR
END
//
For additional information regarding the maintenance and updating of the table see UPRS - Reason-for-Rerun Table Update.