Data item functions are elementary data items and return alphanumeric,
national,
numeric or integer values. Data item functions are treated as elementary data items and cannot be receiving operands. The types of data item functions are:
- Alphanumeric functions. These are of the class and category alphanumeric. The number of character positions in this data item is specified in the function definition. Alphanumeric functions have an implicit usage of DISPLAY.
- Numeric functions. These are of the class and category numeric. A numeric function is always considered to have an operational sign.
- Integer functions. These are of the class and category numeric. An integer function is always considered to have an operational sign.
- National functions. These are of the class and category national. The number of character positions in this data item is specified in the function definition. National functions have an implicit usage of NATIONAL.