HP 3000 Manuals

DBERROR [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation


HP Business BASIC/XL Reference Manual

DBERROR 

The DBERROR statement moves a database error message as an ASCII string
to a string variable specified using the RETURN parameter.  The
conversion of the error number in the status_array is as listed in the
DBERROR message table in the section describing the DBERROR library
procedure in the TurboImage/XL Database Management System.

Syntax 

DBERROR STATUS[=] status_array(*), RETURN[=]str_var 

Parameters 

status_array     A 10-element short integer array to which TurboIMAGE
                 returns an error code.  If an HP Business BASIC/XL
                 database statement specifies the STATUS option, an error
                 does not abort the program.  Following execution of the
                 database statement the program can check status_array 
                 and handle the error.  The values returned by TurboIMAGE
                 to this array are detailed in the description of the
                 status parameter of the equivalent TurboIMAGE library
                 procedure.

str_var          A string variable at least 72 characters in length that
                 serves as the buffer to which the multi-line error
                 message is returned.

Examples 

     110 DBERROR STATUS=Status(*),RETURN=Message$



MPE/iX 5.0 Documentation