TurboIMAGE/XL Database Management System Reference Manual MPE/iX V6.5 (30391-90011)
Chapter 5 161
TurboIMAGE/XL Library Procedures
DBERROR
Table 5-10. lists all messages that can be returned by DBERROR with their corresponding
return status values. Variable information is represented by a lowercase word or phrase.
Several messages can correspond to one return status and the interpretation of the value
depends on the context in which it is returned; the message returned depends on
additional information returned by the TurboIMAGE/XL intrinsic.
Table 5-10. DBERROR Messages
Return Status DBERROR Message
0 SUCCESSFUL EXECUTION - NO ERROR
-1 NO SUCH DATABASE
DATABASE OPEN IN AN INCOMPATIBLE MODE
BAD ACCOUNT REFERENCE or BAD GROUP REFERENCE
BAD ROOT FILE REFERENCE
INSUFFICIENT DISC SPACE
VIRTUAL MEMORY NOT SUFFICIENT TO OPEN ROOT FILE
DATABASE ALREADY OPEN FOR MORE THAN READ
DATABASE IN USE
DATABASE OPEN EXCLUSIVELY
MPE SECURITY VIOLATION
MPE FILE ERROR
decimal integer
RETURNED BY FOPEN
ON {
ROOT FILE
DATA SET
#
decimal integer
}
-2 EXCEEDS GROUP DISC SPACE
EXCEEDS ACCOUNT GROUP DISC SPACE
DUPLICATE FILE NAME
MPE FILE ERROR
decimal integer
RETURNED BY FCLOSE
ON {
ROOT FILE
DATA SET
#
decimal integer
}
-3 MPE FILE ERROR
decimal integer
RETURNED BY FREADDIR
ON {
ROOT FILE
DATA SET
#
decimal integer
}
-4 MPE FILE ERROR
decimal integer
RETURNED BY FREADLABEL
ON {
ROOT FILE
DATA SET
#
decimal integer
}
-5 MPE FILE ERROR
decimal integer
RETURNED BY FWRITEDIR
-6
MPE FILE ERROR
decimal integer
RETURNED BY FWRITELABEL
-7 PREVIOUS MPE FILE ERROR
decimal integer
FOUND IN
DESIRED BUFFER
-8
MPE FILE ERROR
decimal integer
RETURNED BY FUNLOCK
-9 CANNOT CREATE
control block name
: MPE ERROR
nn
-10
MPE FILE ERROR
decimal integer
RETURNED BY FFILEINFO