Error Handling [ HP ALLBASE/SQL PC API User's Guide ] MPE/iX 5.0 Documentation
HP ALLBASE/SQL PC API User's Guide
Error Handling
Errors are documented in three places depending on where they are
detected.
* The ERROR.SQL file contains errors generated by Gupta C/API. This
file is included with the PC API product.
* The appendix "Error Messages from the PC Client" contains errors
from the PC client.
* The ALLBASE/SQL Message Manual contains the ALLBASE/SQL errors. A
typical error will look like this:
22333 2208 Column ! not found in table/view !.! (DBERR 2208)
where
22333 is the PC API error number returned to the
application.
2208 is the ALLBASE/SQL error number that you can
use to look it up in the ALLBASE/SQL Message
Manual.
! is a place holder for specific information
about your error.
Some applications do not return errors from ALLBASE/SQL; instead the
following message is displayed:
2559 HP ALLBASE Server error; Double click on PC API icon.
To see the error message, double click on the PC API icon. An Error
dialog box like the one in Figure 4-1 appears. Click on the Latest
button to read the error message.
Figure 4-1. The Error Dialog Box
The Connection List in the Error dialog box shows the list of open
connections to database servers.
MPE/iX 5.0 Documentation