![]() |
![]() |
The dsmSendData function call sends a byte stream of data to TSM through a buffer. The application client can pass any type of data for storage on the server. Usually, this data is file data, but it is not limited to such. You can call dsmSendData several times, if the byte stream of data that you want to send is large.
dsInt16_t dsmSendData (dsUint32_t dsmHandle, DataBlk *dataBlkPtr);
Parameters
The return code numbers are provided in parentheses ( ).
Table 41. Return Codes for dsmSendData
Return Code | Explanation |
---|---|
DSM_RC_NO_COMPRESS_MEMORY (154) | Insufficient memory available to perform data compression or expansion. |
DSM_RC_COMPRESS_GREW (155) | During compression the compressed data grew in size compared to the original data. |
DSM_RC_WILL_ABORT (157) | An unknown and unexpected error occurred, causing the transaction to halt. |
DSM_RC_WRONG_VERSION_PARM (2065) | Application client's API version is different than the TSM library version. |
DSM_RC_NEEDTO_ENDTXN (2070) | Need to end the transaction. |
DSM_RC_OBJ_EXCLUDED (2080) | The include-exclude list excludes the object. |
DSM_RC_OBJ_NOBCG (2081) | The object has no backup copy group and will not be sent to the server. |
DSM_RC_OBJ_NOACG (2082) | The object has no archive copy group and will not be sent to the server. |
DSM_RC_SENDDATA_WITH_ZERO_SIZE (2107) | The object cannot send data with a zero byte sizeEstimate. |