Format:
i = maxocc([group]);
Description:
The maxocc function returns the maximum number of multiply occurring records or the maximum number of multiply-occurring items defined for a group in the dictionary.
This value remains the same throughout the application run.
Return value:
The function returns an integer value of the maximum number of occurrences.
Example 1:
PROC HOUSING
errmsg("Maximum number of persons is %d", maxocc(PERSON));
Example 2:
PROC PERSON
errmsg("Maximum number of persons is %d", maxocc());
See also: Curocc Function, Totocc Function, Soccurs Function, Noccurs Function