DisconnectOCL

Ends the current Oracle Clinical database connection.

Syntax

short int DisconnectOCL();

Parameters

None.

Return Value

SUCCESS or FAILURE.

Comments

None.

Error Messages

Table 7-6 Error Messages for DisconnectOCL

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.

286000

ERR

Cannot disconnect while changes are pending for RDCI/RDCM work.

302300

ERR

Cannot disconnect while changes are pending for responses work.

Related Function

ConnectOCL