Controlling error checking and call tracing

The external_UDF_execution_mode option controls the amount of error checking and call tracing that is performed when statements involving external V3 user-defined functions are evaluated.

You can use external_UDF_execution_mode during development of a UDF to aid in debugging while you are developing UDFs.

Allowed values

0, 1, 2

Default value

0

Scope

Can be set as public, temporary, or user

Description

When set to 0, the default, external UDFs are evaluated in a manner that will optimize the performance of statements using UDFs.

When set to 1, external UDFs are evaluated to validate the information passed back and forth to each UDF function.

When set to 2, external UDFs are evaluated to not only validate the information passed back and forth to the UDF, but also to log, in the iqmsg file, every call to the functions provided by the UDFs and every callback from those functions back into the server.

Related concepts
External function prototypes
Related tasks
Finance specific functions
Managing external libraries


Created November 2, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com