How do I run an ACFRPTDS Data Set/Program Event Log report in batch? Is there sample JCL?
search cancel

How do I run an ACFRPTDS Data Set/Program Event Log report in batch? Is there sample JCL?

book

Article ID: 26029

calendar_today

Updated On:

Products

ACF2 ACF2 - DB2 Option ACF2 for zVM ACF2 - z/OS ACF2 - MISC PanApt PanAudit

Issue/Introduction

Question:  

How do I run an ACFRPTDS Data Set/Program Event Log report in batch? Is there sample JCL?

Answer: 

The ACFRPTDS report generator processes the SMF records for a request for data set or program access that is not authorized or specifically required to be journaled. 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 ACFRPTDS report parameters can be specified using one of these methods:

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

The ACFRPTDS report uses standard CA-ACF2 report JCL like the following for two examples batch submission .

Example 1 Using PARM statement for report parameters.

  //REPORT  EXEC PGM=ACFRPTDS,PARM=('TITLE(SAMPLE ACFRPTDS)', 
  //         'SUMMARY,PGMNAME,ALL') 
  //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 * 
  //                                                                

Example 2 Using SYSIN file for report parameters.

  //REPORT  EXEC PGM=ACFRPTDS            
  //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 ACFRPTDS)                
    ALL                                   
    SUMMARY                               
    PGMNAME                               
  //                                    

DD statements

RECxxxxx

These DDNAMEs identify the files containing the input SMF records or output from ACFRPTPP (preprocessor).

ACFRPTDS accepts one dataset per DDNAME. Do not concatenate SMF datasets.

SYSPRINT

ACFRPTDS uses the SYSPRINT file for message and summary report output.

.

Environment

Release: ACF2..001AO-15-ACF2
Component:

Resolution

-