Overriding disposition specification - Key = '0005'

DUNOVDSP specifies a disposition that overrides the disposition assigned to a data set when it was allocated. When you code DUNOVDSP, # and LEN must be one, and PARM contains one of the following values:
X'01'
An overriding disposition of UNCATLG
X'02'
An overriding disposition of CATLG
X'04'
An overriding disposition of DELETE
X'08'
An overriding disposition of KEEP
Example: To specify an overriding disposition of CATLG, code:
KEY    #      LEN    PARM
0005   0001   0001   02
Note: Dynamic allocation ignores this key if any of the following are true:
  • The overriding disposition was DELETE and the data set was originally allocated as SHARE.
  • The data set was originally allocated with a disposition of PASS.
  • The data set is a VSAM data set and SMS is not active on the system.
  • The data set is a non-subsystem data set that has a system-generated name.

When dynamic allocation must ignore a DUNOVDSP request, it still performs the deallocation processing, but uses the disposition from the original allocation request.