dam_addLOBLocatorValToRow
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 9.0
- Documentation
This method is used to getting LOB data from the IP, based on a request from the client. The IP calls this method to add the locator value. When a client requests data, OpenAccess SQL Engine invokes dam_addLOBLocatorValToRow, which is then exported from the IP.
int dam_addLOBLocatorValToRow(
long dam_hstmt,
long hRow,
long hCol,
int iXOType,
Object pColVal,
long lColValLen)
Parameters for dam_addLOBLocatorValToRow
| Parameter | Type | Description |
| INPUT | ||
| dam_hstmt | long | The statement handle |
| hRow | long | The row handle |
| hCol | long | The column handle |
| iXOType | int | XO data type of the stream. |
| pColVal | Object | LOB locator value, for example, File Handle. |
| IColValLen | long | The LOB locator value length. |
| RETURN | ||
| int | DAM_SUCCESS - added the value to the row. DAM_FAILURE - error adding the value. |
|