SET_GDG_LIMIT

The SET_GDG_LIMIT keyword specifies the maximum number of generations that are associated to the GDG.

Syntax

Read syntax diagramSkip visual syntax diagramSET_GDG_LIMIT=nnn

SET_GDG_LIMIT=nnn

Where:

nnn specifies the maximum number of GDSs (1 - 999) assigned to the GDG.

Note: Do not use SET_GDG_LIMIT more than 255 for classic GDGs. The expected result might not be achieved in this case.

Usage and processing considerations

  • AAM cannot override any GDG attributes when Limit is more than 255 for classic GDGs.
  • EXTENDED and LIMIT value cannot be overridden when there is a failure in consistency between those attributes (GLO3195E).
  • When GDGLIMITMAX value is more than Set Limit, valid system max limit will be considered. For example, 255 will be considered for LIMIT when GDGLIMITMAX exceeds the value of 255 for classic GDGs. GDGLIMITMAX will be applied for Extended GDG and the value less than 255 for classic GDG.
  • When LIMIT value in IDCAMS DEFINE GDG is more than GDGLIMITMAX, system max limit value will be considered for selection and expected result might not be achieved in this case.

    Example: GDGLIMITMAX=100 and LIMIT=200, GDG_LIMIT=100 will be used instead of 200.

Default

None.

Environments

ALLOCATE

IDCAMS equivalent

DEFINE GDG(LIMIT....)

Data class equivalent

None.

Related selection criteria

GDG_LIMIT

Example

In the following example, the number of generations that are assigned to the GDG is 3:

SET_GDG_L=3