How do you run the ACFRPTDS-Data Set/Program Event Log in batch? Is there sample JCL?
search cancel

How do you run the ACFRPTDS-Data Set/Program Event Log in batch? Is there sample JCL?

book

Article ID: 39374

calendar_today

Updated On:

Products

ACF2 ACF2 - DB2 Option ACF2 - z/OS ACF2 - MISC

Issue/Introduction

How do you run the ACFRPTDS-Data Set/Program Event Log in batch? Is there sample JCL?

The ACFRPTDS utility lists all dataset or program accesses that are logged, audited  or not authorized.

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 including the ACFRPTJL. 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.

 

Environment

Release:
Component: ACF2MS

Resolution

The ACFRPTDS report utility produces a report from SMF of all dataset or program accesses that are logged, audited  or not authorized.

The ACFRPTDS 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=ACFRPTDS,PARM=('TITLE(SAMPLE ACFRPTDS)',  
 //       '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                         
 //* 

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                                                   
 LIDMASK(USER00*)
 SDATE(119283)
 EDATE(119284)
 // 

DD statements

RECxxxxx
These ddnames identify the files containing the input SMF records. ACFRPTJL accepts one SMF input file per ddname. Do not concatenate SMF input files. The RECxxxxx must be unique.

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

 

 

Additional Information

Details on the ACFRPTDS report and all applicable parameters can be found in "ACFRPTDS-Data Set/Program Event Log".