Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

dam_setIP_hcol

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

This method is used to associate column-specific information with the corresponding OpenAccess SDK SQL engine column handle. Use this method to associate a column with some data that can be used later when processing values for that column. The saved column-specific information can be retrieved later by calling dam_getIP_hcol.

The column-specific information is an object that can reference any information. Implement your IP to create a vector to store these objects in and then save the index into this vector using this method.

int dam_setIP_hcol(
    long hstmt, 
    long hcol, 
    long ip_hcol)

Parameters for dam_getsetIP_hcol

Parameter Type Description
INPUT
hstmt long The statement handle.
hcol long The column handle.
ip_hcol long An index into a vector. The vector stores objects allocated by the IP for storing column-specific information.
RETURN
int Status of the method call:
DAM_SUCCESS - Value is associated.
DAM_FAILURE - Error.

See also

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