DSORG — Specify Data Set Organization
Use this parameter when allocating a new “to” data set that is to be stored on a direct access storage device (DASD). This parameter specifies the organization of the “to” data set.
Rules
Optional or Required: Optional
Also Requires: The NEW and SPACE parameters, and either the BLOCK, CYLINDERS, or TRACKS parameter
DAP: SEQ, PDS
Section: TO
Format
Usage Notes
- Do not code the DSORG parameter in the FROM section. If you do so and the data set’s data control block (DCB) information is incompatible with the information contained in the DSORG parameter, the transfer will fail.
- For a list of parameters that can be used to allocate a new data set, see Parameters That Require Other Parameters.
Example
Copy the data set MAYDATA to the new data set JUNEDATA and specify
that the organization of the JUNEDATA is partitioned. Use the TSO
prefix (BDT).
BDT Q FROM DATASET(MAYDATA) LOCATION(KGN01) DAP(PDS)
TO DATASET(JUNEDATA) LOCATION(KGN02)
NEW DSORG(PO)
LRECL(255) BLKSIZE(259) RECFM(V) DIR(12)
SPACE(1,2) CYL VOLUME(111111)
DISP(KEEP,DELETE) UNIT(3350)
BUFL(4096)