NDISP

The NDISP keyword specifies the normal termination disposition for a data set.

Syntax

Read syntax diagramSkip visual syntax diagramNDISP =PASSKEEPCATLGUNCATLGDELETE

NDISP=PASS|KEEP|CATLG|UNCATLG|DELETE

Operands

Specify one of the following operands:

PASS
The specified or defaulted normal disposition is DISP=(,PASS).
KEEP
The specified or defaulted normal disposition is DISP=(,KEEP).
CATLG
The specified or defaulted normal disposition is DISP=(,CATLG).
UNCATLG
The specified or defaulted normal disposition is DISP=(,UNCATLG).
DELETE
The specified or defaulted normal disposition is DISP=(,DELETE).
Notes:
  1. The NDISP keyword does not apply to VSAM IDCAMS DEFINE statements.
  2. 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, EXTEND, UNALLOCATE, STOW, and CATCHECK.

JCL equivalent

DD01 DD DISP=(,DELETE,)

Related Enhanced Allocation Management function

SET_NDISP

Example

NDISP=CATLG