Write an end-user routine

A C UDR can implement an end-user routine. An end-user routine provides some additional functionality to the SQL end user. It is an SQL-invoked routine; that is, it is called directly from an SQL statement. An end-user routine can provide any task that is useful to SQL users. This user might be a database administrator or an SQL end user.

For more information about possible tasks of an end-user routine, see the Informix® User-Defined Routines and Data Types Developer's Guide.