Diagnose a VVDS: Compare the BCS and VVDS: Example 4
In this example, the VVDS is diagnosed and the BCS and VVDS are
compared. The BCS and VVDS are passed as ddnames. DIAGNOSE defaults
to DUMP, NOLIST, and ERRORLIMIT(16).
//DIAGEX3 JOB
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=A
//DIAGDD DD UNIT=SYSDA,VOL=SER=PERM03,DISP=SHR,
// DSN=SYS1.VVDS.VPERM03,AMP='AMORG'
//DIAG01 DD DISP=SHR,DSN=CAT001
//SYSIN DD *
DIAGNOSE -
VVDS -
INFILE(DIAGDD) -
COMPAREDD(DIAG01)
/*
Job control language statements:
- DIAGDD DD contains the input data set name.
- DIAG01 DD contains the name of a BCS to be compared to the input data set.
The DIAGNOSE command scans a VVDS and compares the BCS (CAT001)
with the VVDS. The parameters are:
- VVDS indicates the input data set is a VVDS.
- INFILE(DIAGDD) identifies the DD statement containing the name of the input data set.
- COMPAREDD(DIAG01) indicates that the VVDS be compared with a BCS. DIAG01 is the name of the DD statement containing the BCS name.