Diagnose a VVDS: Compare the BCS and VVDS Example 1
In this example, the VVDS is diagnosed and the BCS and VVDS are
compared. The BCS and the VVDS are passed as data set names.
//DIAGPWD JOB ...
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=A
//DIAGDD DD UNIT=SYSDA,VOL=SER=PERM03,DISP=SHR,
// DSN=SYS1.VVDS.VPERM03,AMP='AMORG'
//SYSIN DD *
DIAGNOSE -
VVDS -
INFILE(DIAGDD) -
COMPAREDS(CAT002)
/*
Job control language statement:
- DIAGDD DD specifies the input data set, SYS1.VVDS.VPERM03.
The DIAGNOSE command diagnoses VVDS and compares the BCS, CAT002,
with the VVDS. The parameters are:
- VVDS specifies that the input data set is a VVDS.
- INFILE identifies the DD statement, DIAGDD, containing the VVDS for diagnosis.
- COMPAREDS indicates that comparison checking is to occur and specifies the data set name of the BCS, CAT002.