09.07.2015 Views

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DEFINE ALIASRestriction: The RELATE and SYMBOLICRELATE parameters are mutuallyexclusive and cannot be specified at the same time. The resolved value <strong>for</strong>entryname must be a catalog entry that is located in the same catalog thatcontains the value <strong>for</strong> aliasname.SYMBOLICRELATE(entryname)Allows the specification of the base data set name using system symbols.For more details, see ″Extended Alias Support″ in z/<strong>OS</strong> <strong>DFSMS</strong>: Managing<strong>Catalogs</strong>.Abbreviation: SYMOptional ParametersCATALOG(catname)Identifies the catalog in which the alias is defined. If the catalog’s volume isphysically mounted, it is dynamically allocated. The volume must be mountedas permanently resident or reserved. See “Catalog Selection Order <strong>for</strong>DEFINE” on page 11 <strong>for</strong> the order in which a catalog is selected when thecatalog’s name is not given.catnameNames of catalog. When the alias is <strong>for</strong> a user catalog connector, catname isthe name of the master catalog.Abbreviation: CATDEFINE ALIAS ExamplesDefine Alias <strong>for</strong> a non-VSAM non-SMS-Managed Data Set:Example 1This example defines an alias <strong>for</strong> 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, <strong>for</strong> thenon-VSAM data set EXAMPLE.NONVSAM.The parameters are:vvvNAME—the alias (alternate entryname), EXAMPLE.NONVSAM1.RELATE—the entryname, EXAMPLE.NONVSAM, <strong>for</strong> which the alias is analternate entryname.CATALOG—the name of the user catalog.Define an Alias <strong>for</strong> a User Catalog: Example 2In this example, an alias is defined <strong>for</strong> a user catalog. The alias is defined in themaster catalog.124 z/<strong>OS</strong> <strong>V1R6.0</strong> <strong>DFSMS</strong> <strong>Access</strong> <strong>Method</strong> <strong>Services</strong> <strong>for</strong> <strong>Catalogs</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!