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 USERCATALOGData and Index Components of a User CatalogAttributes can be specified separately <strong>for</strong> the catalog’s data and index components.A list of the DATA and INDEX parameters is provided at the beginning of thissection. These parameters are described in detail as parameters of the catalog as awhole. Restrictions are noted with each parameter’s description.DEFINE USERCATALOG ExamplesDefine a User Catalog, Specifying SMS Keywords: Example 1In this example, an SMS-managed user catalog is defined.//DEFUCAT JOB ...//STEP1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=A//SYSIN DD *DEFINE USERCATALOG -(NAME(USERCAT1) -ICFCATALOG -STRNO(3) -DATACLAS(VSDEF) -STORCLAS(SMSSTOR) -MGMTCLAS(VSAM))/*The DEFINE USERCATALOG command defines an SMS-managed user catalog,USERCAT1. Its parameters are:vvvvvvNAME specifies the user catalog, USERCAT1.ICFCATALOG specifies that the user catalog is to be in the catalog <strong>for</strong>mat.STRNO specifies that up to 3 concurrent requests to this catalog are to beprocessed. Like BUFSP, STRNO is not one of the data class attributes. If STRNOor BUFSP is not specified, the system will take the default established by accessmethod services.DATACLAS specifies an installation-defined name of an SMS data class, VSDEF.The data set will assume the space parameters, and the FREESPACE,SHAREOPTIONS, and RECORDSIZE parameters contained in this data class. Ifyour storage administrator has established ACS routines that will select a defaultdata class, this parameter is optional. If a default data class is not assigned tothis data set, however, you must explicitly specify any required parameters, inthis case the space parameter, or the job will be unsuccessful.STORCLAS specifies an installation-defined name of an SMS storage class,SMSSTOR. This parameter is optional. If it is not specified, the data set willassume the storage class default assigned by the ACS routines.MGMTCLAS specifies an installation-defined name of an SMS managementclass, VSAM. This parameter is optional. If it is not specified, the data set mightassume the management class default assigned by the ACS routines.Define a User Catalog, Taking All Defaults: Example 2In this example, a user catalog is defined and all defaults are taken.//DEFUCAT JOB ...//STEP1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=A//SYSIN DD *Chapter 19. DEFINE USERCATALOG 211

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

Saved successfully!

Ooh no, something went wrong!