Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

dam_setIP_hstmt

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

This method is used to save state information for a statement that is being processed. Use this method when performing cursor-based execution of the statement in which the IP returns partial results in each call. It must save the state to know where to begin next time. The saved state is in the form of an object that can be retrieved later by calling dam_getIP_hstmt. Implement your IP to create a vector to store these objects in, and then save the index into this vector using this method.

void dam_setIP_hstmt(
     long hstmt, 
     long ip_hstmt_index)

Parameters for dam_setIP_hstmt

Parameter Type Description
INPUT
hstmt long The statement handle.
ip_hstmt_index long An index into a vector, into which is saved the object allocated by the IP for storing information at statement level.

See also

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