FlushRdciRdcm
Flushes information from the API RDCIRDCM buffer and releases any locks on the database records that were buffered there.
Syntax
short int FlushRdciRdcm (DCIAPIFlag
discard_changes
);
Parameters
discard_changes
(in) A flag indicating whether or not this function should discard any changes pending in the RDCIRDCM buffer prior to starting its work to flush the buffer. If the value is FALSE the function returns an error if there are changes pending.
Return Value
SUCCESS
or FAILURE
.
Comments
This function only affects the information in the RDCIRDCM buffer. It does not affect buffered response data. To flush the data, see FlushResponses.
Error Messages
Table 7-11 Error Messages for FlushRdciRdcm
Number | Severity | Message |
---|---|---|
284900 |
ERR |
User does not have the privilege to call function in the current mode. |
285000 |
ERR |
Function called out of sequence. |
285900 |
ERR |
No current OCL database connection open. Use ConnectOCL to connect to OCL database. |
299600 |
ERR |
Cannot preserve lock when performing a rollback. |
297100 |
ERR |
Changes pending. |
304600 |
ERR |
Function does not exist. |
304700 |
ERR |
Privilege does not exist. |
306500 |
ERR |
Unable to release lock. |
Related Function
Parent topic: Data Capture API Functions