Oracle8 Error Messages Release 8.0.4 A58312-01 |
Library | Product | Contents | Index

## 24800-24999: OCI LOB/FILE-Related Messages

For more OCI messages see 24300-24999: UPI/OCI Messages on page -342 and 25350-25375: Transaction OCI Messages on page -370.

##### ORA-24801: illegal parameter value in OCI lob function

Cause: One of the parameter values in the OCI lob function is illegal.

Action: Check every parameter in the OCI Lob function call to make sure they are correct. Offsets should be greater than or equal to one.

##### ORA-24802: user defined lob read callback error

Cause: The only valid return value for a user defined lob read callback function is OCI_CONTINUE. Any other value will cause this error.

Action: Verify that OCI_CONTINUE is returned from the user defined lob read callback function.

##### ORA-24803: illegal parameter value in lob read function

Cause: This is an internal error.

Action: This error should not normally occur. If it persists, please contact your customer service representative.

##### ORA-24804: illegal parameter value in lob write function

Cause: Internal error.

Action: This error should not normally occur. If it persists, please contact your customer service representative.

##### ORA-24805: LOB type mismatch

Cause: When copying or appending LOB locators, both source and destination LOB locators should be of the same type.

Action: Pass the same type of LOB locators for copying or appending.

##### ORA-24806: LOB form mismatch

Cause: When reading from or writing into LOBs, the character set form of the user buffer should be same as that of the LOB.

Action: Make sure that the buffer you are using to read or write has the same form as that of the LOB.

##### ORA-24807: LOB form mismatch

Cause: When copying or appending LOBs, both source and destination LOB locators should have the same character set form.

Action: Pass locators of the same character set form for copying or appending LOBs.

##### ORA-24808: streaming of lob data is not allowed when using lob buffering

Cause: Attempted to stream LOB data via the polling mode or a callback when LOB buffering was enabled for the input lob locator.

Action: LOB buffering is useful when reading/writing small amounts of LOB data so streaming should not be necessary. Rewrite the OCILobRead/OCILobWrite call so that it does not use streaming. If streaming of data is required, LOB buffering should not be used. In this case, flush buffers associated with the input LOB locator as necessary, disable buffering on the input LOB locator and reissue the OCILobRead/OCILobWrite call.

##### ORA-24809: amount specified will not fit in the LOB buffers

Cause: LOB buffering is enabled for the input LOB locator so buffering will be used. However, an attempt was made to read or write more LOB data than the buffer could hold.

Action: Either disable buffering on the input LOB locator and reissue the command or pass a smaller amount.

##### ORA-24810: attempting to write more data than indicated

Cause: While writing into a LOB, more data was supplied than indicated.

Action: If data is written in pieces, then make sure that you do not provide more data in the pieces (cumulatively), than you indicated.

##### ORA-24811: less data provided for writing than indicated

Cause: While writing into a LOB, less data was provided than indicated.

Action: If writing data in single pieces, then make sure that the buffer length specified is big enough to accommodate the data being provided. If data is written in pieces, then make sure that all the data has been provided before specifying OCI_LAST_PIECE.

Prev | Top | Next
| Copyright © 1997 Oracle Corporation. All Rights Reserved. |
Library | Product | Contents | Index