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


Define an Alias for a User Catalog: Example 2

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

In this example, an alias is defined for a user catalog. The alias is defined in the master catalog.
//DEFUCALS  JOB   ...
//STEP1     EXEC  PGM=IDCAMS
//SYSPRINT  DD    SYSOUT=A
//SYSIN     DD    *
     DEFINE ALIAS -
           (NAME(RST) -
            RELATE(VWXUCAT1)) -
            CATALOG(AMAST1)
/*

The DEFINE ALIAS command defines an alias, RST, for the user catalog, VWXUCAT1. VSAM locates any data set defined with a first-level qualifier of RST in user catalog VWXUCAT1 when an access method services command or user program references the data set.

The parameters are:
  • NAME—the alias, RST.
  • RELATE—the name of the user catalog, VWXUCAT1, for which RST is an alternate entryname.
  • CATALOG—the name of the master catalog.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014