book
Article ID: 188158
calendar_today
Updated On:
Issue/Introduction
The client would like to run a batch report that shows the reports with ERO ID, like those in the View Sysout Selection List.
Is there a way to accomplish this in batch?
Resolution
You can use SARGRW, the View report writer, for the desired information.
Samples are provided, including something like the following:
//SYSIN DD *
/CONTROL DATABASE=VIEW.SYSTEM1
RULER=YES
/TITLE 'Listing of Sysouts including EROID'
/PRINT RID 'REPORT ID'
/PRINT JOBID 'JOB ID'
/PRINT JOBNAME 'JOBNAME'
/PRINT EROID 'ERO-ID'
/END
/*
//