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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DEFINE USERCATALOG/*DEFINE USERCATALOG -(NAME(USERCAT1) -ICFCATALOG )The DEFINE USERCATALOG command defines an SMS-managed user catalog,USERCAT1. Its parameters are:vvvNAME specifies the user catalog, USERCAT1.ICFCATALOG specifies that the user catalog is to be in the catalog <strong>for</strong>mat.All the parameters are allowed to default. The ACS routines established by thestorage administrator will assign a storage class to the catalog and can assign amanagement class. Because the access method services space parameter is notspecified, the command is unsuccessful if a default data class is not assigned tothis data set.Define a User Catalog, Using SMS Keywords and the VOLUMEParameter: Example 3In this example, an SMS-managed catalog is defined and a specific volume isreferenced.//DEFUCAT JOB ...//STEP1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=A//SYSIN DD *DEFINE USERCATALOG -(NAME(USERCAT1) -VOLUME(VSER01) -ICFCATALOG -STRNO(3) -DATACLAS(VSDEF) -STORCLAS(SPECIAL) -MGMTCLAS(VSAM))/*The DEFINE USERCATALOG command defines an SMS-managed user catalog,USERCAT1. Its parameters are:vvvvvvNAME specifies the user catalog, USERCAT1.VOLUME specifies that the user catalog is to reside on volume VSER01. In thisexample, the installation defined SMS storage class of SPECIAL has theGUARANTEED SPACE=YES attribute. This allows specific volume allocation onthis DEFINE using the VOLUME keyword.ICFCATALOG specifies that the user catalog to be defined is to be in the catalog<strong>for</strong>mat.STRNO specifies that up to 3 concurrent requests to this catalog are to beprocessed.DATACLAS specifies an installation defined name of an SMS data class. Thedata set will assume the space parameters, and the FREESPACE,SHAREOPTIONS, and RECORDSIZE parameters contained in this data class. Ifyour storage administrator has established an ACS routine that will select adefault data class, this parameter is optional. However, if a default data class isnot assigned to this data set, you must explicitly provide the requiredparameters or the job will be unsuccessful.STORCLAS specifies an installation defined name of an SMS storage class. Inthis example, STORCLAS is not optional and you should not allow the catalogto assume the storage class default assigned by the ACS routines. The storage212 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!