The schema is SYSIBM.
The CARDINALITY function returns a value of type BIGINT representing the number of elements of an array.
The function returns 0 if the array is empty. The result can be null; if the argument is null, the result is the null value.
SET HOWMANYCALLS = CARDINALITY(RECENT_CALLS)
The SQL variable HOWMANYCALLS contains
the value 3. SET NUMCAPITALS = CARDINALITY(CAPITALS)
The SQL variable NUMCAPITALS contains
the value 14.