Status code giving information
001 | FIND/FETCH format 1 or 7 with OR PRIOR/OR NEXT specification: |
Status codes with progress information of the online utility
010 | RELOCATE DML: Source and target levels are identical. Relocation has been completed. REORGPPP DML: End of realms reached. Reorganization has been completed. |
011 | RELOCATE DML: Source and target levels are 0 when INITIALIZE=*NO. REORGPPP DML: Current page number is 0 when INITIALIZE=*NO. When an attempt is made to continue the relocations with INITIALIZE=*NO, it is determined that no further information is available, e.g. because the database has been detached in the meantime or a new session section has been started. |
012 | RELOCATE DML: A locking conflict occurred with a parallel transaction when a source page was read. REORGPPP DML: A locking conflict occurred with a parallel transaction when a page was read. |
013 | A locking conflict occurred with a parallel transaction when a target page was read. |
Status codes relating to data consistency:
018 | Deadlock status (mutual locking of several transactions involving UDS/SQL resources); |
020 | FIND/FETCH (only CALL DML) |
Status codes relating to retrieval of records
021 | The end of a record type, set or realm has been reached. FIND/FETCH formats 2 (DUPLICATE) and 3 (USING): |
022 | The transaction attempts to open a database or realm which is locked for UPDATE and RETRIEVAL. Possible reasons for the lock are: Database level:
Realm level:
|
023 | In SET OCCURRENCE SELECTION IS THRU LOCATION MODE OF OWNER only: no set occurrence which satisfies the set selection criteria can be found. |
024 | No record satisfying the record selection expression can be found. FIND/FETCH format 1: The database key does not deliver any records for one of the following reasons:
FIND/FETCH formats 2 (ANY) and 7: FIND/FETCH format 4: |
027 | The subscript of the specified item name does not lie within the range defined by the OCCURS clause in the subschema. |
028 | The specified database key contains an invalid record reference number or a record sequence number that lies outside the range of its DBTT. |
029 | FIND/FETCH formats 4 and 5: The Current of Realm or the Current of Set does not have the record type specified in the statement. |
Status codes relating to currency indicators:
031 | The Current of Realm, the Current of Set or the Current of Record type is not known. FIND/FETCH format 3: FIND/FETCH format 6 and format 7: IF format 2: |
032 | The Current of Run Unit is not known or has been erased. |
033 | The Current of Run Unit does not have the record type specified in the statement. |
Status codes relating to naming conventions:
042 | Record type, set or realm is not defined in the called subschema, or an item which is part of an ASC, DESC or CALC key is not defined in the subschema, or following schema modification, the application program was not recompiled (COBOL DML) or the BCALLSI run was omitted (CALL DML), or an error occurred at the BIB interface (see status code 103) or in the case of an online utility a realm was specified in which no activities are permitted. |
043 | STORE and FIND/FETCH format 2: The AREA-ID data element contains the name of a realm which is not specified in the DDL WITHIN clause or does not belong to the called subschema, or in SET OCCURRENCE SELECTION IS THRU LOCATION MODE OF OWNER and owner record type = LOCATION MODE IS CALC: the AREA-ID item of the owner record contains the name of a realm which is not specified in the DDL WITHIN clause or does not belong to the called subschema. |
044 | IF: |
Status codes relating to data elements:
051 | Duplicate occurrences of key values in the database. This means that the execution of a DML statement would contradict a DUPLICATES ARE NOT ALLOWED specification in an ORDER IS SORTED BY DEFINED KEYS clause or SEARCH KEY clause of a set in which the record involved is a member, or the LOCATION MODE IS CALC or SEARCH KEY clause of the record involved. |
Status codes relating to records:
071 | FIND/FETCH format 2 (DUPLICATE), 3, 4 and 5: |
072 | ERASE: |
Status codes relating to set membership:
081 | CONNECT (set-name): |
082 | DISCONNECT (set-name): |
083 | DISCONNECT (set-name) and MODIFY (set-name): |
Status codes relating to a READY status:
091 | A realm is not in the READY status (i.e. a realm was not explicitly specified at READY or is not part of the current subschema), or realm names were explicitly specified at READY in an ERASE PERMANENT/ SELECTIVE/ALL statement, or the DBTT of a record type to be relocated by the online utility is in an unopened realm. |
092 | No DML statement containing an update function is permitted in a RETRIEVAL processing chain, or |
093 | The Database Handler (DBH) does not allow the processing chain since the database involved is already open within the transaction (second READY within a processing chain). |
099 | (only CALL DML or Online Utility) While opening a transaction, a realm is locked by a different transaction. |
Status codes relating to erroneous DML statements
101 | FIND/FETCH Format 4: FIND/FETCH format 6: FIND/FETCH format 7:
FINISH: |
102 | SET, ACCEPT (Format 1): FIND/FETCH-1, ACCEPT (Format 2): |
103 | Error in the BIB interface. |
Status codes relating to system errors:
113 | When accessing a database page a serious error was discovered in the Database Handler or in the database. |
Status codes relating to UDS/SQL resources:
122 | The transaction was prematurely terminated with CANCEL by the DBH; possible causes for this are:
|
123 | The transaction attempts to open a realm, which is locked against updates, with READY USAGE-MODE UPDATE. The lock is due to one of the following reasons: Configuration level:
Database level:
Realm level:
|
124 | The transaction was prematurely terminated with CANCEL by the DBH. Cause: This status code is set if the load parameter PP ORDER-DBSTATUS=SPECIAL was specified for the current session. Otherwise, status code 122 is set under the conditions indicated above. |
131 | The Database Handler does not allow the transaction since the maximum permitted number of parallel transactions or user tasks, which was specified by the load parameter TRANSACTION when the Database Handler was loaded, has been reached. |
132 | The Database Handler does not allow the transaction since the maximum permitted number of subschemas, which was specified by the load parameter SUBSCHEMA when the Database Handler was loaded, has been reached. |
Status codes relating to the sequence of DML statements
134 | The Database Handler does not allow the DML statement since no transaction is open. |
136 | A DML statement, though belonging to an existing transaction, is rejected because it refers to a database (supplies a DB reference) for which no processing chain of the transaction currently exists. |
137 | It is not possible to mix SQL and non-SQL statements in a transaction |
Status codes relating to subschemas:
141 | The transaction has specified an invalid or unknown subschema name, or the first 6 characters of the subschema name are not unique in the current DB configuration, or the database involved is not active. For UDS-D:
The number of remote databases addressed by this transaction exceeds the value PP DISDB. |
142 | The subschema description in DBDIR (SSIA) has been destroyed. Repeat BGSSIA run. |
144 | The DML statement specifies a different subschema from the one specified in the current READY statement (subschema reference). |
145 | The subschema specified in the READY statement cannot be processed because it does not match the current status of the schema (subschema DDL compilation and/or BGSSIA run missing after database restructuring)
|
146 | COBOL DML: The subschema with which the module of the current DML statement was compiled does not correspond with the current status of the database. CALL DML: the SSITAB module used does not correspond with the current status of the database. |
Status codes relating to DBH availability:
151 | The Database Handler is not yet available or is being terminated normally (termination in progress). |
152 | The Database Handler has been terminated abnormally. |
154 | An irrecoverable error has been detected in UDS/SQL; the program should be terminated (STOP RUN for COBOL programs). The transaction was not completed. |
155 | While UDS/SQL was processing a DML statement, a further DML statement for the same transaction was received (deserialization). |
Further status codes of the UDS online utility
161 | A transaction of an online utility is already active in the same realm. |
162 | A user transaction which is running in parallel has activated an online realm extension and thus temporarily hindered the online utility. |
163 | The online utility is not permitted in a temporary realm. |
164 | USAGE-MODE EXCLUSIVE UPDATE is required for this RELOCATE type. |
165 | The SET specified is not a distributable list. |
166 | The realm specified is not permitted for the record type. |
167 | Conflicting change of a parallel user TA. The utility TA is reset. |
Status codes relating to FIND/FETCH:
183 | The search expression exceeds the maximum length. |
184 | The temporary realm is not available. |
191 | Both the object set and the LIMITED set are dynamic sets. |
192 | The LIMITED set is empty. |
193 | FIND/FETCH format 7: FIND/FETCH format 3: The specified record name differs from the record name specified in the preceding FIND/FETCH format 7. |
194 | The comparison value or sort item has the length 0 or a length that is not permitted for the item type. |
195 | The comparison value or sort item has an unknown item type or the comparison value contains incompatible data. |
197 | No preceding FIND/FETCH format 7. |
198 | The CRS of the result set has been disconnected from the object set or connected to another occurrence by a different transaction. |
Status codes relating to interoperation with open UTM:
200 | FINISH: |
201 | A further DML statement was issued after the pended FINISH. The DML statement is ignored. |
218 | Deadlock involving more than one system that can only be resolved by releasing the openUTM application task (e.g. with PEND RS). Examples:
This type of deadlock is recognized by means of timeout monitoring of wait situations (PP DEADTIME). When this time limit is exceeded, status code 218 is indicated, even if no actual deadlock has occurred. |
Status codes relating to LOOK:
781 | Element not found or realm name unknown to the online utility. |
782 | No next element available. |
783 | One element in the list not found. |
784 | The item reference entered does not exist. The description with the next smallest item reference was output. |
785 | The result vector of a compound LOOKC function must be retrieved by a contiguous sequence of corresponding LOOKC statements. |
786 | The record type cannot be processed with this subschema as it contains data of a type which is not known to the application program. |
789 | The specified subschema does not exist. |
Status codes relating to allocation of memory space or database key:
802 | The memory space in the realm is exhausted or an activated online realm extension has failed. The record involved cannot be stored or inserted in a set occurrence. |
804 | No further database key is available for storage of a new record or an activated online realm extension has failed. |
805 | The system address space of the DBH is exhausted. The DBH tables can no longer be extended dynamically. The database administrator has been notified. |
Status codes relating to variable-length items and compression:
888 | The length of the variable item is greater than that defined in the subschema or is negative. |
898 | STORE/MODIFY format 2 is not allowed for variable-length items. |
899 | STORE: The number of items to be stored is so great that the size of the compressed record is greater than one page. GET: MODIFY format 1: MODIFY format 2: |
Status codes relating to access privileges
901 | Access to a realm, record or set is not permitted within the user group or the utility routine ONLINE-PRIVACY or ONLINE-UTILITY is trying to access a database which is not contained in the utility routine’s execution USER-ID. It is not possible to bypass this behavior of the utility routines by setting the P parameter PRIVACY-CHECK to OFF. |
950 | The specified user group is not known (see the manual “Creation and Restructuring”, BPRIVACY). |
954 | No access authorization has been defined for the specified user group. |