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


Define Alias for a non-VSAM non-SMS-Managed Data Set: Example 1

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

This example defines an alias for a non-VSAM data set:
//DEFALS   JOB    ...
//STEP1    EXEC   PGM=IDCAMS
//SYSPRINT DD     SYSOUT=A
//SYSIN    DD     *
     DEFINE ALIAS -
          (NAME(EXAMPLE.NONVSAM1) -
          RELATE(EXAMPLE.NONVSAM) ) -
          CATALOG(USERCAT4)
/*

The DEFINE ALIAS command defines an alias, EXAMPLE.NONVSAM1, for the non-VSAM data set EXAMPLE.NONVSAM.

The parameters are:
  • NAME—the alias (alternate entryname), EXAMPLE.NONVSAM1.
  • RELATE—the entryname, EXAMPLE.NONVSAM, for which the alias is an alternate entryname.
  • CATALOG—the name of the user catalog.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014