SET_DSORG
The SET_DSORG keyword specifies the data set organization for non-VSAM data sets and the record organization for VSAM data sets.
Syntax
SET_DSORG=DA|ESDS|KSDS|LDS|PO|PS|RRDS|$DCOC|$DCOU
Operands
Specify one of the following operands:
- DA
- Direct access.
- ESDS
- VSAM entry-sequenced data set.
- KSDS
- VSAM key-sequenced data set.
- LDS
- VSAM linear data set.
- PO
- Partitioned organized.
- PS
- Physical sequential.
- RRDS
- A VSAM variable-length or fixed-length relative-record data set.
Notes:
- Wildcard characters are not permitted.
- The $DCOU and $DCOC keywords are only valid for KSDS, ESDS, RRDS, and LDS VSAM data sets.
- The Enhanced Allocation Management function keywords that pertain to VSAM record organization (KSDS, ESDS, RRDS, LDS) do not apply to VSAM IDCAMS DEFINE; however, they are applicable to VSAM data sets that are created through JCL.
Default
None.
Environments
ALLOCATE
JCL equivalent
DD01 DD DSORG=PS
DD01 DD RECORG=KS
Data class equivalent
Recorg
Related selection criteria
DSORG
Example
In the following example, the specified organization is physical sequential:
SET_DSORG=PS