The Include Name clause specifies an explicit path to an include file that is to be used for this UDF definition.
The syntax for this clause is as follows.
CI¡ name_on_server¡ include_name
or
SI¡ name_on_server¡ include_name
The character ¡ represents a user-defined delimiter.
Perform the following procedure for specifying an include file name string.
- Begin the clause with the appropriate client or platform location code.
Location Code Function Source or Object Code Storage Location C Client S Server - Type the character I to indicate this is an include file specification.
- Specify an arbitrary delimiter character to separate the I code and the name_on_server variable specified in the string.
- Specify the name assigned to the include file, without the .h extension, on the server. The server adds the .h extension.
Every name_on_server must be unique among the UDFs and external procedures created within the same database. If the CREATE/REPLACE FUNCTION definition includes a nonunique name_on_server specification, the system does not create it.
The C or C++ source must have an include statement in the following form:
#include <name_on_server.h>
- Specify your delimiter character to separate the name_on_server from the include_name.
- Specify the path and name of the include file.
Include File Location Format Specification Client Form required by client application (for example, BTEQ). See client documentation for required form.
Server Use SOLIDUS character (/) or REVERSE SOLIDUS character (\) as separator in path specification.