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.

DEFINE PATHDEFINE PATH ExamplesNOUPDATE will be overridden by opening the path, allowing sharing of acontrol block structure that permits UPDATE.Abbreviation: NUPDThe DEFINE PATH command can per<strong>for</strong>m the functions shown in the followingexamples.Define a Path: Example 1In this example, a path is defined. Previous examples illustrate the definition of thepath’s alternate index, EXAMPLE.AIX, and the alternate index’s base cluster,EXAMPLE.KSDS2. The alternate index, path, and base cluster are defined in thesame catalog, USERCAT.//DEFPATH JOB ...//STEP1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=A//SYSIN DD *DEFINE PATH -(NAME(EXAMPLE.PATH) -PATHENTRY(EXAMPLE.AIX) -CATALOG(USERCAT)/*The DEFINE PATH command builds a path entry to define the pathEXAMPLE.PATH. A list of the command’s parameters follows:vvvNAME specifies that the path’s name is EXAMPLE.PATH.PATHENTRY identifies the alternate index, EXAMPLE.AIX, that the pathprovides access to.CATALOG supplies the user catalog’s name, USERCAT.Define a Path (Recatalog) in a Catalog: Example 2In this example, a path previously defined and found damaged is redefined. Thecluster and path are defined in the same catalog, USERCAT4.//DEFPATHF JOB ...//STEP1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=A//SYSIN DD *DEFINE PATH -(NAME(EXAMPLE1.PATH) -PATHENTRY(EXAMPLE1.KSDS01) -RECATALOG) -CATALOG(USERCAT4)/*The DEFINE PATH command builds a path entry to redefine the pathEXAMPLE1.PATH.vvvvNAME specifies that the path’s name is EXAMPLE1.PATH.PATHENTRY identifies the cluster, EXAMPLE1.KSDS01, that the path providesaccess to.RECATALOG specifies that the path entry is to be redefined in the catalogrecord <strong>for</strong> EXAMPLE1.KSDS01.CATALOG supplies the user catalog’s name, USERCAT4.200 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!