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 function is used to save state information for a statement that is being processed. It is primarily of use 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 a (void *) that can later be retrieved by calling dam_getIP_hstmt.

void dam_setIP_hstmt( 
    DAM_HSTMT  hstmt, 
    IP_HSTMT   ip_hstmt)

Parameters for dam_setIP_hstmt

Parameter Type Description
IN
Hstmt DAM_HSTMT The statement handle.
ip_hstmt IP_HSTMT A pointer to the structure that is allocated by the IP for storing information at statement level.
RETURN
None

See also

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