How to report all JOBs for a particular classes defined in SARINIT CLSL=... using Batch utility.
For example, how to check what all JOBs/STC/TSU are in SAR for CLASS=X or CLASS=3.
Release : 14.0
Component : View
Run the SARGRW utility to find what reports, in a View database, have a particular sysout class:
//XXXXXXXX JOB ...
//SARGRW01 EXEC PGM=SARGRW
//STEPLIB DD DISP=SHR,DSN=VIEW.CVDELOAD <=== Modify, if used
//SORTWK01 DD UNIT=SYSDA,SPACE=(CYL,(5),,CONTIG)
//SORTWK02 DD UNIT=SYSDA,SPACE=(CYL,(5),,CONTIG)
//SORTWK03 DD UNIT=SYSDA,SPACE=(CYL,(5),,CONTIG)
//SYSUDUMP DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//OUTFILE DD SYSOUT=*
//PRTFILE DD SYSOUT=*
//SYSIN DD *
/CONTROL SEQ=RID DATABASE=view_hlq <=== Modify DB name
/TITLE 'LISTING OF SYSOUTS BY CLASS'
/IF CLASS='x' [OR 'x']
/ PRINT ID 'ID'
/ PRINT JOBNAME 'JOBNAME'
/ PRINT JOBID 'JOBID'
/ PRINT GEN 'GEN '
/ PRINT SEQ 'SEQ '
/ PRINT CLASS 'CLASS'
/ PRINT ARCHDATE 'ARC DATE'
/ PRINT ARCHTIME 'ARC TIME'
/ PRINT LOC 'LOC'
/ PRINT LINES 'LINES '
/ PRINT PAGES 'PAGES '
/ PRINT XCODE 'XCODE'
/ PRINT TAPESEQ 'TSEQ '
/ PRINT DRSEQ 'DRSEQ'
/END
/*
//
Note:
The IF conditional operation field allows to interrogate one or several classes with the use of operator comparison such as "OR".