How do you run the ACFRPTRX-The Logonid Access Report in batch? Is there sample JCL?

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

Question:  

How do you run the ACFRPTRX-The Logonid Access Report in batch? Is there sample JCL?

Answer: 

The ACFRPTRX report generator produces a Logonid Access Report showing all rule sets that apply to a specific logonid (LID) mask or user identification string mask.

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 ACFRPTRX report. It does not provide simple JCL to only run one report program.

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

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

The ACFRPTRX report uses standard CA-ACF2 report JCL for batch submission as shown in the following two examples.

Example 1 Using PARM statement for report parameters.

//REPORT  EXEC PGM=ACFRPTRX,PARM=('TITLE(SAMPLE ACFRPTRX)',   
//       'RSRC,TYPE(FAC)')                                    
//SYSPRINT DD SYSOUT=*                                        
//SYSUT1   DD UNIT=SYSDA,SPACE=(CYL,(2,2)),DCB=BUFNO=5        
//SYSUT2   DD UNIT=SYSDA,SPACE=(CYL,(2,2)),DCB=BUFNO=5        
//SYSIDLST DD *                                               
LID(********)                                                 
LID(B*******)                                                 
//*

Example 2 Using SYSIN file for report parameters.

//REPORT  EXEC PGM=ACFRPTRX                             
//SYSPRINT DD SYSOUT=*                                  
//SYSUT1   DD UNIT=SYSDA,SPACE=(CYL,(2,2)),DCB=BUFNO=5  
//SYSUT2   DD UNIT=SYSDA,SPACE=(CYL,(2,2)),DCB=BUFNO=5  
//SYSIDLST DD *                                         
LID(A*******)                                           
LID(B*******)
//SYSIN    DD   *                                       
TITLE(SAMPLE ACFRPTRX)                                  
RSRC                                                    
TYPE(FAC)                                               
//*

DD statements

SYSPRINT

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

Additional Information: 

Details on the ACFRPTRX report and all available parameters can be found in "Chapter 15: ACFRPTRX-The Logonid Access Report" of the CA-ACF2 Security for z/OS Report and Utilities Guide.