Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

sqlu_addToDataChain

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

This function adds data to the DataChainList. The OpenAccess SDK layer frees the added block when it finishes processing the row.

DataChainList * sqlu_addToDataChain(
XM_Tree * pMemTree, 
DataChainList * DataChainList,
void *pData,
intiDataLen)

Parameters for sqlu_addToDataChain

Parameter Type Description
INPUT    
pMemTree XM_Tree * Memory tree to use for creating the data chain object.
pDataChainList DataChainList Data chain object previously created using sqlu_createDataChain.
pData void * Pointer to the data object to be stored in the chain. The memory location pData should not be freed until the DataChainList has been retrieved by an OASQLIP_get_colval call.
iDataLen int Number of bytes in pData.
RETURN    
  DataChainList  * A valid pointer if pData was added to pDataChainList object.
A NULL if an error occurred.

See also

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