


Functions are distinguished from SQL-PL routines by the initial keyword FUNCTION. Via the RETURN statement of the function, a value can be returned to the calling environment.
Facilities required in the entire application (i.e. in several programs), can be collected in a library of functions. After calling a function, the control is always returned to the calling module (see chapter Calling Functions).


