Built-in functions for CL

Control language (CL) provides several built-in functions. Built-in functions are used in arithmetic, character string, relational, or logical expressions. All of these built-in functions can only be used in compiled CL programs or procedures.

CL provides the following built-in functions:
  • %ADDRESS
  • %BINARY
  • %CHAR
  • %CHECK
  • %CHECKR
  • %DEC
  • %INT
  • %LEN
  • %LOWER
  • %OFFSET
  • Start of change%PARMSEnd of change
  • %SCAN
  • %SIZE
  • %SUBSTRING
  • %SWITCH
  • %TRIM
  • %TRIML
  • %TRIMR
  • %UINT
  • %UPPER