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

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

Question:  

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

Answer: 

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.

 

Solution:

 

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                                                   

 // 

 

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 "Chapter 5: ACFRPTDS-Data Set/Program Event Log" of the CA ACF2 for z/OS Report and Utilities Guide.