Run Cleanup for ACF2 ETCL#RPT with both control OPTIONs and selection criteria
search cancel

Run Cleanup for ACF2 ETCL#RPT with both control OPTIONs and selection criteria

book

Article ID: 24822

calendar_today

Updated On:

Products

Cleanup

Issue/Introduction

 How to run ETCL#RPT in CA Cleanup for ACF2 with both control OPTIONs and selection criteria.

 

 

 

Environment

Release:
Component: ETCLNA

Resolution

To specify both selection criteria and control options in an ETCL#RPT batch job, reference selection criteria in a //INCLUDE DD statement and reference OPTIONs in a//SYSIN DD statement.

In the sample report jobs that are supplied the following DDs can be included.
 ..
//ETCLRPT EXEC PGM=ETCL#RPT,REGION=4M,PARM='UNREF=90'
//DBASE DD DISP=SHR,DSN=CAI.ETCL.DB
//*
//SYSPRINT DD SYSOUT=*
//SYSOUT DD DUMMY
//SORTWK01 DD UNIT=3390,SPACE=(CYL,15)
//SORTWK02 DD UNIT=3390,SPACE=(CYL,15)
//*
//CMDS DD DSN=ETA.CMDS,DISP=SHR
//BACKOUT DD DSN=ETA.BACKOUT,DISP=SHR
//INCLUDE DD * ASTRO2 Name any Logonid
$KEY(SYS1) Name any dataset Rule-set $KEY(BPX) TYPE(FAC) Name any resource Rule-set CLASS(DTBL) NAME(DSN7QATBL) Name any DB2 resource Rule-set
//SYSIN DD * OPTION(ALLOWSCOPE) First option
OPTION(COMMENTACCESSNONE) Second option
//

OPTION must start in column 1 and must be in uppercase.