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.

ALLOCATEvvvvvAVGREC determines whether the quantity in the SPACE parameter representsunits, thousands, or millions of records. “K” indicates that the primary andsecondary space quantities are to be multiplied by 1024 (1 KB).LRECL says the logical record length in the data set is 80 bytes.RECORG shows entry-sequenced records in the new VSAM data set.STORCLAS gives an installation-defined name of an SMS storage class to beassigned to this new data set. This storage class and the ACS routines are usedto determine the volume. This parameter is optional. If it is not used, the dataset assumes the default storage class assigned by the ACS routines.MGMTCLAS shows an installation-defined name of an SMS management classto be assigned to this new data set. The data set assumes the migration andbackup criteria assigned to this management class by the ACS routines. Thisparameter is optional and, if not given, the data set assumes the defaultmanagement class assigned by the ACS routines.Allocate a New Data Set: Example 3This example shows the ALLOCATE command being used to allocate a new dataset XMP.ALLOCATE.EXAMP3.//ALLOC JOB ...//STEP1 EXEC PGM=IDCAMS,DYNAMNBR=1//SYSPRINT DD SYSOUT=A//SYSIN DD *ALLOC -DSNAME(XMP.ALLOCATE.EXAMP3) -NEW CATALOG -SPACE(10,5) TRACKS -BLKSIZE(1000) -LRECL(100) -DSORG(PS) -UNIT(3380) -VOL(338002) -RECFM(F,B)/*The parameters are:vvvvDSNAME states that the name of the data set to be allocated isXMP.ALLOCATE.EXAMP3.NEW creates the data set.CATALOG retains the data set in the catalog after step termination.SPACE allocates the amount of space to the new data set. In this example,TRACKS is also used so the primary space is 10 tracks with an increment of 5tracks.v BLKSIZE requires that the data set control block (DCB) block size is 1000.v LRECL sets the length of a logical record in the data set to 100.vDSORG makes the data set physical sequential (PS).v UNIT and VOL indicate that the data set is to reside on 3380 volume 338002.vRECFM shows fixed block records in the data set.Allocate a non-VSAM Data Set: Example 4This example shows the ALLOCATE command being used to allocate a non-VSAMdata set. ALLOCATE, unlike DEFINE NONVSAM, lets you give the SMS classes<strong>for</strong> a non-VSAM data set.50 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!