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


Define a Path: Example 1

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

In this example, a path is defined. Previous examples illustrate the definition of the path's alternate index, EXAMPLE.AIX, and the alternate index's base cluster, EXAMPLE.KSDS2. The alternate index, path, and base cluster are defined in the same 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 path EXAMPLE.PATH. A list of the command's parameters follows:
  • NAME specifies that the path's name is EXAMPLE.PATH.
  • PATHENTRY identifies the alternate index, EXAMPLE.AIX, that the path provides access to.
  • CATALOG supplies the user catalog's name, USERCAT.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014