Write your own functions and call them from CCL; these functions are called User-Defined Functions (UDFs). As with built-in functions, you can pass in values from the current row, and you get back a return value from the function.
You may write UDFs in either C/C++ or by using CCL's CREATE FUNCTION statement. Only C/C++ UDFs are discussed in the Sybase CEP Integration Guide . For information about the CCL CREATE FUNCTION statement, see the Sybase CEP CCL Reference Guide .
C/C++ UDFs are described in more detail later in this manual; see Sybase CEP C/C++ SDK.