The syntax of the DISP parameter
DISP=(status,normal-disp,abnormal-disp)
Status
NEW
OLD
SHR
MOD
The data set does not exist and should be created.
The data set exists and should be allocated for exclusive use.
The data set exists and should be allocated for shared use.
The data set is allocated for exclusive use and is positioned at the end of the
data, so additional records may be added after the last record.
Normal and abnormal disposition
DELETE
The data set is deleted. If it was retrieved from the catalog, it is also
uncataloged.
KEEP
The data set is retained.
CATLG
The data set is retained and a catalog entry is made.
UNCATLG The data set is retained, but its catalog entry is removed.
PASS
Normal disposition only. The data set is retained for use by a later job
step.
- The syntax of the DISP parameter
- DISP=(status,normal-disp,abnormal-disp)
- Status
- NEW
- OLD
- SHR
- MOD
- The data set does not exist and should be created.
- The data set exists and should be allocated for exclusive use.
- The data set exists and should be allocated for shared use.
- The data set is allocated for exclusive use and is positioned at the end of the
- data, so additional records may be added after the last record.
- Normal and abnormal disposition
- DELETE
- The data set is deleted. If it was retrieved from the catalog, it is also
- uncataloged.
- KEEP
- The data set is retained.
- CATLG
- The data set is retained and a catalog entry is made.
- UNCATLG The data set is retained, but its catalog entry is removed.
- PASS
- Normal disposition only. The data set is retained for use by a later job
- step.