Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

OAIP_native (8-bit character version)

  • Last Updated: May 12, 2026
  • 1 minute read
    • OpenAccess SDK
    • Version 8.1
    • Documentation

int OAIP_native(
    IP_HDBC     hdbc, 
    DAM_HSTMT   hstmt,
    int         iCommandOption, 
    char    *   sCommmand, 
    int64 *     piNumResRows)

Parameters for OAIP_native (8-bit Character)

Parameter Type Description
IN
hdbc IP_HDBC The connection handle as defined by the IP.
hstmt DAM_HSTMT The statement handle of the currently active statement.
iCommandOption int DAM_NC_VALIDATE - validate the passed-in command.
DAM_NC_EXECUTE - execute the native command and return the number of rows affected.
sCommmand char * The command to execute.
OUT
piNumResRows int64 * The number of rows affected by this operation.
RETURN
int DAM_SUCCESS - In DAM_NC_VALIDATE mode, this value indicates that the command is supported. In DAM_NC_EXECUTE mode, this value indicates that the command was successfully executed.
DAM_FAILURE - Indicates that there is a syntax error in the native command. The specific error message should be added using the dam_addError/dam_addErrorW function.
DAM_NOT_AVAILABLE - In DAM_NC_VALIDATE mode, the command issued is not supported.

See also

TitleResults for “How to create a CRG?”Also Available inAlert