1.5.3.3.1 Allocating a Data Set
Use verb code 01 and the text units listed below for the dsname allocation function. All unsupported text unit keys are not listed.
Table 1-15 Text Units for Dsname Allocation Function
Text Unit Key | Mnemonic | Description | Supported |
---|---|---|---|
0x0001 | DALDDNAM | ddname | YES |
0x0002 | DALDSNAM | Fully qualified data-set name | YES |
0x0004 | DALSTATS | Data Set status. Values are: __DISP_OLD, __DISP_NEW, __DISP_MOD, and __DISP_SHR | YES
Note: When you code DALSTATS, LEN must be 1. |
0x0005 | DALNDISP | Specifies the normal disposition of a data set. Values are: __DISP_CATLG, __DISP_UNCATLG, __DISP_DELETE, and __DISP_KEEP | YES
Note: When you code DALNDISP, LEN must be 1. |
0x0006 | DALCDISP | Specifies the conditional disposition of a data set. Values are: __DISP_CATLG, __DISP_UNCATLG, __DISP_DELETE, and __DISP_KEEP | YES
Note: When you code DALCDISP, LEN must be 1. |
0x0010 | DALVLSER | Volume serial number of the device a data set will reside on | YES |
0x003C | DALDSORG | Data Set organization of a data set. Values are: | YES
(Support the value of __DSORG_PO and __DSORG_PS) Note: When you code DALDSORG, LEN must be 2. |
0x0049 | DALRECFM | Record format of a data set. The values are: | YES
(Support the value of _FB_ and _VB_) Note: When you code DALRECFM, LEN must be 1. |
0x0042 | DALLRECL | Record length of a data set | YES
Note: When you code DALLRECL, LEN must be 2. |
0x800B | DALRECO | Specifies the record organization of a VSAM data set. Values are: __KS, __ES, __RR, __LS. | YES
Note: When you code DALRECO, LEN must be 1. |
0x800C | DALKEYO | Specifies the key offset. The position of the first byte of the key in records of the specified VSAM data set. | YES
Note: When you code DALKEYO, LEN must be 4. |
0x0040 | DALKYLEN | Specifies the length in bytes of the keys used in the data set. | YES
Note: When you code DALKYLEN, LEN must be 1. |
Note:
- The combination of DALRECFM and DALRECO is not allowed because the DALRECFM keyword only applies to non-VSAM data sets, while the KS, ES, RR, and LS values of the DALRECO keyword only apply to VSAM data sets.
- The combination of DALDSORG and DALRECO is not allowed.
- It is not supported to allocate a variable-length VSAM data set.
Parent topic: SVC99 Program