Declare PROCEDURE type variables
In an SPL routine, you can define a variable of type PROCEDURE and assign the variable the name of an existing SPL routine or external routine. Defining a variable of PROCEDURE type indicates that the variable is a call to a user-defined routine, not a built-in routine of the same name.
This definition disables the built-in LENGTH function within the scope of the statement block. You would use such a definition if you had already created an SPL or external routine with the name LENGTH.
Because HCL Informix® supports routine overloading, you can define more than one SPL routine or external routine with the same name. If you call any routine from an SPL routine, Informix® determines which routine to use, based on the arguments specified and the routine determination rules. For information about routine overloading and routine determination, see Informix® User-Defined Routines and Data Types Developer's Guide.