## -10319: Could not read/write LOB for parameter/column (<number>)

### Explanation:

One of the following two errors occurred for parameter/column <number>:

· The SQLDBC_LOB::getVal method was used to try to read an LOB object, even though this object was only opened for write access (input parameter).

· The SQLDBC_LOB::putVal method was used to try to write an LOB object, even though this object was only opened for read access (output parameter).

### User Action:

Only use the SQLDBC_LOB::getVal method for output parameters and the SQLDBC_LOB::putVal method for input parameters.