dam_setIP_hstmt
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- 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 in which to store these objects and then save the index into this vector using this method.
void dam_setIP_hstmt(
int64 hstmt,
int ip_hstmt_index)
Parameters for dam_setIP_hstmt
| Parameter | Type | Description |
| IN | ||
| hstmt | int64 | The statement handle |
| ip_hstmt_index | int | An index into a vector, into which is saved the object allocated by the IP for storing information at statement level. |
| RETURN | ||
| None |