How can the ACFRPTRV-Resource Event Log report be ran in batch? Is there sample JCL?
The ACFRPTRV report generator processes the SMF records issued by the resource facility and produces a report describing the nature of resource accesses, the user requesting the access, and the final disposition of the access. ACF2 provides sample reports in the SAMPJCL library or see examples below.
The ACFRPTRV report parameters can be specified using one of these methods:
The ACFRPTRV report uses standard ACF2 report JCL like the following for batch submission two examples.
Example 1 Using PARM statement for report parameters:
//REPORT EXEC PGM=ACFRPTRV,PARM=('LOG,TITLE(SAMPLE ACFRPTRV)', // 'SUMMARY,TYPE(FAC)') //SYSPRINT DD SYSOUT=* //* THE FOLLOWING DDS SHOULD POINT TO THE SMF DATASETS //RECMAN1 DD DISP=SHR,DSN=SYS1.MAN1 //RECMAN2 DD DISP=SHR,DSN=SYS1.MAN2 //RECMAN3 DD DISP=SHR,DSN=SYS1.MAN3 //*
Example 2 Using SYSIN file for report parameters:
//REPORT EXEC PGM=ACFRPTRV //SYSPRINT DD SYSOUT=* //* THE FOLLOWING DDS SHOULD POINT TO THE SMF DATASETS //RECMAN1 DD DISP=SHR,DSN=SYS1.MAN1 //RECMAN2 DD DISP=SHR,DSN=SYS1.MAN2 //RECMAN3 DD DISP=SHR,DSN=SYS1.MAN3 //SYSIN DD * TITLE(SAMPLE ACRPPTRV) LOG SUMMARY TYPE(FAC) //*
DD statements:
RECxxxxx - These ddnames identify the files containing the input SMF records. ACFRPTRV accepts one SMF input file per ddname. Do not concatenate SMF input files.
SYSPRINT - ACFRPTRV uses the SYSPRINT file for message and summary report output.
Details on the ACFRPTRV report and all available parameters can be found in ACFRPTRV - Resource Event Log