Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

dam_getBulkValueToSet

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

This function returns the bulk insert related information, such as data buffer, length buffer, size of the column value, and total number of rows.

int dam_getBulkValueToSet (DAM_HSTMT Hstmt,
			         DAM_HROWELEM hRowElem,
 			         DAM_HBULKVAL* PpValBuffer,
 			         long** PpLenBuffer,
 			         long* PiValSize,
 			         long* PiRowCount)

Parameters for dam_getBulkValueToSet

Parameter Type Description
IN
Hstmt DAM_HSTMT The statement handle.
hRowElem DAM_HROWELEM The row element.
PpValBuffer DAM_HBULKVAL* The address of the buffer containing bulk/column values.
PpLenBuffer DAM_BULKVALLEN** The address of the buffer containing the lengths of the values in the bulk values buffer.
If the value length is -1, it indicates that the value is NULL.
PiValSize long* The size of each value in the buffer in bytes.
PiRowCount long* The total number of rows in the bulk.
RETURN
int DAM_SUCCESS - on success.
DAM_FAILURE - on failure.
TitleResults for “How to create a CRG?”Also Available inAlert