What is the DCB information for the SYSPRINT DD used by Cleanup for RACF ETCL#RPT utility in the SAMPJCL member DBRPT, in order to write the output to DASD?

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

Description

The ETCL#RPT is a reporting utility used to report on tracking file entries and optionally generate commands that can be used to perform security file cleanup. The SAMPJCL member DBRPT executes the ETCL#RPT utility to report on the Cleanup database.

Solution

The SYSPRINT DD used by the ETCL#RPT utility can be changed to write the SYSPRINT output to DASD using the DCB options RECFM=FBA, LRECL=133, BLKSIZE=1330.

For example the DBRPT JCL can be modified as follows:

//S1      EXEC PGM=ETCL#RPT,REGION=4M,PARM='UNREF=15'      
//DBASE     DD DISP=SHR,DSN=CAI.ETCL.DB                    
//*                                                        
//SYSPRINT  DD DISP=(,CATLG,DELETE),DSN=dbrpt.report.output,
// UNIT=SYSDA,VOL=SER=XXXXXX,SPACE=(xxx,(ppp,ss,dd)),
// DCB=(RECFM=FBA,LRECL=133,BLKSIZE=1330)
                                   
//SYSOUT    DD DUMMY                                       
//SORTWK01  DD UNIT=3390,SPACE=(CYL,15)                    
//SORTWK02  DD UNIT=3390,SPACE=(CYL,15)     

Details on the ETCL#RPT utility can be found in the Cleanup for RACF Implementation Guide, "Chapter 4: Using eTrust Cleanup", section "Report and Command Generator".