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 USERCATALOGvCATALOG specifies that the catalog is to be defined in the master catalog,ICFMAST1.Define a User Catalog Using the MODEL Parameter: Example6In this example, the user catalog, USERCAT4, is used as a model <strong>for</strong> the usercatalog being defined, RSTUCAT2.//DEFCAT4 JOB ...//STEP1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=A//SYSIN DD *DEFINE USERCATALOG( -NAME(RSTUCAT2) -VOLUME(VSER03) -MODEL(USERCAT4 -USERCAT4) ) -CATALOG(AMAST1)/*The DEFINE USERCATALOG command defines catalog RSTUCAT2. Its parametersare:vvvvNAME names the catalog, RSTUCAT2.VOLUME specifies that the catalog is to reside on volume VSER03. VolumeVSER03 is dynamically allocated.MODEL identifies USERCAT4 as the catalog to use as a model <strong>for</strong> RSTUCAT2.The attributes and specifications of USERCAT4 that are not otherwise specifiedwith the above parameters are used to define the attributes and specifications ofRSTUCAT2. The master catalog, AMAST1, contains a user-catalog connectorentry that points to USERCAT4. This is why USERCAT4 is specified asMODEL’s catname subparameter. Values and attributes that apply to RSTUCAT2as a result of using USERCAT4 as a model are:– FOR = 365 days (retention period)– CYLINDERS = 3 (primary) and 2 (secondary) are allocated to the catalog– BUFFERSPACE = 3072 bytes– ATTEMPTS = 2– NOWRITECHECK– CODE is null– AUTHORIZATION is null– OWNER is nullCATALOG specifies that the user catalog connector is to be defined in theAMAST1 catalog.Define a General Tape Volume Catalog: Example 7This example defines a general tape volume catalog namedTEST1.VOLCAT.VGENERAL. A general tape volume catalog is required <strong>for</strong> a tapelibrary.//DEFVCAT JOB ...//STEP1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=A//SYSIN DD *DEFINE USERCATALOG -(NAME(TEST1.VOLCAT.VGENERAL) -VOLCATALOG -VOLUME(338001) -CYLINDERS(1 1))/*Chapter 19. DEFINE USERCATALOG 215

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

Saved successfully!

Ooh no, something went wrong!