MAXENT (ME)
The MAXENT parameter changes the default maximum entry of 1,024 parameters permitted per execution of File-AID. However, the MAXENT parameter cannot increase the maximum number (65,535) of logical sets. A logical set is created by the first IF statement in a series of IF statements, or by an ORIF statement.
MAXENT must be coded as the first entry of a control card after the function identifier, unless the IOEXIT parameter is also specified. If the IOEXIT parameter is specified, it must be coded as the first entry of the control card followed by MAXENT. The MAXENT parameter can be used only once per execution.
When modifying the MAXENT parameter, keep in mind that File-AID allocates 48 bytes of storage space for each condition coded in an IF parameter. A single IF parameter coded with 3 conditions (for example, IF=(1,0,C’A,B,C’)) uses 144 bytes of storage space.
EDIT, EDITALL, REPL, and REPLALL parameters use 64 bytes of storage space per condition.
The syntax of the MAXENT parameter is:
MAXENT=n
n
Number of parameter entries required. The maximum allowed value is 999999 (six digits). The default value is 1,024.
Example:
IF=( ... ),
This example reserves space for 5000 parameters requiring 240,000 bytes of storage. If sufficient memory is not available to accommodate the specified number of parameters, an error occurs and File-AID proceeds to the next control card.
To avoid memory/storage problems when increasing the MAXENT parameter, you should also increase the region size.