z/OS DFSMS Access Method Services Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Define a Path (Recatalog) in a Catalog: Example 2

z/OS DFSMS Access Method Services Commands
SC23-6846-01

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.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014