Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

dam_evaluateColCond

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

This method evaluates a search or restriction condition for the IP. Use it in cases when you have specified support for a condition type but cannot support certain columns.

int dam_evaluateColCond(
    long   hstmt,
    long   hcond,
    int    iXoType, 
    Object pColVal,
    long   lColValLen)

Parameters for dam_evaluateColCond

Parameter Type Description
INPUT
hstmt long The statement handle.
hcond long The condition handle.
iXoType int The data type. The data can be supplied in a format that corresponds to the column's definition in the schema or in any other format for which conversion is supported.
pColVal Object The Java object containing the value of type iXoType. See Table How the methods for Java return a value as an object.
lColValLen long The length of the data.
XO_NULL_DATA - indicates a null value.
For a character data type, either the number of characters or XO_NTS to pass the entire string.
For binary, the length of the data.
RETURN
int 1 - condition evaluates to true.
0 - condition evaluates to false.
TitleResults for “How to create a CRG?”Also Available inAlert