09.07.2015 Views

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DIAGN<strong>OS</strong>EJob control language statements:vvDIAGDD DD identifies the BCS being scanned. This BCS must be cataloged inthe master catalog.DIAG01 DD, DIAG02 DD, and DIAG03 DD identify VVDSs to be compared.The DIAGN<strong>OS</strong>E command diagnoses the BCS, DIAGCAT3, and compares the BCSto certain VVDSs. The parameters are:vvvICFCATALOG denotes that the input data set is an integrated catalog facilityBCS.INFILE(DIAGDD) identifies the DD statement containing the input data setname.COMPAREDD(DIAG01 DIAG02 DIAG03) indicates that any BCS entries usingthe specified VVDSs are to undergo comparison checking. The VVDS names arepassed on DD statements.Diagnose a VVDS: Compare the BCS and VVDS: Example 4In this example, the VVDS is diagnosed and the BCS and VVDS are compared. TheBCS and VVDS are passed as ddnames. DIAGN<strong>OS</strong>E 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 *DIAGN<strong>OS</strong>E -VVDS -INFILE(DIAGDD) -COMPAREDD(DIAG01)/*Job control language statements:v DIAGDD DD contains the input data set name.v DIAG01 DD contains the name of a BCS to be compared to the input data set.The DIAGN<strong>OS</strong>E command scans a VVDS and compares the BCS (CAT001) withthe VVDS. The parameters are:v VVDS indicates the input data set is a VVDS.vvINFILE(DIAGDD) identifies the DD statement containing the name of the inputdata set.COMPAREDD(DIAG01) indicates that the VVDS be compared with a BCS.DIAG01 is the name of the DD statement containing the BCS name.Diagnose a VVDS: Compare the BCS and VVDS: Example 5In this example, the VVDS is diagnosed and the BCS and VVDS are compared. TheBCS is passed as a data set name; the VVDS is passed as a ddname. Only theentries cataloged in CAT001 are processed. The listing of valid entries is done withLIST. DIAGN<strong>OS</strong>E defaults to DUMP and ERRORLIMIT(16).//DIAGEX4 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 *242 z/<strong>OS</strong> <strong>V1R6.0</strong> <strong>DFSMS</strong> <strong>Access</strong> <strong>Method</strong> <strong>Services</strong> <strong>for</strong> <strong>Catalogs</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!