GDG_PURGE

The GDG_PURGE keyword specifies whether GDG base attribute should be PURGE or NOPURGE.

Syntax

Read syntax diagramSkip visual syntax diagramGDG_PURGE=YESNO

GDG_PURGE=YES|NO

Operands

Specify one of the following operands:

YES
PURGE was specified.
NO
NOPURGE was specifed.
Note: When PURGE and NOSCRATCH is specified, it will be considered as NOPURGE and NOSCRATCH due to conflicting parameters. If Ruledef has GDG_PURGE=YES it will not match in this case.
Default
None.

Environments

ALLOCATE

IDCAMS equivalent

DEFINE GDG(PURGE....)
DEFINE GDG(NOPURGE....)

Data class equivalent

None.

Related Enhanced Allocation Management function

SET_GDG_PURGE

Note: When NOSCRATCH with PURGE is specified in JCL, GDG_PURGE=NO will be considered as selection keyword.

Example

GDG_P=Y