Which does the CA JCLCheck verify to a GDG base datasets or GDG number datasets?
search cancel

Which does the CA JCLCheck verify to a GDG base datasets or GDG number datasets?

book

Article ID: 6022

calendar_today

Updated On:

Products

JCLCheck Workload Automation

Issue/Introduction

The customer wants to know which the JCLCheck is checking to GDG number datasets or GDG base datasets when we have the following JCL.

//INPUT DD DSN=TEST.GDGFILE(+0),DISP=SHR


TEST.GDGFILE.G0003V00 ==> Latest GDG files
TEST.GDGFILE.G0002V00
TEST.GDGFILE.G0001V00

In above condition, does the JCLChek veryfy the TEST.GDGFILE.G0003V00 or DSN=TEST.GDGFILE of GDG base?

Environment

z/OS

Resolution

The JCLCheck will verify the TEST.GDGFILE.G0003V00 (latest) for your case.
You can check REPORT3 of the result of Bacth JCLCheck for datasets information.

If you have a GDG base datasets, the JCLCheck verify the GDG base dataset.
If you have a GDG number datasets, the JCLCheck verify the GDG numbers datasets.

 

Our test result as follows;
//SYSUT1 DD DISP=SHR,DSN=CATEST.NAGTST(+0)
//SYSUT2 DD DISP=(,CATLG,DELETE),UNIT=SYSDA,
// DSN=CATEST.NAGTST(+1),SPACE=(TRK,(1,1)),
// DCB=CATEST.NAGTST1

CA REPORT 3 - DATA SET CROSS REFERENCE PAGE 3
CA JCLCHECK 12.0 SYS: XE10 JOB: CATEST2J PGMR: CATEST_SG8 WEDNESDAY FEBRUARY 22, 2017 5:22:46 PM
------------------------------------------------------------------------------------------------------------------------------------
DATA SET NAME MEMBER DSET DCB INFO DEFN DELETE CATLG REFERENCED
SPACE VOL(S) TYPE FMT LRECL,BLK STMT STMT STMT IN STATEMENTS
------------------------------------------------------------------------------------------------------------------------------------

CATEST.NAGTST(0) TSO10B DASD F 133,13300 8
CATEST.NAGTST(+1) TSO85A DASD F 133,13300 9 9 9
******************************************************************************************************************


DSLIST - Data Sets Matching CATEST.NAGTST Row 1 of 4
Command - Enter "/" to select action Message Volume
-------------------------------------------------------------------------------
CATEST.NAGTST ??????
CATEST.NAGTST.G0010V00 TSO20A
CATEST.NAGTST.G0011V00 TSO20F
CATEST.NAGTST.G0012V00 TSO10B  ==> Latest datasets
***************************** End of Data Set list ****************************