SET_NDISP
The SET_NDISP keyword specifies the normal termination disposition for a data set.
Syntax
SET_NDISP=CATLG|DELETE|KEEP|PASS|UNCATLG
Operands
Specify one of the following operands:
- CATLG
- The specified or defaulted normal disposition is DISP=(,CATLG).
- DELETE
- The specified or defaulted normal disposition is DISP=(,DELETE).
- KEEP
- The specified or defaulted normal disposition is DISP=(,KEEP).
- PASS
- The specified or defaulted normal disposition is DISP=(,PASS).
- UNCATLG
- The specified or defaulted normal disposition is DISP=(,UNCATLG).
Notes:
- The SET_NDISP keyword does not apply to VSAM IDCAMS DEFINE statements.
- The system takes the following defaults with the normal termination
disposition parameter:
- If you omit the normal termination disposition, the default is DELETE for a NEW data set and KEEP for an existing data set.
- If you omit the DISP parameter, the default disposition is DELETE for the normal termination disposition.
Default
None.
Environments
ALLOCATE
JCL equivalent
DD01 DD DISP=(,DELETE,)
Related selection criteria
NDISP
Example
In the following example, the specified or defaulted normal disposition is DISP=(,CATLG):
SET_NDISP=CATLG