IBM Integration Bus, Version 10.0.0.3 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS


cniSqlDeletePathExpression

Use this function to delete the SQLPathExpression that you have created by calling the cniSqlCreateReadOnlyPathExpression or the cniSqlCreateModifiablePathExpression utility functions, as defined by the sqlPathExpression argument.

Syntax

void cniSqlDeletePathExpression( 
        int*                  returnCode,
        CciSqlPathExpression* sqlPathExpression );

Parameters

returnCode (output)
A NULL pointer input signifies that the user-defined node does not want to deal with errors. All exceptions thrown during the execution of this call are re-thrown to the next upstream node in the flow. If input is not NULL, output signifies the success status of the call. If an exception occurs during execution, *returnCode is set to CCI_EXCEPTION on output. Call cciGetLastExceptionData to get details of the exception. If an invalid sqlPathExpression parameter is passed in, returnCode is set to CCI_INV_SQL_EXPR_OBJECT.
sqlPathExpression (output)
Specifies the SQLPathExpression object to be deleted as returned by either cniCreateModifiablePathExpression or cniCreateReadOnlyPathExpression functions. Tyhis parameter cannot be NULL.

Return values

None. If an error occurs, the returnCode parameter indicates the reason for the error..

Example

Expanding on the example for cniSqlCreateReadOnlyPathExpression, include the following code in _deleteNodeContext.

cniSqlDeletePathExpression(
                     NULL,
                     ((NODE_CONTEXT_ST *)context)->pathExpression);

as08034_.htm | Last updated 2015-11-27 00:00:27