How do you run the ACFRPTRV-Resource Event Log report in batch? Is there sample JCL?

Document ID : KB000026255
Last Modified Date : 14/02/2018
Show Technical Document Details

 

Question:  

How do you run the ACFRPTRV-Resource Event Log report in batch? Is there sample JCL?

Answer: 

The ACFRPTRV report generator processes the SMF records issued by the resource facility producing a report describing the nature of resource accesses, the user requesting the access, and the final disposition of the access. CA-ACF2 provides a sample report named REPORTS in ACF2.SAMPJCL - this JCL will run ACFRPTPP (preprocessor) and then many of the standard report programs.

It does not provide simple JCL to only run one report program.

The ACFRPTRV report parameters can be specified using one of these methods:

The PARM parameter of the EXEC statement in the JCL or the SYSIN input statements.

The ACFRPTRV report uses standard CA-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.

Additional Information: 

Details on the ACFRPTRV report and all available parameters can be found in "Chapter 15: ACFRPTRV-Resource Event Log" of the CA-ACF2 Security for z/OS Report and Utilities Guide.