DB2 Scalar functions - MAX_CARDINALITY
The MAX_CARDINALITY function returns a value of type BIGINT representing the maximum number of elements that an array can contain. This is the cardinality that was specified in the CREATE TYPE statement for the ordinary array type.
The schema is SYSIBM.
The result can be null; if the argument is an associative array, the result is the null value.
SET LIST_SIZE = MAX_CARDINALITY(RECENT_CALLS)
PHONENUMBERS