How do you run the ACFRPTST - The SAF Trace Report in batch? Is there sample JCL?

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

 

Question:  

How do you run the ACFRPTST - The SAF Trace Report in batch? Is there sample JCL?

 

Answer: 

The ACFRPTST report formats and displays the output that was sent to SMF by the SECTRACE command.
The ACFRPTST report parameters can be specified using one of these methods:

The PARM parameter of the EXEC statement in the JCL.

A SYSIN file. Supply a SYSIN DD statement and control record file for Report Generators.

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

DD statements
RECxxxxx

These ddnames identify the files containing the input SMF records. ACFRPTST accepts one SMF input file per ddname. Do not concatenate SMF input files.

SYSPRINT

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

Additional Information: 

Details on the ACFRPTST report can be found in "Chapter 18: ACFRPTST-The SAF Trace Report" of the CA ACF2 for z/OS Report and Utilities Guide.