TurboIMAGE/XL Database Management System Reference Manual MPE/iX V6.5 (30391-90011)
Chapter 5 145
TurboIMAGE/XL Library Procedures
DBCLOSE
DBCLOSE returns an error condition if the process has not completed an active transaction;
in other words, the process has called DBBEGIN without a matching call to DBEND.
Transactions that abort in this manner are not automatically suppressed by DBRECOV
during recovery in order to salvage as many subsequent transactions that may depend on
the aborted transaction as possible.
Consult appendix A for more information about these conditions.
Table 5-6. DBCLOSE Return Status Values
File System, Memory
Management, and
Transaction Management
Failures:
-2 FCLOSE failure.
-3 FREADDIR failed.
-5 FWRITEDIR failure.
-6 FWRITELABEL failure.
Calling Errors: -11 Bad database reference.
-21 Bad data set reference.
-31 Bad mode.
-222 Only DBXUNDO allowed when a dynamic
transaction encounters an error.
-232 Illegal DBCLOSE mode 2 used during an active
dynamic transaction.
-235 Dynamic transaction aborted due to DBCLOSE
mode 1; database closed.
-420 Feature not implemented.
Communications Errors: -101 DSCLOSE failure.
-102 DSWRITE failure.
-103 Remote 3000 stack space insufficient.
-106 Remote 3000 data inconsistent.
-107 NS 3000 or DS 3000 system error.
Logging System Failures: -111 WRITELOG failure.
-112 CLOSELOG failure.
-152 Transaction is in process.
Exceptional Conditions: -194 Invalid DBB.
-332 Error in QLOCK table operation.
-333 Error in QOPEN table operation.
63 DBG disabled; potential damage; only DBCLOSE
allowed.