Define a Path (Recatalog) in a Catalog: Example 2
In this example, a path previously defined and found damaged is
redefined. The cluster 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 path
EXAMPLE1.PATH.
- NAME specifies that the path's name is EXAMPLE1.PATH.
- PATHENTRY identifies the cluster, EXAMPLE1.KSDS01, that the path provides access to.
- RECATALOG specifies that the path entry is to be redefined in the catalog record for EXAMPLE1.KSDS01.
- CATALOG supplies the user catalog's name, USERCAT4.