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.

ALLOCATEThe system copies these attributes only if SMS is not active:BLKSIZE Block sizeEXPDT Data set expiration dateOPTCD Optional services code (<strong>for</strong> ISAM data sets only)VSEQ Volume sequence number.You can still use the LIKE parameter even if you do not have an existing dataset with the exact attributes you want to assign to a new data set. You can useALLOCATE attributes to override any model data set attributes you do notwant assigned to the new data set.When you use this:vvvvvvvLIKE must be used with the NEW parameter; it cannot be used with OLD,SHR, or MOD.Use LIKE with the DATASET parameter; it cannot be used with FILE.Only one dsname can be given in the DATASET parameter.The system does not copy the block size from the model data set when SMSis active. If you do not show a block size in the ALLOCATE command, thesystem determines an optimal block size to assign to the data set.When SMS is active, attributes copied from the model data set overrideattributes from the data class.If you allocate the new data set with a member name (indicating apartitioned data set), the system prompts you <strong>for</strong> directory blocks unlessthat quantity is either shown in the ALLOCATE command or defaulted fromthe LIKE data set.If the new data set name is indicated with a member name, but the modeldata set is sequential and you have not given the quantity <strong>for</strong> directoryblocks, you are prompted <strong>for</strong> directory blocks.If you define the directory value as zero and the model data set is a PDS, thesystem allocates the new data set as a sequential data set.The LIKE, REFDD, and USING operands are mutually exclusive. Refer to z/<strong>OS</strong>TSO/E Command Reference <strong>for</strong> additional in<strong>for</strong>mation on the USING operand.LIMCT(search-number)This is the number of blocks or tracks that the system should search <strong>for</strong> ablock or available space. The number must not exceed 32760.LRECL({logical-record-length|(nnnnnK|X)})This is the length, in bytes, of the largest logical record in the data set. Youmust define this parameter <strong>for</strong> data sets that consist of either fixed-length orvariable-length records.Use the DATACLAS parameter in place of LRECL to assign the logical recordlength. If SMS is active and you use LRECL, the system determines the blocksize.If the data set contains undefined-length records, omit LRECL.The logical record length must be consistent with the requirements of theRECFM parameter and must not exceed the block size (BLKSIZE parameter),except <strong>for</strong> variable–length spanned records. If you use:vRECFM(V) or RECFM(V B), then the logical record length is the sum of thelength of the actual data fields plus four bytes <strong>for</strong> a record descriptor word.40 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!