Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

dam_getIP_hstmt

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

This function is used to retrieve the 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 IP uses the dam_setIP_hstmt function to save its state in the form of a void *.

IP_HSTMT dam_getIP_hstmt(
    DAM_HSTMT hstmt)

Parameters for dam_getIP_hstmt

Parameter Type Description
IN
hstmt DAM_HSTMT The statement handle.
RETURN
IP_HSTMT A pointer to the structure that is allocated by the IP for storing information at statement level. NULL if no state has been saved.

See also

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