MAXGN

Read syntax diagramSkip visual syntax diagram
          .-(10000,10000)-----------.   
>>-MAXGN=-+-(nnnnnnnnnn,mmmmmmmmmm)-+--------------------------><
          '-pppppppppp--------------'   

MAXGN
Specifies the maximum number of Get Next calls that a Find/Change command can issue for a database search.

When the MAXGN limit is reached, the Search Interrupt popup is displayed, giving the user the option of continuing or discontinuing the search.

The valid range is 0 to 2147483647.

If you specify 0 for MAXGN there is no limit on the number of Get Next calls that a Find/Change command can issue.

When you specify two values in parentheses, separated by a comma, the first value is used for BMP mode and the second value is used for DLI mode. When you specify a single value, this is used for both BMP and DLI modes.

This parameter is optional. If it is not specified on the HFM1POPI macro statement, ZDT/IMS uses either the value specified on the HFM1POPD macro statement (if specified on that statement), or "(10000,10000)" (otherwise).

The user cannot override the values you specify for this parameter.