community.borland.com

Article #25306: WHEN GDSCODE fails with error 'status code unknown'

Problem:
Using the WHEN GDSCODE clause with an error code obtained
 from the list of error codes in the Language Reference manual
 will fail with the errors:

status code  unknown
invalid request BLR at offset 112

Solution:
The information in this article applies to:

* InterBase 4.x
* InterBase 5.x

The documented error codes in the Language Reference manual
 incorrectly prefix each of the error codes with 'isc_'; removing the
 'isc_' prefix works fine.  For example, the error code
 isc_lock_conflict should be just lock_conflict.

Last Modified: 16-SEP-02