How do I run an ACFRPTOM UNIX System Services (USS) Report in batch? Is there sample JCL?

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

How do I run an ACFRPTOM UNIX System Services (USS) Report in batch? Is there sample JCL?

Answer:

The ACFRPTOM report is used to monitor user activity in a UNIX System Services (USS) environment, CA ACF2 logs security events under USS to SMF using the standard CA ACF2 SMF record. Log records are written for any security event that denies the user access to a USS facility.

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

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

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

2) The ACFRPTOM 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=ACFRPTOM,PARM=('TITLE(SAMPLE ACFRPTOM)',
  //         'DETAIL')
  //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=ACFRPTOM            
   //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 ACFRPTOM)                
   DETAIL                                  
  //                                    

DD statements

RECxxxxx

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

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

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

Additional Information: 

Details on the ACFRPTOM report can be found in the ACF2 Documentation section "ACFRPTOM - UNIX System Services (USS) Report".