Previous Topic: SyntaxNext Topic: RMORMS - Using Tracking


Examples

The data set DELIVER.JOBACT contains a list of jobs with activated reports. The names of the jobs are located in positions 1, 21, and 41 of the records as follows:

//EXAMPLE  JOB ACCOUNT,PROGRAMMER
//RAP      EXEC PGM=RMORAP
//STEPLIB  DD  DSN=CAI.CVDELOAD,DISP=SHR
//SYSPRINT DD  SYSOUT=A
//JOBACT   DD  DSN=DELIVER.JOBACT,DISP=SHR
//SYSIN    DD  *
NAME DELIVER.SYSTEM1
JOB 1 21 41
//

The following job deactivates the reports for the same list of jobs:

//EXAMPLE  JOB ACCOUNT,PROGRAMMER
//RAP      EXEC PGM=RMORAP
//STEPLIB  DD  DSN=CAI.CVDELOAD,DISP=SHR
//SYSPRINT DD  SYSOUT=A
//JOBACT   DD  DSN=DELIVER.JOBACT,DISP=SHR
//SYSIN    DD  *
NAME DELIVER.SYSTEM1
TYPE U
JOB 1 21 41
//