SDISP

The SDISP keyword specifies the status disposition for a data set.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-+----------------+------------------------------------------><
   '-SDISP=-+-NEW-+-'   
            +-SHR-+     
            +-OLD-+     
            '-MOD-'     

SDISP=NEW|SHR|OLD|MOD

Operands

NEW
The specified or defaulted status disposition is DISP=(NEW).
SHR
The specified or defaulted status disposition is DISP=(SHR).
OLD
The specified or defaulted status disposition is DISP=(OLD).
MOD
The specified or defaulted status disposition is DISP=(MOD).
Notes:
  1. The SDISP keyword does not apply to a VSAM IDCAMS DEFINE statement.
  2. The system takes the following defaults with the status disposition parameter: If you omit the DISP parameter, the default disposition is NEW for the status disposition.

Default

None.

Environments

ALLOCATE, EXTEND, UNALLOCATE, STOW, and CATCHECK.

JCL equivalent

DD01 DD DISP=(NEW,,)

Example

SDISP=NEW