In z/OS 2.2 and higher, up to 999 generation data sets (GDGs) may be associated with the GDG. The following is required to support 999 GDGs:
1. The installation has GDGEXTENDED (YES) specified in the SYS1.PARMLIB(IGGCATxx) member.
2. JCLCheck DYNCHEK Rexx exec is installed.
Issue:
When validating an IDCAMS job with option EXTENDED and LIMIT(999), JCLCheck returns error message CAY6560S GDG LIMIT PARAMETER "999" NOT WITHIN VALUE RANGE.
Sample JCL:
// JOB statement
//STEP0 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DEF GDG(NAME(hlq.gdg.base) -
NOEMPTY SCRATCH EXTENDED LIMIT(999))
/*
Release : 12.0
Component : JCLCheck Workload Automation
The installation has not enabled the GDGEXTENDED feature.
1. The z/OS option GDGEXTENDED(YES) must be specified. This option is found in SYS1.PARMLIB(IGGCATxx).
2. The JCLCheck DYNCHEK Rexx Exec must be installed:
Copy member CAZ1DYNC from the JCLCheck CAZ2CLS0 library to your AXR Rexx library. The AXR Rexx library is generally defined in SYS1.PARMLIB(AXRxx) member.
3. The JCLCheck loadlib (CAZ2LOAD) must be an APF-authorized library, or is in the linklist. (Most installations are set up so that linklisted libraries are also APF-authorized.)
To confirm that CAZ1DYNC is found, and that z/OS GDGEXTENDED option is activated, execute console command F AXR,CAZ1DYNC 'REPORT'. This command must not return any error message. Sample display:
F AXR,CAZ1DYNC 'REPORT'
CAY7050I Exec starting, level: JCK01162
CAY7008I CGBL address: 0998A000 Created: 2019-08-06 07:56:36
CAY7016I INPUTDEF JES3JECL=Ignore,NULLJCL=Ignore
CAY7012I JECLDEF JES2=(JOBPARM=Process,MESSAGE=Process,
CAY7012I NETACCT=Process,NOTIFY=Process,OUTPUT=Process,
CAY7012I PRIORITY=Process,ROUTE=Process,SETUP=Process,
CAY7012I XEQ=Process,XMIT=Process)
CAY7012I JECLDEF JES3=(MAIN=Ignore,DATASET=Ignore,
CAY7012I ENDDATASET=Ignore,FORMAT=Ignore,NET=Ignore,
CAY7012I NETACCT=Ignore,OPERATOR=Ignore,PAUSE=Ignore,
CAY7012I PROCESS=Ignore,ENDPROCESS=Ignore,ROUTE=Ignore)
CAY7018I JES_Subsystem_Name='JES2'
CAY7018I JES_Subsystem_ID='02'
CAY7018I CKPT_LEVEL='Z22 '
CAY7019I CAS Enabled Feature = GDGEXTENDED
CAY7050I Exec Ending