OTL 4.0, OTL defined exceptions

OTL defined exceptions

The following OTL exceptions can be raised by the OTL stream functions:

Code=32000: Incompatible data types in stream operation

Code=32001: Row must be full for flushing output stream Code=32004: Not all input variables have been initialized Code=32004: No input variables have been defined in SQL statement Code=32005: Input string value is too large to fit into the buffer Code=32007: Input otl_long_string value is too large to fit into the buffer Code=32007: PL/SQL table size is too large (>32767) Code=32008: Writing CLOB/BLOB in stream mode: actual size is greater than specified Code=32009: Closing CLOB/BLOB in stream mode: actual size is not equal to specified size Code=32010: CLOB/BLOB stream is not open for writing


Code=32011: CLOB/BLOB stream is not open for reading


Code=32012: First session must be started with session_begin()


Code=32013: Invalid bind variable declaration


Code=32014: No stored procedure was found


Code=32015: Unsupported data type

Code=32016: Unsupported procedure type Code=32017: Stream buffer size can't be > 1 in this case Code=32018: ODBC / DB2 CLI function name is not recognized. It should be one of the following: SQLTables, SQLColumns, SQLProcedures, SQLColumnPrivileges, SQLTablePrivileges, SQLPrimaryKeys, SQLProcedureColumns, SQLForeignKeys
Code=32019: otl_stream::operator>>() should have been called before otl_stream::operator int() Code=32020: otl_stream_read_iterator: otl_stream is not open Code=32021: otl_stream_read_iterator: PL/SQL table and 'refcur' parameters are not supported Code=32022: otl_stream_read_iterator: otl_stream cannot be described Code=32023: otl_stream_read_iterator: position is out of range Code=32024: otl_stream_read_iterator: incompatible types in get()
Code=32025: otl_stream::operator int() is not supported in the LOB stream mode
Code=32026: otl_stream_read_iterator: get(otl_lob_stream*&) function can only be used if otl_stream::set_lob_stream_mode(true) had been called before the iterator was attached to the stream Code=32027: otl_stream_read_iterator: : variable name is not recognized  Code=32028: Unsupported column data type Code=32029: RAW value cannot be read with otl_lob_stream, use otl_long_string instead
Code=32030: otl_stream is already open Code=32031: otl_connect is already connected

Prev ContentsGo Home

Copyright © 1996, 2007, Sergei Kuchin, email: skuchin@ispwest.com, skuchin@gmail.com .

Permission to use, copy, modify and redistribute this document for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies.