Professional Documents
Culture Documents
DB2 Messages and Codes
DB2 Messages and Codes
GC26-9011-02
DB2 Universal Database for OS/390 IBM
Messages and Codes
Version 6
GC26-9011-02
Note!
Before using this information and the product it supports, be sure to read the general information under
Appendix E, “Notices” on page 1081.
This edition applies to Version 6 of DB2 Universal Database Server for OS/390, 5645-DB2, and to any subsequent releases until
otherwise indicated in new editions. Make sure you are using the correct edition for the level of the product.
This softcopy version is based on the printed edition of the book and includes the changes indicated in the printed version by vertical
bars. Additional changes made to this softcopy version of the manual since the hardcopy manual was published are indicated by the
hash (#) symbol in the left-hand margin. Editorial changes that have no technical significance are not noted.
Copyright International Business Machines Corporation 1982, 1999. All rights reserved.
US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
Contents
Section 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Contents v
VERIFY request . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1035
Appendixes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1047
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . G-1
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . G-3
Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1
Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-3
Throughout this book, “DB2” means the program product IBM DATABASE 2 Uni-
versal Database Server for OS/390 (DB2 for OS/390). Other DB2 products are
given their complete names or abbreviations.
The introduction provides general information about DB2 messages and codes.
You will be referred to it from appropriate places in the manual. However, it is
recommended that you become familiar with this material ahead of time.
The SQL return codes are listed by numeric sequence. The DB2 messages are
listed in order of their subcomponent identifier and further by their numeric identi-
fier. The codes are listed by their hexadecimal ID and further by their numeric iden-
tifier. The IRLM messages and codes are listed by numeric sequence.
# All DB2 message identifiers are eight to ten characters long. The first three charac-
ters are always DSN: it is the DB2 component prefix name. The fourth character is
the subcomponent identifier: it identifies the subcomponent of DB2 that issued the
message. Each subcomponent has an associated hexadecimal identifier (hex ID): it
# is the hexadecimal representation of the subcomponent identifier. The numeric
# identifier is three to five characters long and begins at the fifth character in the
# message. The numeric identifier is unique within the subcomponent. The last char-
acter of the message identifier is the message type code. It indicates the type of
response that the message requires. A subsystem identifier is an optional field
found after the message number: it is also known as the csect-name. Message
identifiers and CSECT names have the following format:
DSNB29I DSNB1CHK
where:
DSN is the DB2 subsystem prefix name.
B is the subcomponent identifier; in this example B identifies the DB2
buffer manager and the hexadecimal ID for this subcomponent is
X'C2'.
29 is the numeric identifier.
I indicates that this message is for information only.
DSNB1CHK is the csect name; it is an optional field.
The DB2 reason codes and subsystem termination reason codes are 4 bytes long.
The first byte is always 00: it is the high-order byte. The second byte is the
hexadecimal identifier (hex ID): it identifies the DB2 subcomponent. The last 2
bytes are the numeric identifier: it is unique within the subcomponent. The codes
have the following format:
E541
where:
is the high-order byte.
E5 is the hexadecimal identifier; it identifies the DB2 agent services
manager.
41 is the numeric identifier.
Explanation: This section tells what the message or code means, why it occurred, and
what caused it. To assist in diagnosing problems, the CSECTs that issued the message are
also included. However, if the issuing CSECT is placed in the message text at run time, it is
not included in the explanation.
System Action: This part tells what is happening as a result of the condition causing the
message or code. If this information is not shown, no system action is taken.
User Response: If a response by the user is necessary, this section tells what the perti-
nent responses are and their effect. If this information is not shown, no user response is
required.
Operator Response: If an operator response is necessary, this section tells what the perti-
nent responses are and their effect. If this information is not shown, no operator response is
required.
System Programmer Response: If a response by the system programmer is needed, this
part tells what the pertinent responses are and their effect. If this information is not shown,
no system programmer response is required.
Programmer Response: If a programmer response is necessary, this part tells what the
pertinent responses are and their effect. If this information is not shown, no programmer
response is required.
Problem Determination: This section lists the actions that can be performed to obtain ade-
quate data for support personnel to diagnose the problem. If this information is not shown,
no problem determination is required.
X'04E'
An X'04E' abend completion code indicates that DB2 detected an internal
error and abended a DB2 internal task (TCB) or a user-connected task. Errors
associated with an X'04E' abend completion code might be preceded by an
MVS system code or by internal errors.
The diagnostic material generated by the X'04E' abend must be examined to
determine the source of the error that actually resulted in a subsequent task or
subsystem termination.
X'04F'
An X'04F' abend completion code indicates that DB2 detected a severe error
and abended the entire DB2 subsystem. When an X'04F' is issued, DB2
determined that continued operation could result in the loss of data integrity.
Errors associated with an X'04F' abend completion code might be preceded
by an MVS system error or by one or more DB2 X'04E' abend completion
codes.
Throughout the library, the DB2 for OS/390 licensed program and a particular DB2
for MVS/ESA subsystem are each referred to as “DB2.” In each case, the context
makes the meaning clear.
The most rewarding task associated with a database management system is asking
questions of it and getting answers, the task called end use. Other tasks are also
necessary—defining the parameters of the system, putting the data in place, and so
on. The tasks associated with DB2 are grouped into the following major categories
(but supplemental information relating to all of the below tasks for new releases of
DB2 can be found in DB2 Release Guide):
Installation: If you are involved with DB2 only to install the system, DB2 Installa-
tion Guide might be all you need.
If you will be using data sharing then you also need DB2 Data Sharing: Planning
and Administration, which describes installation considerations for data sharing.
End use: End users issue SQL statements to retrieve data. They can also insert,
update, or delete data, with SQL statements. They might need an introduction to
SQL, detailed instructions for using SPUFI, and an alphabetized reference to the
types of SQL statements. This information is found in DB2 Application Program-
ming and SQL Guide and DB2 SQL Reference.
End users can also issue SQL statements through the Query Management Facility
(QMF) or some other program, and the library for that program might provide all
the instruction or reference material they need. For a list of the titles in the QMF
library, see the bibliography at the end of this book.
Application Programming: Some users access DB2 without knowing it, using pro-
grams that contain SQL statements. DB2 application programmers write those pro-
grams. Because they write SQL statements, they need DB2 Application
Programming and SQL Guide, DB2 SQL Reference, and DB2 ODBC Guide and
Reference just as end users do.
The material needed for writing a host program containing SQL is in DB2 Applica-
tion Programming and SQL Guide and in DB2 Application Programming Guide and
Reference for Java. The material needed for writing applications that use DB2
ODBC or ODBC to access DB2 servers is in DB2 ODBC Guide and Reference. For
handling errors, see DB2 Messages and Codes .
If you are involved with DB2 only to design the database, or plan operational proce-
dures, you need DB2 Administration Guide. If you also want to carry out your own
plans by creating DB2 objects, granting privileges, running utility jobs, and so on,
then you also need:
DB2 SQL Reference, which describes the SQL statements you use to create,
alter, and drop objects and grant and revoke privileges
DB2 Utility Guide and Reference, which explains how to run utilities
DB2 Command Reference, which explains how to run commands
If you will be using data sharing, then you need DB2 Data Sharing: Planning and
Administration, which describes how to plan for and implement data sharing.
Diagnosis: Diagnosticians detect and describe errors in the DB2 program. They
might also recommend or apply a remedy. The documentation for this task is in
DB2 Diagnosis Guide and Reference and DB2 Messages and Codes.
| You can view and search DB2 publications on the Web, or you can download and
| print many of the most current DB2 books. Follow links to other Web sites with
| more information about DB2 family and OS/390 solutions. Access DB2 on the Web
| at the following address:
| http://www.ibm.com/software/db2os390
| DB2 publications
| The DB2 publications for DB2 Universal Database Server for OS/390 are available
| in both hardcopy and softcopy format.
| BookManager format
# Use online books on CD-ROM or DVD, or the Web. You can read, search across
# books, print portions of the text, and make notes in these BookManager books.
# With the IBM Library Reader, you can view these books in the OS/390, VM, OS/2,
# DOS, AIX, and Windows environments. You can also view many of the DB2
# BookManager books on the Web.
| PDF format
| Many of the DB2 books are available in Portable Document Format (PDF) for
| viewing or printing from CD-ROM, DVD, or the Web. Download the PDF books to
| your intranet for distribution throughout your enterprise.
| http://www.ibm.com/services/learning/
| For more information, including the current local schedule, please contact your IBM
| representative.
| Classes can also be taught at your location, at a time that suits your needs.
| Courses can even be customized to meet your exact requirements. The All-in-One
| Education and Training Catalog describes the DB2 curriculum in the United States.
| You can inquire about or enroll in these courses by calling 1-800-IBM-TEACH
| (1-800-426-8322).
| Buffer pools in data spaces provide virtual storage constraint relief for the
| ssnmDBM1 address space, and data spaces increase the maximum amount of
| virtual buffer pool space allowed.
| You can change checkpoint frequency dynamically using the new SET LOG
| command and initiate checkpoints any time while your subsystem remains avail-
| able.
| Control of space map copy maintenance with a new option avoids tracking of
| page changes, thereby optimizing performance of data sharing applications.
| User productivity
| Predictive governing capabilities enhance the resource limit facility to help eval-
| uate resource consumption for queries that run against large volumes of data.
| A default buffer pool for user data and indexes isolates user data from the DB2
| catalog and directory, and separating user data from system data helps you make
| better tuning decisions.
| More information available for monitoring DB2 includes data set I/O activity in
| traces, both for batch reporting and online monitors.
| Better integration of DB2 and Workload Manager delay reporting enables DB2
| to notify Workload Manager about the current state of a work request.
| More tables are allowed in SQL statements SELECT, UPDATE, INSERT, and
| DELETE, and in views. DB2 increases the limit from 15 to 225 tables. The number
| of tables and views in a subselect is not changed.
| Improved DB2 UDB family compatibility includes SQL extensions, such as:
| A VALUES clause of INSERT that supports any expression
| A new VALUES INTO statement
| Easier recovery management lets you achieve a single point of recovery and
| recover data at a remote site more easily.
| You can easily process dynamic SQL in batch mode with the new object form of
| DSNTEP2 shipped with DB2 for OS/390.
| Stored procedure enhancements include the ability to create and modify stored
| procedure definitions, make nested calls for stored procedures and user-defined
| functions, and imbed CALL statements in application programs or dynamically
| invoke CALL statements from IBM's ODBC and CLI drivers.
| DB2 ODBC extensions include new and modified APIs and new data types to
| support the object-relational extensions.
| ODBC access to DB2 for OS/390 catalog data improves the performance of your
| ODBC catalog queries by redirecting them to shadow copies of DB2 catalog tables.
| Better performance for ODBC applications reduces the number of network mes-
| sages that are exchanged when an application executes dynamic SQL.
| DDF connection pooling uses a new type of inactive thread that improves per-
| formance for large volumes of inbound DDF connections.
| You can use the DB2 Extenders feature of DB2 for OS/390 to store and manipu-
| late image, audio, video, and text objects. The extenders automatically capture and
| maintain object information and provide a rich body of APIs.
| More function
| Some function and capability is available to both Version 6 and Version 5 users.
| Learn how to obtain these functions now, prior to migrating to Version 6, by visiting
| the following Web site:
| http://www.software.ibm.com/data/db2/os390/v5apar.html
| You can install and use these features in a “Try and Buy” program for up to 90
| days without paying license charges:
| Query Management Facility
| DB2 DataPropagator
| DB2 Performance Monitor
| DB2 Buffer Pool Tool
| DB2 Administration Tool
| Migration considerations
| Migration to Version 6 eliminates all type 1 indexes, shared read-only data, data set
| passwords, use of host variables without the colon, and RECOVER INDEX usage.
| You can migrate to Version 6 only from a Version 5 subsystem.
+100 ROW NOT FOUND FOR FETCH, UPDATE OR +162 TABLESPACE database-name.tablespace-name
DELETE, OR THE RESULT OF A QUERY IS AN HAS BEEN PLACED IN CHECK PENDING
EMPTY TABLE
Explanation: The indicated table space is in check pending
Explanation: One of the following conditions occurred: status because the ALTER TABLE statement was used to
specify a referential constraint or a check constraint (while
No row met the search conditions specified in an UPDATE
special register CURRENT RULES = 'DB2') on a populated
or DELETE statement.
table. The table space is not generally available until the
The result of a SELECT INTO statement was an empty check pending status is removed from the table space.
table.
System Action: The table space was placed in check
A FETCH statement was executed when the cursor was pending status.
positioned after the last row of the result table.
Programmer Response: Run the CHECK DATA utility. The System Action: A valid plan or package will be created if no
enforcement of the referential constraint or the check constraint errors are detected. The statement is bound dynamically on
is deferred until the CHECK DATA utility is run. each execution of the statement.
Destination: 01514 Programmer Response: For better performance, rebind the
plan or package after correcting the statement. To correct the
+203 THE QUALIFIED COLUMN NAME column-name statement, verify that the column and table names are speci-
WAS RESOLVED USING A NON-UNIQUE OR fied correctly in the SQL statement. In the case of a SELECT
UNEXPOSED NAME statement, check to be sure that all of the required tables were
named in the FROM clause.
Explanation: The table designator selected to resolve a qual-
ified column name is one of the following: Destination: 01533
An unexposed name
+218 THE SQL STATEMENT REFERENCING A
An exposed name that has an exposed duplicate in the
REMOTE OBJECT CANNOT BE EXPLAINED
same FROM clause
An exposed name that has an unexposed duplicate which Explanation: The user has used EXPLAIN(YES) on the bind
appears before the selected name in the ordered list of subcommand to bind an application which has SQL statement
names to which the qualifier is compared referencing a remote object or the user has a static EXPLAIN
SQL statement which references a remote object in the appli-
Therefore, the statement does not conform to the guidelines for
cation program. EXPLAIN on a remote object is not supported
using only unique exposed names as qualifiers or it is possible
by DB2.
that the column reference was not resolved to the intended
instance of the table or view. It is issued at BIND time, and only with VALIDATE(RUN).
System Action: DB2 uses the selected name to resolve the System Action: The plan or package will be bound success-
reference. fully, but no information will be filled in the user's PLAN-TABLE
for the SQL statement referencing a remote object. An
Programmer Response: If DB2's resolution of the qualifier
SQLCODE -512 will be issued at run time if the EXPLAIN
was not what you intended, rewrite the SQL statement and
statement is found to explain a remote object.
submit it again. The rules used to resolve column name qual-
ifiers are given in Chapter 3 of DB2 SQL Reference. Destination: 01537
Destination: 01552
+219 THE REQUIRED EXPLANATION TABLE table-
name DOES NOT EXIST
+204 name IS AN UNDEFINED NAME
Explanation: The EXPLAIN statement assumes the existence
Explanation: The object identified by 'name' is not defined
of the explanation table and it is not defined in the DB2 sub-
in the DB2 subsystem. This return code can be generated for
system as a base table. Refer to Chapter 6 of DB2 SQL Refer-
any type of DB2 object.
ence for more information.
System Action: A valid plan or package will be created if no
System Action: A valid plan or package will be created if no
errors are detected. The statement is bound dynamically on
errors are detected. The statement is bound dynamically on
each execution of the statement.
each execution of the statement.
Programmer Response: For better performance, rebind the
Programmer Response: For better performance, rebind the
plan or package after correcting the statement. To correct the
plan or package after correcting the statement. To correct the
statement, determine that the object name was correctly speci-
statement, determine whether the required explanation table
fied in the SQL statement (including any required qualifiers). If
does exist. If not, create the required table.
so, ensure that the object exists in the system before resubmit-
ting the statement. Destination: 01532
Destination: 01532
+220 THE COLUMN column-name IN EXPLANATION
TABLE table-name IS NOT DEFINED PROP-
+206 column-name IS NOT A COLUMN OF AN
ERLY
INSERTED TABLE, UPDATED TABLE, OR ANY
TABLE IDENTIFIED IN A FROM CLAUSE Explanation: An error occurred during the insertion of a row
into the explanation table. The table is improperly defined for
Explanation: This return code is used to report one of these
the following reasons:
errors:
A column is missing.
In the case of an INSERT or UPDATE statement, the
specified column is not a column of the table or view that Columns are defined in the wrong order.
was specified as the object of the insert or update.
The table contains an extra column.
In the case a SELECT or DELETE statement, the specified
A column description is invalid because of its name, data
column is not a column of any of the tables or views identi-
type, length, or null attributes.
fied in a FROM clause in the statement.
System Action: A valid plan or package will be created if no
There is a correlated reference in GROUP BY.
errors are detected. The statement is bound dynamically on
There is an unresolved qualified reference in HAVING. each execution of the statement.
Programmer Response: For better performance, rebind the
plan or package after correcting the statement. To correct the
statement, correct the definition of the required explanation | unless USING BOTH was specified (in which case additional
table. Refer to Chapter 6 of DB2 SQL Reference for informa- | SQLVAR entries must be provided for the labels).
tion about defining an explanation table.
| If the distinct type information is needed, the value of the
Destination: 01546 | SQLN field in the SQLDA should be increased to integer2
| (after making sure that the SQLDA is large enough to support
| +236 SQLDA INCLUDES integer1 SQLVAR ENTRIES, | that amount) and the statement should be resubmitted.
| BUT integer2 ARE REQUIRED FOR integer3 | Destination: 01594
| COLUMNS
| Explanation: The value of the SQLN field of the SQLDA | +238 SQLDA INCLUDES integer1 SQLVAR ENTRIES,
| should be at least as large as the number of columns being | BUT integer2 SQLVAR ENTRIES ARE NEEDED
| described. integer3 is the number of columns being described. | FOR integer3 COLUMNS BECAUSE AT LEAST
| In the case that USING BOTH has been specified, twice as
| ONE OF THE COLUMNS BEING DESCRIBED
| many SQLVAR entries are needed as the number of columns
| IS A LOB
| being described. | Explanation: Given that at least one the columns being
| The number of SQLVAR entries that are needed to return all of
| described is a LOB, space must be provided for the extended
| the information about the columns is integer2.
| SQLVAR entries in addition to the base SQLVAR entries. The
| value of SQLN, integer1, indicates that there are not enough
| Note: in the case of DESCRIBE INPUT, each reference to | SQLVAR entries for the base and extended SQLVAR entries.
| column would actually be parameter. | One or more of the columns being described may be a distinct
| System Action: The SQLDAID 7th byte has been set to "on" | type.
| with a value of 2 indicating that 2 SQLVAR entries are needed | The total number of SQLVAR entries that are required
| for each column. DB2 has not set any SQLVAR entries. | depends on whether USING BOTH was specified or not (n is
| Programmer Response: Increase the value of the SQLN | the number of columns being described which is integer3), and
| field in the SQLDA to the value indicated in the message | whether the columns include any distinct types:
| (making sure the SQLDA is large enough to support that | With USING BOTH, and one or more distinct types, space
| amount) and resubmit the statement. | should be allocated for 3n SQLVAR entries.
| Destination: 01005 | Otherwise, space should be allocated for 2n SQLVAR
| entries.
| +237 SQLDA INCLUDES integer1 SQLVAR ENTRIES, | The number of SQLVAR entries that are needed to return all of
| BUT integer2 ARE REQUIRED BECAUSE AT | the information about the columns is integer2.
| LEAST ONE OF THE COLUMNS BEING
| DESCRIBED IS A DISTINCT TYPE | Note: in the case of DESCRIBE INPUT, each reference to
| column would actually be parameter.
| Explanation: Given that at least one of the columns being
| described is a distinct type, space should be provided for the | System Action: DB2 has set the SQLDAID 7th byte flag "on"
| extended SQLVAR entries in addition to the base SQLVAR | because sufficient space was not provided for the extended
| entries. The value of SQLN, integer1, indicates that there are | SQLVAR entries. The value of the 7th byte flag indicates how
| not enough SQLVAR entries for the base and extended | many SQLVAR entries are needed for each column. DB2 has
| SQLVAR entries. | not set any SQLVAR entries.
| The total number of SQLVAR entries that are required | Programmer Response: Increase the value of the SQLN
| depends on whether USING BOTH was specified (n is the | field in the SQLDA to integer2 (after making sure that the
| number of columns being described): | SQLDA is large enough to support that amount) and resubmit
| the statement.
| With USING BOTH, space should be allocated for 3n
| SQLVAR entries. | Destination: 01005
| 9 METHOD is invalid.
+403 THE LOCAL OBJECT REFERENCED BY THE
| 10 SORTN_JOIN is invalid. CREATE ALIAS STATEMENT DOES NOT
| 11 SORTC_JOIN is invalid. EXIST
| 16 Multi-index access can't be done. | Explanation: keyword is a deprecated feature that will not be
| supported in releases following DB2 Version 6. It is accepted,
| 17 Invalid ACCESSTYPE combination. | but continued use of this keyword is not recommended.
| 18 METHOD specified for first table | For indexes, use type 2 indexes rather than type 1 indexes to
| accessed. | avoid any incompatibilities.
| 19 Nested-loop join can't be done as | System Action: Processing continues normally.
| requested.
| Programmer Response: No change is required for the
| 20 Merge join can't be done as requested. | current release. However, you should change your SQL state-
| 21 Hybrid join can't be done as requested. | ment and remove this feature to prepare for future releases
| when this feature is not supported.
| 22 PARALLELISM_MODE requested can't be
| done. | Destination: 01608
| 23 PARALLELISM_MODE is invalid.
| +445 VALUE value HAS BEEN TRUNCATED
| 24 ACCESS_DEGREE is invalid.
| Explanation: The value value was truncated by a cast func-
| 25 JOIN_DEGREE is invalid. | tion, which was called to transform the value in some way.
| 26 A table is missing. | This is a warning situation. The cast function is a result of
| 34 Full outer join requires merge join method. | System Action: The value has been truncated.
| also issued if DB2's cost category value was “B,” and the
+464 PROCEDURE proc RETURNED num QUERY
| default action specified in the RLF_CATEGORY_B column in
RESULT SETS, WHICH EXCEEDS THE
| the RLST is to issue a warning.
DEFINED LIMIT integer
| estimate_amount1 The cost estimate (in processor seconds) if
Explanation: The stored procedure named by proc com-
| the prepared INSERT, UPDATE, DELETE
pleted normally. However, the stored procedure exceeded the
| or SELECT statement were to be executed.
defined limit on the number of query result sets the procedure
can return. | estimate_amount2 The cost estimate (in service units) if the
| prepared INSERT, UPDATE, DELETE or
num identifies the number of query result sets returned by
| SELECT statement were to be executed.
the stored procedure.
| cost-category DB2's cost-category for this SQL statement.
integer identifies the defined limit on the number of query
| The possible values are A or B.
result sets for the stored procedure.
| limit-amount The warning threshold (in service units)
Only the first integer query result sets are returned to the SQL
| specified in the RLFASUWARN column of
program that issued the SQL CALL statement.
| the RLST.
The possible causes are as follows:
| System Action: The prepare of the dynamic INSERT,
The stored procedure is unable to return num result sets | UPDATE, DELETE, or SELECT statement was successful. An
due to the limit defined for the procedure. | SQLCODE -905 might be issued if the execution of the pre-
The stored procedure is unable to return num result sets
| pared statement exceeds the ASUTIME value specified in the
due to the DRDA limitations imposed by the client. The
| RLST.
DRDA client establishes this limit with the MAXRSLCNT | Programmer Response: Ensure that there is application
DDM code point. | logic to handle the warning to either allow the statement to
System Action: The SQL statement is successful. The
| execute or to stop the statement from being executed. If this
SQLWARN9 field is set to 'Z'.
| SQLCODE was returned because the cost category value is
| “B,” it might be that the statement is using parameter markers
Destination: 0100E | or that some statistics are not available for the referenced
| tables and columns. Make sure the administrator has run the
| +466 CREATE PROCEDURE proc RETURNED num | utility RUNSTATS on the referenced tables. It might also be
| QUERY RESULTS SETS | that UDFs will be invoked when the statement is executed, or
| for INSERT, UPDATE, or DELETE statements that triggers are
Explanation: The stored procedure named by proc com- | defined on the changed table. Check the
pleted normally. The procedure returned the number of SQL | DSN_STATEMNT_TABLE or the IFCID 22 record for this
query result sets specified in num. | statement to find the reasons this SQL statement has been put
System Action: The SQL statement is successful. The | in cost category “B.”
SQLWARN9 field is set to 'Z'. | User Response: If the warning is caused by an SQL state-
Destination: 0100C | ment that is consuming too much processor resource, attempt
| to rewrite the statement to perform more efficiently. Another
| option is to ask the administrator to increase the warning
+494 NUMBER OF RESULT SETS IS GREATER
| threshold value in the RLST.
THAN NUMBER OF LOCATORS
| Destination: 01616
Explanation: The number of result set locators specified on
the ASSOCIATE LOCATORS statement is less than the
number of result sets returned by the stored procedure. The +535 THE RESULT OF THE POSITIONED UPDATE
first "n" result set locator values are returned, where "n" is the OR DELETE MAY DEPEND ON THE ORDER
number of result set locator variables specified on the SQL OF THE ROWS
statement. Explanation: A positioned update of a primary key or a
System Action: The SQL statement is successful. The delete from a table with a self-referencing constraint was
SQLWARN3 field is set to 'Z'. requested.
Programmer Response: Increase the number of result set System Action: DB2 executes the UPDATE or DELETE
locator variables specified on the SQL statement. statement and the contents of the table are changed.
Programmer Response: If the duplication is an error, correct grantee is PUBLIC, all the privileges in the authorization spec-
the statement and execute it again. ification are granted without the GRANT option.
Destination: 01543 Destination: 01516
+551 auth-id DOES NOT HAVE THE PRIVILEGE TO | +561 THE ALTER, INDEX, REFERENCES, AND
PERFORM OPERATION operation ON OBJECT | TRIGGER PRIVILEGES CANNOT BE
object-name | GRANTED PUBLIC AT ALL LOCATIONS
Explanation: Authorization ID 'auth-id' has attempted to | Explanation: You specified a GRANT statement with either
perform the specified 'operation' on object 'object-name' | an ALL or ALL PRIVILEGES keyword. ALL and ALL PRIVI-
without having been granted the proper authority to do so. This | LEGES imply the granting of ALTER, INDEX, REFERENCES,
error might also occur if the specified object does not exist, if | AND TRIGGER privileges that cannot be granted to a remote
the object is a read-only view (for UPDATE or INSERT), or if | user.
'auth-id' is trying to create a table or view with an authori-
| System Action: DB2 executes the GRANT statement.
zation ID other than its own. Only if your authorization ID is
| However, it does not grant the ALTER, INDEX, REFER-
SYSADM, DBADM, or DBCTRL can you create a table or view
| ENCES, or TRIGGER privileges to PUBLIC*.
from an 'auth-id' other than your own.
Destination: 01523
If this error occurs while DB2 is creating or altering a table
involving referential constraints, this code reports that the user
does not have the necessary ALTER privilege to perform a +562 A GRANT OF A PRIVILEGE WAS IGNORED
FOREIGN KEY, DROP FOREIGN KEY, or DROP PRIMARY BECAUSE THE GRANTEE ALREADY HAS THE
KEY operation. The 'object-name' identifies the object table of PRIVILEGE FROM THE GRANTOR
the CREATE or ALTER TABLE statement, not the table for Explanation: At least one of the privileges in the GRANT
which the user lacks the ALTER privilege. statement was ignored because the privilege was already
System Action: A valid plan or package will be created if no granted to the grantee by the grantor.
errors are detected. The statement is bound dynamically on System Action: The privileges previously granted are
each execution of the statement. ignored; all others are granted.
Programmer Response: For better performance, rebind the Destination: 01560
plan or package after correcting the statement. To correct the
statement, ensure that 'auth-id' has been granted the
authority to perform the desired operation, that 'object-name ' | +585 THE SCHEMA NAME schema-name APPEARS
exists, and that 'auth-id' is not trying to create a table with a | MORE THAN ONCE IN THE CURRENT PATH
different authorization ID. | Explanation: The current path includes schema name more
Destination: 01548 | than once.
| System Action: The statement is executed.
+552 auth-id DOES NOT HAVE THE PRIVILEGE TO | Destination: 01625
PERFORM OPERATION operation
Explanation: Authorization ID 'auth-id' has attempted to | +599 COMPARISON FUNCTIONS ARE NOT
perform the specified 'operation' without having been granted | CREATED FOR A DISTINCT TYPE BASED ON
the authority to do so. | A LONG STRING DATA TYPE
System Action: A valid plan or package will be created if no | Explanation: Comparison functions are not created for a dis-
errors are detected. The statement is bound dynamically on | tinct type based on a long string data type (BLOB, CLOB,
each execution of the statement. | DBCLOB) since the corresponding function are not available
Programmer Response: For better performance, rebind the | for these built-in data types.
plan or package after correcting the statement. To correct the | System Action: The statement is processed successfully.
statement, ensure that the authorization-ID has been granted
the authority necessary to perform the desired operation.
| Programmer Response: No action is required.
Destination: 01542
| Destination: 01596
| space partition is not generally available until the REORG Programmer Response: If the unique constraint is still
| pending status is removed. intended to apply, create a new unique index with the same
# REORG pending for a table space key as the dropped index.
# The table space is in REORG pending because ALTER Destination: 01529
# TABLE was used to add an identity column to a populated
# table. The table space is not generally available until the +645 WHERE NOT NULL IS IGNORED BECAUSE
# REORG pending status is removed. THE INDEX KEY CANNOT CONTAIN NULL
| System Action: The object was placed in the indicated VALUES
| pending status. Explanation: The WHERE NOT NULL clause is ignored on
| Programmer Response: The following actions may be taken: the CREATE INDEX statement because the index key is
defined on columns that cannot contain null values.
| For REBUILD pending on an index, use the REBUILD
| INDEX utility to rebuild the index and remove the REBUILD System Action: The option is ignored; processing continues.
| pending status. Programmer Response: Remove the WHERE NOT NULL
| For REORG pending on a table space partition, perform clause to get rid of the warning.
| the following steps: Destination: 01528
| 1. Issue a DISPLAY DATABASE command for the table
| space to identify which partitions are in REORG +650 THE TABLE BEING CREATED OR ALTERED
| pending. CANNOT BECOME A DEPENDENT TABLE
| 2. Run the REORG utility on the partitions that are in
| REORG pending. Explanation: This table is defined with the maximum number
of columns. It cannot be altered to be a dependent table later.
# For REORG pending on a table space, run the REORG
# utility on the table space. System Action: The table is created. Check to see if the
table will become a dependent table at a later time. If yes, drop
Destination: 01566 and recreate the table with fewer than 750 columns.
Destination: 01538
+625 THE DEFINITION OF TABLE table-name HAS
BEEN CHANGED TO INCOMPLETE
+653 TABLE table-name IN PARTITIONED
Explanation: This warning code is used to report that the TABLESPACE tspace-name IS NOT AVAIL-
definition of the indicated table is incomplete because DROP ABLE BECAUSE ITS PARTITIONED INDEX
INDEX was used to drop its primary index. The table is not HAS NOT BEEN CREATED
generally available until a new primary index is created.
Explanation: An attempt has been made to insert or manipu-
System Action: The definition of the table is marked as late data in or create a view on a partitioned table (that is, a
incomplete. Subsequent SQL references to the table, except to table residing in a partitioned table space) before the parti-
grant or revoke privileges on it, will cause SQLCODE -540 to tioned index for that table has been created.
be returned. Attempts to run already bound plans referencing
the table will result in SQLCODE -904 or -923 with resource A table residing in a partitioned table space cannot be refer-
unavailable reason code 00C9009F. CHECK and LOAD utili- enced in any SQL manipulative statement or a CREATE VIEW
ties involving the table are not allowed. If they are used, you statement before the partitioned index for that table has been
will receive message DSNU305I or DSNT500I with reason created.
code 00C9009F. Utilities other than CHECK and LOAD are System Action: A valid plan or package will be created if no
allowed. errors are detected. The statement is bound dynamically on
Programmer Response: Recreate the primary index using each execution of the statement.
CREATE INDEX. This will remove the table from INCOM- Programmer Response: For better performance, rebind the
PLETE DEFINITION status. plan or package after correcting the statement. To correct the
Note: The reason that a primary index may need to be statement, verify that the correct table was specified in the
dropped and recreated is to change the STOGROUP or statement. If so, ensure that the partitioned index for the table
SUBPAGES parameters of the index. has been created successfully before attempting to execute
any SQL manipulative statements that reference that table.
Destination: 01518
Destination: 01551
Programmer Response: Plan to use either specific or non- | masked by other negative SQLCODEs that the SQL statement
specific volume ids to avoid future release migration impact. | receives. Processing continues at the server.
ALTER STOGROUP may be used to drop all specific volume
| Destination: 01527
ids or all non-specific volume ids.
Destination: 01597 +802 EXCEPTION ERROR exception-type HAS
OCCURRED DURING operation-type OPERA-
+658 THE SUBPAGES VALUE IS IGNORED FOR TION ON data-type DATA, POSITION position-
THE CATALOG INDEX index-name number
Explanation: Only SUBPAGES 1 is allowed for this catalog | Explanation: The exception error 'exception-type' occurred
index. | while doing an ADDITION, SUBTRACTION, MULTIPLI-
System Action: The index was altered successfully using
| CATION, DIVISION, NEGATION, or BUILT-IN FUNCTION
SUBPAGES 1. If you are also altering the TYPE option to a
| operation on a field whose 'data-type' is DECIMAL, FLOAT,
new value, the index is placed in recovery pending status.
| SMALLINT, or INTEGER. The error occurred while processing
| an arithmetic expression in the SELECT list of an outer
Destination: 01600 | SELECT statement, and the position in the select list is
| denoted by 'position-number'. The possible exception types
+664 THE INTERNAL LENGTH OF THE LIMIT-KEY | are FIXED POINT OVERFLOW, DECIMAL OVERFLOW,
FIELDS FOR THE PARTITIONED INDEX index- | DIVIDE EXCEPTION, EXPONENT OVERFLOW, ZERO
name EXCEEDS THE LENGTH IMPOSED BY | DIVIDE, or OUT OF RANGE. The data type displayed in the
THE INDEX MANAGER | message may indicate the data type of the temporary internal
| copy of the data, which may differ from the actual column or
| Explanation: The ALTER INDEX statement can change a | literal data type due to conversions by DB2.
| limit key for the partitioned index (that is, the cluster index for a
| table residing in a partitioned table space), and the length of A fixed point overflow can occur during any arithmetic opera-
| the limit key exceeds the permitted maximum. tion on either INTEGER or SMALLINT fields.
| The index manager restricts the internal length of the limit keys A decimal overflow exception can occur when one or more
| for a partitioned index to a maximum of 40 bytes. The sum of nonzero digits are lost because the destination field in any
| the internal lengths of the limit keys specified in the PART decimal operation is too short to contain the result.
| clause of the ALTER INDEX statement exceeds that 40-byte A divide exception can occur on a decimal division operation
| maximum. The limit key was truncated to 40 bytes. when the quotient exceeds the specified data-field size. A zero
System Action: The specified index was altered but the limit divide exception occurs on any division by zero.
key was truncated to 40 bytes. An exponent overflow can occur when the result characteristic
Destination: 01540 of any floating-point operation exceeds 127 and the result frac-
tion is not zero, i.e. the magnitude of the result exceeds
approximately 7.2E+75.
+738 DEFINITION CHANGE OF object object_name
MAY REQUIRE SIMILAR CHANGE ON | Any of the exceptions/overflows can occur during the proc-
READ-ONLY SYSTEMS | essing of a Built-In Function. If the 'operation-type' is FUNC-
| TION then the error occurred while processing either an input,
Explanation: A change was made to the definition of the | intermediate, or final value. The cause could be that the value
specified object that may also require a similar change to any | of a parameter is out of range.
read-only shared systems.
Note: Parts of 'exception-type', 'data-type',
System Action: The statement is successfully executed. 'operation-type', and 'position-number' may or may
Programmer Response: Check the read-only shared not be returned in SQLCA, depending upon when the
systems that have the specified object defined, and determine error was detected.
if a change must be made to the object on those systems. System Action: For each expression in error the indicator
Destination: 01530 variable is set to negative two (-2) to indicate a null value
returned. The data variable is unchanged. Execution of the
statement continues with all nonerror columns and expressions
| +799 A SET STATEMENT REFERENCES A SPECIAL
of the outer SELECT list being returned. If the statement is
| REGISTER THAT DOES NOT EXIST AT THE
cursor controlled then the CURSOR will remain open.
| SERVER SITE
Programmer Response: Examine the expression for which
| Explanation: A DB2 server received a SET statement that it
the warning occurred to see if the cause (or the likely cause) of
| does not understand.
the problem can be determined. The problem may be data-
| System Action: The SET SPECIAL REGISTER request is dependent, in which case it will be necessary to examine the
| ignored. data that was being processed at the time the error occurred.
| Programmer Response: This SQLCODE can be returned to See the explanation of SQLCODE -405 for allowed ranges of
| an application for any SQL statement. This SQLCODE may be numeric data types.
Destination: 01519
Explanation: SELECT statements embedded in an applica- If the situation involves an SQL statement that is not supported
tion program must have an INTO clause to denote where the by DB2, remove it from the application program and precom-
results of the SELECT are to be placed. Dynamic SELECT pile again.
statements do not permit the INTO clause. If the situation involves an invalid PREPARE of an ALLOCATE
System Action: The statement cannot be executed. CURSOR statement, change the application program to use a
statement identifier that is not associated with a declared
Programmer Response: Add the INTO clause to the cursor.
SELECT statement and precompile the application program
again. Destination: 42612
Destination: 42601
| -097 THE USE OF LONG VARCHAR OR LONG
| VARGRAPHIC IS NOT ALLOWED IN THIS
-060 INVALID type SPECIFICATION : spec | CONTEXT
Explanation: 'type' is either LENGTH or SCALE. 'spec' is | Explanation: The statement attempted to use the LONG
the specified length or scale. Length or scale must be specified | VARCHAR or LONG VARGRAPHIC syntax. This syntax
by an unsigned integer constant and the value must be in the | cannot be used for the following statements:
range allowed by the data type.
| CAST syntax
System Action: The statement cannot be executed. | CREATE DISTINCT TYPE
Programmer Response: Correct the statement. Refer to | CREATE FUNCTION
Chapter 3 of DB2 SQL Reference for rules for length and | CREATE PROCEDURE
scale. | ALTER FUNCTION
| COMMENT ON FUNCTION
Destination: 42815
| GRANT EXECUTE ON FUNCTION
| REVOKE EXECUTE ON FUNCTION
# -079 QUALIFIER FOR DECLARED GLOBAL TEMPO-
# RARY TABLE table-name MUST BE SESSION,
| Use the VARCHAR or VARGRAPHIC syntax specifying an
# NOT qualifier
| explicit length as required.
| A RAISE_ERROR function can only be used as a select For SBCS SQL ordinary identifiers, names of buffer pools,
| list item if it is cast to some data type using the CAST databases, plans, and storage groups must contain only upper-
| specification. case alphabetic or national characters and numerics when
CHARSET is KATAKANA; the first character must be alpha-
| DESCRIBE INPUT statement can not have USING clause. betic or national.
| QUERYNO cannot be specified as part of an EXPLAIN The following reason codes apply to SBCS identifiers:
| statement when the EXPLAIN statement contains an
| 'explainable-sql-statement'. 000 An invalid character was found in the SBCS identi-
fier (including the case in which a DBCS identifier
# The table being updated in a POSITIONED UPDATE state- was used where only an SBCS identifier is
# ment cannot be assigned a correlation name. allowed.)
| If the clause is part of a CREATE INDEX, CREATE TABLE, The following reason codes apply to DBCS identifiers or
| CREATE TABLESPACE or ALTER TABLESPACE statement, comments:
| see the appropriate section of the SQL Reference for a
| description of the valid use of clauses for the statement. 101 An odd number of bytes exists between the shift-out
and the shift-in character.
System Action: The statement cannot be executed.
102 Either a shift-in or shift-out character is missing.
Programmer Response: Correct the SQL statement.
103 DBCS blanks X'4040' are not allowed.
Destination: 42601
104 There are no characters between the shift-out and
the shift-in characters.
-110 INVALID HEXADECIMAL LITERAL BEGINNING
string 105 Shift-out cannot be the first byte of the DBCS char-
acter between the shift-out and the shift-in charac-
Explanation: The literal beginning with the specified 'string'
ters.
contains one or more characters that are not valid hexadecimal
digits. System Action: Processing is terminated.
System Action: The statement cannot be executed. User Response: Correct the name.
Programmer Response: Correct the invalid literal. Destination: 42602
Destination: 42606
Note: The 'column-name' may or may not be returned in | of the function conforms to the definition of the corresponding
SQLCA, depending on the nature of the error occurring | parameter.
in the SQL statement.
| Destination: 42601
Programmer Response: The implied function is not sup-
ported by DB2. Refer to Chapter 5 of DB2 SQL Reference for -125 AN INTEGER IN THE ORDER BY CLAUSE
information about restrictions on operands that can be speci- DOES NOT IDENTIFY A COLUMN OF THE
| fied within WHERE, SET and VALUES clauses and SET RESULT
| assignment statements.
Explanation: The ORDER BY clause in the statement con-
Destination: 42903 tains a column number that is either less than one, or greater
than the number of columns of the result table (the number of
-121 THE COLUMN name IS IDENTIFIED MORE items in the SELECT clause).
THAN ONCE IN THE INSERT OR UPDATE OR
System Action: The statement cannot be executed.
SET TRANSITION VARIABLE STATEMENT
Programmer Response: Correct the syntax of the ORDER
| Explanation: The same column 'name' is specified more
BY clause such that each column identifier properly denotes a
| than once, either in the list of object columns of an INSERT
column of the result table.
| statement, in the SET clause of an UPDATE statement, or in a
| SET transition variable statement. Destination: 42805
System Action: The statement cannot be executed. No data
was inserted or updated in the object table. -126 THE SELECT STATEMENT CONTAINS BOTH
AN UPDATE CLAUSE AND AN ORDER BY
Programmer Response: Correct the syntax of the statement CLAUSE
so that each column name is specified only once.
Explanation: The SELECT statement in the declaration for a
Destination: 42701 cursor contains both an UPDATE clause and an ORDER BY
clause. An ORDER BY clause cannot be specified in the dec-
-122 A SELECT STATEMENT WITH NO GROUP BY laration for a cursor that is to be used for update.
CLAUSE CONTAINS A COLUMN NAME AND A
System Action: The statement cannot be executed. The
COLUMN FUNCTION IN THE SELECT CLAUSE
cursor remains undefined in the application program.
OR A COLUMN NAME IS CONTAINED IN THE
SELECT CLAUSE BUT NOT IN THE GROUP Programmer Response: The implied function is not sup-
BY CLAUSE ported by DB2. A cursor that is to be used for update cannot
be defined to fetch the rows of the object table in a specific
Explanation: The SELECT statement contains one of these
order.
errors:
Refer to Chapter 5 of DB2 SQL Reference for information
The statement contains a column name and a column
about restrictions on the declarations for cursors to be used for
function in the SELECT clause, but no GROUP BY clause.
update.
A column name is contained in the SELECT clause (pos-
Destination: 42829
sibly within a scalar function) but not in the GROUP BY
clause.
-127 DISTINCT IS SPECIFIED MORE THAN ONCE
Note: A HAVING clause specified without a GROUP BY IN A SUBSELECT
clause implies a GROUP BY with no columns.
Thus, no column names are allowed in the Explanation: The DISTINCT qualifier can be used only once
SELECT clause. in a SELECT statement or a subselect.
System Action: The statement cannot be executed. System Action: The statement cannot be executed.
Programmer Response: You can correct the statement by: Programmer Response: The implied function is not sup-
ported by DB2. Refer to Chapter 5 of DB2 SQL Reference for
including the columns in the GROUP BY clause that are in information about restrictions on the use of the DISTINCT qual-
the SELECT clause, or ifier.
removing the columns from the SELECT clause. Destination: 42905
Refer to Chapter 5 of DB2 SQL Reference for information
about the use of GROUP BY clauses in SQL statements. -128 INVALID USE OF NULL IN A PREDICATE
Destination: 42803 Explanation: The use of NULL in the search condition does
not conform to the rules of SQL syntax.
| -123 THE PARAMETER IN POSITION n IN THE System Action: The statement cannot be executed.
| FUNCTION name MUST BE A CONSTANT OR
| KEYWORD Programmer Response: The implied function is not sup-
ported by DB2. Refer to Chapter 3 of DB2 SQL Reference for
| Explanation: The parameter in position n in the function information about the proper use of the NULL operand.
| name is not a constant when it is required to be a constant or
| a keyword when it is required to be a keyword. Destination: 42601
4000 bytes. In general, this means that one or more column Greater than the maximum section number of the
names must be deleted from the ORDER BY or GROUP BY DBRM or package.
clause, or the list following the DISTINCT qualifier.
System Action: The statement is not executed.
Destination: 54005
Programmer Response: For case 1: If you are executing a
package that was bound with SQLERROR(CONTINUE), deter-
| -137 THE LENGTH RESULTING FROM operation IS mine whether the statement in question was bound as a valid
| GREATER THAN maximum-length section. You can use the following statements to query the
| Explanation: The length of the result of concatenation or a DB2 catalog:
| function exceeds the defined maximum. The operation that SELECT SQLERROR
| resulted in the error is operation. FROM SYSIBM.SYSPACKAGE
WHERE COLLID = collection-id AND
| For concatenation, the length cannot exceed 32,764 (if NAME = package-id AND
| character operands) or 16,382 (if graphic operands). VERSION = version-name;
| For other functions, see DB2 SQL Reference for the If that query returns 'C', the package was bound with
| maximum result length. SQLERROR(CONTINUE).
| System Action: The statement cannot be executed. SELECT STMTNO, TEXT
| Programmer Response: Ensure that the length of the result FROM SYSIBM.SYSPACKSTMT
WHERE COLLID = collection-id AND
| does not exceed the defined maximum.
NAME = package-id AND
| Destination: 54006 VERSION = version-name AND
SECTNO = number AND
BINDERROR = 'Y';
-138 THE SECOND OR THIRD ARGUMENT OF THE
SUBSTR FUNCTION IS OUT OF RANGE If that query returns any rows, the section is invalid. Refer to
the error messages issued during the bind to determine the
Explanation: One of the following conditions exists:
cause. Correct any errors and bind the package again, using
The second argument of the SUBSTR function is less than the REPLACE option.
1 or greater than M.
For case 2: If the DB2 system has fallen back to a previous
The third argument of the SUBSTR function is an integer release, determine whether there are any SQL statements with
constant 0 or an expression whose value is less than 0 or a section number of zero that are not supported by that
greater than M−N+1. release. You can use the following statements to query the
DB2 catalog.
M is the length of the first argument, if it is of fixed-length, or M
is the maximum length of the first argument, if it is of varying- When executing from a DBRM, use:
length. N is the value of the second argument. SELECT :
System Action: The statement cannot be executed. FROM SYSIBM.SYSSTMT
WHERE SECTNO =
Programmer Response: Ensure that the second and third ORDER BY NAME, PLNAME, STMTNO, SEQNO;
arguments of the SUBSTR function have legal values
according the above rules. When executing from a package, use:
SELECT :
Destination: 22011
FROM SYSIBM.SYSPACKSTMT
WHERE SECTNO =
| -142 THE SQL STATEMENT IS NOT SUPPORTED ORDER BY COLLID, NAME, VERSION, STMTNO, SEQNO;
| Explanation: An SQL statement was detected that is not sup- For case 3: Examine the application to determine whether the
| ported by the database. The statement might be valid for other call parameter list was changed in some way. In general, you
| IBM relational database products or it might be valid in another should not attempt to change the output of the precompiler.
| context. For example, statements such as VALUES and
Destination: 58003
| SIGNAL SQLSTATE can appear only inside a trigger.
| System Action: The statement cannot be executed. | -147 ALTER FUNCTION function-name FAILED
| Programmer Response: Change the syntax of the SQL | BECAUSE SOURCE FUNCTIONS CANNOT BE
| statement or remove the statement from the program. | ALTERED
| Destination: 42612 | Explanation: The function cannot be altered because it is a
| source function. Only external scalar functions, or external
-144 INVALID SECTION NUMBER number
| table functions can be altered.
-152 THE DROP clause CLAUSE IN THE ALTER -156 THE STATEMENT DOES NOT IDENTIFY A
STATEMENT IS INVALID BECAUSE constraint- TABLE
name IS A constraint-type
| Explanation: The statements ALTER TABLE, DROP TABLE,
Explanation: Either the DROP FOREIGN KEY clause of an | LOCK TABLE, CREATE INDEX, and CREATE TRIGGER
ALTER TABLE statement tried to drop a check constraint, or | apply only to tables. Indexes and triggers can be defined only
the DROP CHECK clause of an ALTER TABLE statement tried | on tables.
to drop a referential constraint.
System Action: The statement cannot be executed. The
The clause is either CHECK or FOREIGN KEY. The constraint- specified view or remote object was not altered, dropped, or
type is either REFERENTIAL CONSTRAINT or CHECK CON- locked, or the index or trigger was not created.
STRAINT.
Programmer Response: Verify that the proper name was
System Action: The ALTER TABLE DROP statement cannot specified in the statement.
be executed. No object was dropped.
Destination: 42809
Programmer Response: Drop the existing object with the
correct DROP clause of the ALTER TABLE statement. -157 ONLY A TABLE NAME CAN BE SPECIFIED IN
Destination: 42809 A FOREIGN KEY CLAUSE. object-name IS
NOT THE NAME OF A TABLE.
# -153 THE STATEMENT IS INVALID BECAUSE THE Explanation: The indicated object was identified in a
# VIEW OR TABLE DEFINITION DOES NOT FOREIGN KEY clause of a CREATE or ALTER TABLE state-
# INCLUDE A UNIQUE NAME FOR EACH ment. A FOREIGN KEY clause must identify a table.
# COLUMN
System Action: The statement cannot be executed.
Explanation: You must specify a list of column names if the
Programmer Response: Correct the statement to specify a
# result table of the subselect that is specified in the CREATE
table name in the foreign key clause.
# VIEW or DECLARE GLOBAL TEMPORARY TABLE statement
has duplicate column names or an unnamed column (a column Destination: 42810
from a constant, function, or expression).
System Action: The statement cannot be executed. The | -158 THE NUMBER OF COLUMNS SPECIFIED FOR
# specified view was not created, or the declared temporary | THE VIEW IS NOT THE SAME AS THE
# table was not declared. | NUMBER OF COLUMNS SPECIFIED BY THE
| SELECT CLAUSE, OR THE NUMBER OF
Programmer Response: Correct the statement by providing | COLUMNS SPECIFIED IN THE CORRELATION
a list of names for the columns of the view. Refer to Chapter 6 | CLAUSE IN A FROM CLAUSE IS NOT THE
of DB2 SQL Reference for information about the syntax of the | SAME AS THE NUMBER OF COLUMNS IN THE
# CREATE VIEW statement or the DECLARE GLOBAL TEMPO- | CORRESPONDING TABLE, VIEW, TABLE
# RARY TABLE statement. | EXPRESSION, OR TABLE FUNCTION
Destination: 42908 | Explanation: There are two cases:
| The number of column names specified for a view in a
# -154 THE STATEMENT FAILED BECAUSE VIEW OR
| CREATE VIEW statement must equal the number of ele-
# TABLE DEFINITION IS NOT VALID
| ments (column names, SQL functions, expressions, etc.)
# Explanation: The view defined in the CREATE VIEW state- | specified in the following AS SELECT clause.
# ment or the table declared in the DECLARE GLOBAL TEMPO-
| The number of column names specified in a correlation
# RARY TABLE statement is not valid because the view or table
| clause must equal the number of columns in the corre-
# definition contains one of the following:
| sponding table, view, table expression or table function.
# UNION or UNION ALL
System Action: The statement cannot be executed.
# a reference to a remote object
Programmer Response: Correct the syntax of the statement
# System Action: The statement cannot be executed. The to specify a column name for each column in the corre-
# specified object is not defined. sponding object (table, view, etc.). Refer to Chapter 6 of DB2
SQL Reference for information about the syntax of the state-
# Programmer Response: Refer to Chapter 6 of DB2 SQL
ment.
# Reference for information about restrictions on the definitions
# for views or declared temporary tables. Destination: 42811
# Destination: 42909
| -159 DROP OR COMMENT ON object IDENTIFIES
| A(N) object-type1 RATHER THAN A(N)
| object-type2
Explanation: The object specified in the DROP VIEW state-
ment, DROP ALIAS statement, or COMMENT ON ALIAS state-
ment identifies a table instead of a view or an alias.
The DROP VIEW statement can have only a view as its object.
The DROP ALIAS or COMMENT ON ALIAS statement can
have only an alias as its object. You must use the DROP
-160 THE WITH CHECK OPTION CANNOT BE USED -171 THE DATA TYPE, LENGTH, OR VALUE OF
FOR THE SPECIFIED VIEW ARGUMENT nn OF function-name IS INVALID
Explanation: The WITH CHECK OPTION does not apply to a Explanation: Either the data type, the length or the value of
view definition under either of the following circumstances: argument nn of scalar function function-name is incorrect.
The view is read-only (for example, the view definition # One reason for this error is that a character argument was
includes DISTINCT GROUP BY, or JOIN). # specified for a built-in function that expects a graphic argu-
The view definition includes a subquery.
# ment, or a graphic argument was specified for a built-in func-
# tion that expects a character argument.
System Action: The statement cannot be executed. The
System Action: The statement cannot be executed.
specified view was not created.
Programmer Response: Correct the statement. Refer to
Programmer Response: Refer to Chapter 6 of DB2 SQL
Chapter 4 of DB2 SQL Reference for rules for each argument
Reference for rules regarding use of the WITH CHECK
of the scalar function function-name.
OPTION in view definitions.
Destination: 42815
Destination: 42813
Programmer Response: Correct the program to ensure the if the cause of the problem can be determined. The problem
specified value conforms to the syntax of DATE, TIME, and may be data-dependent, in which case it will be necessary to
TIMESTAMP. Refer to Chapter 3 of DB2 SQL Reference for a examine the data that was processed at the time the error
list of valid DATE and TIME formats. occurred.
Destination: 22007 Destination: 22008
-189 CCSID ccsid IS UNKNOWN OR INVALID FOR Programmer Response: If the string contains the intended
THE DATA TYPE OR SUBTYPE information, the description of the column or host variable
should be changed from MIXED DATA to BIT or SBCS DATA.
Explanation: To determine the subtype of an input host vari- If the description of the column or host variable is correct, the
able or result column, the SYSSTRINGS catalog table was string is the problem and it must be changed to conform to the
accessed with the specified CCSID and: rules for well-formed mixed data. For more information about
The CCSID is not a value of either INCCSID or well-formed MIXED DATA refer to Chapter 3 of DB2 SQL Ref-
OUTCCSID, or erence.
This error can also occur when a CCSID specified in DECP Programmer Response: Change the statement so that quali-
does not exist as a value in the INCCSID or OUTCCSID fied names are not necessary in the ORDER BY clause.
columns of SYSSTRINGS. System Action: The statement is not executed.
| Another reason this error can occur is that you may be using Destination: 42877
| one of the graphic built-in functions but a graphic CCSID was
| not specified during system installation.
-198 THE OPERAND OF THE PREPARE OR
System Action: The statement cannot be bound or executed. EXECUTE IMMEDIATE STATEMENT IS BLANK
OR EMPTY
Programmer Response: Ensure that the CCSSID is valid
and consistent with the data type of the string. If a valid CCSID Explanation: The operand (host variable or literal string) that
is not listed in a built-in row of SYSSTRINGS, it can be defined was the object of the PREPARE or EXECUTE IMMEDIATE
by inserting a user-provided row. If a valid CCSID is misclassi- statement either contained all blanks or was an empty string. A
fied in a user-provided row, that row can be updated to correct DBRM built in Version 2 Release 3 cannot be used on a
the mistake. Refer to the appendices of DB2 Installation Guide Version 2 Release 2 system if the distributive functions were
for more information on CCSIDs and to DB2 SQL Reference used. If this error appears on Version 2 Release 2 and the
for more information on the SYSSTRINGS catalog table. DBRM was built on Version 2 Release 3,the program needs to
be precompiled again to correct the problem.
| If a graphic CCSID had not been specified at system installa-
| tion, update your DECP to include a graphic CCSID and System Action: The statement cannot be executed.
| recycle your DB2.
Programmer Response: Correct the logic of the application For missing a data type or function in the SOURCE clause, it
program to ensure that a valid SQL statement is provided in may be that the object does not exist, OR it may be that the
the operand of the PREPARE or EXECUTE IMMEDIATE state- object does exist in some schema, but the schema is not
ment before that statement is executed. present in your current path.
Destination: 42617 Destination: 42704
-199 ILLEGAL USE OF KEYWORD keyword. TOKEN -205 column-name IS NOT A COLUMN OF TABLE
token-list WAS EXPECTED table-name
Explanation: A syntax error was detected in the statement at Explanation: No column with the specified 'column-name'
the point where the keyword 'keyword' appears. occurs in the table or view 'table-name'.
As an aid to the programmer, a partial list of valid tokens is System Action: The statement cannot be executed.
provided in SQLERRM as 'token-list'. Only those tokens that
Programmer Response: Verify that the column and table
will fit are listed. Some tokens in the list might not be valid in
names are specified correctly (including any required qualifiers)
statements to be executed by DB2; those tokens are valid for
in the SQL statement.
sending to other database management systems.
Destination: 42703
System Action: The statement cannot be executed.
Programmer Response: Examine the statement in the area -206 column-name IS NOT A COLUMN OF AN
of the indicated keyword. A colon or SQL delimiter might be INSERTED TABLE, UPDATED TABLE, OR ANY
missing. TABLE IDENTIFIED IN A FROM CLAUSE, OR
Destination: 42601 IS NOT A COLUMN OF THE TRIGGERING
TABLE OF A TRIGGER
-203 A REFERENCE TO COLUMN column-name IS Explanation: This return code is used to report one of the
AMBIGUOUS following errors:
Explanation: An unqualified column name is ambiguous if In the case of an INSERT or UPDATE statement, the
more than one table or view identified in the FROM clause has specified column is not a column of the table or view that
a column with that name, or if more than one column of a was specified as the object of the insert or update.
nested table expression has that name.
In the case of an INSERT with VALUES clause, there is a
A qualified column name is ambiguous only if the qualifier is column referenced and columns are not allowed in the
the correlation name for a nested table expression and the VALUES clause.
column name is not unique.
In the case of a SELECT or DELETE statement, the speci-
| A reference to a column of the triggering table in a CREATE fied column is not a column of any of the tables or views
| TRIGGER statement is ambiguous if it does not use the corre- identified in a FROM clause in the statement.
| lation name to indicate if it refers to the old or new transition
# There is a correlated reference in the GROUP BY clause
| variable.
# in the select list of a subselect, or a correlated reference is
System Action: The statement cannot be executed. # not used in a search condition.
Programmer Response: If the problem is caused by a nonu- There is an unresolved qualified reference in HAVING.
nique column name in a nested table expression, change the
| For a CREATE TRIGGER statement:
nested table expression so that the column name is unique. If
the problem is caused by the use of an unqualified name, | – A reference is made to a column using an OLD or
qualify it with a table, view, or correlation name. | NEW correlation name. The column name is not
| defined in the triggering table.
Destination: 42702
| – The left side of an assignment in the SET transition-
-204 name IS AN UNDEFINED NAME
| variable statement in the triggered action specifies an
| old transition variable where only a new transition vari-
| Explanation: A routine was invoked. The routine invocation | able is supported or trigger was not created.
| was not accepted because of DB2 reason code rc.
System Action: The statement cannot be executed. No data
| name The name of the routine that was invoked. was retrieved, inserted, or updated or the trigger was not
| rc The DB2 reason code describing the cause of the created.
| failure. Possible values are: 00E79000, 00E79001, Programmer Response: Verify that the column and table
| 00E79002, 00E79003, 00E79004, 00E79005, names are specified correctly in the SQL statement. In the
| 00E79006, 00E79007, 00E7900B, 00E7900C. case of a SELECT statement, check to be sure that all of the
System Action: The statement cannot be executed. required tables were named in the FROM clause.
Programmer Response: Verify that the object name was | In the case of a CREATE TRIGGER statement, ensure that
correctly specified in the SQL statement, including any required | only new transition variables are specified on the left side of
qualifiers. If it is correct, ensure that the object exists in the | assignments in the SET transition-variable statement and that
system before resubmitting the statement. | any reference to columns of the triggering table are qualified
| with a transition variable correlation name.
Destination: 42703
-208 THE ORDER BY CLAUSE IS INVALID -219 THE REQUIRED EXPLANATION TABLE table-
BECAUSE COLUMN name IS NOT PART OF name DOES NOT EXIST
THE RESULT TABLE
Explanation: The EXPLAIN statement assumes the existence
| Explanation: The statement is invalid because a column of the explanation table and it is not defined in the DB2 sub-
| ('name') specified in the ORDER BY list does not appear in system as a base table. Refer to Chapter 6 of DB2 SQL Refer-
| the result table (that is, it is not specified in the SELECT-list). ence for more information.
# Only columns in the result table can be used to order that
System Action: The statement cannot be executed.
# result when the fullselect of the select-statement is not a sub-
# select. Programmer Response: Determine whether the required
explanation table does exist. If not, create the required table.
System Action: The statement cannot be executed.
Destination: 42704
Programmer Response: Correct the syntax of the statement,
either by adding the specified column to the result table, or
deleting it from the ORDER BY clause. Refer to Chapter 5 of -220 THE COLUMN column-name IN EXPLANATION
DB2 SQL Reference for information about restrictions on the TABLE table-name IS NOT DEFINED PROP-
use of the ORDER BY clause to order the result of an SQL ERLY
SELECT. Explanation: An error occurred during the insertion of a row
Destination: 42707 into the explanation table. The table is improperly defined for
the following reasons:
| -212 name IS SPECIFIED MORE THAN ONCE IN A column is missing.
| THE REFERENCING CLAUSE OF A TRIGGER Columns are defined in the wrong order.
| DEFINITION
The table contains an extra column.
| Explanation: The REFERENCING clause of a CREATE
| TRIGGER statement specified the same name for more than A column description is invalid because of its name, data
| one of the OLD or NEW correlation names or the OLD_TABLE type, length, or null attributes.
| or NEW_TABLE identifiers. name is the name that was speci- System Action: The statement cannot be executed. The
| fied multiple times. explanation information is not generated.
| System Action: The statement cannot be executed. The Programmer Response: Correct the definition of the required
| trigger was not created. explanation table. Refer to Chapter 6 of DB2 SQL Reference
| Programmer Response: Change the statement to specify for information on defining an explanation table.
| unique names for all transition variables and tables in the REF- Destination: 55002
| ERENCING clause and resubmit the CREATE TRIGGER
| request.
-221 “SET OF OPTIONAL COLUMNS” IN EXPLANA-
| Destination: 42712 TION TABLE table-name IS INCOMPLETE.
OPTIONAL COLUMN column-name IS MISSING
-214 An expression starting with expression-start in Explanation: The EXPLAIN statement assumes the required
the clause-type clause is not valid. Reason explanation table is defined properly. The optional column indi-
code = reason-code. cated is not defined in the indicated explanation table.
Explanation: The expression identified by the first part of the PLAN_TABLEs must have one of several specific formats.
expression expression-start in the clause-type clause is not The format chosen must be complete, and each column in the
valid for the reason specified by the reason-code as follows: PLAN_TABLE definition must be correct for the chosen format.
The allowed formats for the PLAN_TABLE are described in
2 DISTINCT is specified in the select clause and the Chapter 6 of DB2 SQL Reference.
expression cannot be matched exactly with an expression
in the select list. This reason code occurs only when System Action: The explanation information is not gener-
clause-type is ORDER BY. ated.
System Action: The statement cannot be executed. Programmer Response: Correct the definition of the required
explanation table to include all of the optional columns in the
Programmer Response: Modify the select-statement based chosen format, just the Version 2 Release 2 optional columns,
on the reason specified by the reason-code as follows: or no optional columns. Refer to Chapter 6 of DB2 SQL Refer-
2 Remove DISTINCT from the select clause ence for information on defining an explanation table.
Destination: 42822 Destination: 55002
An integer specified in the PART clause does not identify a If the data type of the variable is character string, it is invalid
partition of the table space. because it does not include X'00'. If the data type of the vari-
able is graphic string, it is invalid because it does not include
System Action: The LOCK TABLE statement cannot be exe- X'0000'.
cuted.
System Action: The statement cannot be executed.
Programmer Response: Determine whether the specified
table resides in a partitioned table space defined with Programmer Response: Append a NUL-terminator to the
LOCKPART YES. end of the string.
Destination: 42806
-302 THE VALUE OF INPUT VARIABLE OR PARAM-
ETER NUMBER position-number IS INVALID OR
TOO LARGE FOR THE TARGET COLUMN OR -304 A VALUE WITH DATA TYPE data-type1
THE TARGET VALUE CANNOT BE ASSIGNED TO A HOST VARI-
ABLE BECAUSE THE VALUE IS NOT WITHIN
| Explanation: DB2 received data that was invalid or too large THE RANGE OF THE HOST VARIABLE IN
| to fit in the corresponding column of the table or the corre- POSITION position-number WITH DATA TYPE
| sponding target value. The position-number identifies either the data-type2
| host variable number (if the message is issued as a result of
| an INSERT, UPDATE, DELETE, SELECT, VALUES INTO, or Explanation: A CALL, FETCH, SELECT, VALUES INTO, or
| SET assignment statement), or the parameter number (if the SET assignment statement with a host variable list or structure
| message is issued as the result of a CALL statement or the in position number position-number failed because the host
| invocation of a function). variable with data type data-type2 was not large enough to
hold the retrieved value with data type data-type1.
One of the following occurred:
System Action: The statement cannot be executed. No data
The column is defined as a string and the host variable or was retrieved. If the statement was a FETCH, the cursor
parameter contains a string that is too long for the column. remains open.
The column is defined as numeric and the host variable or Programmer Response: Verify that table definitions are
parameter contains a numeric value too large for the defi- current, and that the host variable has the correct data type.
nition of the column. See the explanation for SQLCODE -405 for ranges of SQL
The host variable is defined as decimal, but contains data types.
invalid decimal data. Destination: 22003
The target value is a string constant and the host variable
or parameter contains a string that is too long for the target -305 THE NULL VALUE CANNOT BE ASSIGNED TO
value. OUTPUT HOST VARIABLE NUMBER position-
The target value is a numeric constant and the host vari- number BECAUSE NO INDICATOR VARIABLE
able or parameter contains a numeric value that is too IS SPECIFIED
large for the target value. Explanation: A FETCH, SELECT, VALUES INTO, or SET
System Action: The statement cannot be executed. assignment statement resulted in the retrieval of a null value to
be inserted into the output host variable, designated by entry
| Programmer Response: Correct the application program, number 'position-number' of the output SQLDA, for which no
| function or stored procedure. Check the column type and indicator variable was provided. An indicator variable must be
| length of the value or the data type and contents of the input supplied if a column returns a null value.
| host variable or parameter position-number. Ensure that the
| value of the host variable or parameter will fit in the column or System Action: The statement cannot be executed. No data
| contains valid decimal data. Valid decimal data is a was retrieved.
| System/370 packed decimal number. Programmer Response: Examine the definition of the table
Destination: 22003 if number too large for target; 22001 oth- that is the object of the statement and correct the application
erwise. program to provide indicator variables for all host variables into
which null values can be retrieved. This includes host variables
for columns which can contain null values and host variables
-303 A VALUE CANNOT BE ASSIGNED TO OUTPUT
which receive the results of column functions whose result
HOST VARIABLE NUMBER position-number
table could be empty.
BECAUSE THE DATA TYPES ARE NOT COM-
PARABLE Destination: 22002
Explanation: A CALL, FETCH, SELECT, VALUES INTO, or
SET assignment statement with an output host variable, whose -309 A PREDICATE IS INVALID BECAUSE A REF-
entry in the output SQLDA is indicated by position-number, ERENCED HOST VARIABLE HAS THE NULL
could not be performed. The data type of the variable was not VALUE
compatible with the data type of the corresponding SELECT, Explanation: The statement could not be processed because
VALUES INTO, or SET assignment statement list element. The a host variable appearing in a predicate such as
values of the output host variable and the corresponding list
column-name = host-variable
element must be in one of the following categories:
had the NULL value. Such a predicate is not permitted when
| Both must be numbers.
the host variable contains the NULL value even though the
| Both must be character strings.
object column might contain nulls.
| Both must be graphic strings.
| Both must be row IDs. System Action: The statement cannot be executed.
In addition, for datetime, timestamp values, the host variable Programmer Response: Rebind the plan or package con-
must be a character string variable with a correct length. taining the statement. The condition described is not an error
in DB2 Version 2 Release 3 and later releases.
System Action: The CALL, FETCH, or SELECT statement
cannot be executed. No data was retrieved. Destination: 22512
Programmer Response: Verify that table definitions are
current and that the host variable has the correct data type.
-310 DECIMAL HOST VARIABLE OR PARAMETER -313 THE NUMBER OF HOST VARIABLES SPECI-
number CONTAINS NON-DECIMAL DATA FIED IS NOT EQUAL TO THE NUMBER OF
PARAMETER MARKERS
| Explanation: DB2 received nondecimal data from either an
| application (in the form of a host variable), function or a stored Explanation: The number of host variables specified in the
| procedure (in the form of a parameter that was passed to or EXECUTE or OPEN statement is not the same as the number
| from function or a stored procedure). of parameter markers (question marks) appearing in the pre-
pared SQL statement.
| number Identifies either the host variable number (if the
| message is issued as a result of an INSERT, System Action: The statement cannot be executed.
| UPDATE, DELETE, SELECT, VALUES INTO, or
Programmer Response: Correct the application program so
| SET assignment statement statement), or the
that the number of host variables specified in the EXECUTE or
| parameter number (if the message is issued as the
OPEN statement is the same as the number of parameter
| result of the invocation of a function, or a CALL
# markers appearing in the prepared SQL statement. The
| statement).
# DESCRIBE INPUT SQL statement can be used to determine
System Action: The statement cannot be executed. # the expected number of input parameter markers.
Programmer Response: Correct the application program or Destination: 07001
stored procedure. Ensure that all decimal variables or parame-
ters contain valid System/370 packed decimal numbers. -314 THE STATEMENT CONTAINS AN AMBIGUOUS
Destination: 22023 HOST VARIABLE REFERENCE
Explanation: A host variable used in the statement has been
-311 THE LENGTH OF INPUT HOST VARIABLE defined more than once in this application program causing
NUMBER position-number IS NEGATIVE OR confusion as to which host variable defined should be used.
GREATER THAN THE MAXIMUM
System Action: The statement cannot be executed.
Explanation: When evaluated, the length specification for
Programmer Response: Make the host variable unique or
input host string variable, whose entry in the SQLDA is indi-
use qualifications to indicate which host variable definition is to
cated by position-number, was negative or greater than the
be used.
maximum.
Destination: 42714
System Action: The statement cannot be executed.
Programmer Response: Correct the program to ensure that -327 THE ROW CANNOT BE INSERTED BECAUSE
the lengths of all host string variables are not negative or that IT IS OUTSIDE THE BOUND OF THE PARTI-
they are not greater than the maximum allowed length. TION RANGE FOR THE LAST PARTITION
Destination: 22501 Explanation: When a row is inserted, the calculated partition
key value for the new row must be within the bounds of a parti-
-312 variable-name IS AN UNDEFINED OR UNUS- tion (as specified in the VALUES clause of the CREATE
ABLE HOST VARIABLE OR IS USED IN A INDEX statement).
DYNAMIC SQL STATEMENT OR A TRIGGER
System Action: The statement cannot be executed.
DEFINITION
Programmer Response: Correct the statement to specify a
Explanation: The host variable variable-name appears in the
value for the partition key that is within the bounds of the last
SQL statement, but:
partition of the partitioned table space.
The SQL statement is a prepared statement, or
Destination: 22525
The attributes of the variable are inconsistent with its
usage in the static SQL statement, or -330 A STRING CANNOT BE USED BECAUSE IT
The variable is not declared in the application program or CANNOT BE TRANSLATED. REASON reason-
code, CHARACTER code-point, HOST VARI-
| The variable appeared in one of the triggered SQL state-
ABLE position-number
| ments in a CREATE TRIGGER statement.
Explanation: A translation error occurred during the trans-
System Action: The statement cannot be executed.
lation of a string to a different coded character set. The type of
Programmer Response: Verify that error is indicated by the reason-code:
The variable name is spelled properly in the SQL state- 8 Length exception (for example, expansion required for
ment. PC MIXED data exceeds the maximum length of the
string).
The variable is allowed in the SQL statement.
12 Invalid code point (for example, use of the
The application program contains a declaration for that var-
ERRORBYTE option of SYSSTRINGS).
iable.
16 Form exception (for example, invalid MIXED data).
The attributes of the variable are compatible with its use in
the statement. 20 Translate procedure error (for example, an exit set the
length control field of the string to an invalid value).
Destination: 42618
24 SBCS character found in string contained in a wchar_t
host variable.
-339 THE SQL STATEMENT CANNOT BE EXE- | -352 AN UNSUPPORTED SQLTYPE WAS
CUTED FROM AN ASCII BASED DRDA APPLI- | ENCOUNTERED IN POSITION position-number
CATION REQUESTOR TO A V2R2 DB2 | OF THE INPUT-LIST
SUBSYSTEM
| Explanation: The input SQLDA for an OPEN, EXECUTE,
Explanation: The application is connected to a DB2 Version | FETCH, or CALL statement contains an unsupported
2 Release 3 database server. The SQL statement is using an | SQLTYPE for the parameter in position position-number.
alias or three-part name, which refers to another DB2 sub- | position-number is the position of the first element in the
system that is at the Version 2 Release 2 level. DB2 Version 2 | SQLDA with an unsupported data type. Either the application
Release 2 does not support character conversion. Since the | requestor or the application server does not have support for
execution of SQL statements from an ASCII DRDA requester | this data type. This error can only occur in a client/server envi-
to an EBCDIC Version 2 Release 2 DB2 server could require | ronment.
character conversion, access to the Version 2 Release 2 DB2
| System Action: The statement cannot be executed.
is denied for data integrity reasons.
| Programmer Response: Change the SQLDA to exclude the
System Action: The statement cannot be executed.
| unsupported data type.
Programmer Response: Remove statements from the appli-
| Destination: 56084
cation that resolve to a DB2 Version 2 Release 2 subsystem.
System Programmer Response: If the application must refer | -355 A LOB COLUMN IS TOO LARGE TO BE
to the Version 2 Release 2 subsystem data, the Version 2 | LOGGED
Release 2 DB2 subsystem must be migrated to Version 2
Release 3 where character conversion is supported. | Explanation: One of the following has occurred:
# -373 DEFAULT CANNOT BE SPECIFIED FOR IDEN- | System Action: The SQL statement cannot be executed.
# TITY COLUMN column-name | Programmer Response: Change the definition of the func-
# Explanation: A DEFAULT clause may not be specified for a | tion to not issue SQL statements during final call processing.
# column that has been identified as an IDENTITY column. | Destination: 38505
# System Action: The statement cannot be executed.
# Programmer Response: Remove the DEFAULT clause and
| -397 THE OPTION GENERATED IS SPECIFIED
# resubmit the statement.
| WITH A COLUMN THAT IS NOT A ROW ID OR
| DISTINCT TYPE BASED ON A ROW ID
# Destination: 42623
| Explanation: GENERATED was specified in a CREATE or
| ALTER TABLE statement for a column with a data type that is
| -390 THE FUNCTION function-name, SPECIFIC | not a row ID, and is not a distinct type that is based on a row
| NAME specific-name, IS NOT VALID IN THE | ID. GENERATED can only be specified for a column with a
| CONTEXT IN WHICH IT OCCURS | data type of row ID, or a distinct type that is based on a row
| Explanation: A function resolved to a specific function that is | ID.
| not valid in the context where it is used. If specific-name is an | System Action: The statement cannot be executed.
| empty string, then the function resolved to the built-in function
| identified by function-name. Some of the possible situations | Programmer Response: Correct the statement. Either elimi-
| include: | nate the GENERATED clause or ensure that the data type of
| the object is row ID.
| A scalar or column function is referenced where only a
| table function is allowed (such as in the FROM clause of a | Destination: 428D3
| query).
| A table function is referenced where only a scalar or
| –398 A LOCATOR WAS REQUESTED FOR HOST
| column function is allowed (such as in an expression, or in
| VARIABLE NUMBER position-number BUT THE
| a SOURCE clause of a CREATE FUNCTION statement).
| VARIABLE IS NOT A LOB
-400 THE CATALOG HAS THE MAXIMUM NUMBER -405 THE NUMERIC LITERAL literal CANNOT BE
OF USER DEFINED INDEXES USED AS SPECIFIED BECAUSE IT IS OUT OF
RANGE
Explanation: Only one hundred user-defined indexes can be
created in the catalog database. Explanation: The specified numeric literal is not in the proper
range.
System Action: The statement cannot be executed.
The proper ranges for SQL values are as follows:
Programmer Response: If this index must be created,
another user-defined index on the catalog must be dropped. 5.4E−79 to 7.2E+75 for FLOAT values
After that index is dropped, this statement can be executed. −(1031 -1) to +(1031 -1) for DECIMAL values
−2147483648 to 2147483647 for INTEGER values
Destination: 54027
−32768 to +32767 for small integer (SMALLINT) values.
-401 THE OPERANDS OF AN ARITHMETIC OR System Action: The statement cannot be executed.
COMPARISON OPERATION ARE NOT COMPA- Programmer Response: The value of the literal should be
RABLE reduced to the appropriate size for this data type.
Explanation: An arithmetic operation appearing within the Destination: 42820
# SQL statement contains a mixture of numeric and non-numeric
operands, or the operands of a comparison operation are not
-406 A CALCULATED OR DERIVED NUMERIC
compatible.
VALUE IS NOT WITHIN THE RANGE OF ITS
# One reason for this error is that the comparison involves both OBJECT COLUMN
# character and graphic operands. This combination of operands
Explanation: A value derived or calculated during processing
# is not allowed.
of the SQL statement was outside the range of the data type of
System Action: The statement cannot be executed. its object column. This problem might have arisen because
either the values occurring in the object column were out of
Programmer Response: Check the data types of all oper-
range, or the SQL operation performed was not appropriate for
ands to ensure that their data types are comparable and com-
the values in the object column.
patible with their usage in the statement.
System Action: The statement cannot be executed.
If all the operands of the SQL statement are correct, then, if a
view is being accessed, check the data types of all the oper- Programmer Response: See the explanation of SQLCODE
ands in the view definition. -405 for allowed ranges for numeric data types.
Destination: 42818 Destination: 22003
Destination: 56040
-408 THE VALUE IS NOT COMPATIBLE WITH THE
DATA TYPE OF ITS TARGET
-412 THE SELECT CLAUSE OF A SUBQUERY
# Explanation: The data type of the value to be assigned to SPECIFIES MULTIPLE COLUMNS
# the column, parameter, host variable or transition variable by
# the SQL statement is incompatible with the declared data type Explanation: In the context in which it was used in the SQL
# of the assignment target. Both must be: statement, the subquery can have only one column specified in
its SELECT clause.
# Numeric
# Character System Action: The statement cannot be executed.
# Graphic Programmer Response: Correct the syntax of the SQL
# Dates or character statement. Refer to Chapter 5 of DB2 SQL Reference for infor-
# Times or character mation about restrictions on the syntax for subqueries.
# Timestamps or character
# Row IDs Destination: 42823
# The same distinct types
-413 OVERFLOW OCCURRED DURING NUMERIC
However, dates, times, or timestamps cannot be assigned to a
DATA TYPE CONVERSION
character column that has a field procedure.
Explanation: During processing of the SQL statement, an
This SQLCODE is issued for any statement that fails required
overflow condition arose when converting from one numeric
assignment rule checking.
type to another. Numeric conversion is performed according to
System Action: The statement cannot be executed. the standard rules of SQL.
Programmer Response: Examine the current definition for System Action: The statement cannot be processed. No
the object table, procedure, user-defined function, or host vari- data was retrieved, updated, or deleted.
able and ensure that the host variable or literal value that is
Programmer Response: Examine the syntax of the SQL
assigned to the object has the proper data type. In some
statement to determine the cause of the error. If the problem
cases, you can convert the value to the proper data type by
is data-dependent, it might be necessary to examine the data
using a function such as CHAR or DECIMAL.
processed at the time of the error.
Destination: 42821
Destination: 22003
Destination: 42609
| -423 INVALID VALUE FOR LOCATOR IN POSITION
| position-#
-418 A STATEMENT STRING TO BE PREPARED
CONTAINS AN INVALID USE OF PARAMETER | Explanation: The value specified in a result set locator host
MARKERS | variable or a LOB locator host variable specified at position
| position-# in the locator variable list of the SQL statement does
Explanation: Parameter markers cannot be used in the | not identify a valid result set locator or LOB locator variable,
SELECT list, as the sole argument of a scalar function, or in a | respectively.
concatenation operation. Parameter markers cannot be used in
the string expression of an EXECUTE IMMEDIATE SQL state- | System Action: The statement cannot be executed.
ment. | Programmer Response: For a result set locator there are
System Action: The statement cannot be executed. | two common causes for the error:
Programmer Response: Correct the logic of the application | The host variable used as a result set locator was never
program so that this error does not occur. Refer to Chapter 6 | assigned a valid result set locator value. Result set locator
of DB2 SQL Reference for information about the proper usage | values are returned by the DESCRIBE PROCEDURE and
of parameter markers within SQL statements and for | ASSOCIATE LOCATORS statements. Make sure the value
EXECUTE IMMEDIATE SQL statement restrictions. | in your host variable is obtained from one of these state-
| ments.
Destination: 42610 | Result set locator values are only valid as long as the
| underlying SQL cursor is open. If a commit or rollback
-419 THE DECIMAL DIVIDE OPERATION IS INVALID | operation closes an SQL cursor, the result set locator
BECAUSE THE RESULT WOULD HAVE A | associated with the cursor is no longer valid.
NEGATIVE SCALE
| For a LOB locator, some common causes for the error are:
Explanation: The decimal division is invalid because it will
| The host variable used as a LOB locator was never
result in a negative scale.
| assigned a valid LOB value.
The formula used internally to calculate the scale of the result | A commit or rollback operation or an SQL FREE
for decimal division is explained in Chapter 3 of DB2 SQL Ref- | LOCATOR statement freed the locator.
erence.
Destination: 0F001
System Action: The statement cannot be executed. No data
was retrieved, updated, or deleted.
| Destination: 42601
| -440 NO routine-type BY THE NAME routine-name
| HAVING COMPATIBLE ARGUMENTS WAS
| FOUND -444 USER PROGRAM name COULD NOT BE
FOUND
| Explanation: This occurs in a reference to routine (stored
| procedure or function) routine-name, when DB2 cannot find a Explanation: DB2 received an SQL CALL statement for a
| function or stored procedure it can use to implement the refer- | stored procedure or an SQL statement containing an invoca-
| ence. There are several reasons why this could occur. | tion of a user-defined function, and found the row in the
| SYSIBM.SYSROUTINES catalog table associated with the
| routine-name was either incorrectly specified or does not requested procedure name. However, the MVS load module
| exist in the database. identified in the LOADMOD column of the
| A qualified reference was made, and the qualifier was | SYSIBM.SYSROUTINES row could not be found.
| incorrectly spelled. name The name of the MVS load module that could not
| A user's current path does not contain the schema to be found
| which the desired function belongs, and an unqualified ref- System Action: The statement cannot be executed.
| erence was used.
| Programmer Response: If the LOADMOD column value in
| The wrong number of arguments were included. # the SYSIBM.SYSROUTINES table is incorrect, use the ALTER
| For functions, the data types of one or more of the argu- # FUNCTION or ALTER PROCEDURE statement to correct the
| ments is incorrect. | value.
| The routine invoker is not authorized to execute the If the LOADMOD column value is correct, use the MVS linkage
| routine. editor to create the required MVS load module in one of the
MVS load libraries used by your installation for stored proce-
| System Action: The statement cannot be executed.
dures.
| Programmer Response: Fix the problem and retry. This
# This error can also occur if you are invoking a WLM-managed
| could involve a change to the SQL statement, the addition of
# stored procedure that is not APF authorized, and the DB2 load
| new routines or a change to the user's current path.
# libraries are not in the STEPLIB concatenation because they
| Destination: 42884 # are being loaded from LINKLIST. In this case, if you want the
# stored procedure program to run APF-authorized, link-edit it
| -441 INVALID USE OF 'DISTINCT' OR 'ALL' WITH # with AC=1 into an MVS APF authorized library. If you do not
| SCALAR FUNCTION function-name # want the stored procedure program to run APF authorized, add
# the DB2 load library to the STEPLIB concatenation of the JCL
| Explanation: The keyword 'DISTINCT' or 'ALL' was detected # used to start the WLM-managed address space.
| within parentheses in a reference to function function-name
| and the function has been resolved as a scalar function. Use Destination: 42724
| of the keyword 'DISTINCT' or 'ALL' with a scalar function is
| invalid. | -449 CREATE OR ALTER STATEMENT FOR FUNC-
| System Action: The statement cannot be executed.
| TION OR PROCEDURE routine-name CON-
| TAINS AN INVALID FORMAT OF THE
| Programmer Response: If a scalar function is being used, | EXTERNAL NAME CLAUSE OR IS MISSING
| then remove the keyword 'DISTINCT' or 'ALL'. | THE EXTERNAL NAME CLAUSE
| If a column function is being used, then there is a problem with | Explanation: An error was found in the EXTERNAL NAME
| function resolution. Check your current path to see if the | clause of the CREATE FUNCTION, CREATE PROCEDURE,
| desired function is in one of the schemas, and also check the | ALTER FUNCTION, or ALTER PROCEDURE statement for
| SYSIBM.SYSROUTINES catalog for the spelling of the function | routine-name, or the clause is needed but was not specified.
| name and the number and types of parameters.
| The external name must be a short identifier with letters or
| Destination: 42601 | digits. The first character must be a letter. (This is the MVS
| naming convention for load modules). A possible cause for this
| -443 EXTERNAL FUNCTION function-name (SPE- | error is the inclusion of a blank in the name.
| CIFIC NAME specific-name) HAS RETURNED | If the clause is omitted, the external name defaults to function-
| AN ERROR SQLSTATE WITH DIAGNOSTIC | name. However, for CREATE FUNCTION or CREATE PRO-
| TEXT msg-text | CEDURE if the function or procedure name is longer than eight
| Explanation: An SQLSTATE of the form 38xxx was returned | characters then the EXTERNAL NAME clause must be explic-
| by function function-name, along with message text msg-text. | itly specified to specify a valid short identifier as the external
| name.
| If the third character is not 5 (i.e. '385xx') then the last 3 char-
| acters of the SQLSTATE value were chosen by the function, to | System Action: The statement cannot be executed.
| indicate the reason of the failure. SQLSTATEs values of the | Programmer Response: Correct the syntax of the SQL
| form 385xx are issued by IBM with a different SQLCODE. | statement. Refer to the DB2 SQL Reference for information on
| System Action: The actions in the external function should | the EXTERNAL NAME clause.
| be rolled back. | Destination: 42878
| Programmer Response: Contact the author of the function
| or your database administrator. Until the problem is resolved,
| the function should not be used.
| System Action: The statement cannot be executed. | Explanation: A SPECIFIC name has been explicitly specified
| as specific-name in the CREATE FUNCTION statement for
| Programmer Response: Correct the statement. | function-name, but this name already exists as the SPECIFIC
| Destination: 42815 | name for another function within the schema.
| System Action: The statement cannot be executed.
| -453 THERE IS A PROBLEM WITH THE RETURNS
| Programmer Response: Choose a new SPECIFIC name.
| CLAUSE IN THE CREATE FUNCTION STATE-
| MENT FOR function-name | Destination: 42710
| Explanation: A problem casting the result of user-defined
| function function-name has been identified. The CAST FROM | -457 A FUNCTION OR DISTINCT TYPE CANNOT
| data type is not castable to the RETURNS data type, and it | BE CALLED name SINCE IT IS RESERVED
| must be. See the SQL Reference for details on casting | FOR SYSTEM USE
| between data types. | Explanation: The user-defined function or distinct type
| System Action: The statement cannot be executed. | cannot be created or referenced because the name selected is
| reserved for use by the system.
| Programmer Response: Change the RETURNS or CAST
| FROM clause so that the CAST FROM data type is castable to | A number of names used as keywords are reserved for system
| the RETURNS data type. | use. These names may not be used as user-defined functions
| or distinct-type-names, even if they are delimited identifiers.
| Destination: 42880 | These names are:
| = < > >= <=
| -454 THE SIGNATURE PROVIDED IN THE CREATE
| FUNCTION STATEMENT FOR function-name | ¬= ¬> ¬>
| MATCHES THE SIGNATURE OF SOME OTHER | ALL AND ANY BETWEEN DISTINCT
| FUNCTION ALREADY EXISTING IN THE
| EXCEPT EXISTS FALSE FOR FROM
| IN IS LIKE MATCH NOT
| SCHEMA
| NULL ONLY OR OVERLAPS SIMILAR
| Explanation: The signature consists of the function name | SOME TABLE TRUE TYPE UNIQUE
| (function-name), the number of parameters defined for the | UNKNOWN
| function, and an ordered list of the types of the parameters | The names of built-in data types cannot be used as the name
| (without regard to any parameters of the types). In this case | of a distinct type (for example, CHAR).
| there is a function already in the schema and the existing func-
| tion has the same signature as the function being created. See | System Action: The statement is not executed.
| the SQL Reference for the details on the uniqueness of a func- | Programmer Response: Select a name for the function or
| tion. | distinct type that is not reserved for system use.
| System Action: The statement cannot be executed. | Destination: 42939
| 00E79006
| Destination: 42866
| 00E79007
| -476 REFERENCE TO FUNCTION function-name
# 00E79008 | WAS NAMED WITHOUT A SIGNATURE, BUT
| 00E7900B
| THE FUNCTION IS NOT UNIQUE WITHIN ITS
| SCHEMA
| 00E7900C
| Explanation: References to a function without a signature are
| 00E7900E | permitted, but the named function function-name must be
System Action: The statement cannot be executed. A | unique in its schema and it is not.
DSNX9xx message describing the error might be displayed on | Note also that in the ALTER FUNCTION, DROP FUNCTION,
the MVS system console. | COMMENT ON FUNCTION, GRANT and REVOKE statements
Programmer Response: Correct the condition described by | for EXECUTE on functions, an unqualified reference is quali-
the DB2 reason code. | fied with the statement authorization ID, and this is the schema
| where the problem can be found. In the SOURCE clause of a | A view owned by the revokee uses this func-
| CREATE FUNCTION statement, the qualification comes from | tion.
| the CURRENT PATH. In this case, the first schema in the path
| A trigger package owned by the revokee uses
| containing a function with this name had other functions by the
| this function.
| same name.
| A table owned by the revokee uses this function
| System Action: The statement cannot be executed.
| in a check constraint or user-defined default.
| Programmer Response: Correct the reference by one of the
| If type1 is DISTINCT TYPE, the dependencies for
| following:
| REVOKE might be:
| completing the signature
| A parameter of a function owned by the
| using the SPECIFIC name of the desired function
| revokee is defined as this distinct type.
| changing the CURRENT PATH
| A column of a table owned by the revokee is
| Destination: 42725
| defined as this distinct type.
| The dependency might be on one of the generated | Programmer Response: Correct the statements so that the
| cast functions for a distinct type. If type1 is DIS- | exact syntax used to specify the procedure name on the CALL
| TINCT TYPE, the dependencies for DROP might | statement be the same as that on the ASSOCIATE LOCATOR
| be: | and/or DESCRIBE PROCEDURE. If an unqualified name is
| used to CALL the procedure, the 1-part name must also be
| A parameter of a function is defined as this dis- | used on the other statements. If the CALL statement is made
| tinct type. | with a 3-part name, and the current server is the same as the
| A column of a table is defined as this distinct | location in the 3-part name, the ASSOCIATE LOCATOR or
| type. | DESCRIBE procedure can omit the location. Rerun the state-
| ments.
| A parameter of a stored procedure is defined as
| this distinct type. Destination: 51030
| A function owned by the revokee is sourced on Programmer Response: Determine if result set locators are
| this function. returned from the identified procedure by using the DESCRIBE
PROCEDURE statement.
Destination: 51030
| fix the input parameter list | Programmer Response: Possible corrections include:
| correct the function name or function specific name to | Identify a different source function.
| identify the proper function.
| Change the data type of the parameter of the function
| It is also possible that the current path needs to be corrected | being created so that the data type of the source function
| in order for correct function resolution to occur. | can be cast to this data type.
| Destination: 42885 | Destination: 42879
| System Action: The SQL statement cannot be executed. | estimate_amount1 The cost estimate (in processor seconds) if
| the prepared INSERT, UPDATE, DELETE
# Programmer Response: Either use an ALTER statement to | or SELECT statement were to be executed.
| change the definition of the function or procedure to allow SQL
| statements, or remove the failing SQL statement from the | estimate_amount2 The cost estimate (in service units) if the
| external function or procedure. | prepared INSERT, UPDATE, DELETE or
| SELECT statement were to be executed.
| Destination: 38001
| cost-category DB2's cost-category for this SQL statement.
| The possible values are A or B.
| -491 CREATE STATEMENT FOR USER-DEFINED
| FUNCTION function-name MUST HAVE A | limit-amount The error threshold (in service units) speci-
| RETURNS CLAUSE, AND EITHER THE | fied in the RLFASUERR column of the
| EXTERNAL CLAUSE (WITH OTHER REQUIRED | RLST.
| KEYWORDS) OR THE SOURCE CLAUSE | System Action: The prepare of the dynamic INSERT,
| Explanation: A required clause is missing in the CREATE for | UPDATE, DELETE, or SELECT statement was unsuccessful.
| function function-name. If EXTERNAL was specified, the fol- | Programmer Response: If this SQLCODE was returned
| lowing must also be specified: | because the cost category value is “B,” it might be that the
| LANGUAGE | statement is using parameter markers or that some statistics
| PARAMETER STYLE | are not available for the referenced tables and columns. Make
| sure the administrator has run the utility RUNSTATS on the
| System Action: The statement cannot be executed.
| referenced tables. It might also be that UDFs will be invoked
If you want the cursor open and the connection was placed
-504 THE CURSOR NAME cursor-name IS NOT
in the released state as a result of the
DEFINED
DISCONNECT(AUTOMATIC) option, rebind the plan using
DISCONNECT(CONDITIONAL). Explanation: Cursor cursor-name was referenced in an SQL
statement, and one of the following is true:
Correct the error in the application, rebind the plan, and
resubmit the job. Cursor cursor-name was not declared (using the
DECLARE CURSOR statement) or allocated (using the
Destination: 24501
ALLOCATE CURSOR statement) in the application
program before it was referenced.
-501 THE CURSOR IDENTIFIED IN A FETCH OR
CLOSE STATEMENT IS NOT OPEN Cursor cursor-name was referenced in a positioned
UPDATE or DELETE statement which is not a supported
Explanation: The application program attempted to either: operation for an allocated cursor.
1. FETCH using a cursor, or Cursor cursor-name was allocated, but a CLOSE cursor
2. CLOSE a cursor statement naming cursor-name was issued and deallo-
cated the cursor before this cursor reference.
at a time when the specified cursor was not open.
Cursor cursor-name was allocated, but a ROLLBACK oper-
System Action: The statement cannot be executed. ation occurred and deallocated the cursor before this
Programmer Response: Check for a previous SQL return cursor reference.
code that may have closed the cursor. Commit and rollback Cursor cursor-name was allocated, but its associated
| operations close cursors. SQLCODES -404, -652, -679, -802, cursor declared in a stored procedure was not declared
-901, -904, -909, -910, -911, and -913 will force the cursor to WITH HOLD, and a COMMIT operation occurred and deal-
close. After the cursor is closed, any fetches or close cursor located the cursor before this cursor reference. The
statements will receive this SQLCODE -501. COMMIT operation can be either explicit (the COMMIT
If no previous SQL return codes have been issued, correct the statement) or implicit (that is, a stored procedure defined
logic of the application program to ensure that the cursor is as COMMIT_ON_RETURN = 'Y' was called before this
open at the time the FETCH or CLOSE statement is executed. cursor reference).
Destination: 24501 Cursor cursor-name was allocated, but its associated
stored procedure was called again since the cursor was
allocated, new result sets were returned, and cursor
-502 THE CURSOR IDENTIFIED IN AN OPEN
cursor-name was deallocated.
STATEMENT IS ALREADY OPEN
System Action: The statement cannot be executed.
Explanation: The application program attempted to execute
an OPEN statement for a cursor that was already open. Programmer Response: Check the application program for
completeness and for a possible spelling error in the cursor
System Action: The statement cannot be executed. The
declaration or allocation. The declaration for or allocation of a
cursor was unchanged (that is, it was not 'reopened').
cursor must appear in an application program before SQL
Programmer Response: Correct the logic of the application statements that reference the cursor.
program to ensure that it does not attempt to execute an
If the cursor-name was <UNKNOWN>, then the cursor was not
OPEN statement for a cursor that is already open.
successfully declared or allocated. This can occur if SQL(DB2)
Destination: 24502 was used, and a warning message was issued during precom-
pilation. Check the precompile output for warning messages on
-503 A COLUMN CANNOT BE UPDATED BECAUSE the DECLARE CURSOR or ALLOCATE CURSOR statement,
IT IS NOT IDENTIFIED IN THE UPDATE and correct the statement.
CLAUSE OF THE SELECT STATEMENT OF For an allocated cursor, if an implicit or explicit COMMIT,
THE CURSOR ROLLBACK, or CLOSE occurred since the cursor was suc-
Explanation: The application program attempted to update cessfully allocated, modify the application program logic to do
(using a cursor) a value in a column of the object table that one of the following:
was not identified in the FOR UPDATE clause in the cursor After the COMMIT, ROLLBACK, or CLOSE operation, call
declaration. the associated stored procedure again, and reissue the
Any column that is to be updated must be identified in the FOR ASSOCIATE LOCATORS and ALLOCATE CURSOR state-
UPDATE clause of the cursor declaration. ments.
System Action: The statement cannot be executed. No data For COMMIT, declare the associated cursor in the stored
was updated in the object table. procedure WITH HOLD so the COMMIT operation will not
deallocate the cursor.
Programmer Response: Correct the application program. If
the column is to be updated, its name must be added to the For an allocated cursor, if the associated stored procedure was
FOR UPDATE clause of the cursor declaration. called again and new result sets were returned since the
cursor was allocated, reissue the ASSOCIATE LOCATORS
Destination: 42912 and ALLOCATE CURSOR statements.
Destination: 34000
-507 THE CURSOR IDENTIFIED IN THE UPDATE OR -510 THE TABLE DESIGNATED BY THE CURSOR
DELETE STATEMENT IS NOT OPEN OF THE UPDATE OR DELETE STATEMENT
CANNOT BE MODIFIED
Explanation: The application program attempted to execute
an UPDATE or DELETE WHERE CURRENT OF cursor state- Explanation: The application program attempted to execute
ment at a time when the specified cursor was not open. an UPDATE or DELETE WHERE CURRENT OF cursor state-
ment against a table or view that cannot be updated or
System Action: The statement cannot be executed. No
deleted. This can occur for a delete from a read-only view or
update or delete was performed.
for an update in which the cursor was not defined with the
Programmer Response: Check for a previous SQL return FOR UPDATE clause.
code that might have closed the cursor. SQLCODES -404,
This error code is also returned when the table exists at a
-652, -679, -901, -904, -909, -910, -911, and -913 force the
remote location and DB2 has employed block fetching because
cursor to close. After the cursor is closed, any fetches or close
you explicitly declared the cursor FOR FETCH ONLY, or
cursor statements receive SQLCODE -501. Any updates or
because the application is bound CURRENTDATA(NO) and
deletes receive this SQLCODE -507. Correct the logic of the
the cursor is ambiguous.
application program to ensure that the specified cursor is open
at the time the UPDATE or DELETE statement is executed. This error code is also returned if DB2 has employed
parallelism to execute the SELECT statement associated with
Destination: 24501
the cursor named in a DELETE WHERE CURRENT OF cursor
statement, or if a DELETE WHERE CURRENT OF is issued
-508 THE CURSOR IDENTIFIED IN THE UPDATE OR against a row which DB2 cannot guarantee to have not been
DELETE STATEMENT IS NOT POSITIONED ON modified by another application since the time the cursor was
A ROW positioned upon it (in accordance with ISO(CS)) semantics for
Explanation: The application program attempted to execute an ambiguous cursor in an application bound
an UPDATE or DELETE WHERE CURRENT OF cursor state- CURRENTDATA(NO)).
ment at a time when the specified cursor was not positioned System Action: The statement cannot be executed. No data
on a row of the object table. The cursor must be positioned on was updated or deleted in the object table.
the row that is to be updated or deleted.
Programmer Response: The requested UPDATE or
# This SQL code can be issued if the cursor is no longer posi- DELETE cannot be performed. Refer to Chapter 6 of DB2 SQL
# tioned on the row because another cursor in the same applica- Reference for information about restrictions on using UPDATE
# tion program delete the row or updates an index column. This and DELETE operations against views.
# includes deletes and index column updates that are performed
# as a result of rolling back to a savepoint. For a remote table, modify the DECLARE CURSOR and then
rebind the PLAN.
System Action: The statement cannot be executed. No data
was updated or deleted. For a cursor that uses parallelism, disable parallelism for the
query by using the DEGREE(1) BIND option for static SQL or
Programmer Response: Correct the logic of the application by setting the CURRENT DEGREE special register to '1' for
program to ensure that the cursor is correctly positioned on the dynamic SQL.
intended row of the object table before the UPDATE or
DELETE statement is executed. Note that the cursor is not For an ambiguous cursor in an application bound
positioned on a row if FETCH returned an SQLCODE = 100. CURRENTDATA(NO), either make the cursor unambiguous
(declare it FOR UPDATE OF), or rebind the application
Destination: 24504 CURRENTDATA(YES).
Destination: 42828
-509 THE TABLE IDENTIFIED IN THE UPDATE OR
DELETE STATEMENT IS NOT THE SAME
TABLE DESIGNATED BY THE CURSOR -511 THE FOR UPDATE CLAUSE CANNOT BE
SPECIFIED BECAUSE THE TABLE DESIG-
Explanation: The application program attempted to execute NATED BY THE CURSOR CANNOT BE MODI-
an UPDATE or DELETE WHERE CURRENT OF cursor state- FIED
ment where the table named in that statement did not match
the name of the table specified in the declaration for that Explanation: The result table of the SELECT statement
cursor. cannot be updated. This can occur if the SELECT specifies
more than one table or view in the FROM clause, if the
System Action: The statement cannot be executed. The SELECT list contains a built-in function or DISTINCT, or if the
update or delete was not performed. statement contains an ORDER BY or GROUP BY or HAVING
Programmer Response: Correct the application program to clause. This can also occur if a view is specified in the FROM
ensure that the table identified in the UPDATE or DELETE clause and the view cannot be updated.
statement is the same table identified in the declaration for the System Action: The statement cannot be executed. The
cursor. specified cursor remains undefined in the application program.
Destination: 42827 Programmer Response: Updates cannot be performed on
the result table as it is specified. Refer to Chapter 6 of DB2
SQL Reference for information about restrictions on the
updating of views.
Destination: 42829
-519 THE PREPARE STATEMENT IDENTIFIES THE # -526 THE REQUESTED OPERATION OR USAGE
SELECT STATEMENT OF THE OPENED # DOES NOT APPLY TO table type TEMPORARY
CURSOR cursor-name # TABLE table name
Explanation: The application program has attempted to # Explanation: DB2 assumes that the SQL statement being
PREPARE (actually, re-PREPARE) the SELECT statement for # executed refers to a created or declared temporary table
the specified cursor at a time when that cursor was already # named table name, and the requested operation or usage in
open. # the statement is not allowed on the temporary table.
System Action: The statement cannot be executed. The # table type CREATED or DECLARED
cursor was not affected.
# CREATED is for a temporary table defined by the
Programmer Response: Correct the logic of the application # CREATE GLOBAL TEMPORARY TABLE state-
program so that it does not attempt to re-PREPARE the # ment.
SELECT statement for a cursor when that cursor is open.
# DECLARED is for a temporary table defined by the
Destination: 24506 # DECLARE GLOBAL TEMPORARY TABLE state-
# ment.
-525 THE SQL STATEMENT CANNOT BE EXE- # table name Qualified name of the temporary table.
CUTED BECAUSE IT WAS IN ERROR AT BIND
System Action: The statement cannot be processed.
TIME FOR SECTION = sectno PACKAGE =
pkgname CONSISTENCY TOKEN = # Programmer Response: Modify the SQL statement to
X'contoken' # ensure that the object references are not to the indicated type
Explanation: One of the following:
# of temporary table, or if table type is DECLARED and you
# intended table name to refer to an existing persistent base
The statement was in error when the package was bound, # table, you must perform one of the following actions:
but the error was ignored then because the option
SQLERROR (CONTINUE) was used. Since the statement
# Recreate the persistent base table table name with a dif-
contains an error, it cannot be executed.
# ferent qualifier
-531 PARENT KEY IN A PARENT ROW CANNOT BE -534 THE PRIMARY KEY CANNOT BE UPDATED
UPDATED BECAUSE IT HAS ONE OR MORE BECAUSE OF MULTIPLE-ROW UPDATE
DEPENDENT ROWS IN RELATIONSHIP
Explanation: An UPDATE operation attempted to update a
constraint-name
primary key on multiple rows of the object table.
Explanation: For plans and packages bound beginning with
An UPDATE statement updating the primary key cannot be
Version 5 or dynamic SQL, a multi-row update of a parent key
used to update more than one row of the object table.
attempted to remove a parent key value on which a foreign key
was dependent. Note: This SQLCODE will only be issued for plans and pack-
ages bound prior to Version 5. SQLCODE -534 will not
For plans and packages bound prior to Version 5 an UPDATE
be issued for dynamic SQL or plans and packages
operation attempted to update a primary key in the specified
bound with Version 5 or later releases.
row of the object table; however, the primary key in the speci-
fied row had dependent rows associated with it. The value of a System Action: The UPDATE statement cannot be executed.
primary key in a parent row cannot be updated if the parent The contents of the object table are unchanged.
row has any dependent rows. Programmer Response: Examine the search condition of the
System Action: The UPDATE statement cannot be executed. UPDATE statement to make sure that no more than one row of
The object table is unchanged. the object table is selected to be updated.
Programmer Response: Examine the parent key of the Destination: 21502
object table and the foreign key of the dependent table to
determine if the value of the specified row of the parent -536 THE DELETE STATEMENT IS INVALID
keyshould be changed. If this does not expose the problem, BECAUSE TABLE table-name CAN BE
examine the contents of the object table and the dependent AFFECTED BY THE OPERATION
table to determine the cause of the problem.
Explanation: A DELETE operation with the indicated table
Destination: 23504 referenced in a subquery was attempted.
If 'T' is the object table of the DELETE, the indicated table is
-532 THE RELATIONSHIP constraint-name one of the following:
RESTRICTS THE DELETION OF ROW WITH
RID X'rid-number' A dependent of 'T' in a relationship with a delete rule of
CASCADE or SET NULL
Explanation: A DELETE operation attempted to delete a
specified parent row in the object table and all related A dependent of another table in a relationship with a delete
descendent rows in the descendent tables. However, a delete rule of CASCADE or SET NULL in which deletions from
rule of RESTRICT or NO ACTION was specified for one or 'T' can cascade to that table.
more descendent tables. System Action: The DELETE statement cannot be executed.
A row of the table cannot be deleted because it has a The contents of the object table are unchanged.
dependent in a relationship with a delete rule of RESTRICT or Programmer Response: Do not attempt to reference a table
NO ACTION or the deletion cascades to a row which is a in a subquery of a DELETE statement when the table can be
dependent in a relationship with a delete rule of RESTRICT or affected by the DELETE statement.
NO ACTION.
Destination: 42914
System Action: The DELETE statement cannot be executed.
The contents of the object table are unchanged.
-537 THE PRIMARY KEY CLAUSE, A FOREIGN KEY
Programmer Response: Examine the delete rule for all CLAUSE, OR A UNIQUE CLAUSE IDENTIFIES
descendent tables to determine the cause of the problem. The COLUMN column-name MORE THAN ONCE
specific tables involved can be determined from the relation-
ship 'constraint-name'. The specific descendent row is known Explanation: PRIMARY KEY, FOREIGN KEY, or UNIQUE
by RID X'rid-number'. can each be followed by a list of column names. The state-
ment violates the rule that no column name can appear more
Destination: 23504 than once in any such list.
System Action: The statement cannot be executed.
-533 INVALID MULTIPLE-ROW INSERT
Programmer Response: Correct the statement to specify
Explanation: An INSERT operation with a subselect unique names for each column.
attempted to insert multiple rows into a self-referencing table.
Destination: 42709
The subselect of the INSERT operation should return no more
than one row of data.
-538 FOREIGN KEY name DOES NOT CONFORM
System Action: The INSERT statement cannot be executed. TO THE DESCRIPTION OF A PARENT KEY OF
The contents of the object table are unchanged. TABLE table-name
Programmer Response: Examine the search condition of the Explanation: The code is used to report that the definition of
subselect to make sure that no more than one row of data is the indicated foreign key does not conform to the description of
selected. a parent key of the indicated table. Either the keys do not
Destination: 21501 have the same number of columns or their descriptions are not
identical. The requirement for identical descriptions includes
data type, length attribute, and field procedure. The 'name' is
the constraint-name specified in the foreign key clause or, if a | In the case of a column identified in a REFERENCES clause,
constraint-name was not specified, the first column-name spec- | drop the parent table then recreate it with referenced columns
ified in the clause. | defined as NOT NULL. Afterwards, rerun the statement.
System Action: The statement cannot be executed. Destination: 42831
Programmer Response: Correct the statement so that the
description of the foreign key conforms to that of a parent key -543 A ROW IN A PARENT TABLE CANNOT BE
of the indicated table. DELETED BECAUSE THE CHECK CON-
STRAINT check-constraint RESTRICTS THE
Destination: 42830
DELETION
Explanation: The delete operation cannot be executed
-539 TABLE table-name DOES NOT HAVE A
because the target table is a parent table and is connected
PRIMARY KEY
with a referential constraint to a dependent table with a delete
Explanation: The CREATE or ALTER TABLE statement rule of SET NULL. However, a check constraint defined on the
cannot be executed because the indicated table does not have dependent table restricts the column from containing a null
a primary key. Thus, the primary key cannot be dropped, or value.
the table cannot be defined as a parent in a referential con-
System Action: The DELETE statement was not executed.
straint.
The contents of the tables are unchanged.
System Action: The statement cannot be executed.
Programmer Response: Examine the foreign key and its
Programmer Response: Correct the statement to reference delete rule in the dependent table and the conflicting check
a table with a primary key or define a primary key before refer- constraint. Change either the delete rule or the check con-
encing the table in a FOREIGN KEY clause. straint so that they do not conflict.
Destination: 42888 Destination: 23511
-540 THE DEFINITION OF TABLE table-name IS -544 THE CHECK CONSTRAINT SPECIFIED IN THE
INCOMPLETE BECAUSE IT LACKS A ALTER TABLE STATEMENT CANNOT BE
PRIMARY INDEX OR A REQUIRED UNIQUE ADDED BECAUSE AN EXISTING ROW VIO-
INDEX LATES THE CHECK CONSTRAINT
| Explanation: The table named was defined with a PRIMARY Explanation: An existing row violates the check constraint
| KEY clause, a UNIQUE clause, or with a ROWID column with specified in the ALTER TABLE statement.
| the GENERATED BY DEFAULT attribute. Its definition is
System Action: The statement cannot be executed. The
incomplete, and it cannot be used until a unique index is
check constraint definition is not added to the table. The table
defined for
definition is unchanged.
the primary key (the primary index)
Programmer Response: Examine the check constraint defi-
a ROWID column nition that was specified in the ALTER TABLE statement and
for each set of columns in any UNIQUE clause (the the data in the table to determine why the ALTER TABLE
required unique indexes). statement was rejected.
An attempt was made to use the table in a FOREIGN KEY You can determine which rows violated the check constraint by
clause or in an SQL manipulative statement. using the SELECT statement, negating the check constraint in
the WHERE clause. For example:
System Action: The statement cannot be executed.
SELECT : FROM table WHERE (NOT (check-condition));
Programmer Response: Define a primary index or a
Destination: 23512
required unique index on the table before referencing it.
Destination: 57001
-545 THE REQUESTED OPERATION IS NOT
ALLOWED BECAUSE A ROW DOES NOT
| -542 column-name CANNOT BE A COLUMN OF A SATISFY THE CHECK CONSTRAINT check-
| PRIMARY KEY, A UNIQUE CONSTRAINT, OR constraint
| A PARENT KEY BECAUSE IT CAN CONTAIN
Explanation: Table check constraint violations occurred on
| NULL VALUES
an INSERT or UPDATE statement. The resulting row violated
| Explanation: The code is used to report that a column iden- the check constraint definition on the table.
| tified in a PRIMARY KEY, a UNIQUE constraint clause, or a
System Action: The INSERT or UPDATE statement cannot
| parent key (via a REFERENCES clause) is defined to allow
be executed. The contents of the table are unchanged.
| null values.
Programmer Response: Examine the data and the check
System Action: The statement cannot be executed.
constraint definition in the SYSIBM.SYSCHECKS catalog table
| Programmer Response: In the case of a column identified in to determine why the INSERT or UPDATE statement was
| a PRIMARY KEY or a UNIQUE constraint clause, correct the rejected. The data must be changed to satisfy the check con-
| statement and rerun it. straint.
Destination: 23513
For CREATE TABLE, the table is not created. statement The SQL statement in error
Programmer Response: Correct the check constraint defi- object_type1 PACKAGE or DBRM
nition and execute the statement again. object_name If object_type1 is PACKAGE, object_name is
Destination: 42621 the name of the package in the format
'location-id.collection-id.package-id'.
-548 A CHECK CONSTRAINT THAT IS DEFINED If object_type1 is DBRM, object_name is the
WITH column-name IS INVALID name of the DBRM in the format 'plan-name
DBRM-name'.
Explanation: A check constraint in the CREATE TABLE or
ALTER TABLE statement is invalid for one or more of the fol- object_type2 PLAN or PACKAGE
lowing reasons: If object_type1 is PACKAGE, object_type2
The constraint definition refers to a column that has a field can be either PACKAGE or PLAN (whichever
procedure. is bound with a DYNAMICRULES value other
than RUN).
The constraint definition refers to a column with a data
type that is lower in the hierarchy of numeric data types
than the data type of any other operand. The hierarchy is If object_type1 is DBRM, object_type2 is
as follows: PLAN.
| small integer < large integer < decimal System Action: The SQL statement cannot be executed.
| < single precision float < double precision float
Programmer Response: Do one of the following to correct
The constraint definition refers to a column with a numeric the error:
data type that is not the same numeric data type as that of
If the SQL statement is embedded, remove it, precompile
the other column operands.
and compile the application program again, and reissue the
The constraint definition refers to a column with a length BIND command with the desired DYNAMICRULES option.
that is shorter than the other operands when the column
If appropriate, use the SQL statement with a package or
and other operands are not character string data types.
plan that is bound with DYNAMICRULES(RUN).
| The constraint definition refers to a ROWID column.
Issue the REBIND command with the
| The constraint definition refers to a LOB column. DYNAMICRULES(RUN) option for the plan or package to
System Action: The statement is not executed. which the SQL statement is bound
The revoker, authid1, did not explicitly grant the privilege to System Action: The statement cannot be executed.
authid2. Programmer Response: Refer to Chapter 6 of DB2 SQL
Authid2 is the owner of the specified object. Reference for valid keywords for the GRANT statement.
When privilege is '***' the keyword ALL was used in the Destination: 56025
REVOKE statement, but authid2 did not possess any privi-
lege to revoke. -559 ALL AUTHORIZATION FUNCTIONS HAVE
When authid1 is ALL, the BY ALL clause was used in the BEEN DISABLED
REVOKE statement, but authid2 did not possess any privi- Explanation: The authorization mechanism has been disa-
lege to revoke. bled in the DB2 subsystem. Consequently, GRANT and
An authorization ID can revoke only the privileges that it has REVOKE statements are ignored.
explicitly granted to other authorization IDs, unless the authori- System Action: The statement cannot be executed. No privi-
zation ID has SYSADM or SYSCTRL authority and specifies leges were granted or revoked.
the BY clause. No authorization ID, not even SYSADM, can
Programmer Response: Do not attempt to execute GRANT
revoke 'privileges' on an object from the object owner.
or REVOKE statements unless and until the authorization
System Action: The statement cannot be executed. No privi- mechanism is enabled in the DB2 subsystem.
leges were revoked from any authorization ID.
Destination: 57002
Programmer Response: Check the appropriate authorization
catalog tables to verify that authid2 possesses the privilege to
-567 bind-type AUTHORIZATION ERROR USING
be revoked. Queries can be made with GRANTEE = authid2
auth-id AUTHORITY PACKAGE = package-name
and the privilege column not = blanks. Correct and reissue the
PRIVILEGE = privilege
REVOKE statement.
Explanation: The authorization ID given does not have the
If a user holding SYSADM or SYSCTRL authority receives this
privilege indicated, and cannot invoke the indicated subcom-
SQLCODE, the BY clause might have been omitted from the
mand against the indicated package.
REVOKE statement.
bind-type Type of bind subcommand (BIND |
Destination: 42504
REBIND | FREE).
auth-id Authorization ID of the package owner.
-557 INCONSISTENT GRANT/REVOKE KEYWORD
keyword. PERMITTED KEYWORDS ARE package-name Name of the package
keyword-list (location.collection.package.version)
Explanation: The GRANT or REVOKE statement contains a privilege Name of the privilege not held:
syntax or spelling error at or before the specified 'keyword'. As
BINDADD—The authority to create a
an aid to the programmer, 'keyword-list' provides a list of the
new package using BIND with the
keywords that would be permitted in this context.
ADD option.
Alternatively:
BIND—The authority to BIND
The mixture of privileges specified on the GRANT or (REPLACE) or REBIND a package.
REVOKE statement is not permitted. The privileges must
COPY—The authority to COPY from
all be of one type, and consistent with the form of the
the indicated package
GRANT or REVOKE statement.
CREATE IN—The authority to create
REVOKE UPDATE (column-list) is not permitted; only
a package in the indicated collection.
REVOKE UPDATE is valid.
System Action: The indicated package is not bound,
| The keywords DELETE, INSERT, SELECT, TRIGGER,
rebound, or freed.
| UPDATE, REFERENCES and ALTER cannot be specified
| for an auxiliary table. System Programmer Response: The indicated privilege
must be granted to the authorization ID that will become the
System Action: The statement cannot be executed.
package owner.
Destination: 42501
-571 THE STATEMENT WOULD RESULT IN A MUL- # -574 THE SPECIFIED DEFAULT VALUE OR IDEN-
TIPLE SITE UPDATE # TITY ATTRIBUTE VALUE CONFLICTS WITH
Explanation:
| THE DEFINITION OF COLUMN column-name
Ensure that all requests for modifications to the data are | System Action: The SQL statement cannot be executed.
confined to a single location within any given commit scope | Programmer Response: Specify a default value that is valid
for any application that references a location that does not | for the definition of the column.
support multi-site update.
Destination: 42894
For programs operating in an IMS or CICS environment
where the remote database systems do not support multi-
| -577 object-type object-name ATTEMPTED TO
site update, all SQL statements must be read-only access.
| MODIFY DATA WHEN THE DEFINITION OF
If an autobind is causing this SQLCODE to be issued, | THE FUNCTION OR PROCEDURE DID NOT
REBIND the plan or package. | SPECIFY THIS ACTION
Destination: 25000 # Explanation: The current environment does not allow SQL
# statements that modify data. One of the following situations
-573 TABLE table-name DOES NOT HAVE A # has occurred:
UNIQUE KEY WITH THE SPECIFIED COLUMN # A user-defined function or stored procedure object-name
NAMES # was invoked and attempted to modify data, but the function
Explanation: A referential constraint cannot be defined with # or procedure was defined without the MODIFIES SQL
the specified table as the parent because a unique index with # option.
the specified column names does not exist for the identified # A user-defined function or stored procedure object-name
parent table. # was invoked and attempted to execute a data definition
System Action: The statement cannot be executed. # statement, but the function or procedure was defined
# without the MODIFIES SQL option.
Programmer Response: Create a unique index with the
specified columns for the parent table. # A function or procedure defined with READS SQL DATA,
# CONTAINS SQL, or NO SQL has attempted to invoke
Destination: 42890 # another function or procedure defined with MODIFIES SQL
# DATA.
# In an environment of nested functions and procedures, the
# SQL option in effect is the most restrictive one that has been
# specified in the nested hierarchy of functions and procedures.
# The SQL data access option in effect does not allow for modi- numeric
# fying the data. date
time
| System Action: The SQL statement failed.
timestamp
# Programmer Response: Either use an ALTER statement to
System Action: The statement cannot be processed.
# change the definition of the function or procedure to allow
# statements that modify data, or remove the failing SQL state- Programmer Response: Correct the result-expressions so
# ment from the external function or procedure. that they are compatible.
| Destination: 38002 Destination: 42804
| System Action: The SQL statement failed. | in the expression prior to the first WHEN keyword in a
| simple-case-expression.
# Programmer Response: Either use an ALTER statement to
# change the definition of the function or procedure to allow | in the WHERE clause of the subselect in a CREATE VIEW
# statements that read data, or remove the failing SQL statement | statement if the WITH CHECK OPTION clause is specified.
# from the external function or procedure. | System Action: The statement cannot be executed.
| Destination: 38004 | Programmer Response: If the use of a not deterministic or
| external action function was not intended, substitute a function
-580 THE RESULT-EXPRESSIONS OF A CASE | without these characteristics. If the behavior associated with
EXPRESSION CANNOT ALL BE NULL | the not deterministic or external action function is intentional,
| use the alternate form of the statements that make that intent
Explanation: There is a CASE expression in the statement
| explicit.
that has all the result-expressions (expressions following the
THEN and ELSE keywords) coded with the keyword NULL. | Instead of a simple-when-clause, use the corresponding
| searched-when-clause where the function would get speci-
System Action: The statement cannot be processed.
| fied in each search-condition.
Programmer Response: Change the CASE expression to
| Remove the WITH CHECK OPTION from the CREATE
include at least one result-expression with a keyword other
| VIEW statement.
than NULL.
| Destination: 42845
Destination: 42625
| there is already a cast function existing with the same | Destination: 42611
| name as the source type and an input parameter of the
| distinct type name. -607 OPERATION OR OPTION operation IS NOT
| A RENAME statement specified a target name name, but DEFINED FOR THIS OBJECT
| an object with the same name is already defined in the | Explanation: The operation or option cannot be performed on
| DB2 subsystem. | the object specified in the SQL statement.
| System Action: The CREATE, ALTER or RENAME state- System Action: The statement cannot be executed.
| ment cannot be executed. No new object was created, no
| existing object was altered, and no existing object was Programmer Response: If an option of the SQL statement is
| renamed. not allowed for this object, modify the SQL statement and
resubmit the statement. If an operation is not defined for the
| Programmer Response: Either drop the existing object or object, the statement cannot be executed.
| choose another name. If obj-type is data set, do an IDCAMS
| DELETE of the data set before retrying the CREATE. Refer to Destination: 42832
| Chapter 3 of DB2 SQL Reference for information about the
| scope of object names in DB2. -611 ONLY LOCKMAX 0 CAN BE SPECIFIED WHEN
| Destination: 42710 THE LOCK SIZE OF THE TABLESPACE IS
TABLESPACE OR TABLE
-602 TOO MANY COLUMNS SPECIFIED IN A Explanation: This message is issued when:
CREATE INDEX The LOCKSIZE of the table space is TABLESPACE or
Explanation: The number of columns specified in the TABLE, and LOCKMAX is being altered to or created as a
CREATE INDEX statement exceeds 64, the maximum per- nonzero value.
mitted by DB2. The LOCKSIZE of the table space is being altered to
System Action: The statement cannot be executed. The TABLESPACE or TABLE, and LOCKMAX is being altered
specified index was not created. to or created as a nonzero value.
Programmer Response: The index definition must be modi- If LOCKSIZE is TABLESPACE or TABLE, LOCKMAX must be
fied to conform to the system-imposed column limit of 64. 0 because lock escalation is not supported from these levels.
Explanation: The index defined in the CREATE INDEX state- Destination: 53088
ment could not be created as unique because the specified
table already contains rows that are duplicates with respect to -612 column-name IS A DUPLICATE COLUMN NAME
the values of the identified columns.
| Explanation: The CREATE INDEX, CREATE TABLE,
System Action: The statement cannot be executed. | CREATE VIEW or ALTER TABLE statement specifies the
Programmer Response: Examine the data to ascertain | same 'column-name' for two (or more) columns of the index,
whether or not the duplicate data is valid. Alternatively, con- | table, view, or the UPDATE OF clause of a trigger definition
sider creating a nonunique index. | specifies the same column name more than once. Column
| names must be unique within an index, a table, a view, or in
Destination: 23515 | the UPDATE OF clause of a trigger definition. A column cannot
| be specified in more than one ALTER TABLE clause except if
| -604 A DATA TYPE DEFINITION SPECIFIES AN | it is specified in an ALTER COLUMN clause and ADD CHECK
| INVALID LENGTH, PRECISION, OR SCALE | CONSTRAINT clause.
| ATTRIBUTE | System Action: The statement cannot be executed. The
| Explanation: A data type definition in a CREATE or ALTER | specified index, table, view, or trigger was not created.
| statement contains an invalid length, precision, or scale attri- | Programmer Response: Correct the CREATE statement to
| bute specification. In addition, the specification of data type | specify unique names for each of the columns of the index,
| might be incorrect or invalid. Or, the column definition in a view | table, view, or the columns in the UPDATE OF clause of a
| referenced in a CREATE TABLE LIKE view has an invalid | trigger definition. Correct the ALTER statement to specify
| length. | unique names for each of the ALTER COLUMN clauses.
| System Action: The statement cannot be executed. The This error can also occur on CREATE TABLE when a column
| specified object was not created or altered. list of a PRIMARY KEY, FOREIGN KEY, or UNIQUE clause
| Programmer Response: Correct the syntax, and resubmit contains two or more occurrences of the same column name.
| the statement. Refer to Chapter 3 of DB2 SQL Reference for Destination: 42711
| information about valid length, precision, and scale attributes
| for the data type of an object.
Execution of the specified DROP statement would drop object Programmer Response: Issue the -DISPLAY DATABASE
'obj-name1' of type 'obj-type1' on which object 'obj-name2' of command to verify that the work file database is stopped
type 'obj-type2' is dependent. before resubmitting the statement.
Destination: 55011
-623 A CLUSTERING INDEX ALREADY EXISTS ON
TABLE table-name
-620 KEYWORD keyword IN stmt type STATEMENT
# IS NOT PERMITTED FOR A space type SPACE Explanation: The CREATE INDEX statement would create a
# IN THE database type DATABASE second cluster index on the specified table. A given table can
have only one cluster index.
# Explanation: The specified keyword in the SQL statement
# stmt type indicates an attribute that is not allowed for a space System Action: The statement cannot be executed.
# type space in the database type database. Programmer Response: Check to determine the identity and
# keyword Specifies the keyword that is not allowed. validity of the existing cluster index on the object table. Alterna-
tively, consider creating the index without the CLUSTER attri-
# stmt type CREATE or ALTER bute.
# CREATE is for CREATE TABLESPACE or Destination: 55012
# CREATE INDEX.
# ALTER is for ALTER TABLESPACE or ALTER -624 TABLE table-name ALREADY HAS A PRIMARY
# INDEX. KEY
# space type TABLE or INDEX Explanation: The code is used to report that a primary key
# TABLE is for table space, and INDEX is for index cannot be defined in an ALTER TABLE statement because the
# space. indicated table already has a primary key.
# database type WORK FILE or TEMP System Action: The statement cannot be run.
System Action: The statement cannot be executed. Programmer Response: A table cannot have more than one
primary key.
# Programmer Response: Refer to DB2 SQL Reference for
# information about attributes that are allowed or not allowed for Destination: 42889
# a space type space in a database type database. Correct and
# resubmit the stmt type statement. -625 TABLE table-name DOES NOT HAVE AN
Destination: 53001 INDEX TO ENFORCE THE UNIQUENESS OF
THE PARENT KEY
-621 DUPLICATE DBID dbid WAS DETECTED AND Explanation: The code is used to report that an ALTER
PREVIOUSLY ASSIGNED TO database-name TABLE statement is invalid because the table does not have a
unique index with a key that is identical to the nominated
Explanation: The current database being created was PARENT KEY.
assigned a DBID of 'dbid', which is identical to the DBID
assigned to database 'database-name'. An inconsistency System Action: The statement cannot be executed.
exists between the DB2 catalog and directory. Programmer Response: Make sure the key list specified on
System Action: The statement cannot be executed. No new the ALTER TABLE statement identifies an existing unique
object was created, and the existing object was not altered or index of the table.
modified. Destination: 55014
Programmer Response: Notify the system programmer. The
inconsistency must be corrected before CREATE DATABASE -626 THE ALTER STATEMENT IS NOT EXECUT-
will be successful. ABLE BECAUSE THE PAGE SET IS NOT
System Programmer Response: If you suspect an error in STOPPED
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference Explanation: An ALTER statement specifies a
for information on identifying and reporting the problem. BUFFERPOOL, USING, PRIQTY, SECQTY, ERASE, or
Destination: 58001 GBPCACHE clause, but the page set is not stopped.
System Action: The SQL statement cannot be executed.
-622 FOR MIXED DATA IS INVALID BECAUSE THE Programmer Response: Stop the page set before resubmit-
MIXED DATA INSTALL OPTION IS NO ting the statement.
Explanation: FOR MIXED DATA is specified in a column Destination: 55015
| description of a CREATE or ALTER TABLE, a CREATE
| FUNCTION, or a CREATE PROCEDURE statement, but the
-627 THE ALTER STATEMENT IS INVALID
MIXED DATA install option is set to NO. FOR MIXED DATA is
BECAUSE THE PAGESET HAS
valid only when the MIXED DATA install option is set to YES.
USER-MANAGED DATA SETS
System Action: The statement is not executed.
Explanation: This code is used if a PRIQTY, SECQTY, or
Programmer Response: Either change the install option or ERASE clause is specified, USING STOGROUP is not speci-
the FOR clause. If the install option is correctly set to NO, the fied, and the page set has user-managed data sets.
allowable FOR clause options are BIT and SBCS.
System Action: The SQL statement cannot be executed.
Destination: 56031
Programmer Response: Verify that the correct table or parti-
tion is specified. The primary and secondary space allocation
of a user-managed data set cannot be altered by means of an
ALTER statement.
-633 THE DELETE RULE MUST BE delete-rule System Action: The statement cannot be executed. The
specified cluster index was not created.
Explanation: The code is used to report that the
'delete-rule' specified in a FOREIGN KEY clause of the Programmer Response: Correct the limit key value specifi-
ALTER TABLE statement is invalid. The indicated 'delete-rule' | cations in the CREATE INDEX or ALTER INDEX statement
is required because: | for the identified partition so that the limit key values for suc-
cessive partitions are in strictly ascending or descending order.
A self-referencing constraint must have a 'delete-rule' of
CASCADE or NO ACTION. Destination: 56016
Programmer Response: Change the 'delete rule' in the System Action: The statement cannot be executed.
FOREIGN KEY clause. Programmer Response: Correct the statement to eliminate
Destination: 42915 all but one specification for the keyword.
Destination: 42614
-634 THE DELETE RULE MUST NOT BE CASCADE
Explanation: The code is used to report that the CASCADE -638 TABLE table-name CANNOT BE CREATED
delete rule specified in the FOREIGN KEY clause of an ALTER BECAUSE COLUMN DEFINITION IS MISSING
TABLE statement is invalid because: Explanation: The CREATE TABLE statement does not
The relationship would form a cycle that would cause a contain any column definition.
table to be delete-connected to itself. System Action: The SQL statement cannot be executed.
The relationship would cause another table to be delete- Programmer Response: Add column definition to the state-
connected to the same table through multiple paths with ment.
different delete rules or with a delete rule equal to SET
Destination: 42601
NULL.
System Action: The statement cannot be executed.
-639 A NULLABLE COLUMN OF A FOREIGN KEY
Programmer Response: Change the delete rule. WITH A DELETE RULE OF SET NULL
Destination: 42915 CANNOT BE A COLUMN OF THE KEY OF A
PARTITIONED INDEX
-635 THE DELETE RULES CANNOT BE DIFFERENT Explanation: A partition key of the clustering index cannot be
OR CANNOT BE SET NULL updated. Therefore, a foreign key column with a delete rule of
SET NULL cannot be a column of a partition key if that column
Explanation: The code is used to report that the delete rules is nullable. If this error occurs for an ALTER TABLE operation,
specified in two FOREIGN KEY clauses of the CREATE the foreign key cannot be created. If this error occurs for a
TABLE statement are invalid because the table would be CREATE INDEX operation, the index cannot be created.
delete-connected to the same table through multiple paths
involving relationships with different delete rules or with delete System Action: The statement cannot be executed.
rules of SET NULL. Programmer Response: Review the delete rule of the refer-
System Action: The statement cannot be executed. ential constraint and the partition keys for the index. Do one of
the following:
Programmer Response: Change the delete rule.
If the operation in error was CREATE INDEX, either
Destination: 42915 change the index partition key definition or drop and rede-
fine the referential constraint with a different delete rule.
If the operation in error was ALTER TABLE, change the
referential delete rule so that all nullable index keys are not
part of the foreign keys.
Destination: 56027
-640 LOCKSIZE ROW CANNOT BE SPECIFIED -644 INVALID VALUE SPECIFIED FOR KEYWORD
BECAUSE TABLE IN THIS TABLESPACE HAS keyword IN stmt-type STATEMENT
TYPE 1 INDEX
Explanation: The value specified for the 'keyword' param-
Explanation: If LOCKSIZE ROW is specified for a table eter in the 'stmt-type' SQL statement is not a permitted value.
space, all indexes on tables in the table space must be type 2
System Action: The SQL statement cannot be executed.
indexes. The following SQL statement identifies all the type 1
indexes: Programmer Response: Correct the statement. Refer to
Chapter 6 of DB2 SQL Reference for information about the
SELECT I.CREATOR, I.NAME
FROM SYSIBM.SYSINDEXES I, permissible values for the 'keyword' keyword in 'stmt-type'
SYSIBM.SYSTABLES T statements.
WHERE INDEXTYPE = ' ' Destination: 42615
AND T.TSNAME = 'table_space_name'
AND T.DBNAMe = 'database_name'
AND T.CREATOR = I.TBCREATOR | -646 TABLE table-name CANNOT BE CREATED IN
AND T.NAME = I.TBNAME; | SPECIFIED TABLE SPACE table-space-name
| BECAUSE IT ALREADY CONTAINS A TABLE
where 'table_space_name' is the name of the table space that
is to be altered; 'database_name' is the name of the database | Explanation: The table space specified in a CREATE TABLE
that contains the table space. | statement is a partitioned, default, or LOB table space in which
| an existing table already resides. Only one table may reside in
System Action: The statement cannot be executed.
| a partitioned, default, or LOB table space.
Programmer Response: Since the LOCKSIZE ROW on the
| System Action: The statement cannot be executed. The
table space and the type 1 indexes conflict, either use the
| specified table was not created.
ALTER INDEX statement to convert all type 1 indexes to type
2 indexes or use another LOCKSIZE option. | Programmer Response: Verify that the correct table space
| was specified in the CREATE statement. Do not attempt to
Destination: 56089
| create more than one table in a partitioned, default, or LOB
| table space.
-642 TOO MANY COLUMNS IN UNIQUE CON-
| Destination: 55017
STRAINTS
Explanation: There is a limit to the total number of columns
-647 BUFFERPOOL bp-name CANNOT BE SPECI-
that can be used in UNIQUE constraints in a CREATE TABLE
FIED BECAUSE IT HAS NOT BEEN ACTI-
statement. The statement exceeds the limit.
VATED
System Action: The statement is not executed.
Explanation: The buffer pool specified in a CREATE or
Programmer Response: Change the statement to remove ALTER statement for a table space or index (index space) is
some of the unique constraints. You can impose the same not activated.
constraints later by creating unique indexes on the table, using
Table spaces and indexes (index spaces) can only be
CREATE INDEX.
assigned or reassigned to buffer pools that are currently acti-
Destination: 54021 vated.
System Action: The statement cannot be executed. The
-643 CHECK CONSTRAINT EXCEEDS MAXIMUM specified table space or index space was not created or
ALLOWABLE LENGTH altered.
Explanation: The check constraint definition exceeds the Programmer Response: Verify that the proper buffer pool
maximum allowable limit of 3800 characters. The redundant was specified in the CREATE or ALTER statement. Use the
blank spaces are excluded from this limit. -DISPLAY BUFFERPOOL command to display the attributes of
the buffer pool and determine if the buffer pool is activated. If
System Action: The CREATE TABLE or ALTER TABLE
the buffer pool is not activated, use the -ALTER
statement failed.
BUFFERPOOL command to change the VPSIZE from 0 to the
Programmer Response: Rewrite the check constraint defi- desired size.
nition so that it is less than 3800 characters. You might need
Destination: 57003
to divide the check constraint into two or more smaller check
constraints.
-650 THE ALTER INDEX CANNOT BE EXECUTED,
Destination: 54024
REASON reason
| Explanation: The ALTER INDEX statement cannot be exe-
| cuted for one of the following reasons:
| 1 Alter to type 1 index is not allowed for the index whose
| associated table space has a LOCKSIZE specification of
| ROW.
| 2 Alter to type 1 index is not allowed for the index defined
| with UNIQUE WHERE NOT NULL.
| 3 Alter to type 1 index is not allowed for the index whose System Action: The statement cannot be executed.
| associated table space has been defined as a LARGE
Programmer Response: Verify that the correct table was
| table space.
specified in the statement. If so, ensure that the partitioned
| 4 Alter to type 1 index is not allowed for an index on an index for the table has been created successfully before
| ASCII table. attempting to execute any SQL manipulative statements that
reference that table.
| 5 Alter PIECESIZE is not allowed for a partitioning index.
Destination: 57004
| 6 Alter PIECESIZE 4G is not allowed for non-partitioned
| indexes on a non-LARGE table.
-655 THE CREATE OR ALTER STOGROUP IS
# 11 Alter VALUES is not allowed for an index on a partitioned
INVALID BECAUSE THE STORAGE GROUP
# base table with LOB columns.
WOULD HAVE BOTH SPECIFIC AND
System Action: The ALTER INDEX statement is not exe- NON-SPECIFIC VOLUME IDS
cuted.
Explanation: One of the following error conditions occurred:
Programmer Response: Correct the error according to the
Both a specific and a non-specific ('*') volume ID are
given reason and execute the statement again.
specified in the VOLUMES clause of a CREATE
Destination: 56090 STOGROUP statement.
Both a specific and a non-specific ('*') volume ID are
-651 TABLE DESCRIPTION EXCEEDS MAXIMUM specified in an ADD VOLUMES clause of an ALTER
SIZE OF OBJECT DESCRIPTOR. STOGROUP statement.
Explanation: The CREATE TABLE or ALTER TABLE state- A specific volume ID is specified in an ADD VOLUMES
ment causes the table descriptor (record OBD) to exceed the clause of an ALTER of a storage group that has non-
object descriptor size limit of 32KB. specific volume IDs or mixed volume IDs.
Programmer Response: Change the statement by reducing A non-specific volume ID ('*') is specified in an ADD
either the number or length (or a combination of both) of the VOLUMES clause of an ALTER of a storage group that
user-defined default string constants or check constraints and has specific volume IDs or mixed volume IDs.
execute the statement again.
System Action: The statement is not executed.
System Action: The statement is not executed. For an
Programmer Response: Specify either specific or non-
ALTER TABLE statement, the definition of the table is
specific volume IDs in the VOLUMES clause of CREATE
unchanged. For a CREATE TABLE statement, the table is not
STOGROUP statement and the ADD VOLUMES clause of the
created.
ALTER STOGROUP statement. To add specific volume IDs to
Destination: 54025 a storage group with non-specific volume IDs, use the
REMOVE VOLUMES clause to remove the non-specific
-652 VIOLATION OF INSTALLATION DEFINED EDIT volume IDs. To add non-specific volume IDs to a storage
OR VALIDATION PROCEDURE proc-name group with specific volume IDs, use the REMOVE VOLUMES
clause to remove the specific volume IDs.
Explanation: The result of the SQL statement has been
rejected by the installation defined edit or validation procedure Destination: 56036
'proc-name' for the object table.
System Action: The statement cannot be executed. The con- -658 A object-type CANNOT BE DROPPED USING
tents of the object table were not modified. THE statement STATEMENT
Programmer Response: Determine the requirements Explanation: A DROP statement was issued, but the object
imposed by the edit or validation procedure for inserts and cannot be explicitly dropped. The object must be dropped by
updates of the object table. dropping an associated object:
-660 INDEX index-name CANNOT BE CREATED OR -663 THE NUMBER OF KEY LIMIT VALUES IS
ALTERED ON PARTITIONED TABLE SPACE EITHER ZERO, OR GREATER THAN THE
tspace-name BECAUSE KEY LIMITS ARE NOT NUMBER OF COLUMNS IN THE KEY OF
SPECIFIED INDEX index-name
| Explanation: The CREATE INDEX or ALTER INDEX state- | Explanation: The number of limit key value specifications
| ment did not specify limit key values for the partitions of the | provided in at least one of the PART specifications of the
| table space. To create a clustering index for a table in a parti- | CREATE INDEX or ALTER INDEX statement is either zero or
| tioned table space, or to modify those values using ALTER | greater than the number of columns in the index key.
| INDEX, you must include those values.
System Action: The statement cannot be executed. The
| System Action: The statement cannot be executed. The specified index was not created.
| specified cluster index was not created or altered.
Programmer Response: Correct the statement so that each
| Programmer Response: Verify that the correct table was PART specification contains exactly the same number of limit
| specified in the CREATE INDEX or ALTER INDEX statement. key value specifications as there are columns in the index key.
| If so, the definition for the partitioned table space must be
Destination: 53038
| examined so that a proper definition for the cluster index for
| the table may be constructed. Refer to Chapter 6 of DB2 SQL
| Reference for information about the requirements that must be -665 THE PART CLAUSE OF AN ALTER STATE-
| satisfied by the definitions for the cluster indexes for partitioned MENT IS OMITTED OR INVALID
| tables. Explanation: The ALTER statement is invalid for one of the
Destination: 53035 following reasons:
The table space or index is not partitioned and the PART
-661 INDEX index-name CANNOT BE CREATED ON clause is specified.
PARTITIONED TABLE SPACE tspace-name The table space or index is partitioned, a partition attribute
BECAUSE THE NUMBER OF PART SPECIFI- (FREEPAGE or PCTFREE) is specified, and the PART
CATIONS IS NOT EQUAL TO THE NUMBER clause is not specified.
OF PARTITIONS OF THE TABLE SPACE
The integer specified in the PART clause does not identify
Explanation: The CREATE INDEX statement for the cluster a partition of the table space or index.
index on a partitioned table (that is, a table residing in a parti-
tioned table space) does not contain the same number of A USING, PRIQTY, SECQTY, or ERASE clause is used to
PART specifications as there are partitions in the table space. alter storage attributes, but the partition is not specified.
The definition for the cluster index for a partitioned table must A GBPCACHE clause is used to alter the group buffer pool
contain exactly as many PART specifications as there are par- caching attributes, but the partition is not specified.
titions in the table space in which that table resides. Also, the
part numbers must be valid and unique. | The VALUES clause is specified without the PART clause.
| You must specify PART to change VALUES.
System Action: The statement cannot be executed. The
specified cluster index was not created. System Action: The SQL statement cannot be executed.
Programmer Response: Examine the definition of the parti- Programmer Response: Determine whether the table space
tioned table space to determine how many partitions have or index you want to alter is partitioned. If it is partitioned,
been specified, and then correct the syntax of the CREATE specify a PART clause that identifies the partition you want to
INDEX statement to provide the proper number of PART spec- alter. If it is not partitioned, do not specify the PART clause.
ifications. Refer to Chapter 6 of DB2 SQL Reference for infor- Destination: 53039
mation about the definitions for cluster indexes on partitioned
tables.
-666 stmt-verb object CANNOT BE EXECUTED
Destination: 53036 BECAUSE function IS IN PROGRESS
Explanation: The SQL statement could not be executed
-662 A PARTITIONED INDEX CANNOT BE because the named function was executing at the time.
CREATED ON A NON-PARTITIONED TABLE
stmt-verb The type of data definition language (DDL)
SPACE tspace-name
statement
Explanation: The CREATE INDEX statement contains PART
object The DB2 object type
specifications, but the specified object table is not partitioned
(that is, does not reside in a partitioned table space). function A utility, the governor, or the distributed
data facility (DDF)
System Action: The statement cannot be executed. The
specified index was not created. If the object is part of the communications database, it cannot
be dropped while the DDF is active.
Programmer Response: Verify that the proper object table
was specified in the statement. Refer to Chapter 6 of DB2 SQL System Action: The statement was not executed.
Reference for information about the proper usage of PART
Programmer Response: If the function is a utility, wait for
specifications in CREATE INDEX statements.
the function to complete or stop. Then resubmit the statement
Destination: 53037 for execution.
If the function is the governor, the statement cannot be exe-
cuted until the resource limit facility is stopped or switched to a
different resource limit specification table (RLST). In a DB2 for the table would exceed the page size of the specified
data sharing environment, the resource limit facility must be (or default) table space.
stopped on all members of the DB2 data sharing group or all
In the case of an ALTER TABLE statement, addition of the
members must switch to an RLST that is not associated with
specified column would cause the row length of the table
the object.
to exceed the page size of the table space.
If the function is the DDF, the facility must be stopped before
| In the case of an ALTER TABLE statement used to alter
the object can be dropped. In a DB2 data sharing environment,
| the length of an existing variable length column, the new
the facility must be stopped on all members of the DB2 data
| length of the altered column would cause the row length of
sharing group.
| the table to exceed the page size of the table space.
Destination: 57005
The row length in the result of a join exceeds the page
size of a work file table space.
-667 THE CLUSTERING INDEX FOR A PARTI-
TIONED TABLE SPACE CANNOT BE EXPLIC-
# The row length of a large sort record exceeds the page
ITLY DROPPED
# size of a work file table space. The sort record includes
# columns that are being sorted and columns that the user
Explanation: The DROP INDEX statement attempted to drop # selects. The length of the columns that are being sorted is
the cluster index for a table residing in a partitioned table # the sort key length. The length of the columns that the user
space. The cluster index for such a table cannot be dropped # selects is the sort data length.
explicitly with the DROP INDEX statement.
System Action: The statement cannot be executed. The
System Action: The statement cannot be executed. The object table was not created or altered.
specified index was not dropped.
| Programmer Response: In the case of CREATE TABLE,
Programmer Response: The cluster index for a table in a | either (1) the row length of the table must be reduced (by elim-
partitioned table space can only be dropped implicitly when the | inating or reducing the lengths of one or more of the columns),
associated partitioned table space is dropped. | or (2) the table must be assigned to a table space that uses a
Destination: 42917 | larger buffer pool (assuming that the row length of the table
| does not exceed that page size limit).
-668 THE COLUMN CANNOT BE ADDED TO THE In the case of ALTER TABLE, either (1) the length of the
TABLE BECAUSE THE TABLE HAS AN EDIT column to be added to the table must be reduced or, (2) if the
PROCEDURE row length of the table is already at the maximum, the table
cannot be altered to add any additional columns.
Explanation: The ALTER TABLE statement attempted to add
a column to a table that has an edit procedure. If a table has In the case of a row length that exceeds the page size of a
an edit procedure, no columns can be added to it. work file table space, eliminate columns from the result of the
join.
System Action: The statement cannot be executed. The
specified table was not altered. # In the case of a large sort record in which the row length
# exceeds the page size of a work file table space, eliminate
Programmer Response: Verify that the correct table was # columns from the SELECT list or reduce the number of
specified in the ALTER statement. Do not attempt to ALTER # columns that are being sorted.
the definition of a table that has an installation-written edit pro-
cedure associated with it. Destination: 54010
Destination: 56018
-671 THE BUFFERPOOL ATTRIBUTE OF THE
TABLE SPACE CANNOT BE ALTERED AS
-669 A TABLE IN A PARTITIONED TABLE SPACE SPECIFIED BECAUSE IT WOULD CHANGE
CANNOT BE EXPLICITLY DROPPED THE PAGE SIZE OF THE TABLE SPACE
Explanation: The DROP TABLE statement attempted to drop Explanation: For example, the change to the buffer pool attri-
a table that resides in a partitioned table space. bute for the table space specified in the ALTER TABLESPACE
System Action: The statement cannot be executed. The statement would change the page size of the table
specified table was not dropped. space—either from 4KB to 32KB, 8KB to 16KB, or vice versa.
Programmer Response: The table of a partitioned table Use of the ALTER TABLESPACE statement to change the
space can only be dropped implicitly when the table space page size of a table space is not permitted.
itself is dropped. System Action: The statement cannot be executed. The
Destination: 42917 table space definition was not altered.
Programmer Response: For example, if the table space
-670 THE RECORD LENGTH OF THE TABLE uses one of the 4KB buffer pools (for example, BP0, BP1, or
EXCEEDS THE PAGE SIZE LIMIT BP2), it can be reassigned to one of the other 4KB buffer pools
(but not buffer pool BP32K). If, however, it is assigned to buffer
Explanation: The row length for a table cannot exceed the
pool BP32K, the buffer pool assignment cannot be subse-
page size of the table space in which that table resides (or is
quently altered.
to reside). The page size of the table space is determined by
the buffer pool used by that table space. Destination: 53040
One of following conditions may occur:
As defined in a CREATE TABLE statement, the row length
One of the following messages has also been sent to the MVS
-672 OPERATION DROP NOT ALLOWED ON TABLE
console: DSNB601I, DSNB603I, or DSNB605I. Refer to
table_name
“Section 3. DB2 Messages” on page 117 for explanations of
Explanation: The DROP operation failed for one of the fol- these messages.
lowing reasons:
Destination: 57011
The table being dropped has the RESTRICT ON DROP
attribute. -678 THE LITERAL literal SPECIFIED FOR THE
The table space or database being dropped contains the INDEX LIMIT KEY MUST CONFORM TO THE
specified table, which has the RESTRICT ON DROP attri- DATA TYPE data-type OF THE CORRE-
bute. SPONDING COLUMN column-name
System Action: The DROP statement cannot be executed. | Explanation: The index limit key value 'literal' has been
| specified incorrectly in the CREATE INDEX or ALTER INDEX
Programmer Response: Before dropping the table, alter the
| statement.
table, specifying DROP RESTRICT ON DROP.
Limit key value specifications must conform to the data type of
For DROP TABLESPACE or DROP DATABASE, make sure
the corresponding index key column. In this case, the 'literal'
that there are no other tables within the table space or data-
must be of data type 'data-type' to conform to the data type of
base with the RESTRICT ON DROP attribute. The following
column 'column-name'.
SELECT statement can identify the tables:
System Action: The statement cannot be executed. The
SELECT CREATOR, NAME
specified index was not created.
FROM SYSIBM.SYSTABLES
WHERE TYPE = 'T' Programmer Response: Correct the statement so that each
AND CLUSTERTYPE = 'Y' limit key value literal is of precisely the same data type as that
AND DBNAME = 'database_name' of the corresponding index key column.
AND TSNAME = 'tablespace_name';
Destination: 53045
Destination: 55035
-677 INSUFFICIENT VIRTUAL STORAGE FOR # -680 TOO MANY COLUMNS SPECIFIED FOR A
BUFFERPOOL EXPANSION # TABLE, VIEW OR TABLE FUNCTION
Explanation: An attempt to either open (create) or expand a # Explanation: The maximum number of columns permitted
buffer pool has failed because insufficient virtual storage was # per table, view, or table function is 750. The statement
available. # attempted to perform one of the following actions:
This error may occur under either of two circumstances: # CREATE or ALTER a table to contain more than 750
An attempt to create a buffer pool while opening a table # columns
space or index(space), or # CREATE a view with more than 750 columns
An attempt to expand a buffer pool from its current size to
its maximum size. # CREATE a table function with more than 750 columns in
# the RETURNS TABLE clause
System Action: The statement cannot be executed.
System Action: The statement cannot be executed.
Programmer Response: If this error should occur during
interactive execution of an SQL statement or execution of an # Programmer Response: Change the CREATE statement to
application program, installation administration should be noti- # not include more than 750 columns, or do not try to alter an
fied. # existing table to contain more than 750 columns.
| Destination: 42842
-681 COLUMN column-name IN VIOLATION OF
INSTALLATION DEFINED FIELD PROCEDURE.
RT: return-code, RS: reason-code, MSG: -684 THE LENGTH OF LITERAL LIST BEGINNING
message-token string IS TOO LONG
Explanation: An installation field procedure returned an error Explanation: The length of the literal list beginning with
for 'column-name'. The 'reason-code' and 'message-token' 'string', excluding insignificant blanks and delimiting paren-
are defined by the field procedure. They may give additional theses is greater than 255.
information to help determine the cause of the problem. System Action: The statement cannot be executed.
Return code Error Programmer Response: Correct the SQL statement.
4 Invalid value on encode or decode or
invalid column description on define Destination: 54012
8 Invalid parameter value
12 Field procedure error on any function -685 INVALID FIELD TYPE, column-name
Use 'reason-code' and 'message-token' for additional infor- Explanation: The field description returned by the field proce-
mation. dure is invalid. The data type code denotes a long string or
has an invalid value.
System Action: The statement cannot be executed.
System Action: The statement cannot be executed.
Programmer Response: If it is not a field procedure error,
determine the requirements imposed by the field procedure. If Programmer Response: Correct the field procedure so that it
it is a field procedure error, examine the field procedure. returns a valid data type code.
Destination: 23507 Destination: 58002
-682 FIELD PROCEDURE procedure-name COULD -686 COLUMN DEFINED WITH A FIELD PROCE-
NOT BE LOADED DURE CAN NOT COMPARE WITH ANOTHER
COLUMN WITH DIFFERENT FIELD PROCE-
Explanation: The field procedure 'procedure-name' cannot
DURE
be loaded.
Explanation: The columns specified are not compatible. Dif-
System Action: The statement cannot be executed.
ferent field procedures are specified, or only one field proce-
Programmer Response: The application should either dure is specified.
commit or roll back to previous COMMIT. Then, in general, the
System Action: The statement cannot be executed.
application should terminate.
Programmer Response: Correct the SQL statement. Refer
Destination: 57010
to Chapter 3 of DB2 SQL Reference for comparison
restrictions between columns defined with a field procedure.
| -683 THE SPECIFICATION FOR COLUMN, DISTINCT
| TYPE, FUNCTION, OR PROCEDURE data-item Destination: 53043
| CONTAINS INCOMPATIBLE CLAUSES
-687 FIELD TYPES INCOMPARABLE
| Explanation: There is an error in the data item specification
| in a CREATE or ALTER statement. Incompatible specifications Explanation: One column cannot be compared with another
| are present such as "INTEGER and FOR BIT DATA". The column that has incompatible field types.
| location of the error is given by data-item as follows:
System Action: The statement cannot be executed.
| For a CREATE or ALTER TABLE statement, data-item
Programmer Response: Correct the SQL statement. Refer
| gives the name of the column containing the error. The
to Chapter 3 of DB2 SQL Reference for comparison
| error could be an invalid specification of FOR BIT DATA,
restrictions between columns defined with a field procedure.
| FOR SBCS DATA, FOR MIXED DATA, or FIELDPROC for
| column data-item. Destination: 53044
| For a CREATE FUNCTION or CREATE PROCEDURE
| statement, data-item is a token that identifies the area of -688 INCORRECT DATA RETURNED FROM FIELD
| the problem in the statement. For example, "PARAMETER PROCEDURE, column-name, msgno
| 3" or "RETURNS" or "CAST FROM". Explanation: Unexpected data returned from field procedure
| For a CREATE DISTINCT TYPE statement, data-item for column 'column-name'. For more information see
| gives the name of the type being defined. 'msgno'.
| System Action: The statement cannot be executed. System Action: The statement cannot be executed.
| Programmer Response: Correct the SQL statement by Programmer Response: Correct the field procedure so that it
| removing the incompatible specification. returns values that are consistent with their descriptions.
Destination: 58002
Programmer Response: Resubmit the job. If the same error | Explanation: The value specified in the SET special-register
happens, check for the application that issued the DROP state- | statement is not a valid value of the indicated special register.
ment for the application registration table or the object registra- System Action: The statement cannot be executed.
tion table. Either commit the DROP statement which dropped
the table and create a new application registration table or Programmer Response: Correct the replacement value. See
object registration table, or issue a ROLLBACK for the DROP DB2 SQL Reference for an explanation of the valid values of
statement to put the tables back. each special register.
| -696 THE DEFINITION OF TRIGGER trigger-name -715 PROGRAM program-name WITH MARK release-
| INCLUDES AN INVALID USE OF CORRE- dependency-mark FAILED BECAUSE IT
| LATION NAME OR TRANSITION TABLE NAME DEPENDS ON FUNCTIONS OF THE RELEASE
| name. REASON CODE=reason-code FROM WHICH FALLBACK HAS OCCURRED
| Explanation: The trigger definition included an invalid use of Explanation: Program 'program-name' depends on a func-
| name tion of DB2 that is not supported by the current active release.
| trigger-name The trigger that encountered the error program-name Name of the application program.
Destination: 56053
-726 BIND ERROR ATTEMPTING TO REPLACE
PACKAGE = <package_name>. THERE ARE
ENABLE OR DISABLE ENTRIES CURRENTLY -731 USER-DEFINED DATASET dsname MUST BE
ASSOCIATED WITH THE PACKAGE DEFINED WITH SHAREOPTIONS(1,3)
Explanation: The BIND subcommand was issued to replace Explanation: The VSAM SHAREOPTIONS must be (1,3) for
a package that has ENABLE or DISABLE entries currently all of the indexes and table spaces in the database. The user-
associated with the package. defined data set identified did not meet this requirement.
System Action: Package not bound. System Action: The statement cannot be executed.
System Programmer Response: FREE the package first Programmer Response: Insure that the data sets used in
and then BIND the package. the shared database are defined with the proper
SHAREOPTIONS.
Destination: 55030
Destination: 56054
| -728 DATA TYPE data-type IS NOT ALLOWED IN
| DB2 PRIVATE PROTOCOL PROCESSING -732 THE DATABASE IS DEFINED ON THIS SUB-
SYSTEM WITH THE ROSHARE READ ATTRI-
| Explanation: An SQL statement uses a data type that cannot BUTE BUT THE TABLE SPACE OR INDEX
| be used with DB2 private protocol. Data types such as LOBs SPACE HAS NOT BEEN DEFINED ON THE
| (large objects), row IDs and user defined types cannot be OWNING SUBSYSTEM
| accessed using DB2 private protocol.
Explanation: Prior to creating a table space or index in a
| System Action: The statement cannot be executed. database with the ROSHARE READ attribute, that object must
| Programmer Response: If this is an invalid data type, first be defined on the owning subsystem.
| correct the statement. If this is a valid (but disallowed) data System Action: The statement cannot be executed.
| type, you can:
Programmer Response: Verify that the table space or index
| Remove access to the data type listed, and re-execute the has been defined on the owning system in a ROSHARE
| statement. OWNER database.
| Change the application program so that DRDA is used to Destination: 56055
| access the data.
| BIND the package containing the statement to the remote -733 THE DESCRIPTION OF A TABLE SPACE,
| site with bind option DBPROTOCOL(DRDA) and rerun the INDEX SPACE, OR TABLE IN A ROSHARE
| program. READ DATABASE MUST BE CONSISTENT
| Refer to the DB2 SQL Reference for more information. WITH ITS DESCRIPTION IN THE OWNER
SYSTEM
| Destination: 56080
Explanation: This code is issued while creating a table
space, index, or table in the ROSHARE READ database.
| -729 A STORED PROCEDURE SPECIFYING
These objects must be consistent with their descriptions in the
| COMMIT ON RETURN CANNOT BE THE
ROSHARE OWNER database as follows:
| TARGET OF A NESTED CALL STATEMENT
For a table space, the following attributes must be the
| Explanation: A stored procedure defined with the COMMIT
same:
| ON RETURN attribute was called from a stored procedure,
| user-defined function, or trigger. Stored procedures defined Page size
| with COMMIT ON RETURN cannot be nested in this way. Segment size
Number of partitions
| System Action: The SQL statement is not executed. If the
| CALL statement references a remote server, the unit of work is For an index, the following attributes must be the same:
| placed in a must rollback state. Number of partitions
| Programmer Response: Remove the CALL to the stored Number of subpages
| procedure that was defined with the COMMIT ON RETURN Table OBID
| attribute. Total key length
Index type (Type 1 or Type 2 Index)
| Destination: 429B1
Number of key columns
For a table, the following attributes must be the same:
-730 THE PARENT OF A TABLE IN A READ-ONLY
SHARED DATABASE MUST ALSO BE A Table OBID
TABLE IN A READ-ONLY SHARED DATABASE Maximum record length
Number of columns
Explanation: An attempt was made to define a relationship
Whether an edit procedure exists
between a table in a read-only shared database and a table
that is not. System Action: The statement cannot be executed.
System Action: The statement cannot be executed. Programmer Response: Ensure that the definition of the
table space, index, or table is consistent with that in the
Programmer Response: Insure that the correct tables are
ROSHARE OWNER database.
being used for the relationship being defined.
Destination: 56056
-734 THE ROSHARE ATTRIBUTE OF A DATABASE -737 IMPLICIT TABLE SPACE NOT ALLOWED
CANNOT BE ALTERED FROM ROSHARE
Explanation: A CREATE TABLE statement was issued using
READ
an implicit table space. An implicit table space may not be
Explanation: An attempt was made to ALTER a database used in a database that has been defined as a read-only
from ROSHARE READ to either ROSHARE OWNER or shared database.
ROSHARE NONE.
System Action: The statement cannot be executed.
System Action: The statement cannot be executed.
Programmer Response: CREATE a table space for the
Programmer Response: Verify that the correct database was table, using the same name as is given on the owning system.
specified on the ALTER DATABASE statement. The Then resubmit the CREATE TABLE statement.
ROSHARE attribute of a read-only shared database cannot be
Destination: 56056
altered. To change this, DROP and recreate the database.
Destination: 56057 | -739 CREATE FUNCTION function-name FAILED
| BECAUSE FUNCTIONS CANNOT MODIFY
-735 DATABASE dbid CANNOT BE ACCESSED | DATA WHEN THEY ARE PROCESSED IN PAR-
BECAUSE IT IS NO LONGER A SHARED | ALLEL.
DATABASE
| Explanation: The function cannot be created because
Explanation: An attempt was made to access an object in | ALLOW PARALLEL and MODIFIES SQL DATA were both
the database identified by 'dbid', that is known to the system | specified explicitly or implicitly. A function cannot be
as having the ROSHARE READ attribute. The database, | parallelized if it modifies data.
however, is no longer defined as ROSHARE OWNER on the
| System Action: The statement cannot be executed.
owning subsystem.
| Programmer Response: Specify DISALLOW PARALLEL or
System Action: The statement cannot be executed.
| change the MODIFIES SQL DATA to NO SQL, CONTAINS
Programmer Response: Verify that the correct object is | SQL or READS SQL DATA.
specified on the statement.
| Destination: 56088
Destination: 55004
| -740 FUNCTION name IS DEFINED WITH THE
-736 INVALID OBID obid SPECIFIED | OPTION MODIFIES SQL DATA WHICH IS NOT
Explanation: An invalid OBID value was given on the
| VALID IN THE CONTEXT IN WHICH IT WAS
CREATE statement. The OBID is invalid for one of the fol-
| INVOKED
lowing reasons: | Explanation: A user-defined function defined with MODIFIES
The specified OBID does not fall within the acceptable
| SQL DATA is only allowed in:
range for OBIDs, which is 1 to 32767. | VALUES clause of an INSERT statement
The specified OBID is already in use for the given data- | SET clause of an UPDATE statement
base.
| VALUES statement in a trigger
System Action: The statement cannot be executed.
| SET assignment statement
Programmer Response: Verify that the given OBID is a valid
| CALL procedure statement
value for an OBID. If so, ensure that the OBID is correct for
the object to be created, then query the catalog to find the | System Action: The SQL statement failed.
object that is already defined as having the same OBID in the | Programmer Response: Remove the UDF from the failing
database. If an invalid OBID was given for the object to be | statement or remove the MODIFIES SQL DATA option from
created, correct the statement and execute it again. If the | the definition of the function.
existing object is in error, then DROP and CREATE that object
using the correct OBID value. | Destination: 51034
It is possible that the OBID “in use” is the OBID for an object
that had been previously dropped. If that is the case, and the # -741 A database-type DATABASE IS ALREADY
CREATE was issued for a table in a non-ROSHARE READ DEFINED FOR MEMBER member-name
database, then select a different OBID for use in the OBID # Explanation: A CREATE DATABASE statement was issued
clause. If the object had been previously dropped and the # for a WORK FILE or TEMP database, but the database can
CREATE was issued for a table in a ROSHARE READ data- # not be created because one is already defined for the named
base, COMMIT and re-submit the CREATE TABLE request. # DB2 subsystem or data sharing group member.
Destination: 53014 # database-type WORK FILE or TEMP
# member-name Name of the DB2 subsystem or data sharing
# group member that already has a database-type
# database.
System Action: The statement cannot be executed.
Programmer Response: Verify the identity and validity of the
# existing database-type database for the named DB2 sub-
# system or data sharing member. The existing database can be
-752 THE CONNECT STATEMENT IS INVALID | -766 THE OBJECT OF A STATEMENT IS AN AUXIL-
BECAUSE THE PROCESS IS NOT IN THE | IARY TABLE FOR WHICH THE REQUESTED
CONNECTABLE STATE | OPERATION IS NOT PERMITTED
Explanation: The application process attempted to execute a | Explanation: An auxiliary table was named in one of the fol-
CONNECT statement while in the unconnectable state. See | lowing statements:
the description of the CONNECT statement in the DB2 SQL
| ALTER TABLE
Reference for an explanation of connection states.
| CREATE ALIAS
System Action: The statement cannot be executed. The con- | CREATE FUNCTION
nection state of the application process is unchanged. | CREATE SYNONYM
Programmer Response: Modify the application program to
| CREATE VIEW
execute a commit or rollback operation prior to executing the
| DELETE
CONNECT statement.
| DESCRIBE TABLE
| INSERT
Destination: 0A001 | SELECT
| UPDATE
| -763 INVALID TABLE SPACE NAME table-space- | There are no attributes of an auxiliary table that can be altered.
| name
| Aliases and synonyms cannot be created on an auxiliary table.
| Explanation: The named table space is invalid for one of the
| following reasons: | Data in an auxiliary table cannot be accessed by specifying the
| auxiliary table name in the SELECT, INSERT, DELETE,
| It is a LOB table space and therefore cannot reside in a | UPDATE, CREATE PROCEDURE, or CREATE FUNCTION
| work file database. | statement. Data in an auxiliary table can only be accessed
| It is a LOB table space and therefore cannot contain a | through operations on the base table columns.
| non-auxiliary table.
| It is not a LOB table space and therefore cannot contain | System Action: The statement cannot be executed.
| an auxiliary table. | Programmer Response: Correct the statement to specify the
| System Action: The statement cannot be executed. | corresponding base table instead of the auxiliary table and
| resubmit the statement.
| Programmer Response: Either
| Destination: 560A4
| Create the LOB table space in a non-workfile database.
| Create the table in a non-LOB table space.
| Create the auxiliary table in a LOB table space.
| -767 MISSING OR INVALID COLUMN SPECIFICA-
| TION FOR INDEX index-name
| Destination: 560A1
| Explanation: The CREATE INDEX statement failed for one of
| the following reasons:
| -764 A LOB TABLE SPACE AND ITS ASSOCIATED
| BASE TABLE SPACE MUST BE IN THE SAME | An index on a non-auxiliary table must specify the columns
| DATABASE | on which the index is defined.
| Explanation: An attempt was made to create an auxiliary | An index on an auxiliary table must not have a column
| table in a LOB table space that is not in the same database as | specification.
| the associated base table space. | System Action: The statement cannot be executed.
| System Action: The statement cannot be executed. | Programmer Response: Correct the syntax of the CREATE
| Programmer Response: Correct the statement to specify a | INDEX statement.
| LOB table space in the same database as the associated base | To create an index on a non-auxiliary table, specify the
| table space. | columns on which the index is defined.
| Destination: 560A2 | To create an index on an auxiliary table, do not specify the
| name of any column.
| -765 TABLE IS NOT COMPATIBLE WITH DATA- | Destination: 42626
| BASE
| Explanation: A CREATE TABLE or ALTER TABLE statement | -768 AN AUXILIARY TABLE ALREADY EXISTS FOR
| defines a LOB column in a table whose database attribute is | THE SPECIFIED COLUMN OR PARTITION
| ROSHARE OWNER or ROSHARE READ. This is not per-
| mitted.
| Explanation: An attempt was made to create an auxiliary
| table, but an auxiliary table for the specified column or partition
| System Action: The statement is not executed. | already exists. When the base table belongs to a non-
| Programmer Response: If CREATE TABLE, either assign | partitioned table space, there can be only one auxiliary table
| the table to an ROSHARE NONE database or create the table | per LOB column of the table. When the base table belongs to
| without a LOB column. If ALTER TABLE, redefine the column | a partitioned table space, for any given LOB column, all values
| as a non-LOB column or move the table to an ROSHARE | of the LOB column for a given partition are stored in their own
| NONE database. | auxiliary table. There must be one auxiliary table per partition
| of the base table space.
| Destination: 560A3
| System Action: The statement is not executed.
| Programmer Response: Check that the correct table name, | Programmer Response: Correct the syntax and resubmit the
| column name, and if applicable, partition number have been | statement.
| specified. If a different name is desired for the existing auxiliary
| Destination: 428C7
| table, the RENAME TABLE statement can be used to rename
| the auxiliary table.
| -797 ATTEMPT to CREATE TRIGGER trigger-name
| Destination: 560A5 | WITH AN UNSUPPORTED TRIGGERED SQL
| STATEMENT
| -769 SPECIFICATION OF CREATE AUX TABLE
| Explanation: The trigger definition includes an unsupported
| DOES NOT MATCH THE CHARACTERISTICS
| triggered SQL statement. The SQL statements allowed as a
| OF THE BASE TABLE
| triggered SQL statement depend on the type of trigger:
| Explanation: Either an attempt was made to create an auxil-
| A BEFORE trigger can include the following triggered SQL
| iary table
| statements:
| using the PART clause and the specified base table is not
| – a fullselect or VALUES statement
| partitioned or
| – a SET transition-variable statement (not allowed in a
| without using the PART clause and the specified base | BEFORE DELETE trigger)
| table is partitioned | – a SIGNAL SQLSTATE statement
| If the base table is not partitioned, then the PART keyword is
| – a CALL statement
| not allowed on the CREATE AUXILIARY TABLE statement. If | An AFTER trigger can include the following triggered SQL
| the base table is partitioned, then the PART keyword must be | statements:
| specified.
| – a fullselect or VALUES statement
| System Action: The auxiliary table was not created. | – an INSERT statement
| Programmer Response: Check whether the name of the
| – a searched UPDATE statement
| base table specified in the CREATE AUXILIARY TABLE state-
| – a searched DELETE statement
| ment is correct. If it is correct and the table is not partitioned,
| – a SIGNAL SQLSTATE statement
| remove the PART clause from the statement. If it is correct
| – a CALL statement
| and the table is partitioned, add the PART clause to the state- | System Action: The CREATE TRIGGER statement cannot
| ment. If the table name is not correct, correct the name and | be executed, and the trigger is not created.
| also check that the correct column name is specified.
| Programmer Response: Check the triggered SQL state-
| Destination: 53096 | ments in the trigger for any statement that is not listed above
| and remove it.
| -770 TABLE table-name CANNOT HAVE A LOB | Destination: 42987
| COLUMN UNLESS IT ALSO HAS A ROWID
| COLUMN
# -798 YOU CANNOT INSERT A VALUE INTO A
| Explanation: An attempt was made to create a table with a # COLUMN THAT IS DEFINED WITH THE
| LOB column or to add a LOB column to a table, but the table # OPTION GENERATED ALWAYS COLUMN
| does not have a ROWID column. A table with a LOB column # column-name
| must also have a ROWID column.
| Explanation: When inserting into a table, a value was speci-
| System Action: The statement was not executed. | fied for column column-name with the GENERATE ALWAYS
| Programmer Response: If creating a table with a LOB
| attribute. GENERATED ALWAYS columns should not be speci-
| column, define a column with type ROWID in the same table. If
| fied in the column-list for an insertion unless the corresponding
| using ALTER to add a LOB column to a table, first use ALTER
| entry in the VALUES list is DEFAULT.
| to add a column with type ROWID to the table. | System Action: The INSERT is not performed.
| Destination: 530A6 # Programmer Response: Remove the column from the
# column-list or specify DEFAULT for the GENERATED
| -771 INVALID SPECIFICATION OF A ROWID # ALWAYS column in the VALUES clause.
| COLUMN | Destination: 428C9
| Explanation: For an ALTER or CREATE TABLE statement,
| the specification of a ROWID column might be invalid for one -802 EXCEPTION ERROR exception-type HAS
| of the following reasons: OCCURRED DURING operation-type OPERA-
TION ON data-type DATA, POSITION position-
| A ROWID column cannot be added to a temporary table.
number
| The referential-constraint clause cannot specify a ROWID
Explanation: An exception error has occurred in the proc-
| column as a column of a foreign key.
essing of an SQL arithmetic function or arithmetic expression.
| A ROWID column cannot be a column of a primary key. | This error may be indicated by exception-type. Possible values
| A ROWID column cannot be a column in a table with an | for exception-type are FIXED POINT OVERFLOW, DECIMAL
| EDITPROC. | OVERFLOW, ZERO DIVIDE, DIVIDE EXCEPTION, EXPO-
| NENT OVERFLOW, or OUT OF RANGE. The exception error
| System Action: The statement cannot be executed. occurred in one of the following areas:
In the SELECT list of an SQL SELECT statement.
In the search condition of a SELECT, UPDATE, or One or more non-zero digits are lost because the destina-
DELETE statement. tion field in any decimal operation is too short to contain
the result.
In the SET clause of the UPDATE statement.
Found during the evaluation of a column function.
# A Java stored procedure sets a decimal value in an output
# parameter that has a precision or scale too small for the
Data-type may indicate the data types of the items being # value. operation-type is JAVA CONVERSION. data-type is
manipulated. Possible values for data-type are INTEGER, # DECIMAL. position-number indicates which parameter of
SMALLINT, DECIMAL, and FLOAT. The data type displayed in # the CALL statement is in error.
the message may indicate the data type of the temporary
internal copy of the data, which may differ from the actual
| Any of the exceptions/overflows can occur during the proc-
column or literal data type due to conversions by DB2.
| essing of a Built-In Function. If the operation-type is FUNC-
| TION, then the error occurred while processing either an input,
Operation-type may indicate the arithmetic operation that was | intermediate, or final value. The exception may occur because
being performed at the time of the error. The possible | the value of a parameter is out of range.
operation-types are ADDITION, SUBTRACTION, MULTIPLI-
Destination: 22012 if ZERO DIVIDE.
CATION, DIVISION, NEGATION, BUILT-IN FUNCTION,
| COLUMN FUNCTION , and JAVA CONVERSION. 22003 if other than ZERO DIVIDE.
Position-number may indicate the position of the expression in
a SELECT list if the error was in the SELECT list of an outer -803 AN INSERTED OR UPDATED VALUE IS
SELECT statement INVALID BECAUSE THE INDEX IN INDEX
SPACE indexspace-name CONSTRAINS
Note: Parts of exception-type, data-type, operation-type,
COLUMNS OF THE TABLE SO NO TWO ROWS
and/or position-number may not be returned to the SQL
CAN CONTAIN DUPLICATE VALUES IN
communication area, depending on where the error
THOSE COLUMNS. RID OF EXISTING ROW IS
was detected.
X'rid'
System Action: The statement cannot be executed. In the
Explanation: The table that is the object of the INSERT or
case of an INSERT or UPDATE statement, no data is updated
UPDATE operation is constrained (by UNIQUE INDEX in the
or deleted. If the statement was a cursor-controlled FETCH,
INDEX SPACE 'indexspace-name') to have unique values in
| then the CURSOR will remain open unless the exception
certain columns. Completion of the requested INSERT or
| occurred while processing a column function (indicated by
UPDATE would result in duplicate values occurring in row
| operation-type of COLUMN FUNCTION), in which case the
'rid'.
| CURSOR will be closed. If the CURSOR is closed, subsequent
| attempts to use that cursor without first doing an OPEN for it If a view is the object of the INSERT or UPDATE statement,
| receive an SQLCODE -501. If the statement was a cursor- the table that defines the view is constrained. The update
controlled OPEN then the CURSOR will remain closed. might also be caused by a DELETE operation of a parent row
that cascades to a dependent row with a delete rule of SET
Programmer Response: Examine the SQL statement to see
NULL.
if the cause of the problem can be determined. The problem
may be data-dependent, in which case it will be necessary to System Action: The INSERT, UPDATE, or DELETE state-
examine the data that was being processed at the time the ment cannot be executed. The object table is unchanged.
error occurred. Programmer Response: Examine the definitions for UNIQUE
If the arithmetic expression in error was within the SELECT list INDEX in the INDEX SPACE 'indexspace-name' to determine
of the outer SELECT statement, then it is advisable to include the uniqueness constraint imposed. Please refer to
an indicator variable for all expressions in the SELECT list. SYSIBM.SYSINDEXES for the 'indexspace-name' and the
This allows processing to continue so that non-error column associated 'index-name'.
and expression values can be returned. For an UPDATE statement, verify that the specified operation
See the explanation of SQLCODE -405 for allowed ranges of is consistent with the uniqueness constraint. If this does not
numeric data types. indicate the error, examine the object table to determine the
cause of the problem.
Problem Determination: A fixed point overflow can occur
during any arithmetic operation on either INTEGER or For an INSERT statement, examine the object table to deter-
SMALLINT fields. mine which values violate the uniqueness constraint. If the
INSERT statement contains a subquery, match the contents of
A divide exception can occur on a decimal division operation
the table addressed by the subquery and the contents of the
when the quotient exceeds the specified data field size. A zero
object table to determine the cause of the problem.
divide occurs on a division by zero.
For a DELETE statement, examine the index key columns in
An exponent overflow can occur when the result characteristic
the table that defines the index. These columns contain a
of any floating-point operation exceeds 127 and the result frac-
foreign key, which when set NULL on a cascade delete from
tion is not zero, for example, the magnitude of the result
the object table, causes the duplicate values.
exceeds approximately 7.2E+75.
Destination: 23505
A decimal overflow exception can occur under either of the fol-
lowing circumstances:
System Action: The statement cannot be executed. 3. This query displays the CURRENTSERVER value speci-
fied on the BIND subcommand for the plan.
System Programmer or Programmer response: Based on
the above reasons, the programmer can perform one or more SELECT NAME, CURRENTSERVER
of the following operations for each reason to correct the error. FROM SYSIBM.SYSPLAN
WHERE NAME = 'plan-name';
01
4. This query displays if there is a matching package in
– Add the DBRM name 'dbrm-name' to the MEMBER list SYSPACKAGE. If the package is remote, put the location
of the BIND subcommand and bind the application plan name in the FROM clause. If no rows are returned, the
'plan-name', or correct version of the package was not bound.
– Add the PKLIST option with the appropriate package SELECT COLLID, NAME, HEX(CONTOKEN), VERSION
list entry to the REBIND subcommand and rebind the FROM <location-name.>SYSIBM.SYSPACKAGE
application plan 'plan-name'. WHERE NAME = 'dbrm-name'
AND HEX(CONTOKEN) = 'consistency-token';
02
5. This query displays if there is a matching package in
– Correct the dbrm-name of the entry in the PKLIST
SYSPACKAGE. If the package is remote, put the location
option and use the REBIND subcommand to rebind the
name in the FROM clause. Use this query when
application plan 'plan-name', or
collection-id is not blank. If no rows are returned, the
– Correct the location-name of the entry in the PKLIST correct version of the package was not bound.
option and use the REBIND subcommand to rebind the
SELECT COLLID, NAME, HEX(CONTOKEN), VERSION
application plan 'plan-name', or FROM <location-name.>SYSIBM.SYSPACKAGE
– Correct the location-name in the CURRENTSERVER WHERE NAME = 'dbrm-name'
option and use the REBIND subcommand to rebind the AND HEX(CONTOKEN) = 'consistency-token'
application plan 'plan-name', or AND COLLID = 'collection-id';
-808 THE CONNECT STATEMENT IS NOT CON- -815 A GROUP BY OR HAVING CLAUSE IS IMPLIC-
SISTENT WITH THE FIRST CONNECT STATE- ITLY OR EXPLICITLY SPECIFIED IN A SUBSE-
MENT # LECT OF A BASIC PREDICATE OR THE SET
Explanation: The CONNECT semantics that apply to an
# CLAUSE OF AN UPDATE STATEMENT
application process are determined by the first CONNECT # Explanation: A subselect of a basic predicate or a SET
statement executed (successfully or unsuccessfully) by the # clause of an UPDATE statement either:
application process. One of the following rules was violated:
directly contains a GROUP BY or HAVING clause
A type 2 CONNECT statement cannot be executed after a
specifies as its object a view having a definition that
type 1 CONNECT statement was executed.
includes a GROUP BY or HAVING clause
A type 1 CONNECT statement cannot be executed after a
Neither construct is permitted.
type 2 CONNECT statement was executed.
System Action: The statement cannot be executed. No data
System Action: The statement cannot be executed.
was retrieved.
Programmer Response: The probable cause of this error is
Programmer Response: The implied function is not sup-
that different programs in the application process were precom-
ported by DB2.
piled with different CONNECT options.
No coding workaround exists for the subselect. A GROUP BY
Ensure that the application process uses either type 1 or type
or HAVING clause cannot be used within the subselect of a
2 CONNECT statements and then resubmit the job. The type
basic predicate because the subselect is allowed to return only
of CONNECT to be used is a precompiler option. The default
a single value. For more information on basic predicates, refer
is type 2 CONNECT.
to DB2 SQL Reference.
Destination: 08001
Destination: 42920
Destination: 25000 in the current release. If the problem is not the result of a
fallback, -820 is a system error. If you suspect an error in DB2,
-818 THE PRECOMPILER-GENERATED refer to Section 3 of DB2 Diagnosis Guide and Reference for
TIMESTAMP x IN THE LOAD MODULE IS DIF- information on identifying and reporting the problem.
FERENT FROM THE BIND TIMESTAMP y Destination: 58004
BUILT FROM THE DBRM z
Explanation: The SQL precompiler places timestamp 'y' in -822 THE SQLDA CONTAINS AN INVALID DATA
the DBRM, and time stamp 'x' in the parameter list in the ADDRESS OR INDICATOR VARIABLE
application program for each SQL statement. At BIND time, ADDRESS
DB2 stores the DBRM timestamp for run-time use. At run-time,
Explanation: The application program has placed an invalid
timestamp 'x', for the SQL statement being processed, is
address in the SQLDA.
compared with timestamp 'y' derived from the DBRM 'z' at
BIND time. If the two timestamps do not match, the DBRM and System Action: The statement cannot be executed.
the application program were not the result of the same pre- Programmer Response: Correct the application program
compile. such that valid addresses are placed in SQLDA.
This problem can occur if you: Destination: 51004
Precompile, compile, and link, without doing a BIND of the
application, -840 TOO MANY ITEMS RETURNED IN A SELECT
Precompile and BIND, without doing the compile and link OR INSERT LIST
for the application program, or
BIND the application using a DBRM that resulted from a Explanation: The number of items returned in the select list
different precompile of the application program than that or presented in an insert list exceeds the allowable maximum
which produced the object module that is linked into the of 750.
application module. System Action: The statement cannot be executed.
The timestamps 'x' and 'y' are DB2 internal timestamps. Programmer Response: Determine whether all the informa-
They do not have an external interpretation. tion is actually needed. (Note that the number of items
System Action: The statement cannot be executed. returned by the select list * in the SQL statement SELECT *
FROM A, B, C is the sum of the number of columns in all three
Programmer Response: BIND the application again, using tables.) If not, rewrite the SQL statement so that only the nec-
the DBRM for the application program that matches the object essary items of information are returned. If so, break the SQL
module. statement up into two or more statements, as required.
Destination: 51003 Destination: 54004
System Action: The statement cannot be executed. SQLRULES(STD) is in effect and a CONNECT statement
identifies an existing SQL connection.
Programmer Response: This is a system error. If you
suspect an error in DB2, refer to Section 3 of DB2 Diagnosis A private connection, using system-directed access, cannot
Guide and Reference for information on identifying and be established because of an existing SQL connection to
reporting the problem. that location.
If system-directed access cannot be used, destroy the con- # Programmer Response: Correct the syntax and resubmit the
flicting SQL connection (by using the RELEASE statement # statement.
in a previous unit of work) before executing the SQL state-
# Destination: 42815
ment that requires system-directed access. An alternative
solution is to change the application so that only
application-directed access is used. # -867 INVALID SPECIFICATION OF A ROWID
# COLUMN
Correct the error in the application, rebind the plan or package,
and resubmit the job. # Explanation: For an ALTER or CREATE TABLE statement,
# the specification of a ROWID column might be invalid for one
Destination: 08002 # of the following reasons:
# A ROWID column can not be added to a temporary table.
-843 THE SET CONNECTION OR RELEASE STATE-
MENT MUST SPECIFY AN EXISTING CON- # The referential-constraint clause can not specify a ROWID
NECTION # column as a column of a foreign key.
Explanation: One of the following rules was violated: # A ROWID column can not be a column of a primary key.
A SET CONNECTION statement must identify an existing # A ROWID column can not be a column in a table with an
SQL connection of the application process. # EDITPROC.
A RELEASE statement must identify an existing connection # System Action: The statement cannot be executed.
of the application process. # Programmer Response: Correct the syntax and resubmit the
System Action: The statement cannot be executed. # statement.
Programmer Response: The correction depends on the # Destination: 428C7
error, as follows:
If the location name is not the intended name, correct it. -870 THE NUMBER OF HOST VARIABLES IN THE
STATEMENT IS NOT EQUAL TO THE NUMBER
If the location name does not identify an existing SQL con- OF DESCRIPTORS
nection, replace the SET CONNECTION with a CONNECT
statement. Explanation: The number of host variables in the SQL state-
ment does not match the number of host variable descriptors.
If RELEASE CURRENT was executed in the unconnected
state or the specified location name does not identify an System Action: The statement cannot be executed.
existing SQL or DB2 private connection, delete the Programmer Response: Correct the application program.
RELEASE statement. The most likely cause of this problem is a missing colon before
Correct the error in the application, rebind, the plan and a host variable.
resubmit the job. Problem Determination: If the SQL statement is bound
Destination: 08003 locally, descriptors are built by the DB2 precompiler. For a
remote SQL statement, descriptors are built by DDF and are
passed in the array SQLSTTVRB.
# -846 INVALID SPECIFICATION OF AN IDENTITY
# COLUMN Destination: 58026
# Explanation: For an ALTER or CREATE TABLE statement,
# the specification of an identity column may be invalid for one of | -872 A VALID CCSID HAS NOT YET BEEN SPECI-
# the following reasons: | FIED FOR THIS SUBSYSTEM
# The data type of the associated column was not one of the Explanation: A valid CCSID was not specified on either the
# allowed data types for an identity column. The allowed ASCII CODED CHAR SET or EBCDIC CODED CHAR SET
# data types are the following: subsystem parameter on installation panel DSNTIPF.
| System Action: The statement cannot be executed. System Action: The statement cannot be executed.
| Programmer Response: Correct the SQL statement. Programmer Response: Drop the existing PLAN_TABLE,
and recreate it with the EBCDIC encoding scheme.
| Destination: 53091
Destination: 53094
# Explanation: The SAVEPOINT statement uses the same This SQLCODE might also occur when distributed commit
# savepoint name as another savepoint, and it cannot be created processing encounters an error. In this case, all servers in the
# because at least one of the savepoints was defined with the unit of work that support distributed two-phase commit backed
# UNIQUE clause to indicate that the name cannot be reused out the unit of work. If a server that does not support distrib-
# within the transaction. uted two-phase commit has updates in the unit of work, that
server must be queried to determine if its updates were com-
# System Action: The statement is not executed and a new mitted or backed out.
# savepoint is not set. The old savepoint still exists.
# Finally, this error might occur during commit if post-processing
# Programmer Response: Correct the statement. Either use a # cannot be completed because of an update that changes the
# different savepoint name, or omit the UNIQUE clause if the # partition of a row. Resource unavailable problems can prevent
# other savepoint was created without the UNIQUE clause and # the post-processing from completing. The existence of held
# your intention is to reuse that savepoint name. # cursors can prevent the post-processing from completing.
# Destination: 3B501 # Commit is failed. The transaction is aborted.
System Action: The statement cannot be executed. A
# -882 NO SAVEPOINT EXISTS X'04E' abend might be requested for the application. The
application program can have a recovery routine to recover
# Explanation: A ROLLBACK TO SAVEPOINT statement was
from such an abend and can retry SQL statements.
# specified without a savepoint name to rollback to the last active
# savepoint, but no savepoint exists. Programmer Response: If an abend occurred, notify the
system programmer for analysis of the abend that caused this
# System Action: The statement is not executed.
return code.
# Programmer Response: Correct the application logic to
Even if an abend occurred, an application program receiving
# either set a savepoint or to not attempt to rollback to a
this return code can retry and is not prohibited from executing
# savepoint.
further SQL statements.
# Destination: 3B502
Destination: 58004
System Action: If the limit-source was a resource limit spec- System Programmer Response: If the indicated authori-
ification table or a system parameter, the execution of this SQL zation id should be allowed to bind, change the entry in the
statement is terminated. A record containing more detailed active RLST table. If AUTO-REBIND operations are disabled,
information about this failure is generated. If an SQL cursor is rebind the package before reexecuting the package.
associated with the failed instruction, its position is unchanged Destination: 23510
and a CLOSE or PREPARE command can be issued. If any
other operation is attempted with the cursor, it cannot be exe-
-909 THE OBJECT HAS BEEN DELETED
cuted and SQLCODE -905 is returned. If there is no cursor,
this statement was rolled back. Explanation: The application program has either:
Programmer Response: Determine why this SQL statement 1. Dropped a table and then attempted to accesss it.
or stored procedure took so long and take appropriate action.
2. Dropped an index and then tried to access its object table
Consider simplifying the SQL statement, restructuring tables
using that index.
and indexes, or contacting the installation group responsible for
maintaining the resource limit specification tables. System Action: The statement cannot be executed.
System Programmer Response: The logic of the application
program must be corrected such that it does not attempt to Programmer Response: A long-running application, or an
access or use an object after it has been dropped. application that is likely to encounter a deadlock, should (if
possible) issue frequent COMMIT commands. This can lessen
Dropping indexes within an application program is especially
the possibility of a deadlock occurring. See message
hazardous, because there is no way of determining whether or
DSNT376I for other possible ways to avoid future deadlocks or
not the plan that has been generated for the application (by
timeouts. On receipt of the SQLCODE -911, the application
BIND or REBIND) actually uses a particular index for access to
should, in general, terminate.
its object table.If the indicated authorization id should be
allowed to bind, change the entry in the active RLST table. If For more information about how IMS, CICS, and TSO handle
AUTO-REBIND operations are disabled, rebind the package deadlocks, see Section 5 of DB2 Application Programming and
before reexecuting the package. SQL Guide.
Destination: 57007 Destination: 40001
-910 THE SQL STATEMENT CANNOT ACCESS AN -913 UNSUCCESSFUL EXECUTION CAUSED BY
OBJECT ON WHICH A DROP OR ALTER IS DEADLOCK OR TIMEOUT. REASON CODE
PENDING reason-code, TYPE OF RESOURCE resource-
type, AND RESOURCE NAME resource-name
Explanation: The application program has issued a DROP or
ALTER against an object, and then attempted to access that Explanation: The application was the victim in a deadlock or
object before the DROP or ALTER is completed. experienced a timeout. The reason code indicates whether a
deadlock or timeout occurred.
System Action: The statement cannot be executed.
Refer to message DSNT500I under “DSNT... Messages” on
Programmer Response: In the case of ALTER, the logic of
page 315 for an explanation of 'resource-type' and
the application program must be modified so that a COMMIT
'resource-name'. Refer to Table 3 in Appendix B, “Problem
(or the IMS or CICS equivalent) is executed between the
determination” on page 1051 for an explanation of resource
ALTER and the failing SQL statement.
type codes.
For DROP, the logic of the application program should be
System Action: The SQL statement cannot be executed. If
modified such that there is no attempt to access an object after
the SQL statement being executed was a cursor FETCH, DB2
the DROP has been executed.
closes the cursor.
# Note that DROP includes the case when rollback to a
# savepoint includes rolling back to a CREATE.
| SQLERRD(3) also contains the reason-code which indicates
| whether a deadlock or timeout occurred. The most common
Destination: 57007 | reason codes are:
| 00C90088 - deadlock
-911 THE CURRENT UNIT OF WORK HAS BEEN
ROLLED BACK DUE TO DEADLOCK OR | 00C9008E - timeout
TIMEOUT. REASON reason-code, TYPE OF Programmer Response: The application should either
RESOURCE resource-type, AND RESOURCE commit or roll back to the previous COMMIT. Then, generally,
NAME resource-name the application should terminate. See message DSNT376I for
Explanation: The current unit of work was the victim in a possible ways to avoid future deadlocks or timeouts.
deadlock, or experienced a timeout, and had to be rolled back. For more information about how CICS and TSO handle dead-
The reason code indicated whether a deadlock or timeout locks, see Section 5 of DB2 Application Programming and SQL
occurred. Refer to message DSNT500I under “DSNT... Guide.
Messages” on page 315 for an explanation of 'resource-type' Destination: 57033
and 'resource-name'. Refer to Table 3 in Appendix B,
“Problem determination” on page 1051 for an explanation of
-917 BIND PACKAGE FAILED
resource type codes.
Explanation: An error has occurred which prevents the
Note: The changes associated with the unit of work must be
package from being created. This SQLCODE can be issued
entered again.
during bind or commit processing.
| SQLERRD(3) also contains the reason-code which indicates
System Action: The bind fails and the package is not
| whether a deadlock or timeout occurred. The most common
created. If issued during commit processing, all changes to the
| reason codes are:
database are rolled back. If issued during bind processing, only
| 00C90088 - deadlock package creation fails. Other changes within the logical unit of
work are committable.
| 00C9008E - timeout
Programmer Response: Correct the cause of the problem
# The changes associated with the unit of work must be entered
and try again.
# again.
Problem Determination: Inspect the SQLCODES issued for
System Action: The statement cannot be executed. The
the SQL statements of the package.
application is rolled back to the previous COMMIT.
Destination: 42969
-922 AUTHORIZATION FAILURE: error-type ERROR. A required database, table space, table, or index is una-
REASON reason-code vailable.
Explanation: Authorization failed because of the error indi- Data set allocation failed for a required data set.
cated by 'error-type' There is insufficient virtual storage.
The application is trying to execute the plan from a system # Programmer Response: The IMS, CICS or RRS protocols
(environment) that was restricted when the plan was bound should be used to commit work in these environments.
or rebound. Check the SYSPLSYSTEM table to determine
If a stored procedure is being called from IMS or CICS, ensure
from which systems (for example, IMS or CICS) the plan
that the stored procedure is not defined to perform a commit
can be executed.
on return.
If the condition is "CICS attachment not up", then NAME indi-
Destination: 2D521
cates the DB2 subsystem that is not available. The reason
code indicates the reason the attachment is not available.
# -926 ROLLBACK NOT VALID IN IMS, CICS OR
# If the condition is "CICS entry disabled", then NAME indicates # RRSAF ENVIRONMENT
# the entry that is disabled.
Explanation: An application executing in either an IMS or
System Action: The statement cannot be executed. The con- # CICS environment or an application executing in an RRSAF
nection to DB2 is not established. # environment when DB2 is not the only resource manager has
Programmer Response: If the connection failed because has attempted to execute a ROLLBACK statement. The SQL
either DB2 or a required database, table space, table, or index ROLLBACK statement cannot be executed in these environ-
was unavailable, wait until it is available before invoking the ments.
application again. System Action: The statement cannot be executed. No roll
If allocation failed for an application plan, REBIND the plan to back is performed.
determine the problem. Error messages are produced # Programmer Response: The IMS, CICS or RRS protocols
explaining why the plan could not be allocated. should be used to rollback work in these environments.
For other types of allocation errors, installation action might be Destination: 2D521
required to correct the problem.
For CICS attachment failures, resolve the primary cause as -927 THE LANGUAGE INTERFACE (LI) WAS
noted by the reason code. Then restart the attachment. CALLED WHEN THE CONNECTING ENVIRON-
Problem Determination: The reason-code, resource-type, MENT WAS NOT ESTABLISHED. THE
and resource-name might not be available. If they are not PROGRAM SHOULD BE INVOKED UNDER
available, nothing appears. If they are available, refer to THE DSN COMMAND
Section 4. DB2 Codes for an explanation of the reason-code, Explanation: In the TSO environment, the user has
resource-type, and resource-name. attempted to execute an application program without first
Refer to message DSNT500I under DSNT... Messages for an establishing the correct execution environment by issuing the
explanation of resource type and resource name. Refer to DSN command. In the IMS, CICS, or call attachment facility
Table 3 in Appendix B, “Problem determination” on page 1051 (CAF) environment, the user has attempted to execute an
for an explanation of resource type codes. Any attempts to application program that is not using the correct language
issue SQL statements after receiving SQLCODE -923 will interface module.
cause unpredictable results. System Action: The statement cannot be executed.
Destination: 57015 Programmer Response: In the TSO environment, DB2 appli-
cation programs should be invoked under the RUN subcom-
-924 DB2 CONNECTION INTERNAL ERROR, mand of the DSN command processor. In the IMS, CICS or
function-code, return-code, reason-code CAF environment check that the application was link-edited
with or is dynamically allocating the correct language interface
Explanation: Connection to DB2 has failed because of an
module. The language interface modules required in each envi-
unexpected internal error, identified by the 'reason-code'.
ronment are as follows:
System Action: The statement cannot be executed. The con-
IMS: DFSLI000
nection to DB2 is not established.
CICS: DSNCLI
Programmer Response: Look up the abend 'reason-code' CAF: DSNALI
in Section 4. DB2 Codes for further information. The requested TSO: DSNELI
'function-code' and 'return-code' may provide additional
The DYNAM option can result in the incorrect language inter-
information. Any attempts to issue SQL statements following
face module being loaded at runtime.
the SQLCODE -924 will cause unpredictable results.
Destination: 51006
Destination: 58006
Destination: 51021 The data type of the host variable is not character string.
The length attribute of the host variable is greater than 16.
-947 THE SQL STATEMENT FAILED BECAUSE IT The location name does not appear in the LOCATIONS
WILL CHANGE A TABLE DEFINED WITH column of the SYSIBM.LOCATIONS table, nor is it the
DATA CAPTURE CHANGES, BUT THE DATA name of the local DB2 subsystem.
CANNOT BE PROPAGATED
System Action: The statement cannot be executed. The
Explanation: The DPROP SUPPORT option on the installa- application process is placed in the unconnected state.
tion panel is set to 2 (support DPROP only). The SQL state-
ment would have changed a table defined with DATA Programmer Response: If the location name is specified as
CAPTURE CHANGES. However, the data cannot be propa- the value of a host variable, ensure that the name is left justi-
gated because the SQL statement did not originate from an fied in the host variable and, if necessary, padded on the right
IMS subsystem, or monitor trace class 6 was not active at the with blanks. If this is not the problem, either
beginning of the unit of work for that change. SYSIBM.LOCATIONS must be updated to include the specified
name, or the specified name must be changed to match a
System Action: The statement is not executed. name in SYSIBM.LOCATIONS.
System Programmer Response: Take one of the following Destination: 42705
actions:
Change the installation option to 1 (no propagation) or 3 -981 THE SQL STATEMENT FAILED BECAUSE THE
(permit changes from any subsystem). RRSAF CONNECTION IS NOT IN A STATE
Change the application program that receives this THAT ALLOWS SQL OPERATIONS, REASON
SQLCODE so that it can be run in an IMS subsystem, and reason-code.
activate monitor trace class 6. Explanation: The application attempted to execute an SQL
If the installation option is changed to 3, SQL changes to operation but the RRSAF connection was not in a state that
tables defined with DATA CAPTURE CHANGES are permitted allows the processing of SQL statements.
from any subsystem, but they are not propagated unless the System Action: The statement cannot be executed.
environment is set up for propagation.
Programmer Response: See reason-code in “Section 4. DB2
Destination: 56038 Codes” on page 577 for an explanation of the problem.
Correct the error in the application, REBIND, and run the appli-
cation again.
Destination: 57015
-991 CALL ATTACH WAS UNABLE TO ESTABLISH | -20003 GBPCACHE NONE CANNOT BE SPECIFIED
AN IMPLICIT CONNECT OR OPEN TO DB2. | FOR TABLESPACE OR INDEX IN GRECP
RC1= rc1 RC2= rc2
| Explanation: GBPCACHE NONE was specified on an
Explanation: Call attach attempted to perform an implicit | ALTER TABLESPACE or ALTER INDEX statement, but the
connect and open as the result of an SQL statement. The | table space, index, or the partition to be altered is in GRECP.
connect or open failed with the returned values.
| System Action: The statement cannot be processed.
rc1 The value returned in FRBRC1 for the failed
| User Response: Use the START DATABASE command to
CONNECT or OPEN request.
| recover the table space or index from the GRECP then STOP
rc2 The value returned in FRBRC2 for the failed | the table space or index before reissuing the ALTER state-
CONNECT or OPEN request. | ment.
System Action: The statement cannot be executed. | Destination: 560A7
| Programmer Response: Verify that the application intended
| to use the call attachment facility (CAF) as the mechanism to | -20004 8K or 16K BUFFERPOOL PAGESIZE INVALID
| connect to DB2. For functions or stored procedures running in | FOR A WORKFILE OBJECT
| the WLM-established stored procedure address space the | Explanation: This message is issued when:
| application must be link-edited with or dynamically allocate the
| RRS attachment language interface module (DSNRLI), not | A CREATE or ALTER DATABASE statement for a workfile
| CAF. | database specifies an 8K or 16K pagesize in the
| BUFFERPOOL clause.
Destination: 57015
| A CREATE or ALTER TABLESPACE statement for a
| workfile database specifies an 8K or 16K pagesize in the
# -1760 CREATE PROCEDURE FOR procedure-name
| BUFFERPOOL clause.
# MUST HAVE VALID LANGUAGE AND
# EXTERNAL CLAUSES | System Action: The statement cannot be executed.
# Explanation: A LANGUAGE or EXTERNAL clause is missing | User Response: Correct the statement to specify a 4K or
# in the CREATE statement for procedure procedure-name. This | 32K bufferpool pagesize.
# clause must be specified. | Destination: 560A8
# System Action: The statement cannot be executed.
# Programmer Response: Change the CREATE statement to | -20005 THE INTERNAL ID LIMIT OF limit HAS BEEN
# include the missing clause and reissue the statement. | EXCEEDED FOR OBJECT TYPE object-type
Destination: 56059
# -20092 A VIEW WAS SPECIFIED FOR LIKE BUT IT
# INCLUDES A ROWID COLUMN
| -20102 CREATE OR ALTER STATEMENT FOR
# Explanation: The LIKE clause specified the name of a view | USER-DEFINED FUNCTION function-name
# that contains a ROWID column. This is not supported. | SPECIFIED THE option OPTION WHICH IS NOT
# System Action: The statement is not executed. | ALLOWED FOR THE TYPE OF FUNCTION
# Programmer Response: Specify the name of a view that | Explanation: An option was specified that is not allowed for
# does not contain a ROWID column, or specify the name of a | the type of function being created or altered.
# table and resubmit the statement. | MODIFIES SQL DATA is not allowed for table functions.
# In the case of DECLARE GLOBAL TEMPORARY TABLE, it is | ALLOW PARALLEL is not allowed for table functions.
# possible to specify the name of a view that contains a ROWID | CARDINALITY is not allowed for non-table functions.
# column using the AS subselect clause instead. For example: | System Action: The statement cannot be executed.
# DECLARE GLOBAL TEMPORARY TABLE ....
| Programmer Response: Remove the option from the state-
# AS (SELECT : FROM view-name) DEFINITION ONLY
| ment and reissue the failing statement.
# Destination: 560AE
| Destination: 42849
| Programmer Response: Use the section number determine | Programmer Response: To alter the CCSID for the specified
| the failing triggered SQL statement. Refer to the explanation of | space, first drop any existing view definitions that refer to
| the reported SQLCODE. Follow the action suggested by that | tables contained in the identified space and then reissue the
| message. | ALTER statement.
-20101 THE FUNCTION function FAILED WITH # -20107 HOST VARIABLE OR PARAMETER NUMBER
REASON rc # position-number CANNOT BE USED AS SPECI-
# FIED BECAUSE REASON reason
Explanation: The statement attempted to execute a function
function. The statement failed, Reason Code rc # Explanation: DB2 received data that could not be used as
# specified in the statement because it is not convertible to an
Possible values for rc are: 00E73001, 00E73002, 00E73003, # acceptable format in this machine environment.
and 00E73004.
# position-number identifies either the host variable number (if
System Action: The statement cannot be executed. # the message is issued as a result of an INSERT, UPDATE,
Programmer Response: Correct the condition described by # DELETE, SELECT, SET, or VALUES statement), or the
the DB2 reason code. # parameter number (if the message is issued as the result of a
# CALL statement, or the invocation of a function).
X'1232' - AGNPRMRM The level value is the 2-byte hexadecimal value of the
X'1254' - CMDCHKRM manager level identified as not supported in the EXCSATRD
X'220A' - DSCINVRM that reported the error. Refer to the DDM term MGRLVL in the
X'220E' - DTAMCHRM IBM Distributed Data Management (DDM) Reference Guide for
X'0010' - FDODSC the 2-byte hexadecimal values.
X'1218' - MGRDEPRM System Action: The statement cannot be executed.
X'1245' - PRCCNVRM
X'241A' - QRYDSC Programmer Response: Notify the system programmer for
X'2202' - QRYNOPRM analysis of the condition that caused this SQLCODE.
X'220F' - QRYPOPRM Destination: 58010
X'2207' - RDBACCRM
X'2204' - RDBNACRM
-30030 COMMIT REQUEST WAS UNSUCCESSFUL, A
X'124C' - SYNTAXRM
DISTRIBUTION PROTOCOL VIOLATION HAS
A two byte sub-code accompanies 'reason codes'. The sub- BEEN DETECTED, THE CONVERSATION HAS
code, when nonzero, consists of two bytes such that the high- BEEN DEALLOCATED. ORIGINAL
order byte indicates the site at which the error was detected. SQLCODE=original-sqlcode AND ORIGINAL
This is X'01' if the error was detected by the local DB2; It is SQLSTATE=original-sqlstate
X'02' if the error was detected by the remote server. The low-
Explanation: The application requested COMMIT operation
order byte is dependent upon the 'reason code' as follows:
was unsuccessful and the response from the remote server
Description Error Code (DSCERRCD) if reason code= and the SQLCODE that was returned from the remote server
X'220A ' (DSCINVRM). are inconsistent. For example, the reply message from the
Syntax Error Code (SYNERRCD) if reason code = X'124C remote server indicates that a COMMIT operation did not com-
' (SYNTAXRM). plete successfully but the SQLCODE returned from the remote
Conversational Protocol Error Code (PRCCVNCD) if server was greater than or equal to zero. The unit of work has
reason code = X'1245' (PRCCNVRM). been rolled back and the connection with the remote server
Manager Dependency Error Code (DEPERRCD) if reason has been deallocated.
code = X' 1218' (MGRDEPRM).
System Action: An alert was generated. A DSNL031I Collect the following diagnostic items to help determine the
message may have been written to the console. Refer to the cause of the unavailable resource.
description of this message for further information.
Console output from the system identified by RDBNAME,
The SQLCODE returned by the remote server is replaced with and a listing of SYSLOG data set for the period of time
-30030 and the SQLSTATE returned by the AS is replaced spanning the failure.
with '158013' and the connection with the remote server has
Information described for the reason code received.
been deallocated.
Destination: 57012
The SQLCODE and SQLSTATE values that were returned
from the remote server are stored in the SQLERRM field in a
string of the following format: -30041 EXECUTION FAILED DUE TO UNAVAILABLE
RESOURCES THAT WILL AFFECT THE SUC-
'original-sqlcode 'FF'X original-sqlstate'
CESSFUL EXECUTION OF SUBSEQUENT
Programmer Response: Notify the system programmer for COMMANDS AND SQL STATEMENTS.
assistance in analyzing the trace data that was generated. REASON <reason-code> TYPE OF RESOURCE
<resource-type> RESOURCE NAME <resource-
Destination: 58013
name> PRODUCT ID <pppvvrrm> RDBNAME
<rdbname>
-30040 EXECUTION FAILED DUE TO UNAVAILABLE
RESOURCES THAT WILL NOT AFFECT THE Explanation: The SQL statement or command requires a non
SUCCESSFUL EXECUTION OF SUBSEQUENT RDB resource that is currently unavailable. The <reason-code>
COMMANDS OR SQL STATEMENTS. REASON identifies why the resource identified by the <resource-type>
<reason-code> TYPE OF RESOURCE <resource- and <resource-name> is unavailable. The product, product
type> RESOURCE NAME <resource-name> level, and RDB are identified.
PRODUCT ID <pppvvrrm> RDBNAME Values for <reason-code>
<rdbname>
Four byte binary number that is product specific. This can
Explanation: The SQL statement or command requires a non be found in the remote server documentation.
RDB resource that is currently unavailable. The <reason-code>
Values for <resource-type>
identifies why the resource identified by the <resource-type>
and <resource-name> is unavailable. The product, product Two byte hexadecimal number that is product specific. This
level, and RDB are identified. can be found in the remote server documentation.
Values for <reason-code> Values for <resource-name>
This is product specific and can be found in the remote Variable length field with alphanumeric characters and a
server documentation. maximum length of 35 bytes.
Values for <resource-type> Values for <pppvvrrm>
Two byte hexadecimal number defined as follows: Eight byte field with alphanumeric characters defined as
follows:
This is product specific and can be found in the remote
server documentation. ppp....... DSN for DB2, ARI for SQL/DS, SQL for OS/2
and QSQ for AS/400 (3 bytes)
Values for <resource-name>
vv........ version number (2 bytes)
Variable length field with alphanumeric characters and a
maximum length of 35 bytes. rr........ release level (2 bytes)
Values for <pppvvrrm> m......... modification level (1 byte)
Eight-byte field with alphanumeric characters defined as Values for <rdbname>
follows:
Sixteen byte field with the RDBNAME.
ppp....... DSN for OS/390, ARI for SQL/DS SQL and
System Action: The statement cannot be executed. The
QSQ for AS/400 (3 bytes)
local DB2 is disconnected from the remote server.
vv........ version number (2 bytes)
Programmer Response: Verify the identity of the resource
rr........ release level (2 bytes) that was not available. The reason the resource is unavailable
is identified by the reason-code.
m......... modification level (1 byte)
Collect the following diagnostic items to help determine the
Values for <rdbname>
cause of the unavailable resource.
Sixteen-byte field with the RDBNAME.
Console output from the system identified by RDBNAME,
System Action: The statement cannot be executed. The and a listing of SYSLOG data set for the period of time
local DB2 is disconnected from the remote server. spanning the failure.
Programmer Response: Verify the identify of the resource Information described for the <reason-code> received.
that was not available. The reason the resource is unavailable
Destination: 57013
is identified by the <reason-code>.
Programmer Response: Correct the authorization problem Programmer Response: Ensure the object has been cor-
and reissue the request. rectly specified and resubmit the job or reissue the command.
ents a DDM reply message. IBM Distributed Data Manage- rc1 The first return code indicator.
ment (DDM) Reference Guide defines the valid codepoints
For TCP/IP partners, this field contains the TCP/IP
for reply messages.
return code in decimal format. The return code
Values for SVRCOD values are documented in OS/390 UNIX System
Services Programming: Assembler Callable Ser-
The SVRCOD is a one-byte hexadecimal value which
vices Reference.
represents the reply messages severity code. IBM Distrib-
uted Data Management (DDM) Reference Guide defines rc2 The second return code indicator.
the valid SVRCOD for reply messages.
For TCP/IP partners, this field contains the TCP/IP
System Action: Processing continues. reason code in decimal format. The reason code
values are documented in OS/390 UNIX System
Programmer Response: The cause of this error may be a
Services Programming: Assembler Callable Ser-
mismatch in source and targe manager levels or might be an
vices Reference.
internal error.
rc3 The third return code indicator.
Destination: 58018
For TCP/IP partners, this field contains zero.
-30080 COMMUNICATION ERROR code (subcode) System Action: The statement is not executed. The applica-
Explanation: A SNA communications error was detected. tion is disconnected from the server.
VTAM for MVS/ESA Programming for LU 6.2 contains the valid Programmer Response: Consult with a communications
code and subcode values that can appear in this message. expert to determine the cause of the communication failure.
code is VTAM's primary LU6.2 return code (RCPRI). Destination: 08001
subcode takes one of the following forms:
-30082 CONNECTION FAILED FOR SECURITY
– rcsec-sense
REASON reason-code (reason-string)
– rcsec
Explanation: The attempt to connect to a remote database
The rcsec portion of subcode is VTAM's secondary LU6.2
server was rejected due to invalid or incorrect security informa-
return code (RCSEC).
tion. The cause of the security error is described by the
The sense portion of subcode is VTAM's sense code. See reason-code and reason-string values.
“Section 6. SNA CODES” on page 1039 for descriptions of
The possible values for reason-code and reason-string appear
sense codes that are often associated with SNA network
below:
definition errors.
1 (PASSWORD EXPIRED) -- the password used to
System Action: The statement is not executed. The applica-
connect to the remote server has expired.
tion was disconnected from the server because of a communi-
cation failure. A DSNL500I message containing additional 2 (PASSWORD INVALID) -- the password used to connect
diagnostic information might be issued to the MVS console. to the remote server does not match the password stored
at the remote server.
Programmer Response: Review the diagnostic information
described in VTAM for MVS/ESA Programming for LU 6.2 for 3 (PASSWORD MISSING) -- the remote server rejected
the particular LU6.2 return codes. Consult with a communi- the connection request because the request did not include
cations expert to determine the cause of the communication a password.
failure.
4 (PROTOCOL VIOLATION) -- the remote server rejected
Destination: 08001 the connection request because the request did not contain
the proper security information. Error messages or trace
-30081 prot COMMUNICATION ERROR DETECTED. records should be produced by the server system to
API=api, LOCATION=loc, FUNCTION=func, explain the nature of the security violation.
ERROR CODES=rc1 rc2 rc3 5 (USER-ID MISSING) -- the remote server rejected the
Explanation: A communications error was detected while connection request because the request did not specify a
communicating with a remote client or server. user-id.
prot Identifies the communication protocol that encount- 6 (USER-ID INVALID) -- the user-id specified in the con-
ered the error. Currently, 'TCP/IP' is the only pos- nection request is not defined at the remote server system.
sible value. 7 (USER-ID REVOKED) -- the user-id specified in the con-
api Identifies the communication application program- nection request has been revoked.
ming interface (API) used by DB2. Currently, 15 (SECURITY
'SOCKETS' is the only possible value. FAILURE:secchkcd:svcerrno)—Authentication failed at the
loc The network location of the partner system. remote server system. Refer to the IBM Distributed Data
Management (DDM) Reference Guide for a detailed dis-
For TCP/IP partners, this field contains the dotted cussion of the semantics of the DDM terms SECCHKCD
decimal IP address of the partner. and SVCERRNO.
func The communication function that failed. 16 (NEW PASSWORD INVALID) -- the password specified
For TCP/IP partners, this field identifies name of the on a change password request did not meet the server's
socket call that failed. requirements.
DSNA... Messages
The messages in this chapter are written to the Problem Determination: See a DSNTRACE trace stream to
understand the context of this message.
trace. They are seen only if the trace is turned on
(that is, ddname DSNTRACE was allocated to
DSNA202E DSNACA00 TCB=address CANNOT USE
SYSOUT or the TSO terminal). 'OPEN', PRIOR OPEN OR SQL ALREADY
CONNECTED APPLICATION TO DB2
DSNA... messages share a basic structure. Here Explanation: An OPEN request was received but a DB2
are the message elements, listed in order: thread had already been created for the specified TCB. This is
a user error. The message is accompanied by return code
1. Message number (DSNAnnna). (R15) 200 and code (R0) 00C10202.
2. The name of the CSECT responsible for System Action: No new DB2 thread is created and an error
writing the message. return and reason code are issued. The DB2 call attachment
facility is ready for more input.
3. TCB address of the task currently executing. System Programmer Response: Refer the problem to the
programmer using the DB2 call attachment facility.
4. A series of tokens and token-explanations
unique to each message. Programmer Response: Your application program had
already (explicitly or implicitly) established an OPEN level con-
Note: The intent of these messages is to aid IBM nection to DB2. You cannot do this again until the original
development and the IBM Support Center. OPEN is terminated. 'Explicit' OPENs occur when an applica-
tion issues the call attachment facility OPEN request. 'Implicit'
They contain information that might not be OPENs occur when an application issues SQL statements
meaningful except to IBM. before a DB2 connection was established. Correct the logic in
your application program.
Problem Determination: See a DSNTRACE trace stream to
DSNA002E DSNACA00 TCB=address SYSTEM ERROR - understand the context of this message.
FOUND UNEXPECTED THREAD
Explanation: The DB2 call attachment facility control block, DSNA203E DSNACA00 TCB=address CANNOT USE
the CAB, indicated that a thread was present when none 'CLOSE', THERE WAS NO 'OPEN' IN
should have been present. This is a CAF system error. EFFECT
This message is issued by the following CSECT: DSNACA00 Explanation: A CLOSE request was received but no OPEN
System Action: This message immediately precedes an 04E level connection (implicit or explicit) existed for this task. This
abend, with reason code 00C10002. is a user error. The message is accompanied by return code
(R15) 200 and code (R0) 00C10203.
System Programmer Response: Collect a SYSUDUMP and
DSNTRACE trace stream. System Action: No CLOSE is performed. The DB2 call
attachment facility is ready for more input.
Programmer Response: Refer the problem to your system
programmer. System Programmer Response: Refer the problem to the
programmer using the DB2 call attachment facility.
Problem Determination: Contact your IBM Support Center.
Programmer Response: Correct the logic in your application.
Do not issue CLOSE unless an explicit OPEN has been per-
DSNA201E DSNACA00 TCB=address CANNOT USE formed. 'Explicit' OPENs occur when an application issues
'CONNECT', ALREADY CONNECTED TO DB2 the call attachment facility OPEN request.
Explanation: A CONNECT request was received but a con- Problem Determination: See a DSNTRACE trace stream to
nection to DB2 already existed for the TCB identified by understand the context of this message.
'address' in the message. This is a CAF error (application
program error). The message is accompanied by return code
(R15) 200 and code (R0) 00C10201. DSNA204E DSNACA00 TCB=address CANNOT USE
'DISCONNECT', THERE WAS NO 'CONNECT'
System Action: No new connection is made to DB2 and an IN EFFECT
error return and reason code are issued. The DB2 call attach-
ment facility is ready for more input. Explanation: A DISCONNECT request was received but no
DB2 connection had been established. This is a user error.
System Programmer Response: Refer the problem to the The message is accompanied by return code (R15) 200 and
programmer using the DB2 call attachment facility. code (R0) 00C10204.
Programmer Response: You must DISCONNECT the pre- System Action: No DISCONNECT has been performed. The
vious connection before you can re-CONNECT. Correct the DB2 call attachment facility is ready for more input.
logic in your code.
System Programmer Response: Refer the problem to the
programmer using the DB2 call attachment facility.
Programmer Response: Correct the logic in your application. System Action: Control returns to the caller. Your request
Do not issue DISCONNECT unless a CONNECT has been was not processed. The DB2 call attachment facility is ready
performed. for more input.
Problem Determination: See a DSNTRACE trace stream to System Programmer Response: Refer the problem to the
understand the context of this message. programmer using the DB2 call attachment facility.
Programmer Response: Correct the logic in your application.
DSNA205E DSNACA00 TCB=address CANNOT USE Check the spelling of the action parameter type or keyword on
'TRANSLATE', THERE WAS NO CON- the previous request passed to the DB2 call attachment facility.
NECTION TO DB2 OR NOTHING TO TRANS- The action parameter type you passed is listed in the parm
LATE field of the DSNA800I trace message. If the error is not the
Explanation: A TRANSLATE request was received but no action parameter, the parameter in error is listed in the parm
data was available for translation. You must have valid DB2 field of this message.
call attachment facility control structures before you can make Problem Determination: See a DSNTRACE trace stream to
a TRANSLATE request. Control structures are built when you understand the context of this message.
issue explicit or implicit connection requests. This is a user
error. The message is accompanied by return code (R15) 200
DSNA208E DSNACA00 TCB=address CANNOT HAVE 2
and code (R0) 00C10205.
SSIDS (ssid1 AND ssid2) FROM 1 TCB
System Action: No TRANSLATE is performed. The DB2 call
Explanation: An OPEN request was received specifying a
attachment facility is ready for more input.
different subsystem identifier (ssid2) than the previous
System Programmer Response: Refer the problem to the CONNECT request (ssid1). Your task can only be connected
programmer using the DB2 call attachment facility. to a single DB2 subsystem. The message is accompanied by
return code (R15) 200 and code (R0) 00C10208.
Programmer Response: Correct the logic in your application.
Do not issue TRANSLATE unless a DB2 connection has been System Action: Control returns to the caller. Your request
attempted. was not processed. The DB2 call attachment facility is ready
for more input.
Problem Determination: See a DSNTRACE trace stream to
understand the context of this message. System Programmer Response: Refer the problem to the
programmer using the DB2 call attachment facility.
DSNA206E DSNACA00 TCB=address WRONG NUMBER Programmer Response: Specify the correct DB2 subsystem
OF PARMS OR VL BIT OFF identifier on both the OPEN and CONNECT requests.
Explanation: An erroneous DB2 call attachment facility Problem Determination: See a DSNTRACE trace stream to
request was received. The request had too many or too few understand the context of this message.
parameters and could not be processed. The message is
accompanied by return code (R15) 200 and code (R0)
DSNA209E DSNACA00 A STORED PROCEDURE ISSUED
00C10206.
AN EXPLICIT CALL TO DSNALI
System Action: The previous request was not processed.
Explanation: A stored procedure issued an explicit call to
The DB2 call attachment facility is ready for more input.
DSNALI. This is not allowed. Return code 200 in register 15
System Programmer Response: Refer the problem to the and code 00C10209 in register 0 accompany this message.
programmer using the DB2 call attachment facility.
System Action: Control returns to the caller. The request
Programmer Response: Correct the logic in your application. was not processed. The DB2 call attachment facility is ready
Be sure that any parameter list passed to the DB2 call attach- for more input.
ment facility has the correct number of parameters for the indi-
System Programmer Response: Refer the problem to the
vidual call, and that the high order (VL) bit is turned on to end
programmer using the DB2 call attachment facility.
the parameter list.
Programmer Response: Remove explicit calls to DSNALI
Problem Determination: See a DSNTRACE trace stream to
from the application program.
understand the context of this message.
Problem Determination: See a DSNTRACE trace job stream
to understand the context of this message.
DSNA207E DSNACA00 TCB=address DID NOT RECOG-
NIZE ACTION PARAMETER - parm
DSNA8xx
Explanation: An unrecognized action request type or param-
eter was received by the DB2 call attachment facility and could Explanation: Messages in the DSNA800 series are intended
not be processed. The allowable action request types are for diagnosis and are documented in Section 9 of DB2 Diag-
CONNECT, OPEN, CLOSE, DISCONNECT, and TRANSLATE. nosis Guide and Reference.
For allowable parameters, refer to the CAF section in DB2
Application Programming and SQL Guide. This message is
accompanied by return code (R15) 200 and code (R0)
00C10207.
DSNB... Messages
DSNB200I UPDATE VVDS FAILED. DSNAME = dsn, DSNB207I DYNAMIC ALLOCATION OF DATA SET
MMRC=cccccccc CONNECTION-ID=xxxxxxxx, FAILED. REASON = rrrr DSNAME = dsn
CORRELATION-ID=yyyyyyyyyyyy,
Explanation: A required data set of a DB2 table or index
LUW-ID=logical-unit-of-work-id =token
space could not be allocated. Reason code rrrr, which is
Explanation: DB2 was unable to update the data set high- returned by dynamic allocation, indicates the reason for the
used RBA in the VSAM volume data set (VVDS) when it was failure. Refer to the appropriate MVS publications for a
ready to close a data set that was used by a RECOVER, description of this reason code. The dsn indicates the data
LOAD, or REORG utility job. The error was detected by the set’s DSNAME.
media manager catalog update function that issues system
After being issued for a given data set, this message is disa-
message IEC161I. The dsn indicates the DSNAME of the data
bled for that data set.
set. MMRC is the return code that DB2 received from the
media manager catalog update service. Refer to DFSMS/MVS: This message is issued by the following CSECT: DSNB1OST
Diagnosis Reference for DFSMSdfp for a description of these System Action: Buffer manager functions that detect this
codes. condition terminate and pass a unique error return code.
The connection ID, correlation ID, and logical-unit-of-work ID Operator Response: Notify the system programmer.
(LUW-ID) identify the user or application that encountered the
problem. System Programmer Response: Correct the situation, and
then reinvoke the application.
An LUW-ID of '*' indicates that the thread does not have an
LUW-ID. If the LUW-ID is not an '*', the value is a logical- Problem Determination: Collect the following diagnostic
unit-of-work-id that is assigned to the thread followed by an items listed in Appendix B, “Problem determination” on
'=' sign and a token value which can be used in place of page 1051: 1, 5, 10, 12.
logical-unit-of-work-id in any DB2 command that accepts
logical-unit-of-work-id as input. DSNB209I csect-name–BUFFER MANAGER
System Action: DB2 continues closing this data set. TABLESPACE/INDEXSPACE CLEAN–UP
However, the utility job is informed with a 00C2010C 'resource ROUTINE (DSNB1CFC) HAS BEEN SCHED-
unavailable' reason code. The utility job is left in a failed state. ULED FOR DBNAME = dbn, SPACENAME =
spn, PSID = X'psid'
Operator Response: Notify the system programmer.
Explanation: DB2 detected an abnormal condition for one of
System Programmer Response: To determine the cause of the following reasons:
the error, refer to system message IEC161I in the appropriate
MVS publication. Correct the error, and then notify the user to The associated table space or index space contains modi-
reinvoke the application. fied pages that cannot be written to DASD for a period of
time that is longer than expected. This can be caused by
Problem Determination: Collect the following diagnostic either an unusually long period of contiguous update or by
items listed in Appendix B, “Problem determination” on an internal logic error.
page 1051: 1, 10, 11. This message follows an abnormal termination due to
inconsistent data or an incomplete update to the page.
DSNB204I OPEN OF DATA SET FAILED. DSNAME = dsn DB2 scheduled the table space or index space cleanup routine
Explanation: A required data set of a DB2 table or index (DSNB1CFC) for the associated table space or index space.
space could not be opened. The error was detected by the DSNB1CFC acquires a drain lock to ensure that no updates
media manager CONNECT function that issues system are in progress. Data is inaccessible to users during the
message IEC161I. The dsn indicates the DSNAME of the data cleanup process.
set. For recoverable inconsistent pages with unbalanced write
After being issued for a given data set, this message is disa- intents, DB2 initiates the recovery process and reconstructs the
bled for that data set. pages using the DB2 log. For other modified pages with
unbalanced write intents, the buffer manager forces the pages
System Action: Buffer manager functions that detect this
to be written back to DASD and then makes the buffer space
condition terminate.
available for reassignment.
Operator Response: Notify the system programmer.
The dbn indicates the database name with which the table
System Programmer Response: To determine the cause of space or index space is associated. The spn is the name of
the error, refer to system message IEC161I in the appropriate the table space or index space that must be cleaned up. The
MVS publication. Correct the error, and reinvoke the applica- psid is the internal identifier for the table space or index space;
tion. it is used to associate this message with follow-on message
DSNB221I, which might be issued.
Problem Determination: Collect the following diagnostic
items listed in Appendix B, “Problem determination” on System Action: DB2 is ready to clean up the associated
page 1051: 1, 5, 10, 12. table space or index space. However, before any cleanup is
initiated, DB2 requests a drain on the table space or index
space. DB2 waits indefinitely for this lock. Therefore, all activ-
ities against the table space and/or index space must be qui-
esced before the cleanup process can proceed. If the occurred between the associated DSNB212I message and this
associated object is an index space, all activities against the message. Use the time stamp on the log records to find this
table space for which the index space is defined must also be abend.
quiesced. After the cleanup process completes, the table
space or index space is automatically made accessible to DSNB219I csect-name–BUFFER MANAGER
users. TABLESPACE/INDEXSPACE CLEAN–UP
User Response: If the clean up activity does not appear to PROCESS HAS BEEN COMPLETED FOR
be completed, DB2 might still be waiting for a drain lock on the DBNAME = dbn , SPACENAME = spn
table space. Issue a -DISPLAY DATABASE CLAIMERS Explanation: This message indicates that the buffer manager
command for the table space in question (for index spaces, (BM) table space or index space cleanup process completed
this would be the associated table space) to determine whether for the associated table space or index space. Refer to
the clean up routine is still waiting for a lock and if so, to deter- message DSNB209I for the reasons why the buffer manager
mine the holders of the table space lock. If the jobs are holding schedules the table space or index space cleanup process.
the table space lock for a very long duration (for instance, wait- The dbn indicates the associated database name. The spn
for-input), it might be necessary to cancel those jobs in order indicates the table space name or index space name.
to allow the clean up process to proceed.
System Action: Processing continues.
DSNB212I csect-name–RECOVER PAGE STARTING
DBNAME = dbn , SPACENAME = spn , PAGE DSNB221I csect-name–BUFFER MANAGER
NUMBER = X'pno' TABLESPACE/INDEXSPACE CLEAN–UP
PROCESS WAS NOT REQUIRED FOR PSID =
Explanation: The buffer manager (BM) subcomponent of X'psid'
DB2 discovered an inconsistent page with unbalanced write
intents. DB2 is ready to do online recovery on the page using Explanation: This message indicates that the buffer manager
the DB2 log. The dbn indicates the associated database name. (BM) table space or index space cleanup process was
The spn indicates the table space name or index space name. bypassed for the associated table space or index space. After
The pno is the page number (in hexadecimal) within the table quiescing all other activities against the table space or index
space or index space that is logically inconsistent. space, the buffer manager discovered that the table space or
index space is no longer in active mode; that is, it was closed.
System Action: Processing continues.
The abnormal condition detected earlier was resolved by buffer
manager close page set processing. Refer to the corre-
DSNB215I csect-name–ONLINE RECOVERY FOR AN
sponding message, DSNB209I, using psid as the matching
INCONSISTENT PAGE HAS BEEN COM-
field, for the reasons the buffer manager schedules the table
PLETED FOR DBNAME = dbn , SPACENAME =
space or index space cleanup process. The psid is the internal
spn , PAGE NUMBER = X'pno'
identifier for the associated table space or index space.
Explanation: The recovery process for an inconsistent page
System Action: Processing continues.
completed. The dbn indicates the associated database name.
The spn indicates the table space name or index space name.
The pno is the page number (in hexadecimal) within the table DSNB223I csect-name–BUFFER MANAGER
space or index space that was logically inconsistent. TABLESPACE/INDEXSPACE CLEANUP
PROCESS WAS SKIPPED FOR PSID = X'psid'
System Action: Processing continues.
Explanation: This message indicates that the table space or
index space cleanup process was bypassed for the associated
DSNB217I csect-name–ONLINE RECOVERY FOR AN
table space or index space. During the process of quiescing all
INCONSISTENT PAGE WAS UNSUCCESSFUL
other activities against the table space or index space, an error
FOR DBNAME = dbn , SPACENAME = spn ,
that is not recoverable was detected. The error might be
PAGE NUMBER = X'pno'
caused by any of the following conditions:
Explanation: The recovery process for an inconsistent page
An out-of-storage condition was detected by IRLM.
failed. The page is written to DASD as logically inconsistent.
The table space or index space was dropped because of a
This message is issued in response to message DSNB212I,
backout.
which was issued to indicate the start of the recovery process.
The dbn indicates the associated database name. The spn It is assumed that the abnormal condition detected earlier can
indicates the table space name or index space name. The pno later be resolved by the close page set processing. Refer to
is the page number (in hexadecimal) within the table space or the corresponding message DSNB209I (use psid as the
index space that was logically inconsistent. matching field) for the reasons for scheduling the table space
or index space cleanup process. The psid specifies the internal
System Action: The page is marked as logically inconsistent
identifier for the associated table space or index space.
and is unavailable until it is repaired. The execution unit driving
this function proceeds normally. System Action: Processing continues.
Problem Determination: A DSNI012I message might be System Programmer Response: The associated table space
issued before this message to indicate the same failure. If it is, or index space might contain inconsistent data. Issue the DB2
a 00C90102 abend dump might help determine the cause of STOP TABLESPACE or INDEXSPACE command to allow
this failure. Otherwise, see SYS1.LOGREC for any abend that close page set processing to perform cleanup for the associ-
ated table space or index space.
DSNB228I csect-name GROUP BUFFER POOL gbpname DSNB232I csect-name - UNEXPECTED DATA SET LEVEL
CANNOT BE ACCESSED FOR function MVS ID ENCOUNTERED - LEVEL ID =lvlid
IXLCACHE REASON CODE=reason EXPECTED LEVEL ID=xlvlid DSN=dsn
Explanation: While accessing group buffer pool gbpname for Explanation: A required data set of a DB2 table space could
function function DB2 received an error from the MVS not be opened. DB2 encountered an unexpected data set level
IXLCACHE request. ID.
function READ or WRITE | lvlid The unexpected level ID from the data set. If
reason Reason code from the MVS IXLCACHE
| DB2 was unable to retrieve the level ID from
request
| the data set (for example, if the data set had
| been deleted and redefined), the level ID is
System Action: The system action depends on the function | shown as "X''".
being performed. If the function is a WRITE, or a READ per-
xlvlid The level ID recorded by DB2 previously and
formed during rollback or DB2 restart, the page is added to the
is the expected level ID for opening the data
logical page list (LPL) for the data set and message
set.
DSNB250E is issued. Otherwise, 'resource unavailable' is
returned to the user with a reason code that identifies the spe- dsn The DSNAME of the data set.
cific problem.
This problem could be the result of data sets that were
System Programmer Response: See MVS/ESA restored to a level that is inconsistent with other data sets,
Programming: Sysplex Services Reference for an explanation inconsistent with the DB2 log, or both.
of the MVS IXLCACHE reason code.
System Action: DB2 sends back a 'resource unavailable'
SQL code to the application and a reason code explaining the
| DSNB229I csect-name UNEXPECTED ERROR WHEN error.
| CHECKING FOR REQUEST COMPLETION FOR
Operator Response: Notify the system programmer.
| GROUP BUFFER POOL gbp-name MVS
| IXLFCOMP REASON CODE=reason System Programmer Response: To enable access to a data
set reported as down level, take one of the following actions:
| Explanation: DB2 received an unexpected error from MVS
| when checking for the completion of a write request to the sec- Restore the page set or partition to the proper level (use
| ondary group buffer pool for duplexing. gbp-name indicates DSN1COPY, DFHSM, or another tool).
| the name of the group buffer pool. If the group buffer pool is
Identify the level ID of a copy of the page set or partition
| duplexed and the error was encountered on a request to the
by running the DSN1PRNT(FORMAT) utility. The level ID
| secondary group buffer pool, then gbp-name indicates the
is found in the header page of the page set or partition.
| name of the group buffer pool suffixed with '-SEC'.
Recover the down level page set or partition to currency by
| reason is the reason code from the MVS IXLFCOMP service.
running the RECOVER or RECOVER LOGONLY utility.
| System Action: DB2 returns the group buffer pool back to
Accept the down levelling by running the REPAIR utility
| simplex mode. The secondary group buffer pool is deallocated.
with the LEVELID option.
| System Programmer Response: See MVS/ESA
| This option is only valid if DB2 is able to access the level
| Programming: Sysplex Services Reference for an explanation
| ID (lvlid is not "X''").
| of the MVS IXLFCOMP reason code.
Inconsistent data problems might result from this action
and are the user's responsibility.
DSNB230I A SHARED OWNING SYSTEM CANNOT
CONNECT A SHARED DATASET IN OUTPUT Replace the contents of the page set or partition using the
MODE. DSN=dsn LOAD REPLACE utility.
Explanation: A required inter-system sharing data set of a Explicitly restore the page set to a prior point in time with
DB2 table or index space could not be opened in output mode. the RECOVER utility.
The error was detected by the media manager CONNECT
If the expected level ID is less than the encountered level ID, it
function, which issues system message IEC161I. The dsn is
is possible that the object identified in the message was ported
the DSNAME of the data set.
from another system improperly or it might indicate that
DSNDB01.SYSLGRNX is down level. If the problem is in the
DSNB231I A SHARED DATASET CANNOT BE CON- object identified in the message, the actions listed above can
NECTED IN INPUT MODE. DSN=dsn be used to allow access to the data. If the problem is in
SYSLGRNX, this is a serious situation that compromises the
Explanation: A required inter-system sharing data set of a
recoverability of all objects managed by DB2. Investigate
DB2 table or index space could not be opened in input mode.
whether SYSLGRNX might have inadvertently been restored to
The error was detected by the media manager CONNECT
a point in time inconsistent with the rest of the DB2 system.
function, which issues system message IEC161I. The dsn is
the DSNAME of the data set.
DSNB301E csect-name GROUP BUFFER POOL gbpname 1st choice: Coupling facility that meets the volatility
CANNOT BE CONNECTED DB2 REASON requirement, the space requirement, and the
CODE = reason1 MVS IXLCONN REASON exclusion list requirement.
CODE = reason2 2nd choice: Coupling facility that meets the volatility
Explanation: DB2 was not able to connect to the named requirement and the storage requirement.
group buffer pool. This message is generally issued once for 3rd choice: Coupling facility that has the best fit (most
each DB2 subsystem for each DB2 reason code, except available free space) even though this might
00C20204, until the failure condition is corrected. be less than the amount requested.
reason1 DB2 reason code 4th choice: Structure cannot be allocated.
reason2 MVS IXLCONN reason code IFCID 0250, if activated, contains a list of the coupling facilities
For DB2 reason code 00C20204, which indicates a problem on which allocation was attempted.
during MVS IXLCONN processing, this message is issued
once for each DB2 subsystem for each IXLCONN reason code DSNB303E csect-name A LOSS OF CONNECTIVITY WAS
until the failure condition is corrected. If the DB2 reason code DETECTED TO GROUP BUFFER POOL
is not 00C20204, then reason2 contains zeros. See MVS/ESA gpbname
Programming: Sysplex Services Reference for an explanation
Explanation: Connectivity to group buffer pool gpbname was
of MVS IXLxxxx reason codes
lost.
System Action: If the connection was requested on behalf of
System Action: DB2 disconnects from the coupling facility
an access request by an SQL user on this DB2, SQLCODE
structure with REASON=FAILURE.
-904 (resource unavailable) is returned to the SQL user with
the DB2 reason code shown in this message. The action taken in response to this problem depends on the
attempted function, as follows:
If the connection was requested on behalf of an SQL user on
another DB2 in the data sharing group, SQLCODE -904 For a coupling facility read: SQLCODE -904 (resource una-
(resource unavailable) is returned to the SQL user with DB2 vailable) is returned to the SQL user with a reason code
reason code 00C20252. This indicates that the requested table indicating the specific error.
space or index space is unavailable because another DB2 For a coupling facility read during rollback, backout, or
cannot connect to the group buffer pool. restart: The inaccessible page is added to the logical page
If the MVS IXLCONN reason code is xxxx0C08 (structure allo- list (LPL) for the page set. Message DSNB250E is issued
cation failed because there was no suitable facility to allocate for the first page of each data set added to the LPL.
based on the preference list in the MVS CFRM administrative For a coupling facility read during castout: The castout
policy), or if the MVS IXLCONN reason code is xxxx084C operation cannot complete.
(user does not have proper Security Access Facility (SAF)
For a coupling facility write: The changed page is added to Consult the documentation for your processor hardware to
the LPL for the page set. determine if the HSA storage allocation can be increased,
and if so, how to do it.
DSNB304I csect-name GROUP BUFFER POOL gbpname Modify the software configuration in your parallel sysplex to
WAS SET TO 'DAMAGE ASSESSMENT reduce the number or size of the vectors that are in use by
PENDING' STATUS other coupling facility structure users. Consider the fol-
Explanation: A coupling facility structure for a group buffer lowing possible solutions:
pool was damaged. – Use the DB2 ALTER BUFFERPOOL command to
System Action: reduce the size of this local buffer pool. This means
you might have to reduce or eliminate the hiperpool or
DB2 puts the group buffer pool into 'damage assessment reduce the size of the virtual pool.
pending' (DAP) status. Message DSNB304I indicates the
DAP status. The group buffer pool cannot be accessed – Use the DB2 ALTER BUFFERPOOL command to
until DAP status is cleared. reduce the size of another local buffer pool that is
already connected to a group buffer pool. This means
The DB2 damage assessment process determines which that you might have to reduce or eliminate the
table spaces and index spaces are using the failed group hiperpool, or reduce the size of the virtual pool. If you
buffer pool and puts those spaces into 'group buffer pool make a connected buffer pool smaller, DB2 can usually
recovery pending' (GRECP) status. contract the size of the corresponding LCV dynam-
After DB2 sets all the necessary spaces to GRECP status, ically, making HSA storage available. However, DB2
the DAP status for the group buffer pool is cleared. cannot always do the dynamic LCV contraction; this is
Message DSNB305I indicates that DAP status is cleared. especially true if there is a hiperpool. In cases where
DB2 cannot dynamically contract the LCV size, you
can use the DB2 ALTER BUFFERPOOL command to
DSNB305I csect-name 'DAMAGE ASSESSMENT either force a deallocation of the LCV or to force a con-
PENDING' STATUS WAS CLEARED FOR traction of the LCV as follows:
GROUP BUFFER POOL gbpname
1. Delete the hiperpool, if it exists.
Explanation: Damage assessment completed and the
'damage assessment pending' (DAP) status is cleared for the 2. Take one of the following actions:
group buffer pool (GBP). At this point, the group buffer pool a. Make the virtual pool very small (perhaps 50
status is no longer restricted and DB2 attempts to reconnect to pages or less). Making the virtual pool suffi-
the group buffer pool on the next reference to a ciently small should let DB2 dynamically con-
GBP-dependent page set within the associated buffer pool. tract the LCV, or
Message DSNB304I precedes this message. b. Delete the virtual pool to let DB2 disconnect
from the group buffer pool. This frees the
DSNB306I csect-name THE REQUESTED LENGTH OF entire LCV associated with that member's con-
THE LOCAL CACHE VECTOR COULD NOT BE nection to that group buffer pool.
ALLOCATED FOR GROUP BUFFER POOL 3. Redefine the virtual pool to be smaller than the ori-
gbpname REQUESTED LENGTH = length1 ginal size. If a hiperpool originally existed, then you
ALLOCATED LENGTH = length2 can probably restore the virtual pool back to its ori-
Explanation: DB2 connected to the group buffer pool indi- ginal size.
cated by gbpname, but the MVS Cross-system Extended Ser- – Consolidate your group buffer pool-dependent page
vices (XES) component could not allocate the requested size sets into fewer buffer pools to reduce the number of
of the local cache vector (LCV) in the hardware system area group buffer pool connections.
(HSA). DB2 requires an LCV size that is large enough to
handle all pages in the member's buffer pool (virtual pool and – Consult the documentation for the other software com-
hiperpool combined). ponents that might be using a coupling facility cache or
list structure with an associated LCV to determine
length1 indicates the LCV size (in number of bits) that DB2 whether it is possible to either delete the connection or
requested. length2 indicates the LCV size (in number of bits) to reduce the size of the LCV associated with the con-
that XES was able to allocate. nection.
To prevent flooding the operator console, this message is only
issued once per DB2 member per group buffer pool until the DSNB307I csect-name GROUP BUFFER POOL gbpname
condition is corrected. WAS SUCCESSFULLY ALLOCATED BUT THE
System Action: DB2 disconnects from the GBP and issues EXCLUSION LIST WAS NOT HONORED
message DSNB301E with reason code 00C20208, if it has not Explanation: DB2 successfully connected to the group buffer
yet been issued. pool and allocated the group buffer pool in a coupling facility.
SQLCODE -904 is returned to the user with a reason code of However, the group buffer pool was allocated in a coupling
00C20208. facility containing a structure in the exclusion list.
System Programmer Response: There is not enough HSA System Programmer Response: If you require that the
storage on the processor to support the size of the local cache exclusion list be honored, you must ensure that there is suffi-
vector. The details of HSA allocation are machine-dependent cient space in the coupling facilities that are not in the exclu-
and are defined by the hardware. To correct this problem, take sion list. IFCID 0250 provides information about which facilities
one or both of the following actions: were attempted.
DSNB308I csect-name GROUP BUFFER POOL gbpname DSNB311I csect-name DBNAME database SPACE NAME
WAS SUCCESSFULLY ALLOCATED BUT THE spacename HAS PAGES IN THE LOGICAL
ALLOCATED SIZE OF alloc_size IS LESS PAGE LIST
THAN THE REQUESTED SIZE OF req_size
Explanation: This message is issued after a loss of
Explanation: DB2 successfully connected to the group buffer connectivity to a group buffer pool was detected. The message
pool and allocated the group buffer pool in a coupling facility. indicates that the named table space or index space has one
However, the allocated size of the group buffer pool was less or more pages in the logical page list (LPL) that need to be
than the requested size in the MVS CFRM administrative recovered. This message is issued after DB2 has completed
policy because there is not enough space in the preference list its processing for the table space or index space; this is the
facilities. Both alloc_size and req_size are in 4KB blocks. earliest point at which you can recover LPL pages for that
table space or index.
System Programmer Response: IFCID 0250 provides infor-
mation about which coupling facilities were used for attempted System Action: The pages in the LPL are not accessible
allocation. until they have been recovered.
System Programmer Response: Issue the START DATA-
DSNB309I csect-name GROUP BUFFER POOL gbpname BASE command with the named table space or index to
HAS BEEN DISCONNECTED WITH A REASON recover the LPL pages. The START DATABASE command
OF 'reason' must be issued from a DB2 member that can connect to the
Explanation: DB2 disconnected from the named group buffer group buffer pool. Alternatively, the RECOVER utility or the
pool. LOAD utility can be used to recover the LPL pages.
evaluates the scope of the loss of connectivity in terms of SFM case is where the group buffer pool was manually deleted (via
weights associated with the systems which have lost MVS SETXCF FORCE commands) while all connections to the
connectivity and which have active connectors to the coupling group buffer pool were failed-persistent (e.g. all DB2 members
facility structure (if there are systems that do not have an were down). In this case, the next DB2 member to connect to
active connector to the coupling facility structure, then those the group buffer pool will cause MVS to try to reallocate a new
systems are not factored into the "percentage loss of instance of the group buffer pool in some coupling facility in
connectivity" calculation). the CFRM policy preference list. If the allocation succeeds,
then DB2, by doing a coupling facility structure version id com-
If reason is not LOSSCONN, then percentage is not applicable
parison, will detect that the previous instance of the group
(it should appear as zero).
buffer pool had been lost, and will trigger damage assessment.
System Action: The DB2 member disconnects the group But you will not receive the DSNB314I message in this case,
buffer pool, putting its connection into a "failed-persistent" nor will you receive the DSNB304I or DSNB305I messages
state. indicating that the group buffer pool has been put into damage
If there are transactions that are in progress at the time of the assessment pending (DAP) state. You will only receive a
connectivity failure, DB2 might need to add pages to the logical series of DSNB322I and/or DSNB323I messages indicating
page list (LPL). those pagesets or partitions that have been put into GRECP
state by the damage assessment process.
System Programmer Response: Use the START DATA-
BASE command to recover the LPL pages. If DSNDB01 or System Programmer Response: Use the START DATA-
DSNDB06 objects have LPL pages, you might need to recover BASE command to recover the LPL pages and GRECP
these first, before proceeding with LPL recovery for other objects. If DSNDB01 or DSNDB06 objects are in GRECP state
objects. or have LPL pages, you might need to recover these first,
before proceeding with GRECP or LPL recovery for other
objects.
DSNB314I csect-name DAMAGE ASSESSMENT TO BE
TRIGGERED FOR GROUP BUFFER POOL
gpbname REASON=reason | DSNB315I csect-name GROUP BUFFER POOL gpbname
| IS ALLOCATED AS GBPCACHE cacheatt
Explanation: DB2 is about to initiate the damage assessment
function for group buffer pool gpbname because of a detected | Explanation:
error in either the coupling facility in which the group buffer | YES The group buffer pool will be used for
pool was allocated, or in the connectivity from the MVS | data caching.
systems to the coupling facility.
| NO The group buffer pool will not be used
reason is one of the following: | for data caching. It will be used for cross
100%LCON An error has occurred in a coupling facility or | invalidation only.
in the attachments of MVS systems to a cou- | One DB2 member issues this message whenever the structure
pling facility which has caused all DB2 | is allocated. DB2 detects this on the first connection to the
members to lose connectivity to the named | group buffer pool either in the mainline processing or during
group buffer pool. | group buffer pool rebuild.
STRFAIL There was an error in the coupling facility in | System Action: DB2 processing continues.
which the group buffer pool was allocated
which caused a failure of the coupling facility
DSNB319A csect-name THERE IS A SHORTAGE OF
structure.
SPACE IN GROUP BUFFER POOL gbp-name
CONERROR The named group buffer pool is currently allo-
Explanation: The amount of storage in the group buffer pool
cated in a coupling facility, but DB2 cannot
(GBP) coupling facility structure available for writing new pages
connect to the group buffer pool because the
is low. The GBP is 75 percent full with changed data. As the
system on which it is running does not cur-
GBP fills with changed data, the castout thresholds are contin-
rently have connectivity, and MVS has indi-
uously reached, and the castout engines must continuously
cated that currently no other member is
work to attempt to keep the number of changed pages in the
actively connected and has connectivity.
GBP below the castout thresholds. Also, the more changed
DAP The named group buffer pool is in damage data the GBP contains, the less efficiently it operates. Com-
assessment pending (DAP) state. pletely running out of GBP storage can result in transaction
delays and in pages being added to the logical page list (LPL).
System Action: DB2 triggers the damage assessment func-
tion to ensure that any changed pages that might have been This message stays on the MVS console and is highlighted.
cached in the affected group buffer pool get marked as
System Action: DB2 processing continues.
"needing recovery" (the objects to which the pages belong are
marked in GRECP state). This message should be immediately This message might remain highlighted and might not be auto-
followed by a DSNB304I message indicating that the group matically deleted in a pre SP5.2.1-JES3 environment.
buffer pool has been entered into damage assessment pending Operator Response: Contact the system programmer to fix
(DAP) state. the storage problem.
If there are transactions that are in progress at the time of the System Programmer Response:
connectivity failure, DB2 might need to add pages to the logical
page list (LPL). You can relieve the GBP storage shortage by taking one or
more of the following actions:
There is one case where DB2 triggers damage assessment for
a group buffer pool, but no DSNB314I message is issued. This
Explanation: This message reports the group buffer pool Explanation: This message reports the group buffer pool
recovery pending (GRECP) status of the named table space or recovery pending (GRECP) status of the table space or index
index space partition. space identified by the internal identifiers DBID and PSID. This
message is issued instead of message DSNB321I when the
Severity: 4 (warning) name of the table space or index space is not available. The
System Action: The data in the named partition is not acces- table space or index space cannot be automatically recovered
sible. because there are retained physical locks (P-locks) on the
space.
User Response: Issue the -START DATABASE command on
the partition to remove the GRECP status and make the data Severity: 4 (warning)
accessible again. You can also use the RECOVER or LOAD System Action: The table space or index space is not acces-
utility with the REPLACE option to clear the GRECP status. sible.
User Response: Issue the -DISPLAY DATABASE(*)
DSNB321I csect-name - DBNAME database SPACE NAME SPACENAM(*) RESTRICT command to determine the table
spacename IN GROUP BUFFERPOOL gbpname spaces or index spaces in GRECP status. First, start the failed
IS IN GROUP BUFFERPOOL RECOVERY DB2 members that hold retained P-locks on the table space or
PENDING STATE index space.Issue the -START DATABASE command on the
Explanation: This message reports the group buffer pool table space or index space to remove the GRECP status and
recovery pending (GRECP) status of the named table space or make the data accessible again. You can also use the
index space. RECOVER or LOAD utility with the REPLACE option to clear
the GRECP status.
Severity: 4 (warning)
System Action: The table space or index space is not acces- DSNB325A csect-name THERE IS A CRITICAL SHORTAGE
sible. OF SPACE IN GROUP BUFFER POOL gbp-
User Response: Issue the -START DATABASE command on name
the table space or index space to remove the GRECP status Explanation: The amount of storage in the group buffer pool
and make the data accessible. You can also use the (GBP) coupling facility structure available for writing new pages
RECOVER or LOAD utility with the REPLACE option to clear is critically low. The GBP is 90 percent full with changed data.
the GRECP status. As the GBP fills with changed data, the castout thresholds are
continuously reached, and the castout engines must contin-
uously work to attempt to keep the number of changed pages
in the GBP below the castout thresholds. In addition, the more
the GBP is filled with changed data, the less efficient are the
coupling facility storage management algorithms. Completely
# DSNB330I csect-name GROUP BUFFER POOL gbpname
CANNOT BE CONNECTED FOR REBUILD
running out of GBP storage can result in transaction delays
DB2 REASON CODE = reason1 MVS IXLCONN
and in pages being added to the logical page list (LPL).
REASON CODE = reason2
This message stays on the MVS console and is highlighted.
Explanation: DB2 was not able to connect to the named
System Action: DB2 processing continues. group buffer pool for rebuild. reason1 is the DB2 reason code.
This message might remain highlighted and might not be auto- reason2 is the MVS IXLCONN reason code. See MVS/ESA
matically deleted in a pre-SP5.2.1-JES3 environment. Programming: Sysplex Services Reference for an explanation
of MVS IXLxxxx reason codes.
Operator Response: Contact the system programmer to fix
the storage problem. System Action: DB2 stops the rebuild.
System Programmer Response: You can relieve the GBP Problem Determination: If the MVS IXLCONN reason code
storage shortage by taking one or more of the following is xxxx0C08 (structure allocation failed because there was no
actions: suitable facility to allocate based on the preference list in the
MVS CFRM administrative policy), or if the MVS IXLCONN
Use the ALTER GROUPBUFFERPOOL command to lower reason code is xxxx084C (user does not have proper Security
the CLASST and GBPOOLT castout thresholds. Access Facility (SAF) authorization), then IFCID 0250, if active,
Use the ALTER GROUPBUFFERPOOL command to lower contains additional diagnostic information.
the GBPCHKPT GBP checkpoint frequency.
Use the MVS SETXCF START,REBUILD command to DSNB331I csect-name REBUILD STARTED FOR GROUP
expand the GBP coupling facility structure. If you rebuild, BUFFER POOL gbpname REASON = reason
you can use the ALTER GROUPBUFFERPOOL command Explanation: A rebuild has been initiated for the named
to lower the RATIO so that a higher percentage of the group buffer pool. reason indicates the reason why the rebuild
GBP storage is given to data entries over directory entries. was initiated. reason can be one of the following:
If you are running on MVS 5.2 or a subsequent release, OPERATOR The operator initiated a SETXCF command to
you can use the MVS SETXCF START,ALTER command initiate the rebuild.
to expand the size of the GBP (the maximum size to which
you can expand is determined by the SIZE parameter in LOSSCONN MVS detected a loss of connectivity to the
the CFRM policy that was used to allocate the GBP). group buffer pool.
If you don't do anything to relieve the storage shortage, This message is issued by each DB2 member participating in
message DSNB228I appears if a write to the GBP fails due to the rebuild.
a 'GBP full' condition. If DB2 detects a 'full' condition, it will System Action: The DB2 members that are actively con-
suspend the transaction, initiate castout activity, and then retry nected to the named group buffer pool participate in the
the write to the GBP. If the GBP write still fails after several rebuild. DB2 accomplishes the group buffer pool rebuild proc-
retry attempts, then DB2 adds the page to LPL. essing in two phases:
Message DSNB327I appears when the GBP storage shortage 1. Quiesce phase. Each member quiesces all local access to
is relieved. the group buffer pool.
You can monitor the amount of GBP storage in use with the 2. Connect phase. Each member connects to the new struc-
DISPLAY GBPOOL command and with the DB2 statistics ture. Each page set or partition castout owner that has
trace. Monitor the castout activity to ensure that castouts are connectivity to original structure is responsible for writing
keeping up with the rate of GBP-write activity. You can use pages from the original structure to the new one. If there
Performance trace classes 20 and 21 (specifically, IFCIDs are not enough data entries in the new structure, the page
0261, 0262 and 0263) to do more detailed monitoring of the set and partition owners cast those pages out to DASD
DB2 castout processing. instead. Each member issues message DSNB332I after it
completes this activity. After all members have completed
DSNB327I csect-name GROUP BUFFER POOL gbp-name their castout owner rebuild work, the group buffer pool
HAS ADEQUATE FREE SPACE structure owner does the final sweep and checks to see if
there are any changed pages still remaining in the original
Explanation: The group buffer pool (GBP) coupling facility structure. If so, the structure owner reads the changed
structure has adequate space available for the writing of new pages from the original structure and writes them to the
pages to the GBP. new one. The structure owner issues message DSNB333I
This message may be issued when either of the following after it has completed the final sweep.
occurs: After all members have responded to MVS indicating that its
Rebuilding of GBP reduces changed page count to 60% or connect phase processing is complete, MVS then notifies each
less of GBP capacity. member that the rebuild is complete. Each DB2 member
'changed data.' entries decrease to 60% or lower when issues message DSNB338I indicating that the rebuild has com-
they were previously 75% GBP capacity or higher. pleted successfully.
System Action: DB2 processing continues. If an error occurs during the rebuild, the rebuild is stopped.
Each DB2 member issues message DSNB335I indicating the
reason why the rebuild is stopping, followed by message
DSNB339I indicating that the rebuild has not completed suc-
cessfully. The operator can also stop rebuilds using the MVS
SETXCF command.
GRECP status and make the data accessible. You can also
DSNB338I csect-name THE REBUILD FOR GROUP
use the RECOVER or LOAD utility with the REPLACE option
BUFFER POOL gbpname HAS COMPLETED
to clear the GRECP status.
SUCCESSFULLY
Explanation: The rebuild for the named group buffer pool has DSNB351I csect-name DBNAME database SPACE NAME
successfully completed. spacename PARTITION part# CANNOT BE
This message is preceded by message DSNB331I which indi- AUTOMATICALLY RECOVERED.
cates the reason why the rebuild was started. This message is DB2 REASON CODE = reason
issued by each DB2 member participating in the rebuild. Explanation: Following a group buffer pool failure, DB2
System Action: The original structure is discarded and all cannot automatically recover the named table space or index
DB2s that are connected to the group buffer pool begin using space partition. reason specifies a DB2 reason code that indi-
the new structure. cates why DB2 could not initiate the recovery.
Severity: 4 (warning)
DSNB339I csect-name THE STOP OF THE REBUILD FOR
System Action: The partition remains in group buffer pool
GROUP BUFFER POOL gbpname HAS COM-
recovery pending (GRECP) status and is inaccessible.
PLETED
User Response: Use the DB2 -START DATABASE
Explanation: The stop of the rebuild for the named group
command on the partition to remove the GRECP status and
buffer pool has completed.
make the data accessible. You can also use the RECOVER or
This message is preceded by message DSNB335I which indi- LOAD utility with the REPLACE option to clear the GRECP
cates the reason why the rebuild was stopped. This message status.
is issued by each DB2 member participating in the rebuild.
System Action: The new structure is discarded. If the original DSNB352I csect-name AUTOMATIC RECOVERY CANNOT
structure is still usable, then all members that still have BE INITIATED FOR GROUP BUFFER POOL
connectivity to the original structure resume using it, and gbp-name REASON = reason
members that do not have connectivity to the original structure Explanation: Following a failure of the named group buffer
disconnect and their connection goes into a failed-persistent pool, DB2 is not able to initiate automatic recovery.
state.
reason indicates the reason why automatic recovery was not
If the original structure is not usable, then DB2 initiates initiated:
damage assessment processing for the group buffer pool.
AUTORECNO The AUTOREC option is set to NO for the
group buffer pool.
# DSNB340I csect-name UNEXPECTED ERROR DURING
REBUILD FOR GROUP BUFFER POOL CONNRELEASE At least one actively connected DB2 member
gbpname MVS service-name RETURN CODE = is not at the proper release to support auto-
rc MVS service-name REASON CODE = reason matic recovery.
Explanation: DB2 received an unexpected error from MVS Severity: 4 (warning)
during rebuild processing for the named group buffer pool. System Action: The page sets and partitions that are in
service-name is one of the following: group buffer pool recovery pending (GRECP) status remain
inaccessible.
IXLREBLD
IXLEERSP User Response: Use the DB2 -START DATABASE
command on the page sets and partitions to remove the
rc is the return code from the MVS service and reason is the
GRECP status and make the data accessible. You can also
reason code.
use the RECOVER or LOAD utility with the REPLACE option
System Action: DB2 stops the rebuild. to clear the GRECP status.
System Programmer Response: See MVS/ESA If reason is AUTORECNO and you want to enable automatic
Programming: Sysplex Services Reference for an explanation recovery for the group buffer pool, use the ALTER
of the return and reason code for the named MVS service. GROUPBUFFERPOOL command to set AUTOREC to YES for
the group buffer pool.
DSNB350I csect-name DBNAME database SPACE NAME If reason is CONNRELEASE, then you must ensure that all
spacename CANNOT BE AUTOMATICALLY DB2 members in the group are running at the appropriate
RECOVERED. DB2 REASON CODE = reason release. Automatic recovery is not supported unless all
members are running Version 5 or a later release.
Explanation: Following a group buffer pool failure, DB2
cannot automatically recover the named table space or index
space. reason specifies a DB2 reason code that indicates why DSNB353I csect-name ASYNCHRONOUS GRECP
DB2 could not initiate the recovery. RECOVERY IN PROGRESS FOR GROUP
BUFFER POOL bpoolname
Severity: 4 (warning)
Explanation: Following a group buffer pool failure, DB2 trig-
System Action: The table space or index space remains in
gers an automatic recovery process to attempt to recover
group buffer pool recovery pending (GRECP) status and is
GRECP page sets for the specified group buffer pool. This
inaccessible.
message is issued once by any DB2 member who is the page
User Response: Use the DB2 -START DATABASE set castout owner on one of the objects being recovered.
command on the table space or index space to remove the
System Action: Check for the DSNB354I message to verify hpsize The user-specified hiperpool size.
the completion of the automatic recovery process.
hpcast The hiperpool's CASTOUT attribute (YES or
NO).
DSNB354I csect-name ASYNCHRONOUS GRECP
hpalc Number of allocated buffers in an active
RECOVERY HAS COMPLETED FOR GROUP
hiperpool.
BUFFER POOL bpoolname.
hptbd Number of buffers to be deleted in an active
Explanation: DB2 has completed the GRECP recovery
hiperpool because of pool contraction.
process for those GRECP page sets in the group buffer pool
specified in the message. This message is issued once by any hpback Number of buffers backed by expanded storage.
DB2 member who previously issued a DSNB353I message, For a CASTOUT(YES) hiperpool, this number is
who is the page set castout owner on one of the objects being higher than the actual number of backed buffers
recovered. if expanded storage frames were stolen by the
system and DB2 did not subsequently try to
DSNB401I BUFFERPOOL NAME bpname, BUFFERPOOL access the buffers.
ID bpid, USE COUNT ucount This message is issued by the following CSECT: DSNB1DBP
Explanation: This message contains the display information
that results from a DISPLAY BUFFERPOOL command. For | DSNB404I THRESHOLDS — VP SEQUENTIAL = vpseq HP
each buffer pool, this message is the first of a set of messages | SEQUENTIAL = hpseq DEFERRED WRITE =
that display information from the DISPLAY BUFFERPOOL | dwt VERTICAL DEFERRED WRT = dwv1,dwv2
command. | PARALLEL SEQUENTIAL = vppseqt
The statistics are:
| ASSISTING PARALLEL SEQT = vpxpseqt
Explanation: This message is displayed by the DISPLAY
bpname The buffer pool external name (BP0, BP1,...,
BUFFERPOOL command to describe the user-modifiable
BP49, BP8KB, BP16KB BP32K, BP32K1,...,
thresholds for the buffer pool. This message is always pre-
BP32K9).
ceded by message DSNB401I identifying the associated buffer
bpid The buffer pool internal identifier (0-49, 80-89). pool.
ucount The number of open table spaces or index The input threshold variables are:
spaces that refer to this buffer pool. A zero use
vpseq Sequential steal threshold for the virtual pool,
count means that the buffer pool is inactive.
expressed as a percentage of the total virtual buffer
System Action: Processing continues. pool size.
hpseq Sequential steal threshold for the hiperpool,
DSNB402I VIRTUAL BUFFERPOOL SIZE = vpsize expressed as a percentage of the total hiperpool
BUFFERS ALLOCATED = vpalc TO BE size.
DELETED = vptbd IN-USE/UPDATED = vpcba
dwt Free buffer deferred write threshold for the virtual
Explanation: This message, displayed by the DISPLAY buffer pool, expressed as a percentage of the total
BUFFERPOOL command, describes the allocation status of a virtual buffer pool size.
virtual buffer pool. This message is always preceded by
message DSNB401I identifying the associated buffer pool. dwv1 Vertical deferred write threshold for the virtual buffer
pool, expressed as a percentage of the total virtual
The statistics are: buffer pool size.
vpsize The user-specified virtual buffer pool size | dwv2 Vertical deferred write threshold for the virtual buffer
vpalc Number of allocated buffers in an active virtual pool, expressed as an absolute number of buffers.
buffer pool dwv2 is used to determine the threshold only if
dwv1 is zero and dwv2 is non-zero; otherwise dwv1
vptbd Number of buffers to be deleted in an active is used to determine the threshold.
virtual buffer pool because of pool contraction
vppseqt Sequential threshold for parallel query processing,
vpcba Number of currently active (that is, not stealable) expressed as a percentage of the virtual sequential
buffers in the virtual buffer pool steal threshold. When the threshold is set to 0,
System Action: Processing continues. there is no parallel query processing support.
vpxpseqt Assisting parallel sequential threshold, expressed
DSNB403I HIPERPOOL SIZE = hpsize BUFFERS, as a percentage of the sequential threshold for par-
CASTOUT = hpcast ALLOCATED = hpalc TO allel query processing. vpxpseqt allows you to
BE DELETED = hptbd BACKED BY ES = control how much buffer resource is used when this
hpback DB2 is assisting another member of the group in
parallel processing. When the threshold is set to 0,
Explanation: This message, displayed by the DISPLAY
this buffer pool will not be used to assist other data
BUFFERPOOL command, describes the allocation status of a
sharing members in processing a query. In a non-
hiperpool. This message is always preceded by message
data-sharing environment, this value is ignored.
DSNB401I identifying the associated buffer pool.
System Action: Processing continues.
The variables are:
| DSNB406I VIRTUAL BUFFERPOOL TYPE - CURRENT = DSNB411I RANDOM GETPAGE = rgp SYNC READ I/O (R)
| cvptype PENDING = pvptype PAGE STEALING = srr SEQ. GETPAGE = sgp SYNC READ I/O
| METHOD = pgsteal (S) = srs DMTH HIT = dmt
| Explanation: This message, displayed by the DISPLAY Explanation: This message is displayed by the DISPLAY
| BUFFERPOOL command, describes the current and pending BUFFERPOOL command with the DETAIL option specified. It
| VPTYPE and PGSTEAL attributes. This message is always lists the page read statistics for the buffer pool. This message
| preceded by message DSNB401I identifying the associated is always preceded by message DSNB401I identifying the
| buffer pool. associated buffer pool.
| cvptype is the virtual buffer pool type (VPTYPE) attribute that The statistics are:
| is applicable to the current allocation of the virtual buffer pool.
rgp Number of nonsequential GETPAGE requests
| PRIMARY The virtual buffer pool is allocated in the
| DB2 data base services (ssnmDBM1) srr Number of synchronous read I/O operations for
| address space. nonsequential GETPAGE requests
| DATASPACE The virtual buffer pool is allocated in one sgp Number of sequential GETPAGE requests
| or more data spaces. srs Number of synchronous read I/O operations for
| pvptype is the pending virtual buffer pool type (VPTYPE) attri- sequential GETPAGE requests
| bute that will be applied for the next allocation of the virtual dmt Number of times data management threshold was
| buffer pool. hit
| PRIMARY The virtual buffer pool is to be allocated System Action: Processing continues.
| in the DB2 data base services
| (ssnmDBM1) address space.
DSNB412I SEQUENTIAL PREFETCH - REQUESTS = pft
| DATASPACE The virtual buffer pool is to be allocated PREFETCH I/O = pio PAGES READ = pfp
| in one or more data spaces.
Explanation: This message is displayed by the DISPLAY
| pgsteal is the page stealing method (PGSTEAL) that is in use BUFFERPOOL command with the DETAIL option specified. It
| for the virtual buffer pool. lists the sequential prefetch statistics for the buffer pool. This
| LRU Specifies the virtual buffer pool buffers are message is always preceded by message DSNB401I identi-
| managed using the least recently used (LRU) fying the associated buffer pool.
| algorithm. This is the default. The statistics are:
| FIFO Specifies the virtual buffer pool buffers are pft Number of times sequential prefetch was requested
| managed using the first in first out (FIFO) algo-
| rithm. pio Number of sequential prefetch read I/O operations
| System Action: Processing continues. pfp Number of pages read because of sequential pre-
fetch
DSNB413I LIST PREFETCH - REQUESTS = pft PREFETCH DSNB421I DWT HIT= dwt VERTICAL DWT HIT=vdw NO
I/O = pio PAGES READ = pfp WRITE ENGINE=wee
Explanation: This message is displayed by the DISPLAY Explanation: This message is displayed by the DISPLAY
BUFFERPOOL command with the DETAIL option specified. It BUFFERPOOL command with the DETAIL option specified. It
shows the list prefetch statistics for the buffer pool. This lists page-write statistics for the buffer pool. This message is
message is always preceded by message DSNB401I identi- always preceded by message DSNB401I identifying the associ-
fying the associated buffer pool. ated buffer pool.
The statistics are: The statistics are:
pft Number of times list prefetch was requested dwt Number of times deferred write threshold was hit
pio Number of list prefetch read I/O operations vdw Number of times vertical deferred write threshold
was hit
pfp Number of pages read because of list prefetch
wee Number of times write engine (asynchronous write
System Action: Processing continues.
processor) was not available for I/O operations
DSNB414I DYNAMIC PREFETCH - REQUESTS = pft PRE- System Action: Processing continues.
FETCH I/O = pio PAGES READ = pfp
DSNB430I HIPERPOOL ACTIVITY (NOT USING ASYN-
Explanation: This message is displayed by the DISPLAY
CHRONOUS DATA MOVER FACILITY) —
BUFFERPOOL command with the DETAIL option specified. It
SYNC HP READS=hrs SYNC HP WRITES=hws
lists the dynamic prefetch statistics for the buffer pool. This
ASYNC HP READS=hra ASYNC HP WRITES=
message is always preceded by message DSNB401I identi-
hwa READ FAILURES= hrf WRITE
fying the associated buffer pool.
FAILURES=hwf
The statistics are:
Explanation: This message is displayed by the DISPLAY
pft Number of times dynamic prefetch was requested BUFFERPOOL command with the DETAIL option specified. It
pio Number of dynamic prefetch read I/O operations lists statistics about the movement of pages between the
virtual buffer pool and the hiperpool. This message is always
pfp Number of pages read because of dynamic prefetch preceded by message DSNB401I identifying the associated
System Action: Processing continues. buffer pool. The statistics listed are for pages moved without
the use of the Asynchronous Data Mover Facility.
dpa Total number of times the negotiation resulted in the Explanation: This message might be displayed for an active
degraded mode of parallel operations buffer pool by the DISPLAY BUFFERPOOL command with the
LSTATS option specified. It lists synchronous I/O delay statis-
tics for a data set belonging to an open table space or index
DSNB453I VP CACHED PAGES - CURRENT = vcount MAX
space associated with the buffer pool. The values listed are
= mvcount CHANGED = ccount MAX = mccount
incremental since the last display for the data set. The
Explanation: This message might be displayed for an active message is only issued if there are nonzero values to display.
buffer pool by the DISPLAY BUFFERPOOL command with This message is always preceded by message DSNB401I
LSTATS specified. It lists the number of cached pages and the identifying the associated buffer pool, DSNB464I or DSNB465I
number of changed pages in the virtual buffer pool for a data identifying the table space or index space, and DSNB466I
set. The message is only issued if there are nonzero values to identifying the relative data set within the table space or index
display. This message is always preceded by message space.
DSNB401I identifying the associated buffer pool, DSNB464I or
The statistics are:
DSNB465I identifying the table space or index space, and
DSNB466I identifying the data set. avd Average I/O delay in milliseconds for pages in the
data set
The statistics are:
mxd Maximum I/O delay in milliseconds for pages in the
vcount Number of cached pages in VP for the data set
data set
(that is, the number of buffers that contain pages
for the data set in the virtual buffer pool). tpg Total number of pages read or written for the data
set
mvcount Maximum number of cached pages in VP for the
data set since the last DISPLAY BUFFERPOOL System Action: Processing continues.
command with the LSTATS option was issued.
ccount Number of changed pages in VP for the data set DSNB456I ASYNCHRONOUS I/O DELAYS — AVERAGE
(that is, the number of buffers that were changed DELAY = avd MAXIMUM DELAY = mxd TOTAL
in the virtual buffer pool for the data set). PAGES = tpg TOTAL I/O COUNT = tio
mccount Maximum number of changed pages in VP for Explanation: This message might be displayed for an active
the data set since the last DISPLAY buffer pool by the DISPLAY BUFFERPOOL command with the
BUFFERPOOL command with the LSTATS LSTATS option specified. It lists asynchronous I/O delay statis-
option was issued. tics for a data set belonging to an open table space or index
space associated with the buffer pool. The values listed are
This message is issued by the following CSECT: DSNB1DBP incremental since the last display for the data set. The
System Action: Processing continues. message is only issued if there are nonzero values to display.
This message is always preceded by message DSNB401I
identifying the associated buffer pool, DSNB464I or DSNB465I
identifying the table space or index space, and DSNB466I
identifying the relative data set within the table space or index
space.
The statistics are:
DSNB459I csect-name OPEN FAILURE HAS OCCURRED | database Name of the database that is associated with the
FOR DATA SET dsn | page set/partition.
Explanation: This message might be displayed for an active | spacenam Name of the table space or index space.
buffer pool by the DISPLAY BUFFERPOOL command with the | part The partition number. It is blank for a simple
LIST option specified. It indicates that a previous attempt to | table space or simple index space. For non parti-
access a data set (identified by its relative data set number | tioned indexes on a partitioned table space, it is
within a table space or index space) failed due to an allocation | the logical partition number preceded by the
or open error. | character L (for example, L01).
This message is always preceded by a DSNB401I message | ty Whether the object is a table space (TS) or an
identifying the associated buffer pool and a DSNB464I or | index space (IX).
DSNB465I message identifying the table space or index space.
| gbp Whether the page set/partition is GBP-dependent
System Action: Processing continues. | ('Y' for yes; 'N' for no).
| mbr Name of the member that the detail line pertains
| DSNB460I | to.
# --PAGE SET/PARTITION LIST INFORMATION-- | castout Whether the member identified in this line is the
# --DATA SHARING INFO-- | castout owner ('Y' for yes; blank for no).
# TS GBP MEMBER CASTOUT USE P-LOCK | use Number of active claimers or drainers for the
# DATABASE SPACE NAME PART IX DEP | page set/partition for the member displayed on
# NAME OWNER COUNT STATE | this detail line.
| Explanation: This message displays the column headings | p-lock P-lock state that the member identified in this line
| that indicate the beginning of a multiple line display generated | currently holds. Values are:
| by a DISPLAY BUFFERPOOL command. The format of the
| multiple line display has three parts: | IS R/O interest. There are other members
| who have interest in this page
| The column headers (DSNB460I), which are underlined. | set/partition. The page set/partition. is
| Detailed space information for all spaces and partitions | GBP-dependent.
| requested by the command (DSNB462I). | IX R/W interest. There are other members
| An ending message (DSNB463I) that might be displayed if | who have interest in this page
| no spaces matched the command criteria. | set/partition. The page set/partition is
| GBP-dependent.
| The text of message DSNB462I provides the detail lines that
| follow the headings generated by this message. If the | S R/O interest. There may be other
| DISPLAY BUFFERPOOL LIST command finds more than 255 | members reading the page set/partition.
| lines of output to display, the report will be broken up and new | The page set/partition is not
| headings (DSNB460I) will be displayed with '(CONTINUED)' | GBP-dependent.
| showing in the heading text. This is needed due to the MVS | SIX R/W interest. There may be other
| limitation of 255 messages for multi-line WTO messages. | members who are reading the page
| System Action: Processing continues. | set/partition. The page set/partition is
| GBP-dependent.
| DSNB461I | NSU R/W interest. The page set/partition is
| GBP-dependent.
| Explanation: This message appears within a multiple line
| display generated by a DISPLAY BUFFERPOOL command. It | X R/W interest. There are no other members
| follows message DSNB460I and is used to underline the | accessing the page set/partition. The
| column headings that are displayed by DSNB460I. | page set/partition is not GBP-dependent.
| System Action: Processing continues. | US A temporary state that can be held by a
| restarting DB2 when 'waiting for retained
| locks' is enabled.
| ### A number that is to be used as a diag-
| nostic aid. A number is displayed only
| when a DISPLAY BUFFERPOOL
| command encounters a lock state other | ty Whether the object is a table space (TS) or an
| than any of those defined above. | index space (IX).
| System Action: Processing continues. | System Action: Processing continues.
| DSNB508I csect-name THE TOTAL VPSIZE IS BEYOND DSNB513I integer IS THE CURRENT HPSIZE FOR
THE MAXIMUM LIMIT BUFFER POOL bpname
| Explanation: An ALTER BUFFERPOOL command specified Explanation: An ALTER BUFFERPOOL command specified
| a VPSIZE or VPTYPE value that would cause the sum of the an HPSIZE equal to the buffer pool's current hiperpool size.
| ssnmDBM1 address space storage requirements for all virtual
System Action: The hiperpool size is not changed. Proc-
| buffer pools to exceed 1.6GB, or the number of
essing for other parameters, if requested, proceeds normally.
| VPTYPE(DATASPACE) buffers to exceed 8,000,000. When
| calculating the storage requirements for the virtual buffer pools,
| DB2 uses the page size (4K, 8K, 16K, or 32K) for each DSNB514I integer IS THE CURRENT VPSEQT FOR
| VPTYPE(PRIMARY) virtual pool buffer and lookaside pool BUFFER POOL bpname
| buffer, and 128 bytes for each VPTYPE(DATASPACE) buffer. Explanation: An ALTER BUFFERPOOL command specified
| System Action: The buffer pool's VPSIZE or VPTYPE is not an VPSEQT equal to the current sequential steal threshold of
| changed. Processing for other parameters, if requested, pro- the virtual buffer pool.
| ceeds normally. System Action: The hiperpool size is not changed. Proc-
System Programmer Response: Rebalance VPSIZE for all essing for other parameters, if requested, proceeds normally.
buffer pools.
DSNB515I integer IS THE CURRENT HPSEQT FOR
DSNB509I THE TOTAL HPSIZE IS BEYOND THE BUFFER POOL bpname
MAXIMUM LIMIT Explanation: An ALTER BUFFERPOOL command specified
Explanation: An ALTER BUFFERPOOL command specified an HPSEQT equal to the current sequential steal threshold of
an HPSIZE value that would cause the sum of the HPSIZE the hiperpool.
value for all buffer pools to exceed 8GB. System Action: The sequential steal threshold of the
System Action: The buffer pool's HPSIZE is not changed. hiperpool is not changed. Processing for other parameters, if
Processing for other parameters, if requested, proceeds requested, proceeds normally.
normally.
System Programmer Response: Rebalance HPSIZE for all DSNB516I integer IS THE CURRENT DWQT FOR BUFFER
buffer pools. POOL bpname
Explanation: An ALTER BUFFERPOOL command specified
DSNB510I NO ACTION REQUESTED a DWQT equal to the current deferred write threshold of the
buffer pool.
Explanation: An ALTER BUFFERPOOL command was
issued, but no buffer pool attributes were specified. System Action: The deferred write threshold of the buffer
pool is not changed. Processing for other parameters, if
System Action: The buffer pool's attributes are not changed. requested, proceeds normally.
System Programmer Response: Reissue the ALTER
BUFFERPOOL command specifying one or more buffer pool | DSNB517I int1, int2 IS THE CURRENT VDWQT FOR
attributes. BUFFER POOL bpname
Explanation: An ALTER BUFFERPOOL command specified
DSNB511I VDWQT CANNOT BE GREATER THAN DWQT a VDWQT equal to the current vertical deferred write threshold
Explanation: An ALTER BUFFERPOOL command specified of the buffer pool.
a DWQT and/or VDWQT value that would result in the buffer System Action: The vertical deferred write threshold of the
pool's VDWQT parameter being greater than its DWQT param- buffer pool is not changed. Processing for other parameters, if
eter. requested, proceeds normally.
System Action: The buffer pool's VDWQT or DWQT is not
changed. Processing for other parameters, if requested, pro- DSNB518I value IS THE CURRENT CASTOUT ATTRIBUTE
ceeds normally. FOR HIPERPOOL bpname
System Programmer Response: Rebalance DWQT and Explanation: An ALTER BUFFERPOOL command specified
VDWQT for the buffer pool. a CASTOUT attribute equal to the hiperpool's current
CASTOUT attribute.
DSNB512I integer IS THE CURRENT VPSIZE FOR System Action: The hiperpool's CASTOUT attribute is not
BUFFER POOL bpname changed. Processing for other parameters, if requested, pro-
Explanation: An ALTER BUFFERPOOL command specified ceeds normally.
a VPSIZE equal to the buffer pool's current virtual buffer pool
size.
System Action: The virtual buffer pool size is not changed.
Processing for other parameters, if requested, proceeds
normally.
| DSNB519I csect-name PGSTEAL FOR bpname HAS BEEN DSNB523I HPSIZE FOR bpname HAS BEEN SET TO
| SET TO value. integer
| Explanation: This message is issued in response to an Explanation: This message is issued in response to an
| ALTER BUFFERPOOL command to indicate that the ALTER BUFFERPOOL command to indicate that the
| requested change to the PGSTEAL parameter was accepted. requested change to the HPSIZE parameter was accepted. For
an active hiperpool, the actual expansion, contraction, creation,
| bpname is the name of the buffer pool.
or deletion does not take place until after this message is
| value is one of the following: issued.
| LRU The virtual buffer pool buffers are managed using System Action: Processing continues.
| the least recently used (LRU) algorithm. This is
System Programmer Response: Issue the DISPLAY
| the default.
BUFFERPOOL command to determine the actual hiperpool
| FIFO The virtual buffer pool buffers are managed using size for this pool.
| the first in first out (FIFO) algorithm.
| System Action: Processing continues. DSNB524I VPSEQT FOR bpname HAS BEEN SET TO
integer
DSNB520I READY TO EXPLICITLY DELETE BUFFER Explanation: This message is issued in response to an
POOL bpname ALTER BUFFERPOOL command. It indicates the successful
Explanation: This message is issued before draining an modification of the sequential steal threshold of the virtual
active buffer pool in response to an ALTER BUFFERPOOL buffer pool.
command, which specified VPSIZE=0 against an active buffer
pool. DSNB525I HPSEQT FOR bpname HAS BEEN SET TO
integer
System Action: After this message is issued, DB2 quiesces
all current activities against this buffer pool. DB2 locks the Explanation: This message is issued in response to an
table space exclusively and performs physical close for all ALTER BUFFERPOOL command. It indicates the successful
open table spaces or index spaces that reference this pool. modification of the sequential steal threshold of the hiperpool.
DB2 also prevents subsequent database access that refer-
ences this pool. SQL applications get an SQLCODE -904 DSNB526I DWQT FOR bpname HAS BEEN SET TO integer
(resource not available) with reason code 00C200E0 to indi-
cate that the requested virtual buffer pool size is not initialized. Explanation: This message is issued in response to an
After the requested buffer pool is deleted, message DSNB521I ALTER BUFFERPOOL command. It indicates the successful
is issued. modification of the deferred write threshold of the buffer pool.
DSNB521I BUFFER POOL bpname HAS BEEN EXPLIC- | DSNB527I VDWQT FOR bpname HAS BEEN SET TO
ITLY DELETED | int1,int2
Explanation: This message is issued after an active buffer Explanation: This message is issued in response to an
pool is explicitly deleted with an ALTER BUFFERPOOL ALTER BUFFERPOOL command. It indicates the successful
command. This message is always preceded by a corre- modification of the vertical deferred write threshold of the buffer
sponding DSNB520I message. pool.
DSNB522I VPSIZE FOR bpname HAS BEEN SET TO Explanation: This message is issued in response to an
integer ALTER BUFFERPOOL command. It indicates that the
requested change to the hiperpool's CASTOUT attribute was
Explanation: This message is issued in response to an accepted. For an active pool, the actual rebuilding of the
ALTER BUFFERPOOL command to indicate that the hiperpool with the new CASTOUT attribute does not take place
requested change to the VPSIZE parameter was accepted. For until after this message is issued.
an active pool, the actual expansion, contraction, or deletion
does not take place until after this message is issued. System Action: Processing continues.
System Action: Processing continues. System Programmer Response: Use the DISPLAY
BUFFERPOOL command to determine the actual CASTOUT
System Programmer Response: Issue the DISPLAY attribute for this pool.
BUFFERPOOL command to determine the actual virtual
storage usage for this pool.
DSNB529I VPPSEQT FOR bpname HAS BEEN SET TO
integer
Explanation: This message is issued in response to the
ALTER BUFFERPOOL command. It indicates the successful
modification of the parallel sequential steal threshold of the
virtual buffer pool.
DSNB540I csect-name INSUFFICIENT LOCAL CACHE DSNB552I BSDS WRITE ERROR, RC= integer, RSN=
VECTOR STORAGE TO EXPAND VIRTUAL integer
BUFFER POOL bpname TO SPECIFIED SIZE
Explanation: This message is issued in response to a failure
size1. VIRTUAL BUFFER POOL SIZE IS NOW
of a WRITE function on the bootstrap data set (BSDS). Check
size2.
any previous error messages issued by MVS and DB2 against
Explanation: The specified virtual buffer pool could not be the corresponding BSDS. RC and RSN indicate an error return
expanded to the requested size (size1). The associated group code and reason code from the BSDS function.
buffer pool is connected, and the local cache vector could not
System Action: Processing continues.
be expanded to cover the requested virtual buffer pool size.
Operator Response: Notify the system programmer.
The local cache vector is a bit array which tracks whether the
page in a given buffer was modified by another system (cross- System Programmer Response: Analyze the return and
invalidated). There must be one bit in the vector for each buffer reason codes to determine what type of error occurred. Refer
in the virtual buffer pool and hiperpool. For more information to message DSNJ108I for more information.
on the local cache vector, see MVS/ESA Programming:
Sysplex Services Reference. DSNB553I BSDS INSERT ERROR, RC= integer, RSN=
System Action: DB2 downgrades the expansion request to integer
the size that can be supported by the available local cache Explanation: This message is issued in response to a failure
vector storage (size2). of an INSERT function on the bootstrap data set (BSDS).
System Programmer Response: Free local cache vector Check any previous error messages issued by MVS and DB2
storage by contracting or deleting other buffer pools that are against the corresponding BSDS. RC and RSN indicate an
connected to a group buffer pool. Then reattempt the virtual error return code and reason code from the BSDS function.
pool expansion by reissuing the ALTER BUFFERPOOL System Action: Processing continues.
command.
Operator Response: Notify the system programmer.
DSNB541I csect-name INSUFFICIENT LOCAL CACHE System Programmer Response: Analyze the return and
VECTOR STORAGE TO CREATE/EXPAND reason codes to determine what type of error occurred. For
HIPERPOOL bpname TO SPECIFIED SIZE size1 more information, refer to message DSNJ109I or other DSNJ
HIPERPOOL SIZE IS NOW size2. messages related to BSDS.
DSNB551I BSDS READ ERROR, RC= integer, RSN=integer Reduce concurrent activity by reducing the number of DB2
threads.
Explanation: This message is issued in response to a failure Use the ALTER BUFFERPOOL command to increase the
of a READ function on the bootstrap data set (BSDS). Users size of the virtual buffer pool.
should check any previous error messages issued by MVS and
DB2 against the corresponding BSDS. RC and RSN indicate
an error return code and reason code from the BSDS function. DSNB602I UNABLE TO CREATE BUFFER POOL bpname.
VIRTUAL BUFFER POOL SIZE IS ZERO
System Action: Processing continues.
Explanation: An attempt to create the buffer pool failed while
Operator Response: Notify the system programmer. opening a DB2 table space or index that specified its use. The
System Programmer Response: Analyze the return and virtual buffer pool size for bpname was zero. This indicates
reason codes to determine what type of error occurred. Refer that the use of the pool is invalid.
to message DSNJ107I for more information. System Action: Reason code 00C200E0 and the buffer pool
external name are recorded in the cursor table (CT), which is
available in the SQL communication area (SQLCA) or mes-
Explanation: A virtual buffer pool could not be created or System Programmer Response: Analyze the virtual storage
expanded to the requested size. Insufficient virtual storage content of the DSNDBMI address space for more information.
exists within the ssnmDBM1 address space to build the virtual If necessary, rebalance buffer pool virtual storage use for all
buffer pool. The virtual buffer pool size is set by the ALTER active buffer pools with the ALTER BUFFERPOOL command.
BUFFERPOOL command and can be queried by using the
DISPLAY BUFFERPOOL command. DSNB607I UNABLE TO CREATE HIPERPOOL bpname NO
EXPANDED STORAGE ON THE SYSTEM
System Action: The virtual buffer pool is created or
expanded to the size allowed by the available virtual storage. If Explanation: DB2 is unable to create an ESO hiperspace to
the virtual buffer pool cannot be created at all, and the creation back the hiperpool because there is no expanded storage on
request was triggered by a page set open by an application, the system.
then an SQLCODE -904 (resource not available) is returned to
System Action: The hiperpool is not created. However, the
the user. Reason code 00C200E8 and the buffer pool external
failure of the hiperpool creation does not have any impact on
name are recorded in the cursor table (CT), which is available
the creation of the corresponding virtual buffer pool.
in the SQL communication area (SQLCA) or messages.
Operator Response: Notify the system programmer.
Operator Response: Notify the system programmer.
System Programmer Response: Because there is no
System Programmer Response: Analyze the virtual storage
expanded storage on the system, set the hiperpool size to zero
content of the ssnmDBM1 address space to determine further
for all buffer pools.
action. If appropriate, use the ALTER TABLESPACE or ALTER
INDEX statement to use a different buffer pool. Otherwise, use
ALTER BUFFERPOOL commands to balance virtual storage DSNB608I UNABLE TO CREATE HIPERPOOL bpname
use for all buffer pools. RETURN CODE = rr REASON CODE = cccc
Explanation: DB2 is unable to create an ESO hiperspace to
DSNB605I UNABLE TO CREATE VIRTUAL BUFFER back the hiperpool because of an error returned from the MVS
POOL bpname TO SPECIFIED SIZE DURING DSPSERV macro.
STARTUP/RESTART. INSUFFICIENT VIRTUAL Variables rr and cccc identify the return and reason codes for
STORAGE the failure.
Explanation: An attempt to create the virtual buffer pool System Action: The hiperpool is not created. However, the
failed at the time that DB2 was performing its startup or restart failure of the hiperpool creation does not have any impact on
processing. Insufficient virtual storage exists within the the creation of the corresponding virtual buffer pool.
ssnmDBM1 address space for building the virtual buffer pool.
The name of the buffer pool is bpname. Operator Response: Notify the system programmer.
System Action: The buffer pool is not created. The table System Programmer Response: For more information about
space or index open request, which triggered the attempt to the failure, look up the identified return and reason codes in
create the buffer pool, fails. An SQLCODE -904 (resource not MVS/ESA Programming: Authorized Assembler Services Ref-
available) is returned to the user. Reason code 00C200E8 and erence, Volumes 1-4.
the buffer pool external name are recorded in the cursor table
(CT), which is available in the SQL communication area DSNB609I VIRTUAL BUFFER POOL bpname CREATED
(SQLCA) or messages. USING DEFAULT SIZE integer DURING
Operator Response: Notify the system programmer. This STARTUP/RESTART. VIRTUAL BUFFER POOL
message remains on the console until the operator deletes it. SIZE IS ZERO
System Programmer Response: Analyze the virtual storage Explanation: While activating a buffer pool during DB2
content of the DSNDBM1 ssnmDBM1 address space to deter- startup or restart processing, the virtual buffer pool size was
mine further action. If appropriate, use ALTER BUFFERPOOL zero. A zero value might be caused by an unusable bootstrap
commands to balance virtual storage use for all buffer pools. data set (BSDS) or by a DB2 abnormal termination after buffer
pool size was altered to zero. The name of the buffer pool is
bpname and the default buffer pool size is integer.
System Action: DB2 creates the virtual buffer pool using the | OPERATOR The operator initiated a SETXCF command to
startup restart default value. For 4KB/32KB page-type buffer | initiate duplexing.
pools, the default values are 1000 and 12, respectively.
| POLICY The currently active CFRM policy indicated
Operator Response: Notify the system programmer. This | that duplexing should be automatically estab-
message remains on the console until deleted by the operator. | lished for the group buffer pool.
System Programmer Response: Use the ALTER | This message is issued by each DB2 member participating in
TABLESPACE or ALTER INDEX statement to modify the | establishing duplexing.
affected table spaces or indexes to indicate a usable buffer
| System Action: The DB2 members that are actively con-
pool. To determine a usable buffer pool, use the DISPLAY
| nected to the named group buffer pool participate in estab-
BUFFERPOOL command. If necessary, use the ALTER
| lishing duplexing for the group buffer pool. Access to the group
BUFFERPOOL command to activate the failing buffer pool by
| buffer pool is quiesced while duplexing is being established.
setting the VPSIZE to a nonzero value.
| STRFAILPRI The primary group buffer pool structure | Ensure that DUPLEX(AUTO) is not specified in the active
| failed. | CFRM policy for the group buffer pool, and then issue the
| MVS command SETXCF STOP,REBUILD,DUPLEX.
| DB2REASON DB2 decided to stop duplexing. The
| reason code given in reason2 indicates
| why DB2 stopped duplexing. DSNB750I DISPLAY FOR GROUP BUFFER POOL
gbpname FOLLOWS
| If reason1 indicates 'DB2REASON', then reason2 specifies a
| DB2 reason code that indicates why DB2 stopped duplexing. If Explanation: This message is issued in response to a a
| reason1 is not 'DB2REASON', then reason2 is zero. DISPLAY GROUPBUFFERPOOL command. It signals the
beginning of a display for group buffer pool gbpname if the fol-
| This message is issued by each DB2 member connected to lowing are true:
| the duplexed group buffer pool.
It meets the selection criteria on the command.
# System Action: The primary group buffer pool structure is
# discarded, and DB2 enters back into simplex mode on the sec- The MVS CFRM administrative policy information for the
# ondary group buffer pool structure. If DUPLEX(ENABLED) is group buffer pool is accessible.
# specified in the active CFRM policy for the group buffer pool, If the CFRM policy information is unavailable, message
# then duplexing will be automatically reinitiated, if duplexing is DSNB751I signals the partial display of group buffer pool infor-
# still possible. mation.
| System Programmer Response: If the rebuild stopped The series of messages DSNB755I through DSNB759I provide
| because of “DB2REASON,” see the explanation for the reason information on the group buffer pool's allocation characteristics.
| code given. If duplexing is not automatically reinitiated and Messages DSNB765I through DSNB769I provide information
| duplexing is desired for the group buffer pool, then use the on DB2 connections to the group buffer pool, while DSNB770I
| MVS SETXCF command to reestablish duplexing. through DSNB788I provide statistics on group buffer pool
usage. Note that all message numbers in the range might not
be used. Message DSNB790I ends the display.
DSNB765I NO CONNLIST REPORT IS GENERATED. DSNB770I MEMBER DETAIL STATISTICS ARE NOT
THERE ARE NO CONNECTIONS TO THIS AVAILABLE FOR THE GROUP BUFFER POOL.
GROUP BUFFER POOL. THIS DB2 HAS NEVER BEEN CONNECTED TO
THE GROUP BUFFER POOL.
Explanation: DB2 displays this message in response to a
DISPLAY GROUPBUFFERPOOL command with the Explanation: This message is issued in response to a
CONNLIST option when there are currently no connection DISPLAY GROUPBUFFERPOOL command with MDETAIL
names to report for the group buffer pool. A preceding specified. MDETAIL statistics are not available for the
DSNB750I message identifies the associated group buffer requested group buffer pool because this DB2 has not con-
pool. nected to the group buffer pool since startup. A preceding
DSNB750I or DSNB751I message identifies the associated
DSNB766I THE CONNLIST REPORT FOLLOWS group buffer pool.
Explanation: DB2 displays this message in response to a System Action: Processing continues.
DISPLAY GROUPBUFFERPOOL command with the
CONNLIST option to indicate the beginning of the CONNLIST DSNB771I INCREMENTAL MEMBER DETAIL STATISTICS
display for this group buffer pool. A preceding DSNB750I SINCE basetime
message identifies the associated group buffer pool.
Explanation: This message is displayed in response to the
DISPLAY GROUPBUFFERPOOL command with
DSNB767I CONNECTION NAME = conname, CON- MDETAIL(INTERVAL) specified. It indicates the start time of
NECTION STATUS = status CONNECTOR'S the interval for which the statistics were accumulated. This is
RELEASE = DB2 release the time of the previous MDETAIL incremental display on this
Explanation: This message contains the display information DB2 or the time DB2 first connected to the group buffer pool if
that results from a DISPLAY GROUPBUFFERPOOL command there was no previous MDETAIL incremental display. A pre-
with the CONLIST option. One DSNB767I message is issued ceding DSNB750I or DSNB751I message identifies the associ-
for each defined connection to the group buffer pool. The asso- ated group buffer pool.
ciated group buffer pool is identified on a preceding DSNB750I System Action: Processing continues.
message.
conname Name of the connection. DB2 subsystems DSNB772I CUMULATIVE MEMBER DETAIL STATISTICS
use the DB2 member name as the con- SINCE basetime
nection name.
Explanation: This message is displayed in response to the
status Status of the connection. DISPLAY GROUPBUFFERPOOL command with MDETAIL(*)
specified. It indicates the start time of the interval for which the
A Active.
statistics were accumulated. This is the time this DB2 first con-
F Failed-Persistent. nected to the group buffer pool. A preceding DSNB750I or
D Dually connected to both DSNB751I message identifies the associated group buffer
the original structure and pool.
the new structure during a System Action: Processing continues.
rebuild.
DB2 release The release of the connected DB2. DSNB773I MEMBER DETAIL STATISTICS SYNCHRO-
NOUS READS DUE TO BUFFER INVALI-
| DSNB768I THERE ARE NO GROUP BUFFER POOLS DATION DATA RETURNED = r1 DATA NOT
| DEFINED WITH GBPCACHE NO RETURNED = r2
| Explanation: This message is issued in response to a Explanation: This is the first of eight messages containing
| DISPLAY GROUPBUFFERPOOL command with the local statistics, displayed as a result of the DISPLAY
| TYPE(NOCACHE) option and an asterisk (*) specified as the GROUPBUFFERPOOL command with the MDETAIL option. It
| selection list when DB2 determines that there are no group lists some synchronous read statistics for the group buffer
| buffer pools defined with the GBPCACHE(NO) attribute. pool. A preceding DSNB750I or DSNB751I message identifies
the associated group buffer pool. Messages DSNB774I,
| System Action: Command processing is terminated. DSNB775I, DSNB789I, and DSNB776I through DSNB779I
always follow this one.
DSNB769I THE CONNLIST REPORT IS COMPLETE The counter descriptions are listed below. In the descriptions,
Explanation: DB2 displays this message in response to a the term “synchronous” means that the coupling facility inter-
DISPLAY GROUPBUFFERPOOL command with the action is done under the DB2 user's execution unit.
CONNLIST option to indicate the end of the CONNLIST r1 Synchronous coupling facility read requests issued
display for this group buffer pool. A preceding DSNB750I because the virtual buffer or hiperpool buffer was marked
message identifies the associated group buffer pool. “invalid.” Data is successfully returned from the group
buffer pool.
r2 Synchronous coupling facility read requests issued
because the virtual buffer or hiperpool buffer was marked
“invalid.” Data is not returned from the group buffer pool.
DSNB779I ENGINES NOT AVAILABLE FOR CASTOUT = DSNB783I CUMULATIVE GROUP DETAIL STATISTICS
e1 FOR WRITING = e2 SINCE basetime
Explanation: This is the ninth of ten messages containing Explanation: This message is displayed in response to the
local statistics, displayed as a result of the DISPLAY DISPLAY GROUPBUFFERPOOL command with GDETAIL(*)
GROUPBUFFERPOOL command with the MDETAIL option. It specified. It indicates the start time of the interval for which the
lists miscellaneous local statistics for the group buffer pool. statistics were accumulated. This is the time the group buffer
The associated group buffer pool is identified in a preceding pool was first allocated or reallocated.
DSNB750I or DSNB751I message. This message is always
System Action: Processing continues.
preceded by messages DSNB773I through DSNB775I,
DSNB789I, DSNB776I through DSNB778I, and DSNB796I. It is
followed by message DSNB797I. DSNB784I GROUP DETAIL STATISTICS READS DATA
RETURNED = r1
Counters:
Explanation: This is the first of five messages containing
e1 Engine not available for castout group statistics, displayed as a result of the DISPLAY
e2 Engine not available for coupling facility write GROUPBUFFERPOOL command with the GDETAIL option. It
lists the successful reads for the group buffer pool. A pre-
ceding DSNB750I or DSNB751I message identifies the associ-
DSNB780I GROUP DETAIL STATISTICS ARE NOT AVAIL-
ated group buffer pool. This message is always followed by
ABLE FOR THE GROUP BUFFER POOL. THIS
messages DSNB785I through DSNB788I.
DB2 IS NOT CURRENTLY CONNECTED TO
THE GROUP BUFFER POOL. r1 "Read hit" counter. Number of times that a page was
returned on a coupling facility read request.
Explanation: DB2 could not retrieve group buffer pool group
(GDETAIL) statistics in response to a DISPLAY For information about the Group Detail Report, see DB2 Data
GROUPBUFFERPOOL command because this DB2 sub- Sharing: Planning and Administration .
system is not currently connected to the group buffer pool. A
preceding DSNB750I or DSNB751I message identifies the DSNB785I DATA NOT RETURNED DIRECTORY ENTRY
associated group buffer pool. EXISTED = r2 DIRECTORY ENTRY CREATED =
System Action: Processing continues. r3 DIRECTORY ENTRY NOT CREATED = r4, r5
Explanation: This is the second of five messages containing
DSNB781I GROUP DETAIL STATISTICS ARE NOT AVAIL- group statistics, displayed as a result of the DISPLAY
ABLE FOR THE GROUP BUFFER POOL. MVS GROUPBUFFERPOOL command with the GDETAIL option. It
IXLCACHE RETURN CODE = retcode MVS continues the read statistics for the group buffer pool. The
IXLCACHE REASON CODE = reason associated group buffer pool is identified in a preceding
DSNB750I or DSNB751I message. This message is always
Explanation: DB2 could not retrieve group buffer pool group
preceded by message DSNB784I and followed by messages
(GDETAIL) statistics in response to a DISPLAY
DSNB786I through DSNB788I.
GROUPBUFFERPOOL command because the statistics
request (IXLCACHE macro) did not successfully complete. A All the "read counters" in this message represent cases where
preceding DSNB750I or DSNB751I message identifies the data was not returned on the coupling facility read request.
associated group buffer pool.
r2 "Read miss directory hit" counter. Number of times that a
retcode Return code from MVS on the statistics request coupling facility read request specified a page for which a
directory entry exists, but no data was cached for that
reason Reason code from MVS on the statistics request
page.
For an explanation of IXLCACHE return and reason codes, see
r3 "Read miss name assigned" counter. Number of times
MVS/ESA Programming: Sysplex Services Reference.
that a coupling facility read request specified a page for
System Action: Processing continues. which a directory entry was created.
r4 "Read miss assignment suppressed" counter. Number of
DSNB782I INCREMENTAL GROUP DETAIL STATISTICS times that a coupling facility read request specified a
SINCE basetime page for which no directory entry exists and no directory
Explanation: This message is displayed by the DISPLAY entry is created.
GROUPBUFFERPOOL command with GDETAIL(INTERVAL) r5 "Read miss cache full" counter. Number of times that a
specified. It indicates the start time of the interval for which the coupling facility read request specified a page for which
statistics were accumulated. This is the time of the previous no directory entry exists and no directory entry is created
GDETAIL incremental display from this DB2 or the time the because of a lack of storage in the group buffer pool.
group buffer pool was allocated or reallocated, if there was no
previous GDETAIL incremental display. For information about the Group Detail Report, see DB2 Data
Sharing: Planning and Administration .
System Action: Processing continues.
p1 "Total changed" counter. Snapshot value of the current The counter descriptions are listed below.
number of changed pages. The displayed value of this r7 The number of requests to the coupling facility to register
counter is not affected by whether this is an incremental interest in a list of pages. DB2 does this when prefetch
or cumulative display. (sequential or list) is used when the following conditions
For information about the Group Detail Report, see DB2 Data are met:
Sharing: Planning and Administration . The DB2 member is running on a particular service
level of MVS 5.2 or above
DSNB787I RECLAIMS FOR DIRECTORY ENTRIES = d1 The GBP is allocated in a coupling facility with
FOR DATA ENTRIES = d2 CASTOUTS= c1 CFLEVEL=2 or above.
Explanation: This is the fourth of five messages containing r8 Coupling facility read requests done for prefetch to
group statistics, displayed as a result of the DISPLAY retrieve a page marked as "changed" in the group buffer
GROUPBUFFERPOOL command with the GDETAIL option. It pool as a result of feedback from the request to register a
is always preceded by messages DSNB784I through list of pages.
DSNB786I and followed by message DSNB788I. It lists the r9 Coupling facility read requests done for prefetch to
statistics on reclaims and castouts for the group buffer pool. retrieve a page marked as "clean" in the group buffer
The associated group buffer pool is identified in a preceding pool as a result of feedback from the request to register a
DSNB750I or DSNB751I message. list of pages.
d1 "Directory entry reclaim" counter. Number of times a r10 Coupling facility read requests in which a directory entry
name assignment required that a directory entry be was not created because of a lack of storage in the
reclaimed by the coupling facility. group buffer pool.
d2 "Data entry reclaim" counter. Number of times a name
assignment required that a data page be reclaimed by DSNB790I DISPLAY FOR GROUP BUFFER POOL
the coupling facility. gbpname IS COMPLETE
c1 "Castout" counter. Number of castout operations per- Explanation: For a DISPLAY GROUPBUFFERPOOL
formed. command, this message signals the end of the display for
For information about the Group Detail Report, see DB2 Data group buffer pool gbpname.
Sharing: Planning and Administration .
DSNB791I THIS DB2 IS NOT CONNECTED TO gbpname
| DSNB788I CROSS INVALIDATIONS DUE TO DIRECTORY Explanation: This message is issued in response to a
| RECLAIMS = x1 DUE TO WRITES = x2 DISPLAY GROUPBUFFERPOOL command with
| EXPLICIT = x3 TYPE(MCONN) and either one name or a list of names speci-
| Explanation: This is the last of five messages containing fied in the selection list. The DB2 on which the DISPLAY
| group statistics, displayed as a result of the DISPLAY GROUPBUFFERPOOL command was issued is not currently
| GROUPBUFFERPOOL command with the GDETAIL option. It connected to the specified group buffer pool. This message is
| lists the cross-invalidation (XI) statistics for the group buffer issued once for each group buffer pool that does not match the
| pool. The associated group buffer pool is identified in a pre- "member connectivity" criterion.
| ceding DSNB750I or DSNB751I message. This message is
| always preceded by messages DSNB784I through DSNB787I.
System Action: The display is terminated for this group | For information about the Member Detail Report, see DB2
buffer pool. Command processing continues, if there are other | Data Sharing: Planning and Administration.
group buffer pool names to process.
DSNB794I THIS DB2 IS NOT CONNECTED TO ANY
DSNB792I NO DB2 IN THE GROUP IS CONNECTED TO GROUP BUFFER POOL
gbpname
Explanation: This message is issued in response to a
Explanation: This message is issued in response to a DISPLAY GROUPBUFFERPOOL command with the
DISPLAY GROUPBUFFERPOOL command with TYPE(MCONN) option and an asterisk (*) specified as the
TYPE(GCONN) and either one name or a list of names speci- selection list. This message is issued when DB2 determines
fied in the selection list. No DB2 in the group is currently con- that there are no group buffer pools having "member
nected to the specified group buffer pool. This message is connectivity" from the DB2 on which the DISPLAY
issued once for each group buffer pool that does not match the GROUPBUFFERPOOL command was issued.
"group connectivity" criterion.
System Action: Command processing is terminated.
System Action: The display is terminated for this group
buffer pool. Command processing continues, if there are other DSNB795I NO DB2 IN THE GROUP IS CONNECTED TO
group buffer pool names to process. ANY GROUP BUFFER POOL
Explanation: This message is issued in response to a
| DSNB793I DELETE NAME LIST = s5 READ CASTOUT
DISPLAY GROUPBUFFERPOOL command with the
# STATISTICS = s6 DELETE NAME = s7 OTHER
TYPE(GCONN) option and an asterisk (*) specified as the
# ASYNCHRONOUS GBP REQUESTS = s8
selection list. When DB2 successfully determines (that is, no
| Explanation: This message is displayed as a result of the error is encountered during command processing) that there
| DISPLAY GROUPBUFFERPOOL command with the MDETAIL are no group buffer pools connected to any DB2 in the data
| option if the group buffer pool is duplexed. It lists the statistics sharing group.
| on requests to the secondary group buffer pool that are related
System Action: Command processing is terminated.
| to castout processing and to garbage collection processing.
| s5 The number of Delete Name List requests to delete a set DSNB796I CASTOUTS PAGES CAST OUT = c1 UNLOCK
| of pages from the secondary group buffer pool that have CASTOUT = c2 READ CASTOUT CLASS = c3
| just been cast out from the primary. If the group buffer READ CASTOUT STATISTICS = c4 READ
| pool has been duplexed for the entire reporting interval, DIRECTORY INFO = c5
| then this number should be roughly equal to the number
| of Unlock Castout requests to the primary (indicated in Explanation: This is the eighth of ten messages containing
| message DSNB796I). local statistics, displayed as a result of the DISPLAY
GROUPBUFFERPOOL command with the MDETAIL option. It
| s6 The number of Read Castout Statistics requests to check lists local castout statistics for the group buffer pool. A pre-
| for "orphaned data entries" in the secondary group buffer ceding DSNB750I or DSNB751I message identifies the associ-
| pool. The DB2 member that is the group buffer pool ated group buffer pool. This message is always preceded by
| structure owner periodically issues these requests to messages DSNB773I through DSNB775I, DSNB789I,
| determine whether garbage collection is necessary to DSNB776I through DSNB778I, and followed by messages
| clean up orphaned data entries from the secondary. DSNB779I and DSNB797I.
| Orphaned data entries are "changed" data entries in the
| secondary group buffer pool without a corresponding Counters:
| "changed" data entry in the primary. Orphaned data c1 Number of pages cast out.
| entries are to be expected from time to time and do not
| represent any kind of data inconsistency problem c2 Number of requests to unlock for castout.
| (because the page has already been cast out from the c3 Number of read castout class requests.
| primary and such that the version of the page in the sec-
| ondary is the same as the version of the page on DASD). c4 Number of read castout statistics requests.
| Orphaned data entries can be introduced by certain c5 Number of read directory info requests. These requests
| transaction or system failures, or by new group buffer are made during group buffer pool checkpoint.
| pool write activity that encounters very unlikely timing
| windows when castout is concurrently processing.
DSNB797I OTHER INTERACTIONS REGISTER PAGE = o1
| s7 The number of Delete Name requests to delete UNREGISTER PAGE = o2 DELETE NAME = o3
| "orphaned data entries" from the secondary group buffer # READ STORAGE STATISTICS = o4 EXPLICIT
| pool. The DB2 member that is the group buffer pool # CROSS INVALIDATIONS = o5 ASYNCHRO-
| structure owner issues these requests if it determines # NOUS GBP REQUESTS = o6
| that garbage collection is necessary. See the description
Explanation: This is the last of ten messages containing local
| above under s6 for a description of "orphaned data
statistics, displayed as a result of the DISPLAY
| entries".
GROUPBUFFERPOOL command with the MDETAIL option. It
# s8 The number of asynchronous CF requests sent to the lists local castout statistics for the group buffer pool. A pre-
# secondary group buffer pool. This excludes ASYNCHRO- ceding DSNB750I or DSNB751I message identifies the associ-
# NOUS COMPLETION CHECKS as reported on the ated group buffer pool. This message is always preceded by
# DSNB764I message. messages DSNB773I through DSNB775I, DSNB789I,
DSNB776I through DSNB779I, and DSNB796I.
Counters:
o1 Number of requests to the coupling facility to register are entered into group buffer pool
interest in a single page. recovery pending (GRECP) status. You
can do more detailed monitoring of the
o2 Number of requests to the coupling facility to remove the
group buffer pool checkpoint processing
registered interest in a single page.
with IFCID 0261.
o3 Number of requests to the coupling facility to delete the
member-name2 The member name of the group buffer
directory entries associated with a set of pages.
pool structure owner. The structure
o4 Number of requests to the coupling facility to read the owner's responsibilities include the
statistics counters associated with the structure. DB2 following:
generally issues this request once per group buffer pool
Issue the group buffer pool check-
checkpoint, and once per GDETAIL request on the DB2
point.
DISPLAY GROUPBUFFERPOOL command.
Detect the GBPOOLT castout
# o5 Number of explicit cross-invalidations for pages in the threshold and initiate castout if this
# group buffer pool. threshold has been reached (by noti-
# o6 Number of coupling facility requests to the primary group fying the pageset or partition castout
# buffer pool that were converted from synchronous to owners).
# asynchronous. Coordinate the damage assessment
process in case the group buffer pool
fails.
DSNB798I LAST GROUP BUFFER POOL Coordinate the rebuild process for the
CHECKPOINTtimestamp MINIMUM group buffer pool.
CLEAN-TO-DIRTY LRSN = lrsn1 MINIMUM
MEMBER RESTART/REDO LRSN = lrsn2, 'UNKNOWN' is displayed if DB2 is not
member-name1 STRUCTURE OWNER = able to determine which member is the
member-name2 structure owner for the group buffer pool.
This should only happen in an unexpected
Explanation: This message is displayed in response to the error situation. See the message accom-
DISPLAY GROUPBUFFERPOOL command. It is issued only panying that error.
if DB2 determines, by successfully querying the MVS CFRM
policy, that the group buffer pool is allocated. It is immediately System Action: Processing continues.
preceded by message DSNB759I. A preceding DSNB750I
message identifies the associated group buffer pool. | DSNB799I SECONDARY GBP ATTRIBUTES ALLOCATED
timestamp The date and time of the last group buffer | SIZE = ssize KB VOLATILITY STATUS =
pool checkpoint. | svolstat CFNAME = cfname CFLEVEL = cflevel
| NUMBER OF DIRECTORY ENTRIES = sdir#
lrsn1 The recovery log record sequence number | NUMBER OF DATA PAGES = sdata#
(LRSN) that was recorded by the last
group buffer pool checkpoint that reflects | Explanation: For a DISPLAY GROUPBUFFERPOOL
the oldest changed page clean-to-dirty | command, this message gives the attributes of the secondary
LRSN value at the time of the checkpoint. | group buffer pool if the group buffer pool is duplexed. It is dis-
If the group buffer pool were to fail, lrsn1 | played only if the group buffer pool is duplexed and if DB2 was
is used by DB2 as input to determine the | successful in querying the MVS CFRM administrative policy.
starting points for the merged log scan to | This message is not displayed if the group buffer pool is in a
recover the page sets and partitions that | transition state between simplexing and duplexing.
are entered into group buffer pool | ssize The actual allocated size (in kilobytes) of the
recovery pending (GRECP) status. You | secondary group buffer pool coupling facility
can do more detailed monitoring of the | structure.
group buffer pool checkpoint processing
with IFCID 0261.
| svolstat The volatility status of the secondary group
| buffer pool:
lrsn2 The minimum member-level write-pending
(restart/redo) LRSN that was recorded by
| VOLATILE The structure is volatile.
the last group buffer pool checkpoint. | NON-VOLATILE The structure is non-volatile.
member-name1 is the DB2 member asso-
| sdir# Actual number of directory entries allocated
ciated with the minimum restart/redo
| for the secondary group buffer pool.
LRSN. Group buffer pool checkpoint
records a restart/redo LRSN for each | sdata# Actual number of data pages allocated for the
member - lrsn2 reflects only the single | secondary group buffer pool.
minimum value across all members. If the | cfname The name of the coupling facility in which the
group buffer pool were to fail, DB2 uses | secondary group buffer pool is allocated.
each member's restart/redo LRSN in con-
junction with lrsn1 to determine the | cflevel The coupling facility level for the coupling
starting points for the merged log scan to | facility in which the secondary group buffer
recover the page sets and partitions that | pool is allocated.
the rightmost padding character. DB2 adds the padding blanks System Programmer Response: Reissue the command,
if they are not specified on the command. specifying a valid group buffer pool name.
System Action: The request is rejected.
DSNE... Messages
In the TSO attachment facility, the user can terminal. Enter anything else (except another attention) to
resume execution.
control whether message IDs are displayed. To
see them, type PROFILE MSGID. To suppress
DSNE006A C WILL TERMINATE THE SUBCOMMAND
them, type PROFILE NOMSGID. WITH UNCOMMITTED CHANGES BACKED
OUT
Trace messages associated with the TSO attach- Explanation: Enter a 'C' to terminate the subcommand. No
ment facility (including DSN and DB2I) are not uncommitted changes are made to the database. Any other
listed in this manual. If you suspect an error in reply causes subcommand execution to continue.
DB2, refer to Section 3 of DB2 Diagnosis Guide User Response: Enter a 'C' to terminate the subcommand.
and Reference for information on identifying and Control returns to DSN, and the DSN prompt appears on the
reporting the problem. terminal. This is a second-level help message associated with
message DSNE005A.
User Response: Contact the system programmer, or system User Response: Arrange to obtain the needed resource, and
administrator to arrange for the required RACF or equivalent resubmit the subcommand. See the explanation for message
security system authorization. DSNE108E, which accompanies this message.
DSNE103E MAIN STORAGE REQUEST FROM csect-id DSNE108E FEEDBACK - REASON CODE reason-code
FAILED TYPE= type RESOURCE NAME - 44 characters
Explanation: A request for main storage failed. Explanation: This message accompanies message
DSNE107E or DSNE114E to explain the problem more clearly.
System Action: The TSO attachment facility is ready for RESOURCE NAME is the name of the unavailable resource.
more input. The reason code is in hexadecimal format.
User Response: Increase the address space size. This can System Action: The TSO attachment facility is ready for
be done as part of the logging on process. more input.
User Response: Arrange for the missing resource to be
DSNE104E RETRY COUNT OF number NOT VALID, SET
available, and resubmit your job.
TO 120
Problem Determination: The reason the resource is unavail-
Explanation: An invalid 'RETRY' parameter was entered on
able is identified by a reason code. The reason codes that
the DSN command. It has been set to 120. Valid retry counts
appear in this message are described in “Section 4. DB2
are integer numbers from 0 to 120.
Codes” on page 577.
System Action: Retry count is modified, and DSN execution
TYPE and RESOURCE NAME identify the resource that is cur-
continues.
rently unavailable. The TYPE code identifies the type, as well
User Response: The next time you invoke DSN, use a as the format and content, of the RESOURCE NAME. Refer to
RETRY count of 0 to 120. Table 3 in Appendix B, “Problem determination” on page 1051
for an explanation of resource type codes.
DSNE105E SUBSYSTEM ssid NO LONGER OPERA-
TIONAL DSNE109E NO INPUT TO BIND, SUBCOMMAND TERMI-
NATED
Explanation: The DB2 subsystem is down. It must be
restarted before the user can continue. Explanation: No LIBRARY parameter was specified on the
BIND subcommand. No DBRMLIB was allocated.
System Action: Control returns to TSO attachment facility.
System Action: The TSO attachment facility is ready for
User Response: Before you can continue, DB2 must be
more input.
restarted. You must also reissue the DSN command. ISPF
users should restart their jobs. User Response: Specify the LIBRARY parameter, and
resubmit the BIND subcommand. Alternatively, you could
issue an ALLOCATE command for the DDNAME DBRMLIB
and then resubmit the BIND subcommand as originally written.
DSNE110E ssid NOT VALID SUBSYSTEM ID, COMMAND DSNE117E NOT ABLE TO LOCATE membername IN
TERMINATED DSNAME data-set-name
Explanation: There is no subsystem id with the name identi- Explanation: The 'data-set-name' specified does not contain
fied in the message as 'ssid'. The subsystem identifier you the member the user wanted to run.
specify (or default to) on the DSN command must exist. This
System Action: Control remains with the DSN command
message is the result of specifying (or defaulting to) a nonex-
processor, and the DSN prompt appears on the terminal. The
istent subsystem identifier. For information on the SYSTEM
DSN command processor is ready for another command.
parameter of the DSN command, refer to DB2 Command Ref-
erence. User Response: Correct the PROGRAM or LIBRARY param-
eter, and resubmit the subcommand.
System Action: The DSN processor ends, and control
returns to TSO.
DSNE118E invalid-command NOT VALID COMMAND
User Response: Reissue the command with a valid SYSTEM
parameter. Explanation: The user entered an invalid command. A typing
error may be responsible. You may be trying to run a
command processor that is either not available on your system
DSNE111E INSTALLATION EXIT REJECTED DSNAME
or that is not part of your current LNKLST or STEPLIB concat-
data-set-name
enation.
Explanation: A local installation-supplied exit has rejected the
System Action: The TSO attachment facility is ready for
data set name identified in the message as 'data-set-name'.
more input.
System Action: The TSO attachment facility is ready for
User Response: Either correct the spelling error, or rear-
more input.
range your library concatenation so that you can access the
User Response: Either correct the data set name specified, required command processor. Resubmit the command.
or arrange to authorize the original data set name. Resubmit
the request. DSNE119E data-set-name NOT PARTITIONED DATA SET
Explanation: The user tried to allocate a sequential data set
DSNE112E userid STILL SIGNED ON TO SUBSYSTEM
when a partitioned data set was required.
ssid
System Action: The TSO attachment facility is ready for
Explanation: An attempt was made to sign on to DB2 when
more input.
the user was already signed on.
User Response: Check the data-set-name. The data set you
System Action: Control returns to TSO.
specified is sequential, but you specified a member name.
User Response: Log off and log on again. Remove the member name, and resubmit the job.
DSNE113E NOT ABLE TO LINK TO MODULE modname IN DSNE120E data-set-name NOT SEQUENTIAL DATA SET
DSNAME data-set-name
Explanation: The user tried to allocate a partitioned data set
Explanation: A DB2 subsystem error occurred during an when a sequential data set was required.
attempt to link to module 'modname' in data set
This message is issued by the following CSECT: DSNECP69
'data-set-name'.
System Action: The TSO attachment facility is ready for
System Action: The TSO attachment facility is ready for
more input.
more input.
User Response: Check the data-set-name. The data set you
User Response: Check that the module exists and that its
specified is partitioned, but you did not specify a member
name is spelled correctly. Enter the correct module name.
name. Add a member name, and resubmit the job.
DSNE123I data-set-name NOT PARTITIONED DATA SET, Explanation: DB2 has encountered a problem from which it
IT IS IGNORED cannot recover.
Explanation: The data-set-named in the message is required System Action: DB2 is abending. DSN terminates imme-
to be partitioned. It is not and, consequently, was ignored. diately and returns the user to TSO.
System Action: DSN will attempt to continue BIND proc- User Response: Reinitiate your session when DB2 returns.
essing.
User Response: Correct the subcommand, and resubmit it. DSNE130I MAXIMUM NUMBER OF DB2 USERS
REACHED. YOUR RETRY COUNT IS ZERO
DSNE124E DATA SET data-set-name, MEMBER member- Explanation: The number of concurrent connections to DB2
name IN USE, TRY LATER is restricted. The number is specified in the installation param-
eters in member DSN6SYSP. For TSO foreground, see param-
Explanation: The member contained in 'data-set-name' is eter IDFORE. For background jobs, see parameter IDBACK.
currently in use. This message is normally issued when The DSN request has been denied, because the current
another user is updating the specified member. number of DB2 connections in the system has reached the
This message is issued by the following CSECT: DSNECP69 installation-specified limit.
System Action: The TSO attachment facility is ready for System Action: Control returns to TSO.
more input. User Response: Resubmit the DSN command when activity
User Response: Wait until the member is available and using DB2 has diminished. If still unsuccessful, see the system
reissue your DCLGEN request. programmer about the installation parameters.
DSNE125E DATA SET data-set-name IN USE, TRY LATER DSNE131I MAXIMUM NUMBER OF DB2 USERS
REACHED. WILL RETRY nnn MORE TIMES
Explanation: The sequential data set 'data-set-name' is cur-
rently in use. This message is normally issued when another Explanation: The number of concurrent connections to DB2
user is updating the specified data set. is restricted. The number is specified in the installation param-
eters in member DSN6SYSP. For TSO foreground, see param-
This message is issued by the following CSECT: DSNECP69
eter IDFORE. For background jobs, see parameter IDBACK.
System Action: The TSO attachment facility is ready for The DSN request was denied because the current number of
more input. DB2 connections in the system reached the installation speci-
fied limit.
User Response: Wait until the data set is available and
reissue your DCLGEN request. The DSN connection to DB2 is attempted 'nnn' more times.
The number of retries is determined by the RETRY parameter
DSNE126E THE DB2 OPERATOR IS STOPPING THE SUB- on the DSN command. For more information, refer to DB2
SYSTEM. PLEASE END YOUR DSN SESSION Command Reference.
Explanation: The operator has requested that DB2 quiesce. This message is issued every 30 seconds (and each time
The user should promptly finish the current task and terminate 'nnn' is decreased by 1) until the connection is made or until
the DSN session so that this can take place. This message 'nnn' is decreased to zero.
may be followed by message DSNE127I. System Action: DSN repeats the connection attempt until the
This message is issued by the following CSECT: DSNECP00 connection is made or the retry count is decreased to 0.
System Action: No new users will be permitted to initiate User Response: If all retry attempts fail, resubmit the DSN
DB2 sessions. Current users will be permitted to work until command when DB2 activity diminishes. If still unsuccessful,
they terminate their connections to DB2. see the system programmer about the installation parameters.
DSNE133E csect-name RELEASE LEVELS NOT COMPAT- User Response: Enter Y (Yes) on the connection type for the
IBLE. DSN=release_level, DB2=release_level associated connection names.
ment, and examine the ISPF error log for additional diagnostic
DSNE237A SPECIFY ENABLE ALL OR SPECIFIC CON-
information.
NECTION TYPES
Explanation: In addition to requesting that all connection DSNE243A ISPF RETURNED AN UNEXPECTED CODE
types be enabled, the user also requested that specific con- DURING A TABLE DISPLAY
nection types be enabled. The enable of all connection types
includes the enable of specific connection types. Explanation: An ISPF error was encountered when
attempting to display a DB2I table panel.
System Action: The TSO attachment facility is ready for
more input. System Action: TSO processing for the current subcommand
is terminated.
User Response: Specify specific connection types to be
enabled, or specify that all connection types are to be enabled. User Response: Notify the system programmer.
System Programmer Response: Insure that the DB2I panel
DSNE240A ISPF RETURNED AN UNEXPECTED CODE and panel library are established correctly. If the format of both
WHILE CLOSING A TABLE is correct, then use ISPF option 7.2 to test the panel for addi-
tional errors.
Explanation: An ISPF error return code was encountered
when attempting to perform a TBCLOSE for an ISPF table Examine the ISPF error log for additional error information and
while processing the current subcommand panel. determine the name of the panel to be displayed.
System Action: TSO processing for the current subcommand
is terminated. DSNE244A CANNOT SAVE CREATED TABLE, VERIFY
SPACE IN TABLE LIBRARY
User Response: Notify the system programmer.
Explanation: An ISPF TBSAVE function returned with a con-
System Programmer Response: Verify that the ISPF table dition code greater than zero.
library allocated to the DSNETBLS DD statement has sufficient
space or directory entries available. Also refer to the ISPF System Action: TSO processing for the current subcommand
error log for additional diagnostic information. is terminated.
User Response: Notify the system programmer.
DSNE241A INTERNAL PROCEDURE WAS PASSED AN System Programmer Response: Verify that the ISPF table
INVALID NUMBER OF ARGUMENTS library allocated to the DSNETBLS DD statement has sufficient
Explanation: A TSO Interpreter error was encountered while space and directory entries available. Also refer to the ISPF
executing a subroutine during the processing of the current error log for additional diagnostic information.
subcommand.
System Action: TSO processing for the current subcommand DSNE245A ISPF RETURNED AN UNEXPECTED CODE
is terminated. WHILE ADDING A ROW TO A TABLE
User Response: Notify the system programmer. Explanation: An ISPF TBADD function returned with a condi-
tion code greater than four.
System Programmer Response: Notify the IBM support
center that an error was encountered in the TSO SYSCALL System Action: The TSO attachment facility is ready for
instruction. more input.
Problem Determination: The TSO SYSCALL instruction is User Response: Enter the DB2I CANCEL command, and
not passing all the parameters to a subroutine defined within notify the system programmer.
the CLIST. System Programmer Response: Verify that the user has
enough memory to perform ISPF functions. Also refer to the
DSNE242A ISPF RETURNED AN UNEXPECTED CODE ISPF error log for additional diagnostic information.
WHILE SETTING SEARCH ARGUMENTS
Explanation: An ISPF table for the current function does not DSNE246A ISPF RETURNED AN UNEXPECTED CODE
contain the expected column or table format. WHILE DELETING A ROW
System Action: TSO processing for the current subcommand Explanation: An ISPF TBDELETE function returned with a
is terminated. condition code greater than zero.
User Response: Notify the system programmer. System Action: TSO processing for the current subcommand
is terminated.
System Programmer Response: Delete the ISPF table in
error. The table is recreated automatically during the next invo- User Response: Enter the DB2I CANCEL command, and
cation of the DB2I function. notify the system programmer.
Problem Determination: The format of the ISPF table was System Programmer Response: Verify that the user has
changed since the last successful use of the table. Refer to the enough memory to perform ISPF functions. Also refer to the
DB2I ISPF table library allocated to the DSNETBLS DD state- ISPF error log for additional diagnostic information.
DSNE252A JCL WAS NOT CREATED, ERROR errcode DSNE293A MEMBER NAME IS REQUIRED. YOUR
WHILE DOING function_name FUNCTION PROGRAM MUST BE IN A PDS
Explanation: Error code 'errcode' was received while doing Explanation: The user either has attempted to run a program
a function 'function_name', the JCL was not created. that is not in a partitioned data set or has forgotten to specify a
Severity: 20 member name.
System Action: Refer to ISPF V4 Dialog Developer's Guide System Action: The RUN panel will be displayed so that the
and Reference for the cause of this error. user can specify a member name and try the run again.
User Response: Contact your systems programmer. User Response: Specify a member name, and rerun the
program.
Problem Determination: Use the return code/function combi-
nation to find the causes for the problem in ISPF V4 Dialog
Developer's Guide and Reference and correct the problem. DSNE294I SYSTEM RETCODE=hex-code USER OR DSN
RETCODE=decimal-code
Collect the following diagnostic items listed in Appendix B,
“Problem determination” on page 1051: 21. Explanation: A DB2I function has just completed. The return
codes for that function are returned in this message. The vari-
able 'hex-code' is a 3-digit hexadecimal number; the variable
DSNE283A THE , (COMMA) OPTION IS INCOMPATIBLE
'decimal-code' is a 3-digit decimal number. Refer to the
WITH THE hostlang LANGUAGE
appropriate MVS publication for explanations of the return
Explanation: The user tried to select the 'hostlang' APPLI- codes.
CATION LANGUAGE and the comma option of the DECIMAL
System Action: DB2I is ready for another execution cycle
POINT field on the DB2I defaults panel. This combination is
unless other messages appeared indicating that DB2 is una-
not supported.
vailable.
System Action: The defaults panel is displayed again.
User Response: You may have to change input parameters
User Response: Either change the APPLICATION LAN- to correct unsatisfactory completion codes.
DSNE295A YOU CANNOT DISPLAY AND RESTART A DSNE340I INTERNAL ERROR – ILLEGAL TYPE IN
UTILITY AT THE SAME TIME MODULE module-name
Explanation: You have set options on the DB2I Utilities panel Explanation: An internal DB2 problem has occurred. The
that call for conflicting actions. You can either DISPLAY the named module has detected a nonexistent SQLTYPE.
status of a utility, or you can RESTART a utility, but you
User Response: Collect the SPUFI trace and ISPF log, and
cannot do both.
notify either the system programmer or the database adminis-
System Action: The system is waiting for new input to the trator.
panel.
You may have to rerun the failing job after you have turned on
User Response: Either change the RESTART option to NO, trace. This will enable you to send trace messages to the ISPF
or select a different FUNCTION. log.
System Programmer Response: If you suspect an error in
DSNE296A YOU CANNOT TERMINATE AND RESTART A DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
UTILITY AT THE SAME TIME for information on identifying and reporting the problem.
Explanation: You have set conflicting options on the DB2I
Utilities panel. You can either TERMINATE a utility, or you can DSNE351A EDIT PROCESSING OPTION MUST BE Y (YES)
RESTART a utility, but you cannot do both. OR N (NO)
System Action: The system is waiting for new input to the Explanation: The user specified an edit option other than
panel. 'YES', 'NO', or the abbreviation 'Y' or 'N'. A valid user
response determines whether SPUFI invokes the ISPF editor
User Response: Either change the RESTART option to NO,
to allow the user to edit the input data set.
or select a different FUNCTION.
System Action: SPUFI will wait until the user enters a valid
DSNE297A ENTER DATA SET NAME: COPYDSN OR response.
RCPYDSN1 User Response: Type in a 'Y' or an 'N', and press
Explanation: You have not specified a data set name for the 'ENTER'.
COPY utility. A data set name for the local/current site
(COPYDSN), and/or the recovery site (RCPYDSN1) is DSNE352A EXECUTE PROCESSING OPTION MUST BE Y
required. (YES) OR N (NO)
System Action: The system is waiting for new input to the Explanation: The user specified an execute option other than
panel. 'YES', 'NO', or the abbreviation 'Y' or 'N'. A valid user
response determines whether SPUFI executes the SQL state-
User Response: Enter a data set name for COPYDSN,
ments in the user input data set.
and/or RCPYDSN1.
System Action: SPUFI waits until the user enters a valid
DSNE298A ERROR DURING EDIT: CLIST data set name response.
Explanation: Errors were encountered while attempting to User Response: Type in a 'Y' or an 'N', and press
change the online book data set names in the DB2 CLIST 'ENTER'.
member DSNEMC01. No data set names were changed.
DSNE353A BROWSE PROCESSING OPTION MUST BE Y
System Action: The system is waiting for new input to the
(YES) OR N (NO)
panel.
Explanation: The user specified a browse option other than
User Response: Ensure that the CLIST data set name is
'YES', 'NO', or the abbreviation 'Y' or 'N'. A valid user
correct and contains the DSNEMC01 CLIST member to be
response determines whether SPUFI invokes ISPF BROWSE
changed. This CLIST data set must also be available to the
to allow the user to browse the output data set.
TSO user ID in WRITE mode. This error will continue to be
displayed on the panel until the error is resolved or the user System Action: SPUFI will wait until the user enters a valid
exits the panel (END). response.
System Programmer Response: If you are unable to deter- User Response: Type in a 'Y' or an 'N', and press
mine the problem, you can trace the DB2 CLIST execution 'ENTER'.
while displaying this panel.
Problem Determination: Examine the CLIST trace output for DSNE354A AUTOCOMMIT PROCESSING OPTION MUST
any TSO/ISPF nonzero return codes encountered during BE Y (YES) OR N (NO)
CLIST execution. Explanation: The user specified an AUTOCOMMIT option
If you suspect an error in DB2, refer to Section 3 of DB2 Diag- other than 'YES', 'NO', or the abbreviation 'Y' or 'N'. A
nosis Guide and Reference for information on identifying and valid user response determines whether SPUFI automatically
reporting the problem. commits all the changes to the database subsystem. This was
encountered as a result of executing the user’s SQL
statement(s). The commit is done at the end of the processing
of an input data set, if it is requested and if there has been no
SQL execution error.
System Action: SPUFI waits until the user enters a valid AUTOCOMMIT option is 'YES', other applications can modify
response. the selected database values as soon as the SPUFI EXECUTE
phase is completed and as soon as the automatic COMMIT (or
User Response: Type in a 'Y' or an 'N', and press
ROLLBACK, if an error was encountered,) operation is per-
'ENTER'.
formed. Therefore, it is possible that the retrieved data being
browsed by the user has already been modified by another
DSNE355A CHANGE DEFAULTS PROCESSING OPTION application.
MUST BE Y (YES) OR N (NO)
If the RR level is specified and the AUTOCOMMIT option is
Explanation: The user specified a change-default option 'NO', no other DB2 application executing concurrently can
other than 'YES', 'NO', or the abbreviation 'Y' or 'N'. A change any of the selected database values until the SPUFI
valid user response determines whether SPUFI displays the user issues either a COMMIT or a ROLLBACK. Therefore,
current-session SPUFI defaults and allows the user to change other applications might be in a normal wait state while the
the defaults. SPUFI user is browsing the output data set.
System Action: SPUFI waits until the user enters a valid If the cursor stability (CS) level is specified, it does not make
response. any difference whether the AUTOCOMMIT option is 'YES' or
User Response: Type in a 'Y' or an 'N', and press 'NO'. Other concurrently executing DB2 applications can
'ENTER'. change the selected database values as soon as the SELECT
has completed.
DSNE359A OUTPUT DATA SET NAME REQUIRED FOR System Action: SPUFI waits until the user specifies either
EXECUTE OR BROWSE 'RR' or 'CS'.
Explanation: The user did not specify the name of the output User Response: Type in the correct entry, and press
data set. 'ENTER'.
User Response: Type in the correct entry, and press | System Action: The statement cannot be executed.
'ENTER'. # User Response: Specify a valid SQL statement terminator.
DSNE361I SPUFI PROCESSING COMPLETE # DSNE365A SQL STATEMENT TERMINATOR HAS BEEN
Explanation: This informational message is displayed after # CHANGED TO token
SPUFI successfully created the output data set. If errors are # Explanation: The SPUFI input data set contains a #SET
encountered before the completion of output data set proc- # statement that changes the SQL statement terminator to token.
essing, or during the subsequent BROUSE OUTPUT option for
this data set, this message is replaced by either SPUFI or # System Action: token is the SQL statement terminator until
TSO/ISPF error messages. # another #SET statement changes it or the end of the input
# data is reached.
System Action: The system waits for the next user input.
User Response: At this point you can change the SPUFI DSNE366A ONLY THE LISTED RECFM TYPES ARE
panel variable settings to initiate a new SPUFI request, or you ALLOWED
can exit SPUFI.
Explanation: The user has entered an invalid record format
for the output data set.
DSNE363A ONLY RR (REPEATABLE READ) OR CS
(CURSOR STABILITY) ALLOWED System Action: The system waits until the user enters one of
the allowed RECFM types.
Explanation: The user has entered an invalid isolation level.
This value must be either RR or CS. 'Isolation level' here User Response: Enter a RECFM of V, VB, VBA, F, FB, or
refers to the degree to which the SPUFI user wants to isolate FBA.
SQL execution from the effects of other concurrently executing
DB2 applications.
If the repeatable read (RR) level is specified and the
DSNE367A ACTION MUST BE C (COMMIT) OR R DSNE376A ACCESS TO OUTPUT DATA SET NOT
(ROLLBACK) OR D (DEFER) AUTHORIZED
Explanation: This message requests the user to make a Explanation: A local installation-supplied exit has rejected
commit action decision. access to the output data set.
User Response: To commit all the changes made since the User Response: Either specify the name of a data set for
last commit point, enter a 'C'. To undo all the changes that which authorization will be allowed, or arrange to authorize the
have been made since the last commit point, enter an 'R'. To original data-set-name. Resubmit the request.
defer the decision, enter a blank.
DSNE377A INPUT DATA SET RECFM MUST BE F OR FB
DSNE368A YES OR NO MUST BE ENTERED FOR EACH WITH LRECL 79 OR 80
PROCESSING OPTION
Explanation: The user specified an input data set that does
Explanation: One of the processing options was left blank or not have the required attributes (F or FB with LRECL 79 or
set to blank by the user. 80).
User Response: Enter 'YES' or 'NO' for each processing Note: If the input data set has an LRECL of 79, SPUFI
option. assumes the data set was exported by QMF. There-
fore, it is recommended that you should not use an
DSNE370A INPUT DATA SET COULD NOT BE OPENED LRECL of 79 for a data set that is not exported from
QMF.
Explanation: The input data set could not be opened
because of invalid data set attributes. The logical record User Response: Correct the input data set attributes, and try
length (LRECL) of the input data set must be 80K. The record again.
format (RECFM) must be either F or FB. The input data set
may be either sequential or partitioned. DSNE378A ASA CONTROL CHARACTER NOT ALLOWED
ON INPUT DATA SET RECFM
User Response: Specify an input data set having valid attri-
butes. Explanation: The user attempted to use an input data set
containing forms control characters or machine control charac-
DSNE371A OUTPUT DATA SET COULD NOT BE OPENED ters. These characters are not allowed on the input data set.
Explanation: The output data set could not be opened User Response: Remove the forms control characters or
because of invalid data set attributes. The logical record length machine control characters from the input data set, and try
(LRECL) must be at least 80KB and less than 32KB. The again.
record format (RECFM) must be F, FB, FBA, V, VB, or VBA.
The output data set must be sequential. DSNE379A text from DYNALLOC
User Response: Either specify an output data set having Explanation: An attempt to allocate a data set has failed.
valid attributes, or enter correct attributes for this data set. This message contains the secondary explanation for the
failure.
DSNE372A OUTPUT DATA SET MUST BE SEQUENTIAL User Response: Correct the condition, and resubmit the sub-
Explanation: The user has requested that a nonsequential command.
output data set contain the output from execution of SQL state-
ments. DSNE381A UNEXPECTED ALLOCATION RETURN CODE
return-code, reason-code
User Response: Enter the data-set-name of a sequential
data set for the output data set. Explanation: An unexpected return code from SVC 99 was
received. The return code received is the DYNALLOC (SVC
DSNE374A OUTPUT DATA SET MUST BE SEQUENTIAL 99) return code. Refer to the appropriate MVS publication for
explanations of the return and reason codes.
Explanation: The output data set is of unrecognized organ-
ization. It must be sequential. User Response: Correct the condition, and resubmit the sub-
command.
System Action: Processing does not begin until the panel
entries are correct and the user presses 'ENTER'.
DSNE383A INVALID OUTPUT DATA SET RECORD
User Response: The output data set must be sequential. FORMAT. OPEN RETURN CODE rcode
Enter a sequential data-set-name (no member) in the output
Explanation: The data set format was invalid. Acceptable
data set field.
record formats are: F, FB, FBA, V, VB, or VBA.
DSNE375A ACCESS TO INPUT DATA SET NOT AUTHOR- User Response: Enter a valid value in the record format
IZED field.
DSNE384A UNEXPECTED DEALLOCATION RETURN DSNE390A THE OUTPUT DATA SET ATTRIBUTES ARE
CODE return-code, reason-code INCONSISTENT
Explanation: A deallocation request has returned an unex- Explanation: This message indicates that the user made one
pected return and reason code. of three possible errors in specifying block size and logical
record length (LRECL):
User Response: Refer to the appropriate MVS publication for
explanations of the return and reason codes. The user specified a record format (RECFM) of F, but the
block size is not equal to the logical record length (LRECL)
DSNE385A ENTER MEMBER NAME. INPUT DATA SET IS The user specified a record format (RECFM) of F, FB, or
PARTITIONED FBA, but block size is not evenly divisible by logical record
length (LRECL).
Explanation: The input data set is partitioned, and the user The user specified a record format (RECFM) of VB, but the
did not enter the member name on the SPUFI main menu. block size is less than logical record length (LRECL) + 4.
System Action: Processing does not begin until the panel The user must allow 4 bytes for the block header.
entries are correct. If any of the processing options are User Response: Specify logical record length (LRECL) and
changed, this message is ignored, and processing will proceed block size appropriately on the DSNESP02 panel.
according to the new settings.
User Response: Enter the member name. DSNE391I FREEMAIN ERROR IN MODULE module-name
Explanation: SPUFI encountered a FREEMAIN error in the
DSNE386A MEMBER member-name NOT PRESENT IN specified module.
SPECIFIED INPUT DATA SET
System Action: This message is logged in the ISPF log data
Explanation: The named member is not in the input data set. set. No abend occurs.
System Action: Processing does not begin until the panel User Response: Notify the system programmer or system
entries are correct. administrator.
User Response: Enter a correct member name or a correct System Programmer Response: Print the ISPF log, and
data-set-name. collect a dump of the TSO address space. If you suspect an
error in DB2, refer to Section 3 of DB2 Diagnosis Guide and
DSNE387I DSNTIAR ERROR. RETURN CODE = return- Reference for information on identifying and reporting the
code problem.
System Programmer Response: Print the ISPF log, and System Action: This message is logged in the ISPF log data
collect a dump of the TSO address space. Refer to Section 3 set. User abend X'00C50003' is issued.
of DB2 Application Programming and SQL Guide for failure User Response: Notify the system programmer or system
analysis procedures. administrator.
System Programmer Response: Ensure that enough
DSNE388A INPUT DATA SET MUST BE SEQUENTIAL OR storage is allocated to the TSO user.
PARTITIONED
Explanation: The input data set organization is not recog- DSNE393I SPF VDELETE ERROR IN MODULE
nized. DSNESM90. ERROR CODE = flag
System Action: Processing does not begin until the panel Explanation: An internal SPUFI error has occurred. CSECT
entries are correct. DSNESM90 tried to delete an ISPF dialog variable that was
User Response: Enter a data-set-name with sequential or not previously defined.
partitioned organization. It may be necessary to allocate a System Action: This message is logged in the ISPF log data
sequential or partitioned data set. set. No abend is issued. However, if the problem persists,
notify the system programmer.
DSNE389A A MEMBER HAS BEEN SPECIFIED FOR A System Programmer Response: If you suspect an error in
SEQUENTIAL DATA SET DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
Explanation: The user has specified a member as input to for information on identifying and reporting the problem.
SPUFI. However, the input data set specified is sequential. Problem Determination: Record the error code 'flag'. It has
System Action: Processing does not begin until the panel no user significance, but it can assist the IBM Support Center
entries are correct. in resolving the problem.
DSNE609E INPUT STATEMENT HAS UNBALANCED DSNE613I OUTPUT LRECL IS TOO SMALL TO DISPLAY
QUOTES THE FOLLOWING COLUMNS:
Explanation: An opening quote (“) was detected in an input Explanation: An SQL SELECT statement was executed, but
record, but a corresponding quote was not found at the end. the logical record length of the output data set was not large
Two sets of quotes are used to delimit a statement. enough to display the column names and data values of all
returned columns. The columns specified following this
System Action: SPUFI processing stops.
message were not displayed because of insufficient remaining
User Response: A closing quote was probably omitted from record width.
a literal value. Add the missing quote, and execute the input
System Action: Input data set processing is completed, and
file again.
this message is included in the SPUFI output.
DSNE610I NUMBER OF ROWS DISPLAYED IS nn User Response: This condition can be avoided by using a
larger LRECL for the output data set or by specifying that
Explanation: Execution of an SQL SELECT statement fewer data columns be returned on the SELECT statement.
causes one or more rows of data to be displayed. This
message appears in the output data set following the returned
DSNE614I AUTOCOMMIT IS NO, NO CHANGES COM-
data for a SELECT. It gives a count, 'nn', of the number of
MITTED
rows displayed.
Explanation: The user delayed committing or rolling back
System Action: Input data set processing is completed, and
changes made during execution of the input file until later in
this message is included in the SPUFI output.
the session. This is done by specifying an AUTOCOMMIT
option of 'NO'.
DSNE611I COLUMN HEADER FOR COLUMN NUMBER nn
WAS TRUNCATED System Action: Input data set processing is completed, and
this message is included in the SPUFI output.
Explanation: An SQL SELECT statement was executed, but
the specified column name, identified by 'nn' in the message, User Response: Commit or roll back these changes before
was truncated. This truncation occurred either because the ending the session.
column name was longer than the remaining record width or
because the name was longer than the user-specified DSNE615I NUMBER OF ROWS AFFECTED IS nn
maximum field length.
Explanation: This message is written to the output data set
System Action: Input data set processing is completed, and following execution of an SQL UPDATE, INSERT, or DELETE
this message is included in the SPUFI output. statement. 'nn' in the message is a count of the number of
rows that were modified as a result of executing the UPDATE,
User Response: If the truncation is caused by insufficient
INSERT, or DELETE statement.
record width, use a larger LRECL for the output data set or
specify fewer data columns to be returned on the SELECT Note: In the case of a mass delete of a table in a segmented
statement. table space where DB2 does not access nor count the
individual rows, this message will not be displayed.
If the truncation is caused by the user-specified maximum field
length setting, use a larger value for this setting. System Action: Input data set processing is completed, and
this message is included in the SPUFI output.
DSNE612I DATA FOR COLUMN HEADER name COLUMN
NUMBER nn WAS TRUNCATED DSNE616I STATEMENT EXECUTION WAS SUCCESSFUL,
SQLCODE IS number
Explanation: An SQL SELECT statement was executed, but
data for the specified column name, identified by 'nn' in the Explanation: This message is written to the output data set
message, was truncated. This truncation occurred either following the successful execution of an SQL statement from
because the data was longer than the remaining record width the input data set. 'number' specifies the SQL return code for
or because the data was longer than the user-specified the statement. These return codes are listed in Section 2. SQL
maximum field length. Return Codes.
System Action: Input data set processing is completed, and System Action: Input data set processing is completed, and
this message is included in the SPUFI output. this message is included in the SPUFI output.
User Response: If the truncation is because of insufficient
record width, use a larger LRECL for the output data set or DSNE617I COMMIT PERFORMED, SQLCODE IS number
specify fewer data columns be returned on the SELECT state- Explanation: When an input file is executed successfully and
ment. the user specified an AUTOCOMMIT option of 'YES', this
If the truncation is because of the user-specified maximum field message is written to the output data set to indicate the status
length setting, use a larger value for this setting. of the COMMIT that was performed. 'number' specifies the
SQL return code for the COMMIT. These return codes are
listed in “Section 2. SQL Return Codes” on page 17.
System Action: Input data set processing is completed, and
this message is included in the SPUFI output.
System Action: Input data set processing is completed, and This message appears in the output file and indicates that an
this message is included in the SPUFI output. SQL CONNECT request was issued by SPUFI to the specified
location name. The 'number' specifies the SQL return code
associated with the CONNECT request. These return codes
DSNE620I NUMBER OF SQL STATEMENTS PROCESSED
are listed in “Section 2. SQL Return Codes” on page 17.
IS nn
System Action: Subsequent processing of the SQL state-
Explanation: This message is written to the output data set
ments in the input file is based upon the successful completion
after processing all SQL statements in the current input data
of the CONNECT request. If the request is unsuccessful, the
set. The term 'nn' is a count of the number of SQL state-
SQL error number and all associated error messages are
ments processed.
placed in the output file.
System Action: Input data set processing is completed, and
User Response: Respond as indicated by the SQL code
this message is included in the SPUFI output.
returned.
DSNE623I SYNTAX ERROR AT RECORD xx, OFFSET xx | DSNE627I csect-id FOR SQLCODE = number, USER
Explanation: A syntax error was detected in the SQL state-
| REQUESTED: action
ment preceding this message in the output data set. 'xx' iden- | Explanation: During PREPARE processing of the SQL state-
tifies the erroneous line number in the SQL statement, and | ment, SPUFI received an SQLCODE (+495) and requested
'yy' identifies the offset (in characters) of the error within that | you to respond with the desired action to be taken by SPUFI
record. | (CONTINUE or BYPASS).
System Action: Input data set processing is completed, and | SPUFI does not consider this to be an SQL statement error
this message is included in the SPUFI output. | and places this message in the SPUFI output file to document
User Response: Correct the specified syntax error in the
| the SQLCODE received and the action you requested. number
input data set, and execute the job again.
| specifies the SQL return code associated with the PREPARE
| request. These return codes are listed in “Section 2. SQL
| Return Codes” on page 17.
DSNE624I UNABLE TO LOAD ISPLINK MODULE. SPUFI
PROCESSING TERMINATED | System Action: SPUFI processing for this statement is
| based on action documented in the message:
Explanation: During SPUFI initialization processing, an error
was encountered attempting to LOAD the ISPF interface | CONTINUE
module, ISPLINK. This module could not be located in the | – Processing for the current SQL statement continues
LNKLST or STEPLIB library concatenation. | normally.
System Action: SPUFI processing is terminated. | BYPASS
User Response: Rearrange your library concatenation so | – Processing for the current SQL statement is terminated
| without error.
DSNE800A NO DEFAULT VALUES WERE CHANGED. Explanation: A DCLGEN subcommand executed success-
PRESS ENTER TO CONTINUE fully, replacing the 'member-name' specified in the message.
Explanation: The user left panel DSNESP02 without System Action: The TSO attachment facility is ready for
changing it. This panel contains all the defaults that can be more input.
modified by the user.
DSNE905I EXECUTION COMPLETE, MEMBER member-
System Action: This message is presented on the SPUFI
name ADDED
panel DSNESP01. SPUFI waits for the next user input.
Explanation: A DCLGEN subcommand executed success-
User Response: Press 'ENTER' if you want to continue.
fully, adding the 'member-name' specified in the message to
the data set specified in the DCLGEN subcommand.
DSNE803A INPUT FILE WAS NOT CHANGED. PRESS
ENTER TO CONTINUE System Action: The TSO attachment facility is ready for
more input.
Explanation: The user has exited from the ISPF editor
without modifying the input data set.
DSNE908E csect-name INVALID USE OF parameter IN
System Action: The system waits for the next user input. PARAMETER LIST OF KEYWORD keyword.
User Response: Press 'ENTER' if you want to continue. Explanation: An invalid parameter was specified in the
The SPUFI panel variable settings can be changed at this parameter list of the specified keyword.
point.
Severity: 8
Explanation: The user has specified the AUTOCOMMIT=NO User Response: Correct the parameter list in error, and
option and now wants either to exit or to switch to another DB2 resubmit the job.
subsystem with outstanding work uncommitted on the current
DB2 subsystem. DSNE909E csectname WARNING, DBCSSYMBOL
KEYWORD IS INVALID WITH LANGUAGE lan-
System Action: DB2 waits for the user to specify either the
guage KEYWORD IGNORED
COMMIT (C) or the ROLLBACK (R) option.
Explanation: You specified the DBCSSYMBOL keyword in
User Response: Enter 'C' or 'R' to continue.
your DCLGEN invocation, but your LANGUAGE keyword value
was not COB2. DBCSSYMBOL only applies to COB2
DSNE808A EDIT SESSION HAS COMPLETED. PRESS PICTURE clauses. DCLGEN will ignore this keyword.
ENTER TO CONTINUE.
System Action: DCLGEN processing continues.
Explanation: The user has exited from the ISPF editor.
User Response: In the future, do not specify the
System Action: SPUFI waits form the next user input. DBCSSYMBOL keyword unless the LANGUAGE keyword
User Response: Press 'Enter' if you want to continue. Press value is COB2.
'END' if you want to terminate your SPUFI session. The
SPUFI panel variable settings can be changed at this point. DSNE910E csectname WARNING, THE OWNER KEYWORD
WAS SPECIFIED WITH A QUALIFIED TABLE
DSNE901I EXECUTION COMPLETE NAME. OWNER KEYWORD IGNORED
Explanation: Execution of a subcommand has successfully Explanation: You specified both the OWNER keyword and a
completed. qualified table name for the TABLE keyword in your DCLGEN
invocation. The table qualifier will be used as the table owner,
System Action: The TSO attachment facility is ready for and the OWNER keyword will be ignored.
more input.
System Action: DCLGEN processing continues.
DSNE903I WARNING, DECLARATION HAS SAME NAME User Response: In the future, specify either a qualified table
AS TABLE table-name name for the TABLE keyword, or an unqualified table name for
the TABLE keyword along with the OWNER keyword.
Explanation: A DCLGEN subcommand has a
'STRUCTURE' parameter that is the same as the 'table
name' specified in the message. The requested declaration DSNE920E member-name ALREADY EXISTS, SPECIFY
has been created, but this could cause conflicts with internal ACTION(REPLACE) TO REPLACE
names. Explanation: The DCLGEN user tried to overwrite an old
System Action: DCLGEN execution continues. declaration with a new one without specifying REPLACE on
the 'ACTION' parameter.
User Response: Choose a different 'STRUCTURE' param-
eter. System Action: The TSO attachment facility is ready for
more input.
User Response: Change the 'ACTION' parameter to
DSNE921E REQUIRED PARAMETER table-parameter IS Explanation: This is a DCLGEN subsystem error. CSECT
MISSING 'csect-name' detected a buffer overflow condition while
attempting to write 'string'.
Explanation: Your DCLGEN subcommand was missing the
required TABLE parameter. System Action: The TSO attachment facility is ready for
more input.
System Action: Your DCLGEN subcommand was not proc-
essed. The DSN command processor issued a return code of User Response: Notify the system programmer.
8. DSN is ready for more input. System Programmer Response: Re-create the problem with
User Response: Resubmit the DCLGEN subcommand with a DSN tracing turned on. Collect the trace stream in the
TABLE parameter. DSNTRACE data set. If you suspect an error in DB2, refer to
Section 3 of DB2 Diagnosis Guide and Reference for informa-
tion on identifying and reporting the problem.
DSNE922E TABLE NAME QUALIFIER OF qualifier IS TOO
LONG. CANNOT EXCEED 8 CHARACTERS IN
LENGTH DSNE926E COMMAND REJECTED, command NOT SUP-
PORTED UNDER subsystem
Explanation: DCLGEN detected an invalid TABLE parameter.
The table name qualifier (the left portion of the table name) Explanation: The user entered a TSO TIME or TEST
was too long. command. These are not supported by DSN or DB2I.
System Action: Your DCLGEN subcommand was not proc- System Action: The user should leave DSN or DB2I, return
essed. The DSN command processor issued a return code of to TSO, and retry the command. DSN can be run under TSO
8. DSN is ready for more input. TEST. The TSO attachment facility is ready for more input.
User Response: Resubmit the DCLGEN subcommand with a User Response: Enter the DSN subcommand, or leave DSN
shorter table name qualifier. to execute the requested command.
DSNE923E CSECT csect-name FOUND AN UNRECOG- DSNE927E RUN SUBCOMMANDS REQUIRE (1)PROGRAM
NIZED LANGUAGE unknown PARM OR (2)PLAN AND CP PARMS
Explanation: This is a DCLGEN subsystem error, not a user Explanation: RUN subcommands may contain (1) the
error. The language parameter 'unknown' is not known to the 'PROGRAM' parameter and, optionally, the 'PLAN' param-
subsystem. eter or (2) the 'PLAN' and command processor ('CP')
parameters. Combinations of (1) and (2) are not allowed.
System Action: The TSO attachment facility is ready for
more input. System Action: The TSO attachment facility is ready for
more input.
User Response: Report the problem to the system pro-
grammer. User Response: Correct the subcommand, and resubmit the
job.
System Programmer Response: Re-create the problem with
DSN tracing turned on. Collect the trace stream in the
DSNE928E RUN SUBCOMMANDS CANNOT HAVE A
DSNTRACE data set. Use the ABEND subcommand of the
PROGRAM PARM AND A CP PARM
DSN command processor to collect a dump. If you suspect an
error in DB2, refer to Section 3 of DB2 Diagnosis Guide and Explanation: A RUN subcommand cannot contain both the
Reference for information on identifying and reporting the 'PROGRAM' and command processor ('CP') parameters.
problem. The subcommand should be resubmitted with only one of the
parameters.
DSNE924E PARSE FAILED IN CSECT csect-name System Action: The TSO attachment facility is ready for
PARAMETER parm, FLAG flag more input.
Explanation: This is a DB2 subsystem error, not a user error. User Response: Correct the subcommand, and resubmit the
The 'PARM' parameter was not correctly parsed. The flag job.
specified was detected as an inappropriate value in a parse
results field.
DSNE929E TABLE NAME LOCATION OF (location-name)
System Action: The TSO attachment facility is ready for IS TOO LONG. CANNOT EXCEED 16 CHARAC-
more input. TERS IN LENGTH.
User Response: Report the problem to the system pro- Explanation: DCLGEN detected an invalid AT(location)
grammer. keyword parameter. The specified location name is too long.
System Programmer Response: Re-create the problem with System Action: Your DCLGEN subcommand was not proc-
DSN tracing turned on. Collect the trace stream in the essed. The DSN command processor issues a return code of
DSNTRACE data set. Use the ABEND subcommand of the 8. The DSN is ready for more input.
DSN command processor to collect a dump. If you suspect an
User Response: Resubmit the DCLGEN subcommand speci-
error in DB2, refer to Section 3 of DB2 Diagnosis Guide and
fying a location name that does not exceed 16 characters.
Reference for information on identifying and reporting the
problem.
DSNE930E TABLE NAME OF table-name MUST BE QUAL- DSNE938I PLI DECLARATION FOR TABLE table-name
IFIED WHEN SPECIFIED WITH LOCATION OF
Explanation: This message is a part of normal DCLGEN
location-name
output. It tells the name of the table for which the declaration
Explanation: DCLGEN detected an invalid TABLE keyword was created.
parameter. You must specify a qualified table name with the
System Action: This message is included in the DCLGEN
AT (location) keyword.
output.
System Action: Your DCLGEN subcommand was not proc-
essed. The DSN command processor issues a return code of DSNE939E csect-name THE COMBINATION
8. DSN is ready for more input. ACQUIRE(ALLOCATE) AND
User Response: Specify a qualified table name and resubmit RELEASE(COMMIT) IS NOT ALLOWED
the DCLGEN command. Explanation: The BIND or REBIND subcommand was sub-
mitted with conflicting parameters. You cannot specify
DSNE931E csect-name keyword-name (parameter_value) ACQUIRE(ALLOCATE) and RELEASE(COMMIT) on the same
CONTAINS AN INVALID SYMBOL (symbol) subcommand.
Explanation: An invalid 'symbol' (symbol) was specified in System Action: The subcommand is terminated and the
the 'parameter_value' associated with the specified DSN command processor reissues the DSN prompt to allow
'keyword-name'. another subcommand to be entered.
Severity: 8 User Response: Enter the corrected subcommand. Refer to
DB2 Command Reference for additional information about the
System Action: Subcommand processing is terminated. The
BIND and REBIND subcommands.
TSO attachment facility is ready for more input.
User Response: Correct the keyword 'parameter_value' in
DSNE940E DEFER(PREPARE) INVALID WITH
error, and resubmit the job.
NODEFER(PREPARE)
Explanation: The BIND or REBIND subcommand was sub-
DSNE932I WARNING, ONLY IBM SUPPLIED names
mitted with conflicting parameters. You cannot specify
SHOULD BEGIN WITH DSN
DEFER(PREPARE) and NODEFER(PREPARE) on the same
Explanation: The user has issued a BIND, REBIND, or subcommand because these actions conflict.
FREE subcommand, using a name or id that begins with DSN.
System Action: The subcommand is terminated and the
System Action: Processing continues. DSN command processor reissues the DSN prompt to allow
User Response: In the future, do not use plan-names, another subcommand to be entered.
collection-ids, or package -ids that begin with DSN. It would be User Response: Enter the corrected subcommand. Refer to
a good idea to FREE the plan or package you just created and DB2 Command Reference for additional information regarding
to BIND again with a new plan-name, collection-id, or the BIND and REBIND subcommands.
package-id.
DSNE941I DSNBIND IS A RESERVED PLAN NAME
DSNE935I ... IS THE DCLGEN COMMAND THAT MADE
Explanation: This message is generated when the plan
THE FOLLOWING STATEMENTS
name is 'DSNBIND' in a BIND statement.
Explanation: This message is a part of normal DCLGEN
System Action: Subcommand processing is terminated. The
output. It identifies the DCLGEN command that produced the
TSO attachment facility is ready for more input.
declaration of which it is a part.
User Response: Change the plan-name and resubmit the
System Action: This message is included in the DCLGEN
job.
output.
DSNE943E csect-name REMOTE CONNECTION NAME Explanation: A DSN command processor subcommand (indi-
(parameter_value) CANNOT EXCEED cated in the message) has encountered an error which
(length_value) CHARACTERS IN LENGTH stopped DSN from processing this subcommand. The subcom-
mand will not complete normally. This message is accompa-
Explanation: The REMOTE connection name nied by other messages explaining the exact nature of the
'parameter_value' specified is greater than the length problem.
'length_value' permitted for the REMOTE keyword.
System Action: Subcommand processing terminates. The
This message is issued if the REMOTE location name format DSN prompt is reissued, indicating DSN is ready for another
exceeds 16 characters, or the LU name format (<LU name>) subcommand.
exceeds 10 characters in length.
User Response: Read the accompanying messages for help
Severity: 8 in deciding what to do next.
System Action: Subcommand processing is terminated. DSN
command processor reissues the DSN prompt to allow another DSNE949E COMMIT PROCESSING ABNORMAL TERMI-
subcommand to be entered. NATION, REASON CODE reason_code
User Response: Correct the keyword 'parameter_value' in Explanation: The DSN command processor has initiated a
error and resubmit the job. Refer to DB2 Command Reference 'prepare to commit' request in DB2. The request is rejected
for additional information about the specification of connection when DB2 cannot commit the work performed
names for the REMOTE keyword.
System Action: Commit processing is terminated.
DSNE944I WARNING, BECAUSE YOUR TABLE OR User Response: Examine the reason code associated with
COLUMN NAMES CONTAIN LOWER CASE OR this message, and respond as indicated before resubmitting
NON-ALPHABETIC CHARACTERS, YOU WILL the job.
NEED TO USE THE SQL (NOT PL/I) INCLUDE Problem Determination: Reference the associated reason
STATEMENT TO INCLUDE DCLGEN OUTPUT code to determine why the 'prepare to commit' was not suc-
INTO YOUR PROGRAM cessful.
Explanation: DCLGEN had to wrap your table or column
name(s) in quotes so DB2 could process them. Quotes are not DSNE950E DCLGEN DOES NOT SUPPORT THE lang LAN-
recognized by the PL/I compiler. To avoid compilation errors, GUAGE
use the SQL INCLUDE statement ('EXEC SQL INCLUDE
Explanation: A DCLGEN user attempted to specify a LAN-
membername') to merge the DCLGEN output with your source
GUAGE parameter, 'lang', that DCLGEN does not support.
program.
System Action: DCLGEN processing terminates.
Refer to Chapter 6 of DB2 SQL Reference for more informa-
tion about the SQL INCLUDE statement. User Response: Correct the LANGUAGE parameter and
resubmit the DCLGEN subcommand.
System Action: DCLGEN processing continues.
User Response: If you have not coded the SQL INCLUDE,
DSNE952I C DECLARATION FOR TABLE table-name
do so before the next compile.
Explanation: This message is a part of normal DCLGEN
output. It tells the name of the table for which the declaration
DSNE947I QUOTE PARAMETER IS ONLY VALID WITH
was created.
COBOL. IT HAS BEEN CHANGED TO APOST
System Action: This message is included in the DCGLEN
Explanation: You specified the DCLGEN QUOTE parameter
output.
and a non-COBOL language parameter. This combination is
not valid. The QUOTE parameter was specified as either a
parameter on the DCLGEN subcommand or a default set for DSNE953I csect-name PRECISION OF DECIMAL COLUMN
your site at DB2 installation time. colname EXCEEDS THE MAXIMUM PRECISION
FOR THE lang LANGUAGE.
The DCLGEN processor changed the QUOTE setting (for this
run) to APOST. Explanation: DCLGEN was building a COBOL or PL/I lan-
guage declaration for a table when it encountered a decimal
System Action: DCLGEN processing continues and should
column with a precision greater than the precision supported
produce valid output.
by the language.
User Response: If you used QUOTE on the DCLGEN
System Action: DCLGEN set the return code to 4 and proc-
command, you may want to change it to APOST before sub-
essed the rest of the table.
mitting it again.
User Response: This is a warning. Be aware that the decla-
ration for column 'colname' causes a compiler error. You
must edit the declaration before including it in an application
program.
DSNE954I csect-name USE OF THE DCLGEN DSNE964E csect-name INVALID SYNTAX FOR keyword
COLSUFFIX(YES) OPTION WILL RESULT IN A KEYWORD PARAMETER parameter
MIXED FIELD NAME FOR COLUMN colname.
Explanation: A parameter that does not follow DB2 naming
THE lang LANGUAGE DOES NOT SUPPORT
conventions was specified for keyword.
MIXED FIELD NAMES.
System Action: Subcommand processing is terminated. The
Explanation: The COLSUFFIX(YES) option and a double-
DSN command processor reissues the DSN prompt to allow
byte NAMES prefix were specified in a DCLGEN invocation,
you to enter another subcommand.
but column colname contains single-byte characters. This com-
bination would result in a generated field name with a mixture User Response: Correct the keyword parameter value in
of double-byte and single-byte characters, but the lang lan- error, and resubmit the command. Refer to DB2 Command
guage does not support mixed field names. Reference for additional information about the specification of a
package name and the REBIND/BIND PACKAGE/PLAN or
System Action: DCLGEN set the return code to 4 and gener-
FREE PACKAGE subcommand.
ated the field name as requested.
User Response: This is a warning. Be aware that the decla- DSNE965E parameter_value IS NOT A VALID keyword
ration for column colname causes a compiler error. You must KEYWORD PARAMETER
edit the declaration before including it in an application
program. Explanation: The parameter_value is not a valid parameter
value for the keyword.
DSNE955I csect-name COLSUFFIX(YES) WAS SPECIFIED System Action: Subcommand processing terminates. The
WITHOUT A NAMES PREFIX. COLUMN DSN command processor reissues the DSN prompt to allow
NAMES WILL BE USED FOR FIELD NAMES. you to enter another subcommand.
Explanation: When COLSUFFIX(YES) is specified in a User Response: Enter the corrected subcommand. Refer to
DCLGEN invocation, DCLGEN generates field names by con- DB2 Command Reference for additional information about the
catenating the NAMES prefix with the column names. parameter values supported on the keyword.
However, no NAMES prefix was specified.
System Action: DCLGEN set the return code to 4 and used DSNE966E connection_type KEYWORD OMITTED FROM
the column names as field names. THE ENABLE|DISABLE DECLARATION
User Response: This is a warning. Specify a NAMES prefix Explanation: The 'connection_type' keyword was not speci-
when you specify COLSUFFIX(YES). fied in either the ENABLE or DISABLE keywords and is
required if connection-names are specified for the
'connection_type'.
DSNE956A A FIELD NAME PREFIX MUST BE SPECIFIED
WHEN COLUMN SUFFIX VALUE IS YES. Severity: 8
Explanation: When YES is specified for the COLUMN System Action: Subcommand processing is terminated. DSN
SUFFIX field on the DCLGEN panel, DCLGEN generates field command processor reissues the DSN prompt to allow you to
names by concatenating the value in the FIELD NAME enter another subcommand.
PREFIX field with the column names. However, no value was User Response: Enter the corrected subcommand. Refer to
specified for FIELD NAME PREFIX. DB2 Command Reference for additional information about the
System Action: The DCLGEN panel generated this error connection type parameter values supported on the ENABLE
message. and DISABLE keywords.
User Response: Specify a FIELD NAME PREFIX value, or
change the COLUMN SUFFIX value to NO. DSNE967E keyword_name KEYWORD CANNOT BE
SPECIFIED MORE THAN ONCE PER RUN
DSNE960E PARAMETER STRING EXCEEDS ALLOWABLE Explanation: Either the BIND PACKAGE MEMBER or
LIMIT OF 100 (DECIMAL) CHARACTERS LIBRARY keywords specified more than one parameter value.
Only one member or library name is permitted.
Explanation: The PARMS option parameter-string of the
RUN subcommand cannot exceed 100 (decimal) characters in Severity: 8
length. System Action: Subcommand processing is terminated. DSN
System Action: The TSO attachment facility is ready for command processor will reissue the DSN prompt to allow
more input. another subcommand to be entered.
User Response: Correct the PARMS option and resubmit the User Response: Enter the corrected subcommand. Refer to
job. DB2 Command Reference for additional information regarding
the BIND PACKAGE and BIND PLAN subcommands.
DSNE969E csect-name keyword1 IS MUTUALLY EXCLU- DSNE974E csect-name keyword1 KEYWORD IS INVALID
SIVE WITH keyword2 WITH keyword2 KEYWORD.
Explanation: Both the PKLIST and NOPKLIST keywords, Explanation: The keyword2 should not be specified with
cannot be specified on one invocation of the REBIND PLAN keyword1.
subcommand. Both the ENABLE and DISABLE keywords
System Action: Subcommand processing is terminated. The
cannot be specified on one invocation of the BIND/REBIND
DSN command processor reissues the DSN prompt to allow
PLAN/PACKAGE subcommand.
another subcommand to be entered.
Severity: 8
User Response: Modify one of the keywords on the
System Action: Subcommand processing is terminated. DSN command and resubmit the job. Refer to DB2 Command Ref-
command processor will reissue the DSN prompt to allow erence for additional information about the BIND
another subcommand to be entered. PACKAGE/PLAN subcommands.
User Response: Enter the corrected subcommand. Refer to
DB2 Command Reference for additional information regarding DSNE975E csect-name keyword KEYWORD IS ONLY
the REBIND PLAN subcommand. VALID WHEN COPY KEYWORD IS PRESENT
Explanation: A keyword was issued that may only be speci-
DSNE970E EITHER MEMBER OR PKLIST MUST BE SPEC- fied in conjunction with the COPY keyword.
IFIED, BOTH ARE ALSO ALLOWED
keyword COPYVER or OPTIONS
Explanation: The BIND PLAN subcommand requires either
Severity: 8
the MEMBER or PKLIST keyword, and neither was specified.
Either keyword or both may be specified. System Action: Subcommand processing is terminated. The
DSN command processor will reissue the DSN prompt to allow
Severity: 8
another subcommand to be entered.
System Action: Subcommand processing is terminated. DSN
User Response: Enter the corrected subcommand. Refer to
command processor will reissue the DSN prompt to allow
DB2 Command Reference for additional information regarding
another subcommand to be entered.
the BIND PACKAGE subcommand.
User Response: Enter the corrected subcommand. Refer to
DB2 Command Reference for additional information regarding DSNE976E LIBRARY KEYWORD IS ONLY VALID WHEN
the BIND PLAN subcommand. MEMBER KEYWORD IS PRESENT
Explanation: The LIBRARY keyword may only be specified in
DSNE971E EITHER MEMBER OR COPY BUT NOT BOTH
conjunction with the MEMBER keyword.
MUST BE SPECIFIED
Severity: 8
Explanation: The BIND PACKAGE subcommand requires
either the MEMBER or COPY keyword; both are not allowed System Action: Subcommand processing is terminated. The
on the same subcommand invocation. DSN command processor will reissue the DSN prompt to allow
another subcommand to be entered.
Severity: 8
User Response: Enter the corrected subcommand. Refer to
System Action: Subcommand processing is terminated and
DB2 Command Reference for additional information regarding
the DSN command processor will reissue the DSN prompt to
the BIND PACKAGE subcommand.
allow another subcommand to be entered.
User Response: Enter the corrected subcommand. Refer to DSNE999 INVALID SQL RETURN CODE
DB2 Command Reference for additional information regarding
the BIND PACKAGE subcommand. Explanation: The number you selected is not a valid SQL
return code.
This message is issued by panel: DSN4SRC
User Response: Check the number and enter it again.
DSNF... Messages
DSNF001I MESSAGE GENERATOR INITIALIZATION DSNF700I csect-name message-id HAS BEEN ISSUED
PARAMETERS NOT FOUND. DEFAULTS
Explanation: An unsuccessful attempt has been made to
ASSUMED
issue the message 'message-id'. This message is issued only
Explanation: The message generator was unable to access if the requested message could not be found in the DB2
the routing code initialization parameter defined by the message directory.
DSN6SYSP macro. Default values defined by that macro are
System Action: The system proceeds as though the
assumed.
requested message had been issued.
System Action: Subsystem initialization continues.
Operator Response: Notify the system programmer.
Operator Response: Notify the system programmer.
System Programmer Response: Refer to this manual for
System Programmer Response: It might be necessary to actual message text. You need the message number
change the DSN6SYSP macro and replace the DSN6SYSP ('message-id'). If you suspect an error in DB2, refer to
member of the DSNIPARM directory. Refer to Section 2 of Section 3 of DB2 Diagnosis Guide and Reference for informa-
DB2 Installation Guide for details of this process. tion on identifying and reporting the problem.
DSNH... Messages
the precompiler also issues DSNH049I to indicate
Message line numbers that the actual return code 8 from the precompiler
was changed to 4.
The line number nnnn in the following compiler
messages is generated by assigning sequential The following precompiler messages with severity
numbers to the original source. The numbers are levels of 8 are not changed from errors to
printed on the SQL precompiler source listing (if warnings when SQL(ALL) is in effect:
the SOURCE option is specified to the precom-
piler). DSNH051I
DSNH080I
'COL cc' in the messages identifies the source DSNH290I
column in which the condition was detected. This DSNH291I
is usually the location of the column containing the DSNH292I
first character of the associated source token. DSNH312I
However, if the precompiler cannot determine this DSNH313I
location, it is the beginning of the statement. DSNH314I
Because the detected error might be similar to a DSNH504I
valid, but different, construction, the SQL parsing
might indicate the wrong location for the error.
Source tokens in messages
Message severity codes Tokens from your source program do not always
appear in messages exactly as they appear in
One of the characters I, W, E, S, or U is shown at your program. For example, leading zeros are
the beginning of each precompiler message as an removed from integer tokens.
aid to the programmer. These characters indicate
the severity level as follows:
DSNH003I S csectname FILE ddname PARAMETERS
INCORRECT
I 0 Informational
Explanation: The file ddname has invalid or incorrect param-
W 4 Warning eters, such as logical record length.
errors. They are likely to cause other errors. Ensure that the
DSNH005I U csectname FILE ddname NO MEMBER NAME
data set and library parameters are correct.
SPECIFIED
Explanation: The ddname must refer to a partitioned data DSNH010I S csectname LINE nnnn COL cc UNTERMI-
set, and the member name must be specified in the allocation. NATED STRING CONSTANT BEGINNING text
This helps to prevent accidental erasure of the DBRM library.
Explanation: The constant identified in the message as
Severity: 16 (unrecoverable error) 'text' is not terminated properly.
System Action: The precompiler is terminated. Severity: 12 (severe error)
User Response: Correct the JCL or TSO allocate command System Action: The string is treated as if it were terminated
to specify a member name. by the end of file.
User Response: Terminate the string constant. Check for
DSNH006I U csectname FILE ddname COULD NOT BE
and correct any missing or extra quotation marks and apostro-
OPENED
phes. These errors are likely to cause others. Some state-
Explanation: The file identified in the message is required, ments were probably missed because of missing or extra string
but it could not be opened. delimiters.
Severity: 16 (unrecoverable error)
DSNH011I S csectname LINE nnnn COL cc UNTERMI-
System Action: The precompiler is terminated.
NATED COMMENT
User Response: Ensure that the file is present in your JCL.
Explanation: A comment is not terminated properly. This
System Programmer Response: Ensure that the SYSIN message is only issued for HOST(PLI) and HOST(C).
data is provided. Also ensure that SYSLIB is defined if the
Severity: 12 (severe error)
application program contains SQL INCLUDE statements.
System Action: The string is treated as if it were terminated
by the end of file.
DSNH007I E csectname LINE nnnn COL cc ILLEGAL
CHARACTER IGNORED: 'c' ('hh'X) User Response: Ensure that the comment terminator is
typed properly and that it is within the specified margins. This
Explanation: The character identified in the message as c is
error is likely to cause others. Some statements were probably
not permitted. The hexadecimal representation for the char-
missed because of the missing comment terminator.
acter is hh.
Severity: 8 (error)
DSNH012I W csectname LINE nnnn COL cc INVALID CON-
System Action: The character is ignored. TINUATION
User Response: Correct the character. It might need to be Explanation: The continuation does not follow the host lan-
within quotation marks or apostrophes. guage rules.
Severity: 4 (warning)
DSNH008I S csectname LINE nnnn COL cc NESTED
System Action: Processing continues. Additional errors might
INCLUDE NOT SUPPORTED
result.
Explanation: While processing an INCLUDE, another nested
User Response: Follow the host language continuation rules
INCLUDE statement was encountered.
and embedded SQL continuation rules. Check the margin
Severity: 12 (severe error) option. This error is most common in assembler language in
System Action: The nested INCLUDE statement is ignored. cases where a continuation begins before the continuation
column (the continuation column is column 16 by default).
User Response: Remove the nested INCLUDE statements;
they are not allowed in an included file. The DB2 precompiler
DSNH013I E csectname LINE nnnn COL cc SQL STATE-
permits only one level of INCLUDE statements.
MENT FOUND OTHER THAN IN THE FIRST
PROGRAM (OR MAIN PROGRAM)
DSNH009I S csectname LINE nnnn COL cc MEMBER name
COULD NOT BE INCLUDED Explanation: This message is for VS COBOL II only. If any
SQL statement is found in the source after the first program in
Explanation: The identified member name was not found or a BATCH COMPILE or the end of the main program of a
could not be read. nested program, this message is issued.
Severity: 12 (severe error) Severity: 8 (error)
System Action: Processing continues without the data from System Action: The precompiler is terminated.
that member.
User Response: Move up the SQL statement and corre-
User Response: Ensure that the member is in the library and sponding host variable declaration to the main program or to
that its name is spelled correctly. Check and correct any JCL the first program and resubmit the job.
DSNH014I S csectname LINE nnnn COL cc SQL STATE- DSNH023I W csectname OPTION: SUBOPTION MISSING
MENT IS FOUND IN AN INAPPROPRIATE FOR OPTION option
PLACE
Explanation: The specified option requires a suboption, but
Explanation: If any SQL statement is found in the COBOL one was not provided.
DECLARATIVES section, this message is issued.
Severity: 4 (warning)
Severity: 12 (severe error)
System Action: The option is ignored.
System Action: Processing continues. Additional errors might
User Response: Provide a suboption or remove the option.
result.
This problem might cause additional errors if the HOST or
User Response: Move the SQL statement out of the COBOL MARGINS option is needed but not specified. The other
DECLARATIVES section and resubmit the job. options are either defaults or affect only the listing. Correct the
problem and run the precompile again.
DSNH016I E csectname LINE nnnn COL cc token
REQUIRED DSNH024I W csectname OPTION: SUBOPTION suboption
INVALID FOR OPTION option
Explanation: The required character or keyword identified as
token is missing. Explanation: The identified suboption is not allowed for the
option specified.
Severity: 8 (error)
Severity: 4 (warning)
System Action: The token is assumed to be present in order
to continue checking the statement syntax. System Action: The entire option is usually ignored.
User Response: Correct the SQL statement. Determine if User Response: Refer to the 'options used' list in the pre-
you skipped either this keyword or another keyword earlier in compiler output listing to see if the option was used. Remove
the SQL statement. The assumed token is printed in the the suboption.
SYSTEM error message. This token might not be what you
intended, even though it is the only symbol allowed in the DSNH025I W csectname OPTION: EXCESSIVE SUB-
clause at this point. OPTIONS FOR OPTION option
Explanation: Too many suboptions were given for the identi-
DSNH019I W csectname OPTION: INVALID OPTION option
fied option.
Explanation: The identified option was requested, but it is not
Severity: 4 (warning)
a precompiler option.
System Action: The excess suboptions are ignored.
Severity: 4 (warning)
User Response: Remove excess suboptions.
System Action: The option is ignored.
User Response: Check the valid precompiler options to DSNH026I W csectname OPTION: INVALID MARGINS FOR
determine if your spelling is correct for this option. This HOST LANGUAGE
problem might cause additional errors if the APOST,
APOSTSQL, COMMA, HOST, MARGINS, QUOTESQL, or Explanation: The host language does not permit the speci-
TWOPASS option is needed but not specified. The other fied margins.
options are either defaults or affect only the listing. Correct the Severity: 4 (warning)
problem and run the precompile again.
System Action: The MARGINS option is ignored.
DSNH021I W csectname OPTION: SUBOPTION NOT PER- User Response: Ensure that the source statements are
MITTED WITH OPTION option within the proper margins and that the margins are specified
correctly. The margins for COBOL must be 8, 72. The margins
Explanation: The identified option cannot have suboptions, for FORTRAN must be 1, 72.
but one or more were specified.
Severity: 4 (warning) DSNH027I W csectname SUBOPTION suboption TOO
System Action: The suboptions are ignored. LONG, TRUNCATED AFTER numofchar CHARS
User Response: None is required. However, you should Explanation: The version ID is greater than numofchar bytes
remove the suboption. long. The maximum length for the version ID is 64 bytes.
Severity: 4 (warning)
DSNH022I W csectname OPTION: UNMATCHED ')' System Action: The option is honored, but the version ID is
TAKEN AS ',' truncated after 64 bytes.
Explanation: An unmatched ending parenthesis was found User Response: Refer to the 'options used' list in the pre-
before the end of the option string. compiler output to see what version ID was used.
Severity: 4 (warning)
System Action: The parenthesis is assumed to be a comma.
User Response: Balance the parentheses.
DSNH028I W csectname ATTACH SUBOPTION suboption DSNH032I W csectname LINE nnnn COL cc STATEMENT
NOT PERMITTED WITH HOST (FORTRAN) CREATES A COLUMN name WHOSE ATTRI-
SPECIFIED. BUTES DO NOT MATCH THE DECLARATION
Explanation: The identified suboption for precompiler option Explanation: The column name is specified in a CREATE
ATTACH cannot take effect when the application is a statement with a different data type or length than was speci-
FORTRAN application because the interface code for fied for the corresponding column in the DECLARE TABLE
FORTRAN is always DSNHFT. statement.
Severity: 4 (warning) Severity: 4 (warning)
System Action: The option is ignored. System Action: Processing continues.
User Response: None is required. However, you can either User Response: Correct the DECLARE TABLE or CREATE
code ATTACH(TSO) or specify no ATTACH precompiler option TABLE statement. If the DECLARE TABLE statement is incor-
rect, some warnings might also be incorrect or might not be
DSNH029I E csectname LINE nnnn COL cc INTO CLAUSE generated when needed. If the CREATE TABLE statement is
REQUIRED incorrect, you must correct it.
DSNH041I W csectname OPTION: MISSING HOST OPTION DSNH051I E csectname LINE nnnn COL cc sqltype name
PREVIOUSLY DECLARED OR REFERENCED
Explanation: The host language was not specified in the
OPTION field. Explanation: The variable sqltype is TABLE, CURSOR, or
STATEMENT. The identifier name was already defined with
Severity: 4 (warning)
the given sqltype. The definition might have occurred implicitly.
System Action: HOST(COBOL) is assumed. For example, name might have been found in the FROM
User Response: Specify the host language if it is not clause of a SELECT, causing it to be defined as a table.
COBOL. It is probably best to specify the host language and Severity: 8 (error)
remove all warnings.
System Action: The name is installed in the symbol table as
a duplicate.
DSNH042I W csectname OPTION: option OPTION INVALID
FOR HOST LANGUAGE User Response: Remove duplicate definitions, or correct the
references. Avoid implicit definitions by inserting (or including)
Explanation: The option identified in the message is not table declarations before they are referenced. Check the
valid. The QUOTE and COMMA options are not permitted with number of passes used. Use the cross-reference and source
HOST(ASM), HOST(PLI), or HOST(C). The TWOPASS option listings to help resolve this type of error.
is not permitted with HOST(COBOL).
Severity: 4 (warning) DSNH052I E csectname LINE nnnn COL cc COLUMN name
System Action: The specified option is ignored. IS ALREADY DEFINED IN TABLE table-name
User Response: Remove the invalid option, or correct the Explanation: The identified name is already defined as a
host specification. column in the table named table-name. The definition might
have occurred implicitly. For example, table-name might have
been found in a select-list, causing name to be defined as a
DSNH049I W csectname RETURN CODE IS FORCED TO 4 column within table-name if table-name was not declared as a
BECAUSE OPTION SQL(ALL) IS IN EFFECT, host variable.
ORIGINAL RETURN CODE WAS nnn
Severity: 8 (error)
Explanation: One or more SQL-related error messages were
detected by the precompiler, but because of option SQL(ALL), System Action: The name is installed in the symbol table as
the return code is forced to 4 in order to let the application a duplicate.
proceed with compilation. User Response: Remove duplicate definitions, or correct the
The SQL syntax checking is deferred until bind time because references. Avoid implicit definitions by inserting (or including)
the source might contain non-DB2 SQL syntax that the DB2 table declarations before they are referenced.
precompiler does not recognize and flags as an error. The
DBRM produced by this precompilation cannot be bound suc- DSNH053I W csectname NO SQL STATEMENTS WERE
cessfully by DB2 if there are SQL syntax errors or non-DB2 FOUND
SQL syntax.
Explanation: No SQL statements were found in the precom-
The return code remains untouched if there are host-related piler input file. An empty DBRM member was written.
syntax or semantic errors in the source.
Severity: 4 (warning)
Severity: 4 (warning)
System Action: Processing continues.
System Action: Processing continues.
User Response: If you embedded SQL statements in your
User Response: Ensure that the intention of this precompila- application program and none were found, make sure your
tion is for executing it in a non-DB2 system. column margins are properly defined for your application
program.
DSNH050I I csectname WARNINGS HAVE BEEN SUP-
PRESSED DUE TO LACK OF TABLE DECLA- DSNH060I E csectname LINE nnnn COL cc INVALID type
RATIONS SPECIFICATION: spec
Explanation: One or more warning messages were sup- Explanation: The type is either SCALE or LENGTH. The
pressed because no table declarations were found before the spec is the given SCALE or LENGTH specification in an SQL
first SQL statement that referenced a table or column. declaration. Length and scale specifications must be unsigned
Severity: 0 integers. The scale specification, where permitted, cannot
exceed the length. The length specification cannot be 0.
System Action: Processing continues. Suppression is dis-
continued if a table declaration is found. Severity: 8 (error)
User Response: Insert (or INCLUDE) table declarations System Action: Processing continues.
before they are referenced in order to permit table and column User Response: Correct the length or scaling.
checking.
DSNH090I S csectname LINE nnnn COL cc HOST VARI- DSNH104I E csectname LINE nnnn COL cc ILLEGAL
ABLE NOT PERMITTED HERE: name SYMBOL "token". SOME SYMBOLS THAT
MIGHT BE LEGAL ARE: token-list
Explanation: Host variable references are not permitted in
this type of SQL statement. The name is invalid. Explanation: A syntax error was detected where the symbol
"token" occurs in the SQL statement. The list of symbols that
Severity: 12 (severe error)
might be legal shows some alternate symbols that could pos-
System Action: The statement is replaced by host language sibly be correct at that point, if the preceding part of the state-
statements that will, if executed, set an error code in the ment is entirely correct.
SQLCA.
However, the preceding part of the statement might be incor-
User Response: Specify a literal or a column name rather rect. For example, if an important keyword is omitted, DB2
than a host variable. The colon (:) indicates that the name that detects the error later, and not always immediately after the
follows is a host variable. Remove it to specify a column name. point where the keyword should appear. The list of alternate
symbols are only suggestions.
DSNH101I S csectname THE STATEMENT IS TOO LONG Severity: 8 (error)
OR TOO COMPLEX.
System Action: If the containing SQL statement is a declara-
Explanation: The statement cannot be executed because it tion, it is discarded. If the containing SQL statement is execut-
exceeds the system limits for either length or complexity. able, it is replaced by host language statements that will, if
Severity: 16 executed, set an error code in the SQLCA.
System Action: The statement cannot be executed. User Response: Correct the statement and precompile the
program again.
User Response: Break the statement into shorter or less
complex SQL statements.
DSNH105I E csectname LINE nnnn COL cc, INVALID
STRING CONSTANTS
DSNH102I E csectname LINE nnnn COL cc LITERAL
STRING IS TOO LONG. STRING BEGINS string Explanation: Incorrect graphic or mixed data literals were
found on line nnnn, column cc.
| Explanation: The referenced character string literal (begin-
| ning with string in the message) is too long. Up to 255 charac- Severity: 8 (error)
| ters or 124 graphic characters are permitted. System Action: The literal is ignored and the SQL statement
Two consecutive string delimiters are used to represent one containing the problem is discarded.
string delimiter within the character string, but these count as 2 User Response: Specify the correct format of literals.
bytes when calculating the lengths of character string con-
stants. For SET CURRENT PACKAGESET, up to 18 charac- System Programmer Response: Check for a quote, an
ters are allowed; for SET CURRENT SQLID, up to 8 apostrophe, shift-out (so) or shift-in (si) characters, G or N
characters are allowed; for SET CURRENT DEGREE, up to 3 characters, or the number of characters within the literal.
characters are allowed; for SET CURRENT OPTIMIZATION
HINT, only one character is allowed; for SET CURRENT DSNH107I E csectname LINE nnnn COL cc NAME name IS
LOCALE, up to 50 characters are allowed. TOO LONG; MAXIMUM IS size CHARACTERS
Severity: 8 (error) Explanation: Names for the following cannot contain more
than 64 characters:
System Action: If the SQL statement containing the string is
a declaration, it is discarded. If the SQL statement containing Version-id
the string is executable, it is replaced by host language state-
Names for the following cannot contain more than 18 charac-
ments that, if executed, set an error code in the SQLCA.
ters (20 including SQL escape characters, if present):
User Response: Correct the string. If a shorter string is
SQL columns
acceptable, reduce the length of the literal. If a long string is
SQL tables
required, a host variable is required.
SQL views
SQL indexes
DSNH103I E csectname LINE nnnn COL cc INVALID SQL synonyms
NUMERIC LITERAL token Collection-ids
Explanation: The token was found. It begins with a digit, but Check constraints
it is not a valid integer, decimal, or float literal. Identifiers Names for the following cannot contain more than 16
cannot begin with a digit except for the WHENEVER statement characters:
with HOST(FORTRAN), and the identifiers in COBOL.
Location-name
Severity: 8 (error)
The following cannot contain more than 8 characters:
System Action: If the containing SQL statement is a declara-
Authorization IDs
tion, it is discarded. If the containing SQL statement is execut-
INCLUDE member names
able, it is replaced by host language statements that will, if
Storage group names
executed, set an error code in the SQLCA.
Buffer pool names
User Response: Check the indicated token for validity. Use Field procedure names
apostrophes or quotation marks if a character literal is desired. Database names
Remove the invalid characters if a number is desired.
DSNH115I E csectname LINE nnnn COL cc ILLEGAL USE DSNH126I E csectname LINE nnnn COL cc ORDER BY
OF COMPARISON OPERATOR operator CANNOT BE USED WITH A FOR UPDATE OF
CLAUSE
Explanation: The syntax is not correct for this type of com-
parison. A simple comparison such as '>' must not be fol- Explanation: The ORDER BY clause makes the cursor inca-
lowed by a list of items. The ANY and ALL comparisons must pable of being updated.
precede a subselect, rather than an expression or a list of
Severity: 8 (error)
items.
System Action: The cursor declaration is discarded.
Severity: 8 (error)
User Response: This is a DB2 restriction. You can have
System Action: If the containing SQL statement is a declara-
either an ordered cursor or a cursor that can be updated. You
tion, it is discarded. If the containing SQL statement is execut-
cannot specify both attributes for the same cursor. You might
able, it is replaced by host language statements that will, if
need to change your application logic.
executed, set an error code in the SQLCA.
User Response: Correct the syntax. If necessary, refer to DSNH129I E csectname LINE nnnn COL cc TOO MANY
Chapter 3 of DB2 SQL Reference for the correct syntax. TABLES SPECIFIED IN SQL STATEMENT
Explanation: In a subselect, (including all subqueries), there
DSNH117I E csectname LINE nnnn COL cc STATEMENT
# can be no more than 225 references to table names.
INSERTS THE WRONG NUMBER OF VALUES
Severity: 8 (error)
Explanation: The number of entries in a value-list is not the
same as the number of columns specified in an INSERT state- System Action: If the containing SQL statement is a declara-
ment. tion, it is discarded. If the containing SQL statement is execut-
able, it is replaced by host language statements that will, if
Severity: 8 (error)
executed, set an error code in the SQLCA.
System Action: Processing continues.
User Response: Reduce the number of table references in
User Response: Correct the syntax. If necessary, refer to each subselect. Each reference to a single table counts sepa-
Chapter 6 of DB2 SQL Reference for the correct syntax. rately. The count only applies to table/view references in the
FROM list. Each view is only counted one time. Refer to
DSNH120I E csectname LINE nnnn COL cc FUNCTION Chapter 5 of DB2 SQL Reference for the definition of a subse-
USAGE NOT PERMITTED: fname lect.
DSNH132I E csectname LINE nnnn COL cc INVALID LIKE DSNH182I E csectname LINE nnnn COL cc AN ARITH-
PREDICATE METIC EXPRESSION WITH A DATETIME
VALUE IS INVALID
Explanation: The value following LIKE must be an alphanu-
meric host variable or literal, graphic host variable or literal, or Explanation: The specified arithmetic expression contains an
special character literal. improperly used date/time value or labeled duration.
Severity: 8 (error) Severity: 8 (error)
System Action: If the containing SQL statement is a declara- System Action: If the containing SQL statement is a declara-
tion, it is discarded. If the containing SQL statement is execut- tion, it is discarded. If the containing SQL statement is execut-
able, it is replaced by host language statements that will, if able, it is replaced by host language statements that will, if
executed, set an error code in the SQLCA. executed, set an error code in the SQLCA.
User Response: Correct the syntax. If necessary, refer to User Response: Correct the indicated expression. Refer to
Chapter 3 of DB2 SQL Reference for the correct syntax. Chapter 3 of DB2 SQL Reference for the rules for date/time
arithmetic.
| DSNH142I E csectname LINE nnnn COL cc THE SQL
| STATEMENT IS NOT SUPPORTED DSNH184I E csectname LINE nnnn COL cc AN ARITH-
METIC EXPRESSION WITH A DATETIME
| Explanation: The token was found. An SQL statement was
VALUE CONTAINS A PARAMETER MARKER
| detected that is not supported by the database. The statement
| might be valid for other IBM relational database products or it Explanation: The specified expression contains a parameter
| might be valid in another context. For example, statements marker improperly used with a date/time value.
| such as VALUES and SIGNAL SQLSTATE can appear only
Severity: 8 (error)
| inside a trigger.
System Action: If the containing SQL statement is a declara-
| Severity: 8 (error)
tion, it is discarded. If the containing SQL statement is execut-
| System Action: The SQL statement is replaced by host lan- able, it is replaced by host language statements that will, if
| guage statements that will, if executed, set an error code in the executed, set an error code in the SQLCA.
| SQLCA.
User Response: Correct the indicated expression. Refer to
| User Response: Change the syntax of the SQL statement or Chapter 3 of DB2 SQL Reference for information about
| remove the statement from the program. date/time arithmetic.
DSNH170I E csectname LINE nnnn COL cc NUMBER OF DSNH198I E csectname LINE nnnn COL cc EMPTY SQL
ARGUMENTS SPECIFIED FOR function-name IS STATEMENT IGNORED
INVALID
Explanation: The referenced SQL statement has no text
Explanation: An SQL statement specified the scalar function between the EXEC SQL and the statement terminator.
function-name with either too many or too few arguments.
Severity: 8 (error)
Severity: 8 (error)
System Action: The statement is ignored.
System Action: If the containing SQL statement is a declara-
User Response: Correct the statement, or remove it.
tion, it is discarded. If the containing SQL statement is execut-
able, it is replaced by host language statements that will, if
executed, set an error code in the SQLCA. DSNH199I E csectname LINE nnnn COL cc INVALID
KEYWORD keyword; VALID SYMBOLS ARE:
User Response: Correct the function call. Refer to Chapter 4 token list
of DB2 SQL Reference for information about the number of
arguments required by the scalar function function-name. Explanation: A syntax error was detected at the keyword
specified in the message. As an aid to the programmer, a
partial list of valid tokens is provided in the message. Only
DSNH171I E csectname LINE nnnn COL cc THE DATA
those tokens that fit are listed. The error might be earlier in the
TYPE, LENGTH, OR VALUE OF ARGUMENT nn
statement, but the syntax of the statement appears to be valid
OF function-name IS INVALID
up to this point.
Explanation: Either the data type, the length or the value of
Severity: 8 (error)
argument nn of scalar function function-name is incorrect.
System Action: If the containing SQL statement is a declara-
Severity: 8 (error)
tion, it is discarded. If the containing SQL statement is execut-
System Action: If the containing SQL statement is a declara- able, it is replaced by host language statements that will, if
tion, it is discarded. If the containing SQL statement is execut- executed, set an error code in the SQLCA.
able, it is replaced by host language statements that will, if
User Response: Check the SQL statement in the area of the
executed, set an error code in the SQLCA.
indicated keyword. A colon or SQL delimiters might be missing.
User Response: Correct the argument. Refer to Chapter 4 of Correct the SQL statement.
DB2 SQL Reference for rules for each argument of the scalar
function function-name.
DSNH203I W csectname LINE nnnn COL cc STATEMENT DSNH207I E csectname LINE nnnn COL cc ILLEGAL
REFERENCES COLUMN column name, WHICH ORDER BY SPECIFICATION
IS DECLARED IN MORE THAN ONE OF THE
Explanation: If the select expression involves a UNION oper-
SPECIFIED TABLES
ator, the ORDER BY list must use numeric constants rather
Explanation: The column column name was referenced than variables.
without sufficient qualification. Type checking cannot be done.
Severity: 8 (error)
Severity: 4 (warning)
System Action: If the containing SQL statement is a declara-
System Action: Processing continues. tion, it is discarded. If the containing SQL statement is execut-
able, it is replaced by host language statements that will, if
User Response: If the table declares are correct and the
executed, set an error code in the SQLCA.
column name is not unique, this creates an error in the BIND
step. Correct the DECLARE TABLE statement, or use the User Response: Correct the syntax. If necessary, refer to
correct table name to qualify the column name. Chapter 5 of DB2 SQL Reference for the correct syntax.
DSNH204I W csectname LINE nnnn COL cc STATEMENT DSNH251I E csectname LINE nnnn COL cc TOKEN name
REFERENCES UNDECLARED TABLE table- IS NOT VALID
name
Explanation: The location name cannot contain alphabetic
Explanation: The table definition was not provided. It is extenders for national languages (that is, #, @, and $ in the
optional, but checking cannot be done without the table infor- United States).
mation. (BIND checks against the actual table during later
Severity: 8 (error)
processing.)
System Action: Processing continues.
Severity: 4 (warning)
User Response: Correct the content of the location name.
System Action: Processing continues.
User Response: If this host variable is used, the user The data type of a host variable passed in a CALL state-
assumes responsibility for possible exposure of incorrect ment is not character or varying character.
output. Refer to Section 3 of DB2 Application Programming | The length attribute of a character or varying character
and SQL Guide to determine where host variables can be | host variable passed in a CALL statement exceeds 255
validly declared. | characters.
Declaring a COBOL host variable in the File Section might lead
to incorrect output from SQL statements or abend 04E with DSNH313I E csectname LINE nnnn COL cc INVALID TYPE
RC=00E7000C. OR LENGTH OF HOST VARIABLE 'name'
Explanation: The host variable name is used in an SQL
DSNH312I E csectname LINE nnnn COL cc UNDEFINED statement, but either the type or the length is improper for this
OR UNUSABLE HOST VARIABLE name use.
Explanation: The name in the message is used in an SQL Severity: 8 (error)
statement, but either no declaration was found in the applica-
System Action: The corresponding SQL statement is
tion program so far, or the attributes are improper for this use.
replaced by host language statements that will, if executed, set
Declarations for host variables used in a DECLARE CURSOR
an error code in the SQLCA.
statement must precede the SQL statement, regardless of the
ONEPASS or TWOPASS option for the precompiler, or a User Response: Check the declaration and the attributes of
parameter marker was expected in an EXECUTE IMMEDIATE the named host variable. Refer to Section 3 of DB2 Application
statement. This message is issued only at reference time. Programming and SQL Guide for the allowable host variable
type and length.
Severity: 8 (error)
System Action: If the containing SQL statement is a declara-
DSNH314I E csectname LINE nnnn COL cc REFERENCE
tion, it is discarded. If the containing SQL statement is execut-
TO HOST VARIABLE name IS AMBIGUOUS
able, it is replaced by host language statements that will, if
executed, set an error code in the SQLCA. Explanation: The host variable name was defined more than
once in this application program. The precompiler cannot dis-
User Response: Check the declaration and the attributes of
tinguish which host variable definition should be used here.
the named host variable. If you intended the name to refer to a
The following table indicates some possible combinations.
column, the colon (:) should not be present. If you intended a
DB2 supports only a single adjacent qualifier for a host vari-
literal, you need to enclose the value in string delimiters (apos-
able name.
trophes or quotation marks).
Suggested
Case Ref Definition Result Change # DSNH385I W csectname LINE nnnn COL cc ASSIGNMENT
# TO AN SQLSTATE OR SQLCODE VARIABLE
1 a x.a Valid None
2 x.a x.a, y.a Valid None
# IN AN SQL PROCEDURE MAY BE
3 a x.a, y.a DSNH314I Reference # OVER-WRITTEN AND DOES NOT ACTIVATE
x.a or y.a # ANY HANDLER
4 a x.a, a Valid None
5 x.a q.x.a, v.x.a DSNH314I Variable
# Explanation: The SQL procedure includes at least one state-
name
# ment that assigns a value to the SQLSTATE or SQLCODE
changes # special variables. Since DB2 assigns values to those variables
6 a a, a DSNH314I Variable # to indicate the results of SQL statement execution, DB2 over-
name # writes the values assigned by the SQL assignment statement.
changes
# An SQL procedure cannot activate a handler by assigning a
Severity: 8 (error) # value to SQLSTATE.
tion, it is discarded. If the containing SQL statement is execut- # The external name must be a short identifier with letters or
able, it is replaced by host language statements that will, if # digits. The first character must be a letter. (This is the MVS
executed, set an error code in the SQLCA. # naming convention for load modules). A possible cause for
User Response: Correct the number.
# this error is the inclusion of a blank in the name.
# If the external name is omitted, the external name defaults
DSNH408I W csectname LINE nnnn COL cc STATEMENT # to function-name. However, if the function or procedure
INSERTS OR UPDATES COLUMN name WITH # name is longer than eight characters then the EXTERNAL
INCOMPATIBLE DATA TYPE # NAME clause must be explicitly specified to specify a valid
# short identifier as the external name.
Explanation: The data type of the value to be inserted into
column name by an INSERT or UPDATE statement is incom- # If LANGUAGE is COMPJAVA, the length of the EXTERNAL
patible with the declared data type of the column. Both must # NAME parameter value must be less than or equal to 254
be numeric or both must be character. # bytes.
System Action: Processing continues. | System Action: The corresponding SQL statement is
| replaced by host language statements that will, if executed, set
Programmer Response: Be sure that the table definitions | an error code in the SQLCA.
are current, and that host variables and literals have the proper
data types and are matched. | User Response: Correct the syntax of the SQL statement.
| Refer to the DB2 SQL Reference for information on the
| EXTERNAL NAME clause.
DSNH414I E csectname LINE nnnn COL cc THE NUMERIC
OR DATETIME COLUMN column-name IS
SPECIFIED IN A LIKE PREDICATE # DSNH457I E csectname LINE nnnn COL cc. A FUNCTION
# OR DISTINCT TYPE CANNOT BE CALLED
Explanation: Column column-name with a numeric data type # name SINCE IT IS RESERVED FOR SYSTEM
was specified in a LIKE predicate. Columns specified in a LIKE # USE.
predicate must be character or graphic string columns.
# Explanation: The user-defined function or distinct type
Severity: 8 (error) # cannot be created or referenced because the name selected is
System Action: If the containing SQL statement is a declara- # reserved for use by the system.
tion, it is discarded. If the containing SQL statement is execut- # A number of names used as keywords are reserved for system
able, it is replaced by host language statements that will, if # use. These names may not be used as user-defined functions
executed, set an error code in the SQLCA. # or distinct-type-names, even if they are delimited identifiers.
User Response: Correct the statement. # These names are:
# = < > >= <=
| DSNH434I OPTION keyword IS A DEPRECATED # <> ¬= ¬> ¬>
| FEATURE
# ALL AND ANY BETWEEN DISTINCT
# EXCEPT EXISTS FALSE FOR FROM
| Explanation: keyword is a deprecated feature that will not be # IN IS LIKE MATCH NOT
| supported in releases following DB2 Version 6. It is accepted, # NULL ONLY OR OVERLAPS SIMILAR
| but we recommend that you discontinue the use of this # SOME TABLE TRUE TYPE UNIQUE
| keyword. # UNKNOWN
| For indexes, we recommend that you use type 2 indexes # Severity: 8 (error)
| rather than type 1 indexes. # System Action: The statement cannot be executed.
| Severity: 4 (warning) # User Response: Select a name for the function or distinct
| System Action: Processing continues normally. # type that is not reserved for system use.
| DSNH449I W csectname LINE nnnn COL cc CREATE | Explanation: The name of a data type to be created has an
| FUNCTION OR PROCEDURE FOR routine-name | unqualified name that is the same as a system-predefined data
| CONTAINS AN INVALID FORMAT OF THE | type or is BOOLEAN. This is not allowed. Adding delimiters
| EXTERNAL NAME CLAUSE OR IS MISSING | does not make the name valid. The following names are
| THE EXTERNAL NAME CLAUSE | restricted:
| Explanation: An error was found in the EXTERNAL NAME | BIGINT BINARY BLOB BOOLEAN CHAR
| clause of the CREATE FUNCTION or CREATE PROCEDURE
| CHARACTER CLOB DATALINK DATE DBCLOB
| statement for name, or the clause is needed but was not speci-
| DEC DECIMAL DOUBLE FLOAT GRAPHIC
| INT INTEGER NUMERIC REAL REF
| fied. | ROWID SMALLINT TIME TIMESTAMP VARCHAR
# If LANGUAGE is not COMPJAVA, the external name must | VARGRAPHIC
# follow these conventions: | Severity: 8 (error)
| System Action: The statement cannot be executed.
| User Response: Correct the statement to use another identi- System Action: The statement cannot be executed.
| fier for the name of the new user-defined type.
User Response: Add or fix the declaration of the cursor. If
the cursor is supposed to be defined by an ALLOCATE
| DSNH491I E csectname LINE nnnn COL cc. CREATE CURSOR statement then remove the OPEN statement.
| STATEMENT FOR USER-DEFINED FUNCTION
| function-name MUST HAVE A RETURNS
| DSNH521I W csectname THE statement FOR CURSOR
| CLAUSE, AND EITHER THE EXTERNAL
| cursor-name IS ASSUMED TO APPLY TO A
| CLAUSE (WITH OTHER REQUIRED
| DYNAMIC ALLOCATE CURSOR STATEMENT.
| KEYWORDS) OR THE SOURCE CLAUSE.
| Explanation: A FETCH, CLOSE, or DESCRIBE for an unde-
| Explanation: A required clause is missing in the CREATE for
| clared cursor was issued. The cursor is assumed to be defined
| function function-name. If EXTERNAL was specified, the fol-
| using a dynamic ALLOCATE CURSOR statement.
| lowing must also be specified:
Severity: 4 (warning).
| LANGUAGE
| PARAMETER STYLE System Action: The cursor is assumed to be allocated
dynamically.
| Severity: 8 (error)
| User Response: Ensure that the cursor in the FETCH,
| System Action: The statement cannot be executed.
| CLOSE, or DESCRIBE statement is dynamically allocated.
| User Response: Correct and reissue the failing statement.
DSNH522I E csectname DESCRIBE CURSOR cursor-name
DSNH504I E csectname LINE nnnn COL cc CURSOR name IS INVALID BECAUSE THE CURSOR WAS
WAS NOT DECLARED DEFINED BY A DECLARE CURSOR STATE-
MENT.
Explanation: Identifier name is used as a cursor, but was not
declared. The declaration might have been discarded because Explanation: DESCRIBE CURSOR is allowed for cursors
of errors. defined using the ALLOCATE CURSOR statement.
Severity: 8 (error) Severity: 8 (error).
System Action: If the containing SQL statement is a declara- System Action: The statement cannot be executed.
tion, it is discarded. If the containing SQL statement is execut-
User Response: Remove the DESCRIBE CURSOR state-
able, it is replaced by host language statements that will, if
ment. Issue a DESCRIBE of the statement used to define the
executed, set an error code in the SQLCA.
declared cursor.
User Response: Correct or add the required cursor declara-
tion. DSNH557I E csectname LINE nnnn COL cc INCON-
SISTENT GRANT/REVOKE KEYWORD
DSNH506I E csectname LINE nnnn COL cc DECLARE keyword; PERMITTED KEYWORDS ARE
CURSOR FOR STATEMENT NAME MUST keyword list
PRECEDE THE PREPARE STATEMENT FOR
Explanation: The identified keyword is not permitted. The
THAT STATEMENT NAME
keyword list is a list of the keywords that are permitted in this
Explanation: This DECLARE name CURSOR statement is context. The combination of privileges requested on a GRANT
preceded by a PREPARE name statement. In DB2, declara- or REVOKE statement is not allowed. The authorities must all
tions must precede action statements. This is not the same as be of one type and consistent with the form of GRANT or
in SQL/DS. REVOKE. REVOKE UPDATE(column list) is not allowed; only
REVOKE UPDATE is permitted.
Severity: 8 (error)
Severity: 8 (error)
System Action: The declaration is noted as being in error
and discarded. System Action: The containing SQL statement is replaced by
host language statements that will, if executed, set an error
User Response: Move the DECLARE or PREPARE state-
code in the SQLCA.
ment so that they are in the proper order, or specify the
TWOPASS option if the host language is PLI, ASM, or C. The User Response: Correct the syntax. If necessary, refer to
TWOPASS option has the precompiler check for declarations Chapter 6 of DB2 SQL Reference for the correct syntax.
on the first pass and avoids this problem.
DSNH558I E csectname LINE nnnn COL ccc INVALID
DSNH520I E csectname THE OPEN STATEMENT FOR CLAUSE OR COMBINATION OF CLAUSES ON
CURSOR cursor-name IS INVALID BECAUSE A GRANT OR REVOKE
THE CURSOR WAS DEFINED BY AN ALLO-
Explanation: “PUBLIC AT ALL LOCATIONS” is invalid for
CATE CURSOR STATEMENT
non-table privilege GRANT or REVOKE statements. It is also
| Explanation: The cursor was not successfully declared, so it invalid for table privilege GRANT or REVOKE statements that
| was assumed to be defined by an ALLOCATE CURSOR state- specify the ALTER or INDEX privilege.
| ment. A cursor defined by an ALLOCATE CURSOR statement
Severity: 8 (error)
| is open after successful completion of the statement.
| Attempting to OPEN an allocated cursor is an error. System Action: The statement cannot be executed.
Severity: 8 (error) User Response: Refer to Chapter 6 of DB2 SQL Reference
for valid keywords for the GRANT or REVOKE statement.
Programmer Response: Correct the search-condition. | Explanation: The CREATE INDEX, CREATE TABLE,
| CREATE VIEW or ALTER TABLE statement specifies the
| same 'column-name' for two (or more) columns of the index,
| DSNH585I W csectname LINE nnnn COL cc DUPLICATE
| table, view, or the UPDATE OF clause of a trigger definition
| schema name SCHEMA NAME
| specifies the same column name more than once. Column
| Explanation: The identified schema name was specified | names must be unique within an index, a table, a view, or in
| twice in the statement. | the UPDATE OF clause of a trigger definition. A column cannot
| Severity: 4 (error)
| be specified in more than one ALTER TABLE clause except if
| it is specified in an ALTER COLUMN clause and ADD CHECK
| System Action: The duplicated schema name is ignore. | CONSTRAINT clause.
| User Response: Remove/correct the duplicate specification. | Severity: 8 (error)
| System Action: The statement cannot be executed.
| DSNH586I E csectname LINE nnnn COL cc. THE TOTAL
| LENGTH OF THE CURRENT PATH SPECIAL
| User Response: Correct the CREATE statement to specify
| REGISTER CANNOT EXCEED 254 CHARAC-
| unique names for each of the columns of the index, table,
| TERS.
| view, or the columns in the UPDATE OF clause of a trigger
| definition. Correct the ALTER statement to specify unique
| Explanation: The CURRENT PATH special register is | names for each of the ALTER COLUMN clauses.
| defined as a VARCHAR(254). The content of the string
| includes each schema name delimited with double quotes and
| This error can also occur on CREATE TABLE when a column
| separated from the next schema name by a comma. The total
| list of a PRIMARY KEY, FOREIGN KEY, or UNIQUE clause
| length of the string of all schema names in the CURRENT
| contains two or more occurrences of the same column name.
DSNH628I E csectname LINE nnnn COL cc MUTUALLY DSNH630E E csectname LINE nnnn COL cc THE WHERE
EXCLUSIVE CLAUSES HAVE BEEN SPECI- NOT NULL SPECIFICATION IS INVALID FOR
FIED. TYPE 1 INDEXES
Explanation: Mutually exclusive clauses were specified in Explanation: Type 1 indexes cannot be created with the
one or more of the following ways: WHERE NOT NULL specification.
A CREATE TABLESPACE statement contains both the Severity: 8 (error)
SEGSIZE and NUMPARTS clauses
System Action: The statement cannot be executed.
A CREATE TABLESPACE statement contains both the
Programmer Response: Either the index must be created as
SEGSIZE and LARGE clauses.
a type 2 index, or the WHERE NOT NULL specification must
A CREATE TABLESPACE statement contains both the not be used.
SEGSIZE and MEMBER CLUSTER clauses.
A CREATE or ALTER TABLESPACE contains both the DSNH637I E csectname LINE nnnn COL cc DUPLICATE
LOCKPART YES and LOCKSIZE TABLESPACE keyword KEYWORD
A 'column-definition' contains both NOT NULL and Explanation: The identified keyword was specified twice in
DEFAULT NULL clauses. the statement.
A 'column-definition' contains both FIELDPROC and Severity: 8 (error)
DEFAULT clauses. System Action: If the containing SQL statement is a declara-
A select-statement contains both the update-clause and tion, it is discarded. If the containing SQL statement is execut-
the FOR FETCH ONLY clause. able, it is replaced by host language statements that will, if
executed, set an error code in the SQLCA.
An ALTER TABLE statement contains both a DROP CON-
STRAINT clause and either a DROP FOREIGN KEY User Response: Remove the duplicate specification.
clause or a DROP CHECK clause.
A CREATE or ALTER TABLESPACE contains both the DSNH644I E csectname INVALID VALUE SPECIFIED FOR
LOCKPART YES and LOCKSIZE TABLESPACE KEYWORD keyword IN stmt-type STATEMENT
| A CREATE TRIGGER statement specifies more than one Explanation: The value specified for the keyword parameter
| correlation name for OLD, NEW, OLD_TABLE, or in the stmt-type SQL statement is not a permitted value.
| NEW_TABLE. Each of these correlation specific can Severity: 8 (error)
| appear no more than once in the CREATE TRIGGER
| statement. System Action: If the SQL statement containing the problem
is a declaration, it is discarded. If the SQL statement con-
| A CREATE FUNCTION statement contains both a CAST taining the problem is executable, it is replaced by host lan-
| FROM clause and a SOURCE clause. guage statements that will, if executed, set an error code in the
| A CREATE FUNCTION statement contains both a SQLCA.
| SOURCE clause and a RETURNS TABLE clause. User Response: Correct the statement. Refer to Chapter 6 of
| A CREATE FUNCTION statement contains both a DB2 SQL Reference for information about the allowable values
| SOURCE clause and a clause used to define an external for the keyword in the stmt-type statement.
| function (EXTERNAL, LANGUAGE, NO SQL).
| A CREATE or ALTER PROCEDURE statement attempts to DSNH683I E csectname LINE nnnn COL cc. THE SPECIFI-
| use the NO WLM ENVIRONMENT and PROGRAM TYPE CATION FOR COLUMN, DISTINCT TYPE,
| SUB options. When NO WLM ENVIRONMENT is used, FUNCTION, OR PROCEDURE data-item CON-
| then PROGRAM TYPE MAIN must also be used. TAINS INCOMPATIBLE CLAUSES
| A CREATE or ALTER PROCEDURE statement attempts to Explanation: There is an error in the data item specification
| use both NO WLM ENVIRONMENT and either USER or in a statement. Incompatible specifications are present such as
| DEFINER for EXTERNAL SECURITY. When NO WLM "INTEGER and FOR BIT DATA", or "INTEGER AS
| ENVIRONMENT is used, then PARAMETER STYLE must LOCATOR". The location of the error is given by data-item as
| be either GENERAL or SIMPLE CALL WITH NULLS. follows:
# A CREATE or ALTER PROCEDURE statement contains For a CREATE or ALTER TABLE statement, data-item
# both a LANGUAGE REXX clause, and a PARAMETER gives the name of the column containing the error. The
# STYLE DB2SQL or PARAMETER STYLE JAVA clause. error could be an invalid specification of FOR BIT DATA,
FOR SBCS DATA, FOR MIXED DATA, or FIELDPROC for
| An ALTER TABLE statement contains both an ALTER column data-item.
| COLUMN clause and a VALIDPROC clause.
For a CREATE FUNCTION or CREATE PROCEDURE
| An ALTER TABLE statement contains both an ALTER statement, data-item is a token that identifies the area of
| COLUMN clause and a clause other than the check con- the problem in the statement. For example, "PARAMETER
| straint clause. 3" or "RETURNS" or "CAST FROM".
Severity: 8 (error) For a cREATE DISTINCT TYPE statement, data-item gives
System Action: The statement was not executed. the name of the type being defined
| Programmer Response: Change the options specified in the
| statement and reissue the statement.
Explanation: The FIPS standard requires all data definition User Response: Note the deviation from the applicable
statements to be contained within a CREATE SCHEMA state- standard. Check and correct the SQL statement.
ment.
Severity: 4
User Response: Check and correct the SQL statement.
DSNH709I W csectname LINE nnnn COL cc. THE SET DSNH714I W csectname LINE nnnn COL cc. THE COLUMN
FUNCTION REFERENCES COLUMN column column DOES NOT IDENTIFY A COLUMN OF A
TABLE WITHIN THE CURRENT SCOPE
Explanation: One of the following conditions was not met:
Explanation: One of the following conditions was found:
A column specification of a DISTINCT set function cannot
reference a column derived from a set function specifica- The table or correlation name used as a qualifier does not
tion. exist.
A column specification of an ALL set function cannot refer- The column name does not exist within the current scope
ence a column derived from a set function specification. or the scope of the qualifier.
Severity: 4 Severity: 4
User Response: Note the deviation from the applicable User Response: Note the deviation from the applicable
standard. Check and correct the SQL statement. standard. Check and correct the SQL statement.
DSNH710I W csectname LINE nnnn COL cc. A VALUE DSNH715I W csectname LINE nnnn COL cc. A SET FUNC-
EXPRESSION CONTAINING column CANNOT TION THAT CONTAINS THE OUTER REFER-
INCLUDE OPERATORS ENCED COLUMN column IS NOT IN THE
SUBQUERY OF A HAVING CLAUSE
Explanation: A value expression cannot include operators in
an outer reference column specification. Explanation: A set function specification must be contained
in a subquery of a HAVING clause if it contains an outer refer-
Severity: 4
enced column specification.
User Response: Note the deviation from the applicable
Severity: 4
standard. Check and correct the SQL statement.
User Response: Note the deviation from the applicable
DSNH711I W csectname LINE nnnn COL cc. THE standard. Check and correct the SQL statement.
COLUMN SPECIFICATION IS MISSING OR
INVALID FOR THE ALL SET FUNCTION func- DSNH716I W csectname LINE nnnn COL cc THE RESULT
tion OF A SUM OR AVG FUNCTION CANNOT BE A
CHARACTER STRING
Explanation: The value expression of an ALL set function
specification should include a column specification. Explanation: The character string is not valid for the result of
a SUM or AVG set function specification.
Severity: 4
Severity: 4
User Response: Note the deviation from the applicable
standard. Check and correct the SQL statement. User Response: Note the deviation from the applicable
standard. Check and correct the SQL statement.
DSNH712I W csectname LINE nnnn COL cc THE COLUMN
column IS NOT UNIQUE AND REQUIRES DSNH717I W csectname LINE nnnn COL cc. THE OPER-
QUALIFICATION. ATOR operator IS INVALID IN THIS CONTEXT
Explanation: The identified column is duplicated within the Explanation: One of the following conditions was not met:
current scope. Qualification must be given to uniquely identify
A value expression containing a distinct set function cannot
the required column.
include dyadic operators.
Severity: 4
The first character following a monadic operator cannot be
User Response: Note the deviation from the applicable a plus or minus sign.
standard. Check and correct the SQL statement.
The value expression should not contain operators if
primary is a character string.
DSNH713I W csectname LINE nnnn COL cc. A VALUE
Severity: 4
EXPRESSION MAY NOT CONTAIN A SET
FUNCTION SPECIFICATION User Response: Note the deviation from the applicable
standard. Check and correct the SQL statement.
Explanation: The value expression of an ALL set function
might not contain a set function specification.
DSNH718I W csectname LINE nnnn COL cc. THE exptype
Severity: 4
EXPRESSION IS COMPARING INCOMPATIBLE
User Response: Note the deviation from the applicable DATA TYPES
standard. Check and correct the SQL statement.
Explanation: The data types of one of the following (identi-
fied by exptype) do not match:
exptype Meaning
COMPARISON Comparison operators must match.
BETWEEN The three value expressions must
match.
The data type of the pattern in a LIKE predicate is not a Explanation: A value expression directly contained in the
character string. search condition of a WHERE clause must not include a refer-
ence to a column derived from a set function specification.
Severity: 4
Severity: 4
User Response: Note the deviation from the applicable
standard. Check and correct the SQL statement. User Response: Note the deviation from the applicable
standard. Check and correct the SQL statement.
Severity: 4
DSNH728I W csectname LINE nnnn COL cc. THE COLUMN
SPECIFICATION FOR table SHOULD BE A User Response: Note the deviation from the applicable
GROUPING COLUMN OR SHOULD BE SPECI- standard. Check and correct the SQL statement.
FIED WITHIN A SET FUNCTION
Explanation: Each column specification contained in a sub- DSNH733I W csectname LINE nnnn COL cc. THE COM-
query in the search condition of a HAVING clause must refer- PARISON PREDICATE SUBQUERY CANNOT
ence a grouping column or be specified within a set function CONTAIN A GROUP BY OR HAVING CLAUSE
specification. Explanation: If a subquery is specified in a comparison predi-
Severity: 4 cate, then the table expression whose FROM clause identifies
the named table must not contain a GROUP BY clause or a
User Response: Note the deviation from the applicable HAVING clause.
standard. Check and correct the SQL statement.
Severity: 4
DSNH729I W csectname LINE nnnn COL cc. THE DEGREE User Response: Note the deviation from the applicable
OF TABLE table SHOULD BE 1 WHEN USING standard. Check and correct the SQL statement.
A RESULT SPECIFICATION OF *
Explanation: The degree of the table expression must be 1 if DSNH734I W csectname LINE nnnn COL cc. THE COM-
the result specification '*' is specified in a subquery of any PARISON PREDICATE SUBQUERY CANNOT
predicate other than an EXISTS predicate. IDENTIFY A GROUPED VIEW
DSNH731I W csectname LINE nnnn COL cc. THE COLUMN Explanation: The table name or view name specified already
SPECIFICATION FOR column IS INVALID exists in the catalog.
For a grouped table, the column specification must refer- User Response: Note the deviation from the applicable
ence a grouping column or be specified within a set func- standard. Check and correct the SQL statement.
tion specification.
If it is not a grouped table, and the value expression DSNH737I W csectname LINE nnnn COL cc. THE COLUMN
includes a set function specification, then each column DEFINITION IS MISSING
specification must be specified within a set function. Explanation: At least one column definition should be speci-
Severity: 4 fied for a CREATE TABLE.
8. Link
DSNH738I W csectname LINE nnnn COL cc. THE DATA
9. Run
TYPE type1 OF THE TARGET IS NOT COM-
PATIBLE WITH THE DATA TYPE type2 OF THE
SOURCE DSNH741I process1(NO) IMPLIES THAT process2
CANNOT BE RUN
Explanation: Data types should match between source and
target in a FETCH and SELECT statement. Explanation: An inconsistent processing set was specified.
An earlier phase and a later phase were requested, but not the
Severity: 4 intermediate step needed to process data between them. For
User Response: Note the deviation from the applicable example, requesting the precompile and the link edit without
standard. Check and correct the SQL statement. the compile produces this error. Values for process1 are
PRECOMP, CICSXLAT, COMPILE, LINK, or BIND. Values for
process2 are COMPILE, LINK, or RUN.
| DSNH739I E csectname LINE nnnn COL cc. CREATE
| FUNCTION function-name FAILED BECAUSE This message is issued by the following CLIST: DSNH
| FUNCTIONS CANNOT MODIFY DATA WHEN
Severity: 4 (warning)
| THEY ARE PROCESSED IN PARALLEL.
System Action: process2 is not performed, but other proc-
| Explanation: The function cannot be created because
essing is done.
| ALLOW PARALLEL and MODIFIES SQL DATA were both
| specified explicitly or implicitly. A function cannot be User Response: Specify a consistent combination of proc-
| parallelized if it modifies data. essing. Application program preparation needs to run all the
steps to provide a correct application program. The process
| Severity: 8 (error)
does allow beginning or ending steps to be run at a different
| System Action: The statement cannot be executed. time. See message DSNH740I for the required step order.
| User Response: Specify DISALLOW PARALLEL or change
| the MODIFIES SQL DATA to NO SQL, CONTAINS SQL or DSNH750I INVALID DATA SET: clist-keyword clist-keyword-
| READS SQL DATA. parameter
Explanation: The data set name specified on the clist-
DSNH740I xxxxxx phase FINISHED, RC = retcode, LISTING keyword-parameter contains unbalanced parenthesis.
IN data-set
This message is issued by the following CLIST: DSNH
Explanation: The DSNH INST phase completed with return
Severity: 8 (error)
code retcode. The phase is one of the following:
System Action: The CLIST is terminated.
PLI Macro Pass
Precompiler User Response: If a member name is to be associated with
CICS Command Translator the specified data set, the member name must be enclosed in
Bind Package parentheses.
Bind Plan
Compile/assembly DSNH751I clist ERROR IN parameter VALUE value
PLI
Prelink (unique to C/370 Compiler) Explanation: The specified CLIST keyword parameter does
Link not have an acceptable value.
Run Severity: 8 (error)
If the CLIST puts the listing into a data set, the name of the System Action: The CLIST processing is terminated.
data set is shown as data-set. If the PRINT parameter is
User Response: Refer to the DSNH (TSO clist) section in
LEAVE, NONE, or TERM, the 'LISTING IN data-set' part of
DB2 Command Reference for a complete list of the supported
this message is omitted.
CLIST parameters and their associated values. Correct the
Refer to message DSNH756I for an explanation of the print invalid parameter, and resubmit the job.
data set names assigned during processing.
This message is issued by the following CLIST: DSNH DSNH752I INPUT DATA SET NAME IS MISSING OR
NONE
Severity: retcode
Explanation: The DSNH CLIST requires a value for the input
System Action: Processing continues as requested.
data set name (INPUT). You cannot use an input data set
User Response: This phase is complete. If there are errors, name of NONE.
other messages are produced. The next phase requested
This message is issued by the following CLIST: DSNH
begins. The order of the phases is:
Severity: 0 (successful)
1. PLI Macro Pass
2. Precompiler System Action: The CLIST prompts for a name, if prompting
3. CICS Command Translator is allowed. If prompting is not allowed, for example in batch or
4. Bind Package when PROFILE NOPROMPT was entered, the CLIST termi-
5. Bind Plan nates.
6. ASM, ASMH, C (C/370 Compiler), COBOL, COBOL2,
User Response: Specify an INPUT name. See message
FORTRAN, PLI
DSNH753I.
7. Prelink
DSNH778I W csectname LINE nnnn COL cc. THE TABLE DSNH783I W csectname LINE nnnn COL cc. THE NUMBER
table IS A READ-ONLY TABLE OF COLUMNS SPECIFIED DOES NOT MATCH
THE NUMBER OF VALUES SPECIFIED
Explanation: A DELETE, an INSERT, or an UPDATE state-
ment was specified on a read-only table. Explanation: In an INSERT statement, the number of
columns specified does not match the number of values speci-
Severity: 4
fied.
User Response: Note the deviation from the applicable
Severity: 4
standard. Check and correct the SQL statement.
User Response: Note the deviation from the applicable
DSNH779I W csectname LINE nnnn COL cc. THE TABLE standard. Check and correct the SQL statement.
table MUST NOT BE IDENTIFIED IN A FROM
CLAUSE OF ANY SUBQUERY CONTAINED IN DSNH784I W csectname LINE nnnn COL cc. THE NUMBER
A SEARCH CONDITION OF COLUMNS SPECIFIED DOES NOT MATCH
THE DEGREE OF TABLE table IN THE QUERY
Explanation: A table specified in a DELETE or an UPDATE
SPECIFICATION
statement cannot be used in a FROM clause of any subquery
contained in its search condition. Explanation: The number of columns specified in an INSERT
statement does not match the degree of the table specified in
Severity: 4
the query specification.
User Response: Note the deviation from the applicable
Severity: 4
standard. Check and correct the SQL statement.
User Response: Note the deviation from the applicable
DSNH780I W csectname LINE nnnn COL cc. THE TABLE standard. Check and correct the SQL statement.
table1 IS NOT THE FIRST TABLE table2 SPECI-
FIED IN THE DECLARE CURSOR STATEMENT DSNH785I W csectname LINE nnnn COL cc. THERE IS A
DATA TYPE OR LENGTH MISMATCH
Explanation: The table specified in a DELETE or an
BETWEEN COLUMN column AND ITS INSERT
UPDATE statement should be the first table specified in the
OR UPDATE ITEM
FROM clause of the DECLARE CURSOR statement.
Explanation: One of the following conditions was not met:
Severity: 4
If the data type of the column name is character string,
User Response: Note the deviation from the applicable
then the corresponding item in the INSERT or UPDATE
standard. Check and correct the SQL statement.
statement should be character string with a length equal to
or less than the length of the column name.
DSNH781I W csectname LINE nnnn COL cc. THE NUMBER
OF TARGET SPECIFICATIONS DO NOT If the data type of the column name is exact numeric, then
MATCH THE DEGREE OF TABLE table the corresponding item in the INSERT or UPDATE state-
ment should be exact numeric.
Explanation: The number of target specifications in the
FETCH statement do not match the degree of the table speci- If the data type of the column name is approximate
fied. numeric, then the corresponding item in the INSERT or
UPDATE statement should be approximate numeric or
Severity: 4 exact numeric.
User Response: Note the deviation from the applicable Severity: 4
standard. Check and correct the SQL statement.
User Response: Note the deviation from the applicable
standard. Check and correct the SQL statement.
DSNH782I W csectname LINE nnnn COL cc. THE TARGET
TABLE table OF THE INSERT STATEMENT IS
ALSO IN THE FROM CLAUSE OR IN A CON- DSNH786I W csectname LINE nnnn COL cc. YOU CANNOT
TAINED SUBQUERY USE A GROUP BY OR HAVING CLAUSE OR
IDENTIFY A GROUPED VIEW IN THIS
Explanation: The named table must not be identified in a CONTEXT
FROM clause of a query specification or of any subquery con-
tained in the query specification. Explanation: The table identified in the FROM clause of the
table expression in a SELECT statement should not include a
Severity: 4 GROUP BY or HAVING clause and should not identify a
User Response: Note the deviation from the applicable grouped view.
standard. Check and correct the SQL statement. Severity: 4
User Response: Note the deviation from the applicable
standard. Check and correct the SQL statement.
DSNH787I W csectname LINE nnnn COL cc. THE NUMBER DSNH793I W csectname LINE nnnn COL cc. THERE IS AN
OF ELEMENTS SPECIFIED IN THE SELECT INVALID IDENTIFIER FORMAT identifier FOR
LIST SHOULD MATCH THE NUMBER IN THE HOST LANGUAGE language
TARGET LIST
Explanation: The format of the identifier name displayed
Explanation: In the SELECT statement, the number of ele- does not meet the requirements of the host language.
ments specified in the select list should match the number of
Severity: 4
elements in the target list.
User Response: Note the deviation from the applicable
Severity: 4
standard. Check and correct the SQL statement.
User Response: Note the deviation from the applicable
standard. Check and correct the SQL statement. | DSNH794I W csectname LINE nnnn COL cc. THE
| OBJECT object-name CANNOT BE CREATED
DSNH788I W csectname LINE nnnn COL cc. THE SET | BECAUSE THE FIRST THREE CHARACTERS
FUNCTION function IS NOT ALLOWED IN AN | ARE RESERVED FOR SYSTEM OBJECTS
UPDATE STATEMENT
| Explanation: In general, SYS is a reserved prefix for names.
Explanation: A value expression in a SET clause of an | The only exceptions are:
UPDATE statement should not include a set function specifica-
| SYSPROC is a valid schema name for stored procedures.
tion.
| SYSADM is a valid schema name.
Severity: 4
| This condition is similar to the condition reported in SQLCODE
User Response: Note the deviation from the applicable | -707.
standard. Check and correct the SQL statement.
| Severity: 4
System Action: Precompiling continues but flagger operation User Response: If you suspect an error in DB2, refer to
is discontinued. Section 3 of DB2 Diagnosis Guide and Reference for informa-
tion on identifying and reporting the problem.
User Response: Increase the region size in the JCL for the
application. Allocate more storage for flagger operation.
DSNH875I W csectname AN ERROR OCCURRED WHEN
ATTACHING TO DB2, REASON CODE:
DSNH871I W csectname AN ERROR OCCURRED WHEN X'reason'; FLAGGING CONTINUED AS
ATTEMPTING TO LOAD THE FLAGGER SYNTAX ONLY
MODULE module. FLAGGING IS DISCON-
TINUED Explanation: An error occurred while trying to connect or dis-
connect from the DB2 subsystem.
Explanation: A flagger module was not found during flagger
initialization. Severity: 4
User Response: If you suspect an error in DB2, refer to System Programmer Response: The storage required for
Section 3 of DB2 Diagnosis Guide and Reference for informa- the current statement could not be acquired or exceeds the
tion on identifying and reporting the problem. maximum for a single request. If the region size is being used
completely, check whether the region can be expanded. If it
cannot be expanded, the SQL statement is too large to be
DSNH901I S csectname U LINE nnnn COL cc INTERNAL
processed.
PRECOMPILER ERROR – REASON CODE ccc
Explanation: An internal compiler consistency check failed. # DSNH1760I E csectname LINE nnnn COL cc. CREATE
Reason codes are: # STATEMENT FOR STORED PROCEDURE
000 The message formatter was called with an unlisted # procedure-name MUST HAVE A VALID LAN-
internal message number. # GUAGE CLAUSE AND EXTERNAL CLAUSE.
001 The parser received a token code of 0 from the # Explanation: The CREATE statement for procedure
lexical scan. Lexical scan refers to a scan of words # procedure-name must have both a valid LANGUAGE clause
rather than syntax. # and a valid EXTERNAL clause.
002 Error in storage suballocation control blocks. # Severity: 8 (error)
The error might have occurred because a DB2 # System Action: The statement cannot be executed.
SQL statement limitation was exceeded. The # User Response: Correct and reissue the failing statement.
SQL statement might be referencing, creating,
or declaring more columns than the DB2
defined maximum number allowed for an SQL # DSNH4001I HOST LANGUAGE STATEMENT EXCEEDS
statement. Another possibility is that too many # MAXIMUM OF 1000 LINES
host variables are being referenced in the SQL # Explanation: A user put more than 1000 lines in a single PL/I
statement. # DCL statement.
003 Error in a storage suballocation request. # Severity: 8
This error might have occurred because of # System Action: Processing continues.
storage constraints when building the DBRM
entry for the SQL statement or because the # User Response: Split the DCL statement into two parts.
SQL statement exceeds the DB2 maximum
statement length.
# Severity: 8 (error)
# DSNH4408I E csectname LINE nnnn COL cc THE VALUE IS
# NOT COMPATIBLE WITH THE DATA TYPE OF # System Action: The statement cannot be processed.
# ITS TARGET # User Response: Change the label in the LEAVE statement to
# Explanation: The data type of the value to be assigned to # match the label on the LOOP, REPEAT, WHILE, or COM-
# the parameter or SQL variable is incompatible with the # POUND statement that contains the LEAVE statement.
# declared data type of the assignment target. Both must be: # Ensure that the label in the GOTO statement is defined within
# Numerals # a scope that the GOTO statement can reach.
# Characters
# Graphics # DSNH4785I E csectname LINE nnnn COL cc THE DECLA-
# Dates or character # RATION OR USE OF THE SQLSTATE OR
# Times or character # SQLCODE VARIABLE IS NOT VALID
# Timestamps or character
# Row ID's # Explanation: The declaration or use of an SQLCODE or
# The same distinct types # SQLSTATE special variable is not valid for one of the following
# reasons:
# Severity: 8 (error)
# SQLSTATE is declared with a data type other than
# System Action: The statement cannot be processed. # CHAR(5).
# User Response: Examine the current definition for the # SQLCODE is declared with a data type other than
# parameter or SQL variable and ensure that it has the proper # INTEGER.
# data type.
# NULL is assigned to SQLCODE or SQLSTATE.
DSNI... Messages
databases, spaces, or partitions to be stopped, they are proc-
DSNI001I RESTART HAS BEEN DEFERRED REASON
essed normally.
reason TYPE type NAME name
User Response: Correct the resource unavailable problem
Explanation: Restart could not be performed for one or more
and reissue the -STOP command.
pages of the resource identified by type and name. Those
pages are placed in the logical page list (LPL) and restart for
those pages is deferred. The reason code explains why restart DSNI004I RESOURCE HAS BEEN STOPPED TYPE type
was not performed. NAME name
Refer to Table 3 on page 1053 for an explanation of resource Explanation: The resource identified by TYPE and NAME
type codes. could not be opened/closed, initialized, or was found to be in
an inconsistent state. The resource has been 'stopped' by
System Action: DB2 restart continues. Pages for which
DB2. If an open error occurred during DB2 startup, restart
restart activity was not performed are put into the LPL.
processing for the resource was deferred.
User Response: Correct the problem indicated by the reason
TYPE and NAME identify the resource that has been stopped.
code. Then use the START DATABASE command or the
The TYPE code identifies the type of the resource as well as
RECOVER utility to remove the pages from the LPL.
the format and content of the resource, NAME.
For an explanation of resource type codes, see “Resource
DSNI002I csect-name UNABLE TO START OBJECT TYPE
types” on page 1053.
object-type OBJECT NAME object-name
REASON reason TYPE type NAME name System Action: The database, table space or index space is
stopped by DB2.
Explanation: The resource identified could not be started
because it was unavailable. The resource could be a database, User Response: Previous messages provide information to
a table space, an index space, or a partition within a table allow you to determine the cause of the problem and the
space or an index space. The 'object-type' identifies the type. method of correcting it. Refer to them, and correct the problem.
The 'object-name' identifies the name. If the DB2 catalog is Then restart the database, table space, or index space using
unavailable, 'object-type' contains binary zeros and the -START command; and invoke the application again.
'object-name' contains blanks.
The resource that was unavailable is identified by 'type' and DSNI005I csect-name LPL OR GRECP RECOVERY
'name'. The 'type' code identifies the type of the resource as CANNOT BE DONE FOR START DATABASE
well as the format and content of the 'name'. For an explana- COMMAND-ID = command-id OBJECT TYPE
tion of resource type codes, see “Resource types” on object-type OBJECT NAME object-name
page 1053. The 'reason' contains the reason code explaining REASON reason TYPE type NAME name
why the resource was unavailable. Explanation: The resource identified could not be recovered
System Action: The specified database, space, or partition is during a START DATABASE command identified by the
not started and remains in its current state. If there are other 'command-id' because of problems during LPL or GRECP
databases, spaces, or partitions to be started, they are proc- recovery. The resource could be a table space, an index
essed normally. space, or a partition within a table space or an index space.
The 'object-type' identifies the type. The 'object-name' identi-
User Response: Correct the resource unavailable problem
fies the name.
and reissue the -START command.
The resource that could not be recovered is identified by
'type' and 'name'. The 'type' code identifies the type of the
DSNI003I csect-name UNABLE TO STOP OBJECT TYPE
resource as well as the format and content of the 'name'. The
object-type OBJECT NAME object-name
'reason' contains the reason code explaining why the
REASON reason TYPE type NAME name
resource could not be recovered. For an explanation of
Explanation: The identified object could not be stopped resource type codes, see “Resource types” on page 1053. The
because a resource required to perform the stop was unavail- 'reason' contains the reason code explaining why the
able. The object could be a database, a table space, an index resource could not be recovered.
space, or a partition within a table space or an index space.
The 'command-id' is a decimal number that represents a
The 'object-type' identifies the type and 'object-name' identi- START DATABASE command.
fies the name. If the DB2 catalog is unavailable, 'object-type'
This message, in combination with message DSNI006I or
contains binary zeros and 'object-name' contains blanks.
DSNI022I, provides the LPL or GRECP recovery information
The resource that was unavailable is identified by 'type' and for a START DB command identified by the 'command-id'.
'name'. The 'type' code identifies the type of the resource as
System Action: The specified space, or partition is started
well as the format and content of the resource, 'name'. For an
but remains in a LPL/GRECP state. If there are other spaces
explanation of resource type codes, see “Resource types” on
or partitions to be recovered, they are processed normally.
page 1053. The 'reason' contains the reason code explaining
why the resource was unavailable. User Response: Correct the problem specified by the reason
code and reissue the -START command.
System Action: The specified database, space, or partition is
not stopped and remains in the current state. If there are other
Guide and Reference for information on identifying and 'name' and 'type' identify the page and its type. The TYPE
reporting the problem. code identifies the type, as well as the format and content, of
the NAME. Refer to Appendix B, “Problem determination” on
System Action: Automatic recovery for the page has been
page 1051 for a table showing all types and names.
scheduled. The current agent will abend with reason code
'00C90105', and a dump will be taken. The page will be una- CONN-ID, CORR-ID, and LUW-ID together identify the thread
vailable to this and other agents until the online recovery has involved in the problem. If the LUW-ID is an '*', the thread
completed successfully. Message DSNI010I will be issued, and originated at this site. Correlation IDs beginning with '0nn'
a 'resource unavailable' condition will be returned to any where 'nn' is a number from 01 to 28, identify system agents.
agents that attempt to access the page. If the online recovery
For further information, see the Explanation section for the
fails, the page will be marked as broken until it is repaired or
abend reason code specified in this message.
recovered (see message DSNI012I).
System Action: The job is abended shortly after this
User Response: Save the dump. Watch for message
message appears.
DSNB215I (indicating successful recovery of the page), or
DSNI012I (indicating failure of recovery of the page). User Response: Notify the system programmer.
Operator Response: Collect the console output from the
DSNI012I PAGE LOGICALLY BROKEN TYPE type NAME system on which the job was run. Save this output for use in
name MODNAME modname ERQUAL erqual problem determination.
Explanation: The page identified by TYPE and NAME is log- System Programmer Response: See the Problem Determi-
ically incorrect. Additional attempts to access the page will be nation section for the specific abend reason code.
denied.
Problem Determination: See the System Programmer
The TYPE and NAME identify the resource that is currently Response section of the abend reason code specified in this
unavailable. The TYPE code identifies the type of the resource message.
as well as the format and content of the resource NAME. Refer
to Table 3 on page 1053 for an explanation of resource type DSNI014I csect-name DATA IN USE DURING ABEND
codes. REASON 00C90101 ERQUAL erqual TYPE type
The module named 'modname' has called a page checking NAME name CONN-ID id CORR-ID id LUW-ID id
routine, which discovered an error in the page. Explanation: This message identifies a page that was in use
The ERQUAL gives the trace id for the error in the page. If you at the time an abend condition occurred with reason code
suspect an error in DB2, refer to Section 3 of DB2 Diagnosis 00C90101. This message is issued for each page involved in
Guide and Reference for information on identifying and the current operation.
reporting the problem. An ERQUAL of X'0000' indicates that ERQUAL identifies the specific abend in the CSECT that
an abend occurred during online recovery or recover utility. caused this message to be issued. This information and the
The page has been marked as broken, and the recovery has reason code are used by IBM Support Center to identify the
failed. cause of the problem.
System Action: The page is marked as logically broken, an NAME and TYPE identify the page and its type. The TYPE
04E abend with reason code '00C90102' is issued, and a code identifies the type, as well as the format and content, of
dump is taken. The page will be unavailable to this and other the NAME. Refer to Table 3 in Appendix B, “Problem
agents until it is repaired. determination” on page 1051 for an explanation of resource
User Response: Save the dump for analysis by IBM Support type codes.
Center. Copy the table space or index space to another data CONN-ID, CORR-ID, and LUW-ID together identify the agent
set for later analysis by IBM Support Center. If you suspect an involved in the problem. If the LUW-ID is an '*', the thread
error in DB2, refer to Section 3 of DB2 Diagnosis Guide and originated at this site. Correlation IDs beginning with '0nn'
Reference for information on identifying and reporting the where 'nn' is a number from 01 to 28, identify system agents.
problem.
System Action: The job abends with reason code 00C90101
Operator Response: Notify the system programmer. after this message appears.
System Programmer Response: See the Explanation User Response: Notify the system programmer.
section of this message.
Operator Response: Collect the console output from the
system on which the job was run for the period of time span-
DSNI013I csect-name POTENTIALLY INCONSISTENT
ning the failure. Save this output for use in problem determi-
DATA REASON reason ERQUAL erqual TYPE
nation.
type NAME name CONN-ID id CORR-ID id
LUW-ID id System Programmer Response: See abend reason code
00C90101 for more information.
Explanation: This message identifies a page with potentially
inconsistent data. This message is issued for each page Problem Determination: In general, the data in these pages
involved in the current data manager operation. The is fine. However, if problems are reported that repeatedly
'csect-name' in the message identifies the CSECT that issued involve the same pages or if the same pages are reported by
the message. other abends, you might want to analyze the set of pages
involved.
The 'erqual' in the message identifies the specific abend in
the CSECT that caused this message to be issued. This infor- If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
mation and the reason code are used by IBM Support Center nosis Guide and Reference for information on identifying and
to identify the cause of the problem. reporting the problem.
DSNJ... Messages
STARTTIME The starting store-clock value of the log
DSNJ001I csect-name CURRENT COPY n ACTIVE LOG
records in the volume for non-data sharing
DATA SET IS DSNAME=..., STARTRBA=...,
systems.
ENDRBA=...
ENDTIME The ending store-clock value of the log
Explanation: This message is generated for one of two records in the volume for non-data sharing
reasons: systems.
1. When the log manager is initialized, it sends this informa- UNIT The device unit to which the data set was
tional message to identify the current active log data sets allocated.
(copy-1 and, if dual logging is used, copy-2). COPYnVOL The name of the volume. This message
keyword is displayed as COPY1VOL if
2. When the current active log data set is full, DB2 will switch this is the copy-1 archive log data set, and
to the next available active log data set. This message as COPY2VOL if this is the copy-2
identifies the next available active log data set which will archive log data set.
be used for logging. VOLSPAN An indicator to denote one of four
The value specified by the STARTRBA=value keyword is the conditions:
RBA of the first byte of log data in the named data set. The If '00', the data set is entirely con-
value specified by the ENDRBA=value keyword is the RBA of tained on the volume specified by
the last possible byte in the data set. These values may later 'COPYnVOL'.
be needed for a conditional restart. If '01', this is the first entry of a multi-
volume data set.
System Programmer Response: None required. However, if If '11', this is the middle entry of a
recovery is required, information from this message may be multivolume data set.
required as input to the change log inventory (DSNJU003) If '10', this is the last entry of a multi-
utility. volume data set.
CATLG An indicator to denote one of two
DSNJ002I FULL ACTIVE LOG DATA SET DSNAME=..., conditions:
STARTRBA=..., ENDRBA=... If 'NO', the archive log data set is
uncataloged.
Explanation: This message is sent at the time the log
If 'YES', the archive log data set is
manager fills an active log data set and switches to a new
cataloged.
empty data set. The message shows the name and log RBA
range of the full data set. The BSDS is automatically updated with the information con-
tained in this message; however, if recovery is required, infor-
System Programmer Response: None required. However, if
mation from this message may be required as input to the
recovery is required information from this message may be
change log inventory (DSNJU003) utility.
required as input to the change log inventory (DSNJU003)
utility.
DSNJ004I ACTIVE LOG COPY n INACTIVE, LOG IN
SINGLE MODE, ENDRBA=...
DSNJ003I csect-name FULL ARCHIVE LOG VOLUME
DSNAME=..., STARTRBA=..., ENDRBA=..., Explanation: This message is sent when the dual active
STARTxxxx=..., ENDxxxx=..., UNIT=..., logging option is selected and copy 'n' becomes inactive. A
COPYnVOL=..., VOLSPAN=..., CATLG=... log copy becomes inactive when the next active log data set is
not ready when required. ENDRBA is the last byte of log data
Explanation: Offloading for the specified archive log data set
written on copy 'n'. This is usually caused by a delay in off-
was successfully completed for the given volume. If the data
load.
| set spans multiple tape volumes, this message is generated for
| each tape volume. If the data set spans multiple dasd System Action: The log is switched to single mode until the
| volumes, only one message will be generated displaying the next data set for copy 'n' is ready for logging.
| first VOLSER appended with a '+' to indicate the data set If DB2 is shut down or abends while in single mode with the
| spans multiple volumes. 'xxxx' is replaced by either TIME or ZPARM option still set for dual active data sets, the previous
| LRSN. state of the active log data sets determines what happens
System Action: An archive log data set has been created, when DB2 is started, as follows:
and the archive log data set inventory in the bootstrap data set If fewer than two data sets are available (not flagged as
(BSDS) has been updated with the information in the message: STOPPED) for each set of active logs, DB2 startup termi-
DSNAME The name of the archive log data set. nates and message DSNJ112E is issued.
STARTRBA The starting RBA contained in the volume. If an active log data set is in NOTREUSABLE state, DB2
ENDRBA The ending RBA contained in the volume. can be started in single logging mode, but dual mode takes
STARTLRSN The starting LRSN contained in the effect when the other active log data set becomes avail-
volume for data sharing systems. able after offloading.
ENDLRSN The ending LRSN contained in the volume
for data sharing systems. Operator Response: Execute an MVS Display System
Requests command (D R,L for example) to ensure that there
are no outstanding requests that are related to the log off-load
process. Take the necessary action to satisfy any requests, time an active log data set becomes full. If the process can
and permit off-load to continue. be delayed, then reply 'N'.
System Programmer Response: If the switch to single mode This response has two possible effects.
was caused by the lack of a resource required for off-load, the
– If dual archive logging is in effect and this allocation is
necessary resource should be made available to allow off-load
for a copy 1 archive data set, the 'N' response delays
to complete and thus permit dual logging to proceed. If
the off-load process until the next active log data set
recovery is required, information from this message might be
becomes full.
required as input to the change log inventory (DSNJU003)
utility. – However, if the copy 1 archive data set has already
been allocated and this request is for copy 2, the 'N'
response causes the off-load to switch to single
DSNJ005I ACTIVE LOG COPY n IS ACTIVE, LOG IN
archive mode (the switch is for this data set only).
DUAL MODE, STARTRBA=...
Defer giving a response. This causes off-load to wait
Explanation: This message is sent when copy 'n' of the log
before processing. However, because off-load is a sepa-
becomes active after previously being flagged as inactive.
rate service task, the wait does not affect DB2 perform-
STARTRBA is the RBA of the first byte of log data written on
ance.
copy 'n' after it was activated.
If offloading to DASD, an error has occurred attempting to allo-
System Programmer Response: None required. However, if
cate an archive log data set. Reply 'Y' to receive the error
recovery is required, information from this message may be
messages.
required as input to the change log inventory (DSNJU003)
utility.
DSNJ009E ssname NEEDS VOL SER=nnnnnn. REPLY Y
TO CONTINUE OR N TO CANCEL
DSNJ006I ALLOCATION FOR NEW ARCHIVE LOG DATA
SET HAS BEEN CANCELLED BY OPERATOR. Explanation: The installation requested WTOR before
archive log data set allocation. DB2 needs the specified
Explanation: This message is sent if the operator answers
archive volume for a read operation. The subsystem name is
'N' to the WTOR message DSNJ008E.
'ssname'.
System Action: If the allocation is for copy 1 archive log data
System Action: The archive log read service task waits for
set, off-load terminates processing until the next time it is acti-
the operator’s reply. This wait affects the agent for which the
vated. If copy 1 has already been allocated and this request is
log read was issued and any other agents that might be
for copy 2, off-load switches to single off-load mode for this
waiting on the log read service task queue.
data set only.
Operator Response: Locate the requested volume, ensure
DSNJ007I csect-name OPERATOR CANCELED MOUNT that a device is available, and reply 'Y'. DB2 continues with
OF ARCHIVE VOL SER= volser dynamic allocation and then begins reading the log.
Explanation: If the operator answers 'N' to the WTOR If dual archiving is in effect, a response of 'N' causes archive
message DSNJ009I, this message is issued. The variable read to reissue the message for the copy 'Z' copy 2 archive
'volser' is the volume serial of an archive log volume required VOLSER with the same RBA range. A response of 'N' to this
for the read request. second WTOR, or to the initial WTOR for single archiving,
causes the archive read service task to fail with unpredictable
System Action: The read request for the archive log volume results.
fails. If the request was issued with the COND=YES param-
eter, return code 12 and reason code 00D1032B are returned
DSNJ010I csect-name INVALID RESPONSE. WTOR WILL
to the requester. Otherwise, DB2 abends with reason code
BE REPEATED.
00D1032B.
Explanation: A WTOR was issued during archive data set
DSNJ008E nn OF mm ACTIVE LOGS ARE FULL. ssname allocation. The user did not respond correctly to the message.
NEEDS ARCHIVE SCRATCH. REPLY Y WHEN Either 'Y' or 'N' must be entered.
DEVICE READY OR N TO CANCEL. System Action: The original WTOR is repeated.
Explanation: The installation has requested a WTOR before Operator Response: Reply as indicated in the repeated
archive log data set allocation. DB2 needs a scratch volume message.
for offloading an active log data set. 'ssname' is the name of
the DB2 subsystem. 'nn' is the number of full active log data
DSNJ011I CONDITIONAL RESTART RECORD rrr
sets. 'mm' is the total number of active log data sets.
CREATED AT .... WAS FOUND. REPLY Y TO
System Action: The off-load task waits for the operator's USE, N TO CANCEL
reply.
Explanation: When the log manager was initialized, a condi-
Operator Response: The operator has three options: tional restart control record was found in the bootstrap data
set. Both the record identifier (a 4 byte hexadecimal number)
Get a scratch volume ready, make sure there is an avail-
and the creation time stamp (yy.ddd hh:mm) are displayed to
able unit for the volume, and reply 'Y'. DB2 then con-
help identify the conditional restart record which will be used.
tinues with the off-load.
If you want a conditional restart using that record, reply 'Y' to
Determine from the number of active log data sets avail- the message. Otherwise, reply 'N' and notify the system pro-
able whether the off-load can be delayed until the next grammer.
System Action: If 'Y' is the response, DB2 is started condi- macro. Locate the buffer that contains the log RBA from the
tionally, using the record found. If 'N' is the response, DB2 message and find the damage by referring to the description of
startup is terminated. the reason code later in this book.
Operator Response: If a DB2 conditional restart is to be
done and if the date and time displayed are correct, then reply DSNJ014I TERMINAL ERROR ccc IN BUFFER rrr AFTER
'Y' to the outstanding message. If you are not sure, then ACTIVE LOG WRITE.
contact the system programmer. Explanation: A scan of the log output buffer, after writing to
System Programmer Response: If a normal restart of DB2 the COPY 1 active log data set and before writing to COPY 2,
has failed and you have created a conditional restart control detected an inconsistency in the log data. 'ccc' is the abend
record with the change log inventory (DSNJU003) utility, check reason code associated with the SDUMP that is produced.
whether the time and date in the message agree with when 'rrr' is the log RBA at which the error was detected.
you created that record. If they do, reply 'Y' to the outstanding System Action: DB2 will terminate with a dump, and will not
WTOR. If they do not, reply 'N' and investigate the discrep- write the damaged buffer to the COPY 2 data set.
ancy.
Operator Response: Notify the system programmer.
DSNJ012I ERROR ccc READING RBA rrr IN DATA SET System Programmer Response: The block containing the
ddd CONNECTION-ID=xxxxxxxx, indicated log RBA may be damaged. The buffer was found to
CORRELATION-ID=yyyyyyyyyyyy be in error at the completion of the write to the COPY 1 data
set of the active log.
Explanation: While scanning log records read into a buffer,
the log manager detected a logical error with reason code If dual active logs are being used, use print log map
'ccc'. 'rrr' is the log RBA of the segment in the buffer at (DSNJU004) to list the active log data sets for both copies of
which the error was detected. 'ddd' is the name of the active the active log. Find the COPY 2 data set with the corre-
or archive log data set from which the record was read. If sponding RBA, and copy that data set (using access method
'ddd' is blank, the data was read from an active log output services REPRO) to the COPY 1 data set. Start DB2.
buffer. If only a single active log is used, contact the IBM support
The connection and correlation IDs identify the user or applica- center for assistance. An attempt to start DB2 may succeed if
tion that encountered the problem. Messages that have the the damage to the buffer occurred after completion of the write
same connection ID and correlation ID relate to the same user. to DASD.
Correlation IDs beginning with '0nn' where 'nn' is a number Problem Determination: In the DB2 formatted block section
from 01 to 28, identify system agents. of the dump, locate the chain of LBCE blocks. Those are log
Refer to Section 4 (Volume 1) of DB2 Administration Guide for buffer control elements, and each LBCE controls one 4KB log
information about recovery from log failures. output buffer. LBCEBUFF, at offset X'20' in the LBCE points
to the buffer, which is always on a 4KB boundary. The log
System Action: The application program that invoked the log
RBA of the first byte of the buffer is in a 6-byte field at offset
manager is terminated with reason code 'ccc'. However, infor-
X'FF2' in the buffer itself. The layout of the buffer is
mation in this message may be useful in diagnosing the abend
described by the DSNDLCID mapping macro. The header of
that will follow.
each record within the buffer is described by the DSNDLRH
mapping macro. Locate the buffer that contains the log RBA
DSNJ013I TERMINAL ERROR ccc IN BUFFER rrr from the message and find the damage by referring to the
BEFORE ACTIVE LOG WRITE description of the reason code later in this book.
Explanation: A scan of the log output buffer just prior to
writing the buffer detected an inconsistency in the log data. DSNJ015I CSRONLY PROHIBITS LOG ALTERATIONS.
'ccc' is the abend reason code associated with the SDUMP RECORD rrr CREATED .... REPLY Y TO USE,
that is produced. 'rrr' is the log RBA at which the error was N TO CANCEL.
detected.
Explanation: During DB2 startup, the log manager found an
System Action: DB2 will terminate with a dump, and will not inactive conditional restart control record in the bootstrap data
write the damaged buffer to either COPY 1 or COPY 2 active set. Because this control record indicates CSRONLY, no log
log data set. data sets will be modified. If log truncation was specified, it will
be simulated. Only the first phase of restart (current status
Operator Response: Notify the system programmer. Start
rebuild) will be performed. The hexadecimal identifier (rrr) and
DB2 after it terminates.
creation timestamp (yy.ddd hh:mm) identify the record found.
System Programmer Response: Because the damaged
System Action: A 'Y' reply will continue the conditional
buffer has not been written to a log data set, DB2 may be
restart. A 'N' reply will terminate DB2 startup.
restarted. No corrective action is required.
Operator Response: To continue this CSRONLY processing,
Problem Determination: In the DB2 formatted block section
reply 'Y' to this message. If you are not sure, contact the
of the dump, locate the chain of LBCE blocks. Those are log
system programmer.
buffer control elements, and each LBCE controls one 4KB log
output buffer. LBCEBUFF, at offset X'20' in the LBCE, points System Programmer Response: The conditional restart
to the buffer, which is always on a 4KB boundary. The log control record will not be deactivated at the end of the
RBA of the first byte of the buffer is in a 6-byte field at offset CSRONLY processing. To deactivate this record, either cancel
X'FF2' in the buffer itself. The layout of the buffer is described this record or create a new record. Refer to Section 4 (Volume
by the DSNDLCID mapping macro. The header of each record 1) of DB2 Administration Guide for more information.
within the buffer is described by the DSNDLRH mapping
DSNJ020I csect-name RECEIVED REPLY OF N TO DSNJ070I csect-name ARCHIVE LOG DSN PREFIX NOT
msg-num. SUBSYSTEM STARTUP IS TERMI- IN PROPER FORMAT TO RECEIVE
NATED. TIMESTAMP DATA. TIMESTAMPING OF
dsnname BYPASSED
Explanation: The operator chose to terminate DB2 startup by
answering 'N' to 'msg-num'. Explanation: By way of a ZPARM parameter, the user has
specified that the date and time of creation of an archive log
System Action: DB2 will not restart.
data set be included as part of the archive log data set name
Operator Response: To restart DB2, follow the 'operator (DSN). To accomplish this, the DB2 subsystem requires that
response' of 'msg-num'. the length of the archive log data set name prefix not exceed
19 characters if using the standard DATE formate (YYDDD), or
DSNJ030I RBA RANGE startrba TO endrba NOT AVAIL- 17 characters if using the extended DATE format (YYYYDDD).
ABLE IN ACTIVE LOG DATA SETS If the prefix requirement is not met, this message is issued just
prior to the allocation of the archive log data set specified in
Explanation: Previous errors have made the active log data the message.
set(s) that contain the relative byte address (RBA) range
reported in the message unavailable to DB2. The status of System Action: The archive log data set will be allocated
these log(s) is STOPPED in the bootstrap data set (BSDS). using the archive log prefix. However, the archive log DSN will
not contain the date and time as the user requested.
System Action: DB2 terminates with a dump.
Operator Response: Notify the system programmer.
Operator Response: Notify the system programmer.
System Programmer Response: The ZPARM parameters
System Programmer Response: The log RBA range must for the log archive function must be changed. Specifically, the
be available for DB2 to be recoverable. Correct previous errors TSTAMP and ARCPFXn fields are not consistent with one
and restore the active log data set(s) that contain the RBA another. For details concerning the course of action required to
range reported in the message. eliminate this problem, refer to Section 2 of DB2 Installation
If the log data set(s) are recoverable, the active log data Guide, under the DSNTIPH panel and DSN6ARVP macro sub-
set inventory in the BSDS must be modified to reset the topics.
STOPPED status. Use the print log map (DSNJU004)
utility to obtain a copy of the BSDS log inventory. Next, DSNJ071I csect-name TIMER FAILURE CAUSED
use the change log inventory (DSNJU003) utility to delete TIMESTAMPING OF ARCHIVE dsname TO BE
the active log data sets marked STOPPED (use the BYPASSED
DELETE statement), and then add them again (use the
NEWLOG statement). The starting and ending RBA for Explanation: By way of a ZPARM parameter, the user has
each active log data set must be specified on the specified that the date and time of creation of an archive log
NEWLOG statement when the log(s) are added back to the data set be included as part of the archive log data set name
BSDS using the DSNJU003 utility. (DSN). However an attempt to get the current date and time
from the system failed. This message is issued just prior to the
If the log data set(s) are not recoverable, it is necessary to allocation of the archive log data set specified in the message.
conditionally restart DB2. See Section 4 (Volume 1) of DB2
Administration Guide for additional information on condi- System Action: The archive log data set will be allocated
tional restart and recovering from log failures. using the archive log prefix. However, the archive log DSN will
not contain the date and time as the user requested.
Problem Determination: Examine previous messages to
determine the reason the active log data set(s) are unavailable
DSNJ072E ARCHIVE LOG DATA SET dsname HAS BEEN
to DB2.
ALLOCATED TO NON-TAPE DEVICE AND
CATALOGED. ZPARM CATALOG OPTION OF
DSNJ050I LOAD MODULE DSNJL003 DOES NOT HAVE 'NO' HAS BEEN OVERRIDDEN.
RMODE(24) ATTRIBUTE
Explanation: By way of an archive log DSNZPARM param-
Explanation: The named load module was not link edited eter, the user specified that all archive log data sets should be
with the required RMODE(24) attribute. uncataloged (CATLG=NO). However, DB2 requires that all
System Action: DB2 startup is terminated. archive log data sets allocated to nontape devices must be cat-
aloged. The archive log data set specified by 'dsname' has
Operator Response: Notify the system programmer of the been allocated to a nontape device, and has thus been cata-
failure. loged. The user’s DSNZPARM CATLG setting of 'NO' has
System Programmer Response: Verify that all installation been overridden.
and maintenance activities against this module were executed System Action: The archive log data set has been allocated
using SMP. Verify that the JCLIN for SMP includes the correct to a nontape device, and has been cataloged. The
RMODE control statement, and that the Linkage Editor pro- DSNZPARM CATLG=NO setting has been overridden. The
vided with the Data Facility Product (DFP) for the version of BSDS reflects that the data set has been cataloged.
MVS being used was invoked by SMP for the link edits.
Correct the procedure or JCL which caused the error and rerun Operator Response: Notify the system programmer.
the necessary SMP jobs. System Programmer Response: The DSNZPARM parame-
Problem Determination: The MVS service aid AMBLIST pro- ters for the log archive function must be changed. Specifically,
vides Linkage Editor module attributes in the summary section the ARCHCTLG and ARCHDEVT fields are not consistent with
of the LISTLOAD function output. one another. For details concerning the course of action
required to eliminate this problem, refer to Section 2 of DB2
Installation Guide under the DSNTIPA panel and DSN6ARVP message IEC028I when attempting to write to the sixth
macro subtopics. tape volume.
Off-load processing to a direct access device may fail.
DSNJ073I LOG ARCHIVE UNIT ALLOCATION FAILURE When allocating a new archive log data set on a direct
DETECTED, RETURN CODE=nnnn. ALLO- access device, the DB2 subsystem will use a unit count to
CATION OR OFF-LOAD OF ARCHIVE LOG facilitate multivolume archive data sets. With most of the
DATA SET MAY FAIL. above errors, it may be impossible for the DB2 subsystem
Explanation: While building the SVC99 text entries to dynam- to correctly determine the type of device on which the data
ically allocate a new archive log data set, a unit allocation set is to be allocated. Therefore, the standard default (1)
| failure was detected. This message is only generated when a is assumed for the unit count. If the data set is successfully
| trace for IFCID 320 is active . The reason code, indicated by allocated to a direct access device, and during the off-load
'nnnn' in the message, further clarifies the problem as follows: processing it becomes necessary to extend the data set to
another device, the off-load processing will receive an MVS
4 (X'04') The device type (unit name) on which the B37 (out of space) ABEND, and the archive log data set
archive log data set is to be allocated is will be deallocated.
specified by the user in the DB2 system
parameters. No UCBs could be found for Operator Response: Notify the system programmer.
the device type (unit name). System Programmer Response: The required action is
8 (X'08') The device type (unit name) on which the based on the return code indicated in the message.
archive log data set is to be allocated is 4 (X'04') or 8 (X'08')
specified by the user in the DB2 system The most likely cause is an incorrect specification in
parameters. This device type (unit name) the archive log ZPARMs (DSNTIPA panel). Correct
could not be found in the MVS eligible the DEVICE TYPE field. If the DEVICE TYPE field
device table (EDT). from the archive log ZPARMs appears to be
32 (X'20') DB2 was able to obtain a list of devices correct, check the EDT to ensure that the esoteric
corresponding to the device type (unit or generic unit name specified in the ZPARMs is
name) specified in ZPARMs. However, it actually in the EDT. Subsequent off-load processing
was determined by DB2 that this list con- will archive the log data which could not be previ-
tained a mixture of tape and nontape ously archived due to the allocation failure
devices. (DSNJ103I).
DSNJ098E csect-name CRCR ENDLRSN OF rrr IS xxx DSNJ101E csect-name CRCRERBA OF rrr IS xxx THAN
THAN ANY KNOWN LRSN, NO TRUNCATION ANY KNOWN RBA, BUT COLD START WAS
WILL OCCUR NOT SPECIFIED
Explanation: Truncation cannot take place because the Explanation: Truncation cannot take place because the
CRCR ENDLRSN is not in the range of LRSN values known to CRCR end RBA is not in the range of RBA values known to
either the active or archive logs. rrr is the end LRSN specified either the active or archive logs. 'rrr' is the end RBA specified
in the active record. xxx is replaced by either HIGHER or in the active record. 'xxx' is replaced by either HIGHER or
LOWER. If HIGHER is the case, the CRCR ENDLRSN is LOWER. If HIGHER is the case, the CRCRERBA is higher
higher than the LRSN of the last record written to the log data than the end RBA of the most recent active log data set.
sets. LOWER means the CRCR ENDLRSN is lower than the LOWER means the CRCRERBA is lower than the starting RBA
starting LRSN of the oldest archive data set. of the oldest archive data set.
System Action: DB2 startup is terminated. System Action: DB2 startup is terminated.
Operator Response: Notify the system programmer. Operator Response: Notify the system programmer.
System Programmer Response: Confirm that the ENDLRSN System Programmer Response: Most likely, the archive log
value specified in the Conditional Restart control record is data set that contained the requested RBA has been deleted
correct. If it is not correct, run the Change Log Inventory from the bootstrap data set (BSDS) by the change log inven-
(DSNJU003) utility with the CRESTART CANCEL parameters tory (DSNJU003) utility. Locate the output from an old Print
to cancel the conditional restart. If log truncation is desired, run Map run, and identify the data set that contains the missing
the the DSNJU003 utility with the correct ENDLRSN. Restart RBA. If the data set has not been reused, run the DSNJU003
DB2. utility to add this data set back into the inventory of log data
sets. Restart DB2.
DSNJ099I LOG RECORDING TO COMMENCE WITH
STARTRBA=... DSNJ102I LOG RBA CONTENT OF LOG DATA SET
DSNAME=..., STARTRBA=..., ENDRBA=...,
Explanation: This message is generated when the log
DOES NOT AGREE WITH BSDS INFORMA-
manager is initialized during DB2 startup. The value specified
TION
by the STARTRBA=value keyword is the RBA of the next byte
of log data to be recorded in the DB2 active log data set(s). Explanation: The log RBA range shown in the BSDS for the
This information may later be needed for a conditional restart. specified data set does not agree with the content of the data
set. This message indicates that the change log inventory
This message is preceded by one DSNJ001I message (if
(DSNJU003) utility was used incorrectly or that a down-level
single logging) or two DSNJ001I messages (if dual logging).
volume is being used.
System Programmer Response: None required. However, if
System Action: DB2 startup processing is terminated.
recovery is required, information from this message may be
required as input to the change log inventory (DSNJU003) Operator Response: Notify the system programmer.
utility.
System Programmer Response: Use the print log map
(DSNJU004) and change log inventory (DSNJU003) utilities to
DSNJ100I csect-name ERROR OPENING BSDSn make the BSDS consistent with the log data sets.
DSNAME=..., ERROR STATUS=eeii
Explanation: Log manager initialization or the -RECOVER DSNJ103I csect-name LOG ALLOCATION ERROR
BSDS command could not open the specified bootstrap data DSNAME=dsname, ERROR STATUS=eeeeiiii,
set (BSDS). BSDSn matches the ddname in the log startup SMS REASON CODE=ssssssss
JCL of the data set that cannot be opened. The value of 'n' is
Explanation: The log manager encountered an error while
1 or 2. Refer to Section 4 (Volume 1) of DB2 Administration
attempting to allocate the active or archive log data set indi-
Guide for information about recovery from BSDS or log fail-
cated by the DSNAME=keyword. The STATUS=keyword indi-
ures.
cates the error reason code returned by MVS dynamic
System Action: When this error occurs at initialization time, allocation (SVC99).
DB2 startup must be terminated, because the log data sets
This message might be preceded by message DSNJ073I.
cannot be determined and allocated without the BSDS. When
this error occurs during -RECOVER BSDS processing, the System Action: Subsequent log manager actions are based
command is terminated, and the system continues in single upon the type of data set involved.
BSDS mode. For active log data sets, if the error is encountered during log
Operator Response: Notify the system programmer. manager initialization, DB2 startup is terminated. If two copies
of the active log data sets are defined, this message appears
System Programmer Response: Recover the BSDS that
only once.
cannot be opened. Normally, if dual BSDSs are being used,
recovery consists of making a copy of the remaining good For archive log data sets, if two copies of the archive log data
BSDS. sets are defined, processing continues on the remaining
archive log data set.
Problem Determination: The 'error status' contains the
VSAM open return code in 'ee', and the VSAM open reason Operator Response: Notify the system programmer.
code in 'ii'. Refer to DFSMS/MVS: Macro Instructions for Data System Programmer Response: The error status portion of
Sets for a list of the VSAM open return codes and reason this message contains a 2-byte error code (S99ERROR) fol-
codes, and the steps required to take corrective action. lowed by the 2-byte information code (S99INFO) from the
SVC99 request block. If the S99ERROR code indicates an the appropriate VSAM publication for a definition of these
SMS allocation error (97XX), then 'ssssssss' contains addi- values.
tional SMS reason code information obtained from S99ERSN.
If the OPEN was for a non-VSAM data set, the error status
# Refer to OS/390 MVS Programming: Authorized Assembler
is zero.
# Services Guide for a description of these codes.
For MMSRV errors, error status contains the error informa-
For active log data sets, if the problem occurred during DB2
tion returned by media manager services. If an MMSRV
initialization, you can resolve the problem by either:
CATUPDT failure occurs attempting to truncate an active
Resolving the error associated with the active log data set log data set, the log data set will be unavailable to DB2
as indicated by STATUS=keyword and the status of the log data set will be flagged as
'STOPPED' in the BSDS.
Using AMS, providing another copy of the active log data
set For VSAM OPEN and MMSRV errors, this message is pre-
ceded by an IEC161I message that defines the error that
Updating the BSDS with the change log inventory
occurred.
(DSNJU003) utility
For a PROTECT of an archive log data set, the return
Restarting DB2.
code is from DADSM PROTECT. Refer to the appropriate
For archive log data sets: MVS publication for a description of the MMSRV return
If the problem occurred during allocation with the intent to codes.
write the data set, no immediate action is required. For a CLOSE of an archive log data set, the return code is
However, failure to resolve the SVC99 error (indicated by the TCB completion code for an abend received during
the STATUS value in the message) might eventually cause CLOSE processing. This abend is normally preceded by an
the available space in the active log to be exhausted IEC210I or IEC212I message that defines the error.
(DSNJ111E), since all future off-loads might fail due to the
same error.
| For EDTINFO and UCBLOOK errors, the first 2 bytes
| contain the return code and the second 2 bytes contain the
If the problem occurred during allocation with the intent to | reason code.
read the data set, determine the problem, and use the
Refer to Section 4 (Volume 1) of DB2 Administration Guide for
DSNJU003 utility DELETE function to delete the archive
information about recovery from log failures.
log data set from the BSDS archive log inventory. Then
use the NEWLOG function to add the data set back into System Action: If this condition is encountered during log
the archive log inventory, pointing to the correct volume manager initialization, DB2 startup is terminated. If the error
and device. occurs later and the data set is needed either for offload or for
input operations, DB2 processing continues. If a second copy
If additional information is required about recovery from log fail-
of the data is available, DB2 attempts to allocate and open the
ures, refer to Section 4 (Volume 1) of DB2 Administration
second data set.
Guide.
If the data set is needed as an active log data set, the log
This message can also be issued as the result of a possible
manager attempts to retry the failing request. If the retry fails,
user error. If the STATUS=keyword displays a value of
the DB2 subsystem is terminated.
'17080000', then the site might have one or more active log
data sets defined in the BSDS, but not allocated on DASD. To Operator Response: Notify the system programmer.
correct the situation, print the contents of the current active log
System Programmer Response: If the error occurred during
data set inventory using the print log map (DSNJU004) utility,
initialization, the installation must either correct the problem so
and then do one of the following:
that the data set is available or provide another copy of the
For each active log data set listed in the BSDS, but not data set and change the BSDSs to point to the new data set.
actually allocated on DASD, allocate the active log data set
If the error occurred during DB2 processing, the return code
using access method services. The access method ser-
should be reviewed and the appropriate action taken to correct
vices command syntax for active log data sets can be
the problem so that the data set can be used at a later time or
found in the DSNTIJIN installation job stream.
the data set entry can be removed from the BSDS via the
Use the DSNJU003 utility DELETE statement to delete the change log inventory (DSNJU003) utility.
errant active log data set name, and the NEWLOG state-
If the error was received from PROTECT, there may be a
ment to add the correct name to the active log data set
problem with the PASSWORD data set. You should refer to
inventory. The name specified on the NEWLOG statement
the appropriate DADSM publication to determine the cause of
must be the same as the name of the actual DB2 active
the problem. When the problem has been corrected, you
log data set allocated on DASD.
should ensure the archive log data sets receiving the error are
added to the PASSWORD data set. If these archive log data
DSNJ104I csect-name RECEIVED ERROR STATUS nnn sets are not added to the PASSWORD data set, archive read
FROM macro-name FOR DSNAME dsname will fail when attempting to OPEN these data sets.
Explanation: DB2 encountered an error while issuing macro | If the error was received from EDTINFO or UCBLOOK and the
'macro-name'. Error status is the return code from the speci- | allocation for the archive log data set fails, verify that the
fied macro. | archive UNIT names are correct in ZPARMs.
For an OPEN of a VSAM data set, the return code in the
error field of the access method services control block is
included in this message as the error status value. Refer to
rename the error BSDS and define a new BSDS with the same Excessive use of the -ARCHIVE LOG command. Each
name. Then enter the log manager -RECOVER BSDS invocation of the -ARCHIVE LOG command causes the
command to reestablish dual BSDS mode. DB2 subsystem to switch to a new active log data set and
to initiate an off-load of the active log. Although the
If dual BSDS mode is not being used, the DB2 subsystem
-ARCHIVE LOG command will not be processed when only
must be shut down, and the BSDS must be recovered from a
one active log data set remains in a copy of the active log
backup copy. To recover the BSDS, use the change log inven-
(see DSNJ319I), excessive use of the command could
tory (DSNJU003) utility.
have consumed all space in the active log except the
current active log data sets.
DSNJ109I OUT OF SPACE IN BSDS DSNAME=...
Off-loads failed. See Operator Response.
Explanation: There is no more space in the specified boot-
strap data set. The operation that encountered the out-of- Insufficient active log space. See Operator Response.
space condition did not complete properly. Offload task no longer functioning. Issue the -ARCHIVE
System Action: If dual BSDSs are available, the log LOG CANCEL OFFLOAD command to abnormally termi-
manager enters single BSDS mode using the remaining good nate and restart the offload process.
BSDS. Otherwise, an error code is returned to the log request
that caused access to the BSDS. DSNJ111E OUT OF SPACE IN ACTIVE LOG DATA SETS
Operator Response: Notify the system programmer. Explanation: Due to delays in off-load processing, all avail-
able space in all active log data sets has been exhausted. DB2
System Programmer Response: If dual BSDS mode is
recovery logging cannot continue.
being used, execute an offline access method services job to
rename the full BSDS and define a new, larger BSDS with the System Action: The DB2 log manager waits for an available
same name. Enter the DB2 -RECOVER BSDS command to data set.
reestablish dual BSDS mode.
Operator Response: Execute an MVS Display System
If dual BSDS mode is not being used, the DB2 subsystem Requests command (D R,L for example) to ensure that there
must be shut down and the BSDS recovered offline. In this are no outstanding requests that are related to the log off-load
case, execute the same access method services job men- process. Take the necessary action to satisfy any requests,
tioned above to rename the full data set and define a larger and permit off-load to continue.
data set. Next, execute an access method services REPRO
System Programmer Response: If the delay was caused by
job to copy the full BSDS into the new BSDS.
the lack of a resource required for off-load, the necessary
resource must be made available to allow off-load to complete
DSNJ110E LAST COPYn ACTIVE LOG DATA SET IS nnn and thus permit logging to proceed. For additional information
PERCENT FULL on recovery from this condition, refer to the discussion on DB2
Explanation: This message is issued when the last available system resource failures and active log failures in Section 4
active log data set is 5% full, and is reissued after each addi- (Volume 1) of DB2 Administration Guide.
tional 5% of the data set space is filled.
DSNJ112E csect-name INSUFFICIENT ACTIVE LOG DATA
System Action: Each time the message is issued, the off-
SETS DEFINED IN BSDS
load processing is retried. If the situation is not corrected, the
active log data space fills to capacity, message DSNJ111E is Explanation: There are not enough active log data sets
issued, and the DB2 online processing halts. defined in the BSDS to start DB2. This condition usually exists
for one of the following reasons.
Operator Response: To clear this condition, steps must be
taken to complete other waiting off-load tasks. Once an active Fewer than two data sets are defined for one of the active
log data set is made available (reusable) by completing the off- log copy sets.
load process for it, the DB2 logging activity can continue.
DSN6LOGP specified TWOACTV=YES in DB2 initialization
Execute an MVS Display System Requests command (D R,L parameters, but data sets for two copies of active log are
for example) to determine the outstanding requests related to not defined in BSDS.
the log off-load process. Take the necessary action to satisfy
Fewer than two data sets are available (not flagged as
any requests, and permit off-load to continue. If off-load fails to
STOPPED) for one of the active log copy sets.
complete normally or cannot be initiated, notify the system pro-
grammer. System Action: DB2 startup is terminated.
System Programmer Response: Either correct the problem Operator Response: Notify the system programmer.
that is causing the off-load process to fail, or add more active System Programmer Response: Use the change log inven-
log data sets. Note that the latter action requires DB2 to be tory (DSNJU003) utility to make the number of active log data
down and the change log inventory (DSNJU003) utility to be sets defined in the BSDS consistent with the parameters speci-
run. fied on DSN6LOGP. Log data sets that are flagged as
Possible causes for the shortage of active log data space are: 'STOPPED' will not be reused by DB2. These data sets must
be recovered (either redefined or recovered from the other
Excessive logging. For example, too many users have
copy of the log) and the log data sets must be deleted and
requested logs at the same time or too many utilities have
re-added to the BSDS (using DSNJU003) with the appropriate
specified LOG(YES).
RBA's, to clear the STOPPED status. Restart DB2.
Delayed or slow off-loading. For example, failure to mount
archive volumes, incorrect replies to off-load messages, or
slow device speeds.
DSNJ113E csect-name log-type log-value NOT IN ANY DSNJ116I ERROR ATTEMPTING TO ADD ARCHIVE
ACTIVE OR ARCHIVE LOG DATA SET. ENTRY TO BSDS
CONNECTION-ID=aaaaaaaa,
Explanation: Off-load could not add an archive entry to the
CORRELATION-ID=aaaaaaaa,
BSDS. The off-load is considered incomplete. The active log
MEMBER-ID=member-id
data set is not marked as reusable for new log data. This
Explanation: A request was made to read the log starting at message is preceded by message DSNJ107I, DSNJ108I, or
this log-value and log-type (RBA or LRSN). However, the log DSNJ109I.
value cannot be found in any active or archive log data set for
System Action: Off-load will be retried at a later time.
the indicated member. The member-id contains the ID of the
data sharing member whose logs were being requested at the Operator Response: Notify the system programmer.
time of the failure or zero if data sharing is not active. The con- System Programmer Response: Refer to the specific pre-
nection and correlation IDs identify the user or application that ceding message for action.
encountered the problem. Correlation IDs beginning with '0nn'
where 'nn' is a number from 01 to 28, identify system agents.
Refer to Section 4 (Volume 1) of DB2 Administration Guide for DSNJ117I INITIALIZATION ERROR READING BSDS
information about recovery from log failures. DSNAME=......, ERROR STATUS=...
System Action: Depending upon what log record is being Explanation: The log manager encountered an error during
read and why, this may result in an abend with a reason code initialization reading from the specified bootstrap data set. Error
of '00D1032A'. status contains the VSAM return and feedback codes. It is a
two byte field with the first containing the hexadecimal return
Operator Response: Notify the system programmer. code and the second byte containing the hexadecimal feed-
System Programmer Response: Probable user error. Most back code. Refer to the appropriate VSAM publication for a
likely, the archive log data set that contained the requested log description of VSAM return and reason codes.
value has been deleted from the bootstrap data set (BSDS) by System Action: DB2 startup is terminated.
the change log inventory (DSNJU003) utility. Locate the output
from an old print log map run of the BSDS for the DB2 Operator Response: Notify the system programmer.
member identified by member-id, and identify the data set that System Programmer Response: Determine the cause of the
contains the missing log-value. If the data set has not been read error using the VSAM error status information provided.
reused, run the DSNJU003 utility to add this data set back into Restart DB2.
the inventory of log data sets. Restart DB2.
DSNJ118I LOG INITIALIZATION RECEIVED RETURN
DSNJ114I ERROR ON ARCHIVE DATA SET, OFFLOAD CODE nnn FROM xxxxxxxx MACRO
CONTINUING WITH ONLY ONE ARCHIVE
DATA SET BEING GENERATED Explanation: Log manager initialization received a bad return
code from the named macro.
Explanation: An error occurred while accessing one of the
archive data sets being created by off-load. Because the dual System Action: DB2 initialization is terminated.
archive option is specified, off-load is continuing with the other Operator Response: Notify the system programmer.
archive data set. For the RBA range being off-loaded, there is
System Programmer Response: Determine the problem
only one copy of archive instead of the usual two copies.
from the documentation on the named macro and return code.
System Action: Off-load produces a single archive data set. Then take appropriate steps, and restart the DB2 subsystem.
System Programmer Response: A second copy of this
archive log data set can be made, and the BSDS(s) can be DSNJ119I BOOTSTRAP ACCESS INITIALIZATION PROC-
updated with the change log inventory (DSNJU003) utility. ESSING FAILED
Explanation: During log manager initialization, the bootstrap
DSNJ115I OFFLOAD FAILED, COULD NOT ALLOCATE data set access function was unable to complete its initializa-
AN ARCHIVE DATA SET tion process. Refer to Section 4 (Volume 1) of DB2 Adminis-
Explanation: Off-load could not allocate an archive log data tration Guide for information about recovery from BSDS or log
set. The off-load was not performed. This message is failures.
usuallypreceded by message DSNJ103I. System Action: DB2 startup is terminated.
System Action: Off-load will be tried at a later time. Operator Response: Notify the system programmer.
Operator Response: Notify the system programmer. System Programmer Response: One or more error mes-
System Programmer Response: Review the error status sages describing the specific error have preceded this
information of message DSNJ103I. Correct the condition that message. Refer to the specific message(s) for error analysis
caused the data set allocation to fail so that, on retry, the off- and the appropriate action to take.
load can take place.
DSNJ120I DUAL BSDS DATA SETS HAVE UNEQUAL DSNJ124I OFFLOAD OF ACTIVE LOG SUSPENDED
TIMESTAMPS, BSDS1 SYSTEM=..., UTILITY=..., FROM RBA xxxxxx TO RBA xxxxxx DUE TO I/O
BSDS2 SYSTEM=..., UTILITY=... ERROR
Explanation: When the log manager was initialized, the time Explanation: During off-load, an unrecoverable I/O error was
stamps of the dual bootstrap data sets (BSDS) did not agree. encountered on an active log data set. The data set experi-
The time stamps from the system and from the change log encing the error is marked unusable, and no further logging is
inventory (DSNJU003) utility are shown for each BSDS. The done to that data set.
time stamps have the format yy.ddd hh:mm:ss.th.
System Action: Active log data sets continue to be off-
System Action: DB2 startup is terminated. loaded as they become full.
Operator Response: Notify the system programmer. Operator Response: Notify the system programmer to allow
recovery actions to be initiated.
System Programmer Response: Run the print log map
(DSNJU004) utility against each BSDS. From the output, deter- System Programmer Response: Recover the data manually
mine which data set is obsolete, delete it, define a replacement from the data set, copy it to an archive data set, run the
for it, and copy the remaining BSDS to the replacement. change log inventory (DSNJU003) utility to make the new
archive data set available to the DB2, and remove the error-
If output from the print log map (DSNJU004) utility for both
prone active log data set from DB2 by using the change log
data sets is similar, delete the data set with the oldest time
inventory utility.
stamp, and copy the data set with the most recent time stamp.
not, then change the startup procedure for the subsystem ser- The primary space allocation for the archive log data set
vices address space to use the correct bootstrap data sets. (as specified in ZPARMs) is too large to allocate to any
available online DASD device. This condition is normally
DSNJ128I LOG OFF-LOAD TASK FAILED FOR ACTIVE accompanied by MVS ABEND message IEC032I.
LOG nnnnn
DSNJ129I END OF log-rba eol-rba X COULD NOT BE
Explanation: The off-load task abended while attempting to
FOUND IN ANY ACTIVE LOG DATA SET
offload the relative byte address (RBA) range in active log data
HIGHEST RBA FOUND WAS hi-rba X
set 'nnnnn'.
Explanation: The log manager has been requested to find
System Action: The off-load task terminates and the archive
'eol-rba', the log record which has been recorded in the boot-
data sets allocated to the off-load task are deallocated and
strap data set (BSDS) as the highest RBA written. This RBA
deleted. The status of the active log data sets involved in the
cannot be found in any active log data set. The highest RBA
failed off-load processing remains set to 'not reusable'.
which could be found in any active data set was 'hi-rba'.
The log off-load task will be reinitiated by one of several
System Action: DB2 startup processing is terminated.
events. The most common are:
Operator Response: Notify the system programmer.
All the available space in the current active log data set
has been used (normal case). System Programmer Response: Most likely, the active log
data set containing the requested RBA has been deleted from
A DSNJ110E message is issued.
the BSDS by the change log inventory (DSNJU003) utility. If
The master address space is started, but data in the active the data set has not been reused, run DSNJU003 to add this
log has not been archived. data set back into the BSDS. Restart DB2.
An I/O error occurs on the active log, which will force the If the data set is not available, a conditional restart must be
system to truncate and off-load the active log data set, and performed to either truncate the log prior to the RBA value of
switch to a new active log data set. the missing data set, or to cold start at a higher RBA value.
Operator Response: This message is the result of an off- Refer to Section 4 (Volume 1) of DB2 Administration Guide for
load failure, and will be preceded by one or more DB2 mes- more information.
sages (for example, DSNJ073I) and/or MVS ABEND messages
(for example, IEC030I, IEC031I, IEC032I). If DB2 is operating DSNJ130I ICF CATALOG NAME IN BSDS DOES NOT
with restricted active log resources (see message DSNJ110E), AGREE WITH DSNZPARM. BSDS CATALOG
quiesce the system to restrict logging activity until the ABEND NAME=name, DSNZPARM CATALOG
or the DSNJ110E condition can be resolved. Notify the system NAME=name
programmer.
Explanation: The ICF catalog name defined in DSNZPARM
System Programmer Response: This message is the result does not agree with the name contained in the bootstrap data
of an off-load failure, and will be preceded by one or more DB2 set (BSDS).
messages (for example, DSNJ073I) and/or MVS ABEND mes-
System Action: DB2 startup is abended.
sages (for example, IEC030I, IEC031I IEC032I). Investigate
and correct the cause of the ABEND before the off-load is User Response: Notify the system programmer.
attempted again by DB2. Operator Response: If you attempt to start the DB2 sub-
Problem Determination: This message is the result of an off- system, you will receive this same message and abnormal ter-
load ABEND and will be preceded by one or more DB2 mes- mination will result until the problem is resolved.
sages and/or MVS ABEND messages. See the documentation System Programmer Response: Change the ICF catalog
for the associated DB2 and/or MVS messages to formulate a name in the BSDS to agree with the name defined in
course of corrective action. Use the print log map DSNZPARM during DB2 initialization. To change the ICF
(DSNJU004) utility to print the BSDS (both copies if running in catalog name in the BSDS, use the BSDS change log inven-
dual mode), and then use the DSNJU004 output to determine tory (DSNJU003) utility with the NEWCAT control statement.
the current status of the active and archive log data sets.
Problem Determination: During log manager initialization,
This message can be generated for a variety of reasons. the ICF catalog name defined in DSNZPARM is compared to
However, the most likely are: the catalog name in the BSDS to ensure that the catalog name
Archive log data set allocation errors. Refer to the text for used by the log manager during DB2 processing is correct.
message DSNJ103I for corrective action. These names were found not to be the same.
The size of the archive log data set is too small to contain
the active log data set(s) during off-load processing. All DSNJ139I LOG OFFLOAD TASK ENDED
secondary space allocations have been used. This condi- Explanation: Processing of the active log off-load ended.
tion is normally accompanied by MVS ABEND message
IEC030I. System Action: This message is written to the MVS console.
All available space on the DASD volume(s) to which the Operator Response: This message does not guarantee that
archive data set is being written has been exhausted. This the off-load completed without errors. Check the console log
condition is normally accompanied by MVS ABEND and task messages to review the execution of the off-load task
message IEC032I. to determine whether any abnormal events occurred during the
off-load.
DSNJ151I csect-name IN READING log-type log-value, A Explanation: The control section 'csect-name' successfully
NONZERO REASON CODE WAS RETURNED. completed the 'xxxxxxxx' utility.
CONNECTION-ID=xxxx, System Action: DB2 writes this message to the SYSPRINT
CORRELATION-ID=yyyyyy, data set, not to a console.
REASON-CODE=ccc, MEMBER-ID=member-id
Explanation: DB2 could not successfully complete the read DSNJ201I csect-name xxxxxxxx UTILITY PROCESSING
of this 'log-value' and 'log-type' (RBA or LRSN) due to WAS UNSUCCESSFUL
reason code 'ccc'. The member-id contains the ID of the data
Explanation: The control section 'csect-name' was unable
sharing member whose logs were being requested at the time
to successfully complete processing of 'xxxxxxxx' utility.
of the failure or zero if data sharing is not active. The user or
application that encountered the error is identified by the con- System Action: The current utility is terminated. DB2 writes
nection and correlation ID. Messages that have the same con- this message to the SYSPRINT data set, not to a console.
nection ID and correlation ID relate to the same application. User Response: Review other messages produced by the
Correlation IDs beginning with '0nn', where 'nn' is a number utility to determine the appropriate action to be taken.
from 01 to 28, identify system agents.
DSNJ205I xxxxxxxx PARAMETER HAS NO ARGUMENT DSNJ209I ENDRBA VALUE MUST BE GREATER THAN
STARTRBA VALUE
Explanation: 'xxxxxxxx' contains the name of a parameter
that requires an argument. Explanation: The 'STARTRBA' and 'ENDRBA' parameters
specify an RBA range. Hence, the ENDRBA value must be
System Action: The current utility is terminated. This greater than the STARTRBA value.
message is written to the SYSPRINT data set, not to a
console. System Action: The current utility is terminated. This
message is written to the SYSPRINT data set, not to a
User Response: Specify an argument for the identified console.
parameter and then rerun the utility.
User Response: Correct the control statement, and rerun the
utility.
DSNJ206I xxxxxxxx PARAMETER REQUIRES NO ARGU-
MENT
DSNJ210I OLD ICF CATALOG NAME=oldname, NEW
Explanation: 'xxxxxxxx' contains the name of the parameter CATALOG NAME=newname
that has been incorrectly followed by an = symbol.
Explanation: Change log inventory (DSNJU003) utility proc-
System Action: The current utility is terminated. This essing for the NEWCAT control statement has completed suc-
message is written to the SYSPRINT data set, not to a cessfully.
console.
oldname Either:
User Response: Correct the control statement, and rerun the
utility. The name of the prior ICF catalog or
'NULL' if no prior name existed.
DSNJ207I csect-name PARAMETERS INCONSISTENT newname The name of the ICF catalog defined by the
WITH SPECIFIED OPERATION VSAMCAT keyword.
Explanation: The user has specified utility control statement
parameters that are inconsistent with the specified utility opera-
tion.
System Action: The current utility is terminated. This
message is written to the SYSPRINT data set, not to a
console.
DSNJ211I UNEXPECTED END OF DATA ON SYSIN DATA DSNJ215I csect-name SVC 99 INFORMATION REQUEST
SET FOR DD NAME 'ddname' FAILED. RC= rc,
RSN= rsncd, AND INFO CODE infocode.
Explanation: Additional control statements were expected but
could not be found. Explanation: The Print Log Map utility requested information
from the MVS Dynamic Allocation facility about the DD name
System Action: The current utility is terminated. This
shown in the message, but the system was unable to provide
message is written to the SYSPRINT data set, not to a
the information. The return code, reason code, and information
console.
code were returned by the system's SVC 99 facility. See
User Response: Correct the control statement(s), and rerun MVS/ESA Programming: Authorized Assembler Services Guide
the utility. for an explanation of these codes.
System Action: If the information request was for the SYSIN
DSNJ212I csect-name ERROR RETURNED FROM BSDS DD statement, the Print Log Map utility assumes the control
READ, RPLERRCD=yy, DDNAME=xxxxxxxx statement was not provided and attempts to continue the
Explanation: A VSAM GET was issued that resulted in a request using the SYSUT1 DD statement to locate the BSDS
nonzero return code. 'yy' contains the error code returned by to be mapped.
VSAM. 'xxxxxxxx' contains the ddname of the BSDS encount- If the information request was for the DD name of a BSDS,
ering the error. attempts to get information about BSDS data sets is termi-
System Action: The current utility is terminated. This nated. If information about any BSDS data sets was previously
message is written to the SYSPRINT data set, not to a acquired, the maps of those BSDS data sets are printed. Oth-
console. erwise, the utility terminates.
User Response: The action taken is dictated by the return System Programmer Response: Use the MVS manual (or
code. The BSDS may have to be recovered by use of a the equivalent manual for the level of MVS on your system) to
backup copy. help you in problem determination.
Problem Determination: If you suspect an error in DB2, refer
DSNJ213I csect-name ERROR RETURNED FROM BSDS to Section 3 of DB2 Diagnosis Guide and Reference for infor-
WRITE, RPLERRCD=yy, DDNAME=xxxxxxxx mation on identifying and reporting the problem.
Explanation: A VSAM PUT was issued that resulted in a Collect the following diagnostic items listed in Appendix B,
nonzero return code. 'yy' contains the error code returned by “Problem determination” on page 1051 : 4, 32.
VSAM. 'xxxxxxxx' contains the ddname of the BSDS encount-
ering the error. DSNJ216I BSDS ACTIVE LOG DATA SET RECORD IS
System Action: The current utility is terminated. This FULL, DDNAME=xxxxxxxx
message is written to the SYSPRINT data set, not to a Explanation: The maximum number of active log data sets is
console. fixed. No further entries can be inserted after the maximum
User Response: The action to be taken is dictated by the has been reached. 'xxxxxxxx' contains the ddname of the
return code. The BSDS may have to be recovered by use of a subject BSDS.
backup copy. System Action: The current utility is terminated. This
message is written to the SYSPRINT data set, not to a
DSNJ214I SPECIFIED DSNAME ALREADY EXISTS IN console.
BSDS, DDNAME=xxxxxxxx User Response: Run the print log map utility to determine
Explanation: The user attempted a NEWLOG operation with the current status of the BSDS. Subsequent actions can then
a data set name that already exists in the BSDS. An entry is be formulated, depending upon the status of the BSDS.
never made in a BSDS if the specified DSNAME currently
exists in either the active or archive records of that BSDS. DSNJ217I SPECIFIED DSNAME DOES NOT EXIST IN
'xxxxxxxx' contains the ddname of the subject BSDS. BSDS, DDNAME=xxxxxxxx
System Action: The current utility is terminated. This Explanation: The DELETE operation specifies a DSNAME
message is written to the SYSPRINT data set, not to a that cannot be found in the BSDS. 'xxxxxxxx' contains the
console. ddname of the subject BSDS.
User Response: Either correct the control statement and System Action: The current utility is terminated. This
rerun the utility, or delete the existing DSNAME from the BSDS message is written to the SYSPRINT data set, not to a
and rerun the utility. console.
User Response: Correct the control statement, and rerun the
utility.
DSNJ224I xxxx PARAMETER APPEARS TOO OFTEN DSNJ229I csect-name OPEN FAILED FOR SYSIN
Explanation: The parameter named 'xxxx' was specified Explanation: An error occurred when the DB2 Print Log Map
more than once on the same control statement. utility tried to open the SYSIN data set.
System Action: The current utility is terminated. This Possible causes are:
message is written to the SYSPRINT data set, not to a
1. The DD name of the SYSIN data set was not specified in
console.
the user's job control language (JCL).
User Response: Remove the redundant parameter, and
2. Insufficient virtual storage is available to perform the OPEN
rerun the utility.
command.
3. The characteristics of the SYSIN data set are different from
DSNJ225I xxxx OPERATION SUCCESSFULLY COM-
those expected by the print log map (DSNJU004) utility.
PLETED
System Action: DSNJU004 attempts to continue processing
Explanation: The change log inventory (DSNJU003) utility
without an input control statement. DB2 writes this message to
operation named 'xxxx' completed successfully.
the SYSPRINT data set, not to the system console.
System Action: This message is written to the SYSPRINT
User Response: Take one of the following actions based on
data set, not to a console.
the cause of the error.
DSNJ226I SPECIFIED VOLUME ALREADY EXISTS IN 1. Provide the missing DD statement and rerun the utility.
BSDS, DDNAME=xxxxxxx Refer to DB2 Utility Guide and Reference for details about
the required DD statements.
Explanation: The specified volume currently exists in the
archive log records of the BSDS. 'xxxxxxxx' specifies the 2. Insufficient virtual storage is usually accompanied by a
ddname of the subject BSDS. separate error message from the MVS operating system.
Increase the REGION size on the JCL job step and rerun
System Action: The current utility is terminated. This the utility.
message is written to the SYSPRINT data set, not to a
console. 3. Check that the SYSIN data set is a fixed record format
(blocked or unblocked) with an LRECL of 80. You might
User Response: Either correct the parameter argument on need to contact the system programmer for help if this is a
the control statement, or delete the specified volume and rerun JES data set.
the utility.
DSNJ230I LOG OFFLOAD SUBCOMPONENT INITIALIZA-
DSNJ227I NO SPACE AVAILABLE IN BSDS FOR ADDI- TION PROCESSING FAILED
TIONAL ARCHIVE VOLUME ENTRIES,
DDNAME=xxxxxxxx Explanation: During log manager initialization, the off-load
function was unable to complete its initialization process.
Explanation: The maximum number of archive volumes has
been exceeded, and no more space is available for volume System Action: DB2 startup is terminated.
entries in the copy specified. Operator Response: Notify the system programmer.
System Action: The current utility is terminated. System Programmer Response: One or more error mes-
User Response: Delete some of the archive entries in the sages describing the specific error preceded this message.
specified copy number, and rerun the utility. Refer to the specific message(s) for error analysis and the
appropriate actions to take.
Explanation: The log manager encountered an error while Explanation: During log manager initialization, the log
trying to dynamically deallocate the data set. Error status is the command function was unable to complete its initialization
error reason code returned by MVS dynamic allocation. process.
System Action: Log manager processing continues. System Action: DB2 startup is terminated.
Operator Response: Notify the system programmer. Operator Response: The rest of subsystem termination will
direct the actions you should take.
System Programmer Response: The error status portion of
this message contains the 2-byte error code (S99ERROR) fol- System Programmer Response: One or more error mes-
lowed by the 2-byte information code (S99INFO) from the SVC sages describing the specific error preceded this message.
request block. If the S99ERROR code indicates an SMS deal- Refer to the specific message(s) for error analysis and the
location error (97XX), then 'ssssssss' contains additional SMS appropriate action to take.
reason code information obtained from S99ERSN. Refer to the This message will be of interest to the IBM support center
MVS/ESA SPL: Application Development Guide for a when the problem is described.
description of these codes.
System Programmer Response: One or more error mes- Operator Response: Reply 'N' if the truncation is going to
sages describing the specific error preceded this message. occur at an undesirable point. Notify the system programmer.
Refer to the specific message(s) for error analysis and the Reply 'Y' to continue the cold start.
appropriate action to take. System Programmer Response: Rerun the change log
inventory (DSNJU003) utility to modify the conditional restart
DSNJ243I OUTPUT BUFFER WRITER TERMINATION record.
PROCESSING FAILED
Explanation: During log manager termination, the output DSNJ247E csect-name I/O ERROR DURING PROCESSING
buffer writer function was unable to complete its termination OF rrr RC = rc, REASON = reason
process. Explanation: The I/O error occurred at record 'rrr'. 'rc' indi-
System Action: Log manager shutdown continues to the next cates the return code received from the I/O operation.
step. 'reason' indicates the reason code received from the I/O oper-
ation.
Operator Response: Notify the system programmer.
If a return code '4' was received, this indicates that the log
System Programmer Response: One or more error mes- manager detected a problem. If a return code '8' was
sages describing the specific error preceded this message. received, this indicates a VSAM error.
Refer to the specific message(s) for error analysis and the
appropriate action to take. System Action: DB2 startup terminates.
Operator Response: Notify the system programmer.
DSNJ244I LOG TERMINATION RECEIVED RETURN System Programmer Response: For a return code of '4', if
CODE nnn FROM xxxxxxxx MACRO you suspect an error in DB2, refer to Section 3 of DB2 Diag-
Explanation: Log manager termination was passed a bad nosis Guide and Reference for information on identifying and
return code from the named macro. reporting the problem. For a return code of '8', execute an
offline access method services job to determine the cause of
System Action: Log manager termination processing con-
the VSAM error.
tinues.
Operator Response: Record the return code and macro- DSNJ248I ARCHIVE LOG READ DEALLOCATION
name, and notify the system programmer. INITIALIZATION PROCESSING FAILED
System Programmer Response: This message is associ- Explanation: During log initialization, the archive log read
ated with a failure in the named macro. If you suspect an error deallocation process was unable to complete its initialization.
in DB2, refer to Section 3 of DB2 Diagnosis Guide and Refer-
ence for information on identifying and reporting the problem. System Action: DB2 startup is terminated.
Operator Response: Notify the system programmer.
System Programmer Response: One or more error mes-
sages describing the specific error precede this message.
DSNJ249I ARCHIVE LOG READ SCHEDULER INITIALIZA- Explanation: During command processing for the
TION PROCESSING FAILED -RECOVER BSDS command or the -ARCHIVE LOG
command, an error occurred while performing an operation on
Explanation: During log initialization, the archive log read the Bootstrap Data Set. The type of operation is specified in
scheduling process was unable to complete its initialization. the 'action' keyword in the message text:
System Action: DB2 startup is terminated. ACCESSING Unable to OPEN the BSDS.
Operator Response: Notify the system programmer. READING Unable to read a required record from the
System Programmer Response: One or more error mes- BSDS.
sages describing the specific error precede this message. UPDATING Unable to write a required record to the BSDS.
Refer to these messages for error analysis and the appropriate
action to take. RESTORING DUAL The contents of the stable BSDS was
successfully copied to the replacement BSDS; however,
the DB2 subsystem was unable to successfully restore
DSNJ250E csect-name DATA SHARING REQUIRES ALL dual BSDS operation.
ACTIVE LOG DATA SETS TO BE DEFINED
WITH SHAREOPTIONS(2 3) OR HIGHER. System Action: If this message was received during proc-
essing of the -RECOVER BSDS command, then the DB2 sub-
Explanation: DB2 detected an active log data set defined system will continue in single BSDS mode. If this message
with share options that do not permit recovery operations in a was received during processing of the -ARCHIVE LOG
data sharing environment. This message is followed by command, the archive log history record in the BSDS will not
message DSNJ251E, which identifies the specific active log be updated to reflect the occurrence of an -ARCHIVE LOG
data set. command; logging and the off-load processing will continue.
All active log data sets for a DB2 data sharing member must Operator Response: Inform the system programmer of the
be defined with a minimum of SHAREOPTIONS(2 3) for suc- type of error that occurred, and whether the error occurred
cessful DB2 initialization. See the description of message while processing a -RECOVER BSDS command or an
DSNJ251E for more details. -ARCHIVE LOG command.
System Action: The DB2 subsystem detecting this condition System Programmer Response: If this message was
is terminated. received during processing of the -RECOVER BSDS
command, then recovery action must be performed on the
DSNJ251E csect-name DATA SET dsname FAILS TO bootstrap data set before reentering the command. If this
MEET THE MINIMUM REQUIRED message was received during processing of the -ARCHIVE
SHAREOPTIONS FOR DATA SHARING. LOG command, no action is necessary.
Explanation: The share options defined for the data set
named in the message are too low to permit the data set to DSNJ302I ALLOCATION ERROR ON REPLACEMENT
participate in a DB2 data sharing group. All active log data sets BSDS DSNAME=... ERROR STATUS=...
must be defined with SHAREOPTIONS(2 3) or higher in order Explanation: The RECOVER BSDS command encountered
to participate in a data sharing group. an error while trying to dynamically allocate the specified data
System Action: The DB2 subsystem detecting this error is set. DSNAME is the data set name. Error Status is the error
terminated. code and information code returned by MVS dynamic allo-
cation.
System Programmer Response: Using IDCAMS LISTCAT
or TSO LISTCAT, display the share options of all of the active System Action: Processing of the command is terminated.
log data sets of all of the members in the data sharing group. The system continues in single BSDS mode.
For any active log data set that is defined with less than Operator Response: Determine the cause of the error from
SHAREOPTIONS(2 3), use IDCAMS ALTER or TSO ALTER to the error status contained in the message, and correct the con-
alter the data set definitions to SHAREOPTIONS(2 3) or dition. Then reenter the -RECOVER BSDS command.
higher.
System Programmer Response: The error status portion of
Problem Determination: If you suspect an error in DB2, refer this message contains the 2-byte error code (S99ERROR) fol-
to Section 3 of DB2 Diagnosis Guide and Reference for infor- lowed by the 2-byte information code (S99INFO) from the SVC
mation on identifying and reporting the problem. request block. Refer to the appropriate MVS publication for a
Collect the following diagnostic items listed in Appendix B, description of these codes.
“Problem determination” on page 1051: 1, 2, 5, 11.
DSNJ303I WRITE ERROR ON REPLACEMENT BSDS
DSNAME=... ERROR STATUS=...
Explanation: The -RECOVER BSDS command encountered
an error while attempting to write to the specified bootstrap
data set. Error Status contains the VSAM return and feedback
codes. It is a 2-byte field with the first containing the
hexadecimal return code and the second containing the
hexadecimal feedback code.
Operator Response: Notify the system programmer. If the word SYNCHRONOUS is displayed, then the invoker
used the WAIT(YES) option. This means that quiesce proc-
System Programmer Response: Execute an offline access essing will be synchronous to the user; that is, the user
method services job to delete or rename the replacement can enter additional DB2 commands, but the commands
BSDS and define a new BSDS with the same name. Reenter will not be processed by the DB2 command processor until
the log manager -RECOVER BSDS command to reestablish the quiesce processing has ended.
dual BSDS mode.
If the word ASYNCHRONOUS is displayed, then the
invoker used the WAIT(NO) option, or did not specify the
DSNJ305I REPLACEMENT BSDS NOT EMPTY
WAIT option. This means that quiesce processing will be
DSNAME=...
asynchronous to the user; that is, control will be returned
Explanation: The -RECOVER BSDS command was issued, to the invoker as soon as the quiesce task has been
but the replacement bootstrap data set was not empty; that is, started. Thus, the DB2 command processor will accept -
it contained data. and process - any new DB2 commands while the quiesce
task is running.
System Action: Processing of the command is terminated.
DB2 continues in single BSDS mode. This message will be followed by message DSNJ311I or
DSNJ317I.
Operator Response: Notify the system programmer.
Operator Response: No operator response is necessary.
System Programmer Response: Execute an offline access
However, it can be expected that users and jobs using DB2
method services job to delete or rename the error BSDS and
resources will be suspended (queued) by DB2 through the
define a new BSDS with the same name. Reenter the log
duration of the specified time interval, or until the DB2 sub-
manager -RECOVER BSDS command to reestablish dual
system can be certain that all update activity has been effec-
BSDS mode.
tively blocked. At some point, this message will be followed by
the DSNJ311I message or DSNJ317I message.
DSNJ306I DUAL BSDS MODE ALREADY ESTABLISHED
Explanation: The -RECOVER BSDS command was issued, DSNJ311I csect-name ASYNCHRONOUS LOG ARCHIVE
but DB2 was already in dual BSDS mode. (OFFLOAD) TASK INITIATED
System Action: The command is ignored. Explanation: A user-initiated -ARCHIVE LOG command has
been accepted by the DB2 subsystem. An asynchronous task
DSNJ307I LOG INITIALIZED IN SINGLE BSDS MODE to archive (off-load) the active log data set has been started.
Explanation: The -RECOVER BSDS command was issued, System Action: The current active log data set(s) will be
but the system was initialized in single BSDS mode. truncated and switched to the next available active log data
set(s), and an asynchronous off-load task will be initiated to
System Action: Processing of the command is terminated. archive the Active log data set(s).
The system continues in single BSDS mode.
The term ASYNCHRONOUS is used to indicate that control
will be returned to the invoker as soon as the off-load task has
been started. Thus, the DB2 command processor will accept
— and process — any DB2 commands while the off-load task
is running.
This message is followed by message DSNJ312I if the
MODE(QUIESCE) option was used with the -ARCHIVE LOG
command.
Or, if having all URs reach a point of consistency in the Possible causes for the shortage of active log data space are:
active log is no longer critical, issue the -ARCHIVE LOG
Excessive logging. For example, too many users
command without the MODE(QUIESCE) option.
requesting logs at the same time, or too many utilities
Important: If the decision is made to use the -ARCHIVE LOG specifying LOG (YES).
command without the MODE(QUIESCE) option, the active log
Delayed or slow off-loading. For example, failure to mount
data set(s) will be truncated without regard to quiescing activity
archive volumes, incorrect replies to off-load messages, or
on the DB2 subsystem. If the resulting archive log data set is
slow device speeds.
used for recovery, it is possible that some URs may be found
to be In-flight, In-Abort, In-Commit, or In-doubt during DB2 Excessive use of the -ARCHIVE LOG command. Each
initialization. invocation of the command causes the DB2 subsystem to
switch to a new active log data set. Excessive use could
If expiration of the quiesce period before all URs reach a con-
consume the available active log data space if the resulting
sistent point are a chronic problem, an adjustment to ZPARMs
off-loads were not processed in a timely manner.
may have to be made. The quiesce period is controlled by the
'Maximum Quiesce Period' ZPARM. Refer to the discussion Off-loads(s) failed (see Operator Response).
about the Archive Log Parameters (DSNTIPA) panel in Section Insufficient active log space (see Operator Response).
2 of DB2 Installation Guide.
DSNJ327I ADDR STATUS CORR-ID VOLSER DSNJ331I avolume, avolume, avolume, avolume ...
DATASET_NAME Explanation: This message provides the tape volume infor-
Explanation: This message displays the column headings for mation for the Archive Log Volumes report output.
the DISPLAY ARCHIVE report. avolume The name of the archive log volume required for
The message number is not included in this message. this correlation ID. An 'avolume' prefixed with an
'*' signifies that the data on the archive log
volume is also mapped by an active log data set.
DSNJ328I tapeaddr status corr-id vname dsname
As such, the 'avolume' might not be required for
Explanation: This message, in combination with message the read process, since the data is read from the
DSNJ327I, provides the tape unit information that is part of the active log, if possible.
-DISPLAY ARCHIVE report.
tapeaddr The physical tape address of the tape unit allo- DSNJ332I END OF ARCHIVE LOG VOLUMES REPORT
cated to read archive log. Explanation: This message follows messages DSNJ330I and
status Status of tape address: DSNJ331I and indicates that the ARCHIVE LOG VOLUMES
report was generated successfully. The message number is
BUSY Tape address is actively processing an
not included in this message.
archive log data set.
| DSNJ333I csect-name SYSTEM CHECKPOINT INITIATED DSNJ338I NO TAPE ARCHIVE READING ACTIVITY
| Explanation: This message indicates that the SET LOG Explanation: This message indicates that there is no current
| command processed successfully and that a system check- archive tape reading activity to report.
| point has been initiated.
The message number is not included in this message.
QUIESCED/OFFLOADING
The named member was active at the time DSNJ354I csect-name DSNJ354I ARCHIVE LOG: ALL
the ARCHIVE LOG command was issued. ACTIVE MEMBER(S) STARTED OFFLOAD
Update activity against DB2 resources had TASKS
successfully quiesced for that member (no Explanation: This message is displayed when
active URs) in response to specifying MODE(QUIESCE) is specified with the ARCHIVE LOG
MODE(QUIESCE). The active log at the time command, after all active members in the data sharing group
was truncated and an offload process was ini- have successfully quiesced their update activity within the
tiated after all members in the data sharing allotted time period. For each active member in the data
group had reached a quiesce point. sharing group, the active log is truncated and switched, and an
offload task is initiated to begin the offload process. Log trun-
cation, switch and offload processing for stopped (and qui-
esced) members is performed the next time they are started.
DSNJ407E csect-name NO VALID CHECKPOINT RBA DSNJ410E csect-name I/O ERROR DURING nnn PROC-
FOUND ESSING OF yyy RECORD
Explanation: After completing its search through the resource Explanation: An I/O error occurred during a READ or WRITE
manager status table and the checkpoint queue, no valid of a record. 'nnn' is either READ or WRITE, depending on the
checkpoint RBA was found within the specified range. operation. 'yyy' specifies the Conditional Restart control
record, checkpoint queue record, archive log command history
System Action: The current utility processing is terminated.
record, or resource manager status table.
This message is written to the SYSPRINT data set, not to a
console. System Action: The current utility processing is terminated.
This message is written to the SYSPRINT data set, not to a
User Response: The last 100 checkpoints are recorded in
console, and will be accompanied by message DSNJ212E or
the BSDS, including the log STARTRBA and log ENDRBA of
DSNJ213E.
the checkpoint range. When either STARTRBA or ENDRBA
are specified, the change log inventory (DSNJU003) utility User Response: Determine the cause of the I/O error based
attempts to locate a valid checkpoint in the range. In this case, upon the error status information provided in messages
DSNJU003 was unsuccessful in finding a valid checkpoint. DSNJ212E or DSNJ213E.
Do one of the following, as appropriate:
DSNJ411I csect-name CRESTART nnnn FOR CRCRID =
If no checkpoint exists in the STARTRBA/ENDRBA range,
yyyy, DDNAME = ddname
set STARTRBA=ENDRBA and cold start DB2.
Explanation: A CRESTART request has just completed.
If the ENDRBA is less than all recorded checkpoints or the
'nnnn' is either CREATE or CANCEL. 'yyyy' is the restart
STARTRBA is higher than all recorded checkpoints, then
control record hexadecimal identifier and 'ddname' is the
use DSN1LOGP to locate a valid checkpoint. Use
BSDS data set (SYSUT1 or SYSUT2) associated with the
DSN1LOGP SUMMARY(ONLY) option to find a valid
request.
checkpoint. Message DSN1153I is issued if any complete
checkpoint is found. DSN1153I identifies the log RBA of System Action: Current utility processing continues. This
the checkpoint. Update the CHKPTRBA parameter using message is written to the SYSPRINT data set, not to a
the log RBA identified in DSN1153I and resubmit console.
DSNJU003. User Response: Note the record identifier for future refer-
ence.
DSNJ408I csect-name CHECKPOINT RBA FOUND, RBA =
rba, TIME = time DSNJ412E csect-name RESTART CONTROL RECORD
Explanation: After completing its search through the resource NOT FOUND IN BSDS
manager status table and the checkpoint queue, 'rba' was the Explanation: The CRESTART CANCEL keyword was speci-
most recent checkpoint RBA in the specified range and 'time' fied but the conditional restart control record does not exist in
was the time of the checkpoint. the BSDS data set.
System Action: Utility processing continues. System Action: Current utility processing is terminated. This
message is written to the SYSPRINT data set, not to a
DSNJ409I UNABLE TO WRITE ACTIVE LOG RECORD TO console.
THE BSDS DATASET. DDNAME=xxxxxx
User Response: CREATE the conditional restart control
Explanation: A program encountered an I/O error when record prior to attempting the CANCEL function.
attempting to write a BSDS active log record to the BSDS data
set. 'xxxxxx' is the DDNAME of the BSDS data set being DSNJ413E csect-name INVALID LOG RANGE SCOPE OR
accessed. CHECKPOINT SPECIFIED
System Action: The program will terminate. Explanation: The values specified thru the STARTRBA,
Operator Response: Notify the system programmer. ENDRBA, and CHKPTRBA keywords are invalid.
System Programmer Response: One or more error mes- System Action: Current utility processing is terminated. This
sages describing the specific error preceded this message. message is written to the SYSPRINT data set, not to a
This error is considered unrecoverable and will leave the console.
BSDS data set in an uncertain state. It will be necessary to User Response: Ensure that the log range values are correct
either: recreate the data set using access method service rou- and correspond to the other log range values either specified
tines and then use change log inventory (DSNJU003) to make or defaulted. A valid log range is where STARTRBA is less
the active and archive log data set(s) known to the BSDS, or than or equal to CHKPTRBA, and CHKPTRBA is less than
recover the BSDS using a backup copy. ENDRBA. The STARTRBA most be less than or equal to the
ENDRBA.
DSNJ414I csect-name COLD START WILL RESULT FROM DSNJ418I WARNING - A NOTREUSEABLE ACTIVE LOG
THIS RESTART CONTROL RECORD. DATA SET WAS DELETED FROM BSDS LOG
FORWARD AND BACKOUT SET TO NO. INVENTORY, STARTRBA=...,ENDRBA=...
Explanation: STARTRBA and ENDRBA are equal. A cold Explanation: The data set name specified on the DSNAME
start will result if this restart control record is used during DB2 parameter of the change log inventory (DSNJU003) utility
restart. No forward or backout processing will be performed. DELETE statement was a NOTREUSABLE active log.
System Action: CRESTART processing continues. System Action: DSNJU003 processing continues, it will ter-
minate with a return code of 4. This message is written to the
User Response: No additional actions are required if a cold
SYSPRINT data set, not to a console.
start of the system is desired. If a cold start is not desired,
reissue the CRESTART and either CANCEL the current restart User Response: No additional actions are required if a
control record, or CREATE a new restart control record. deletion of a NOTREUSABLE active log was desired. If this
was not desired, recreate the deleted log by using the
DSNJ415E csect-name ENDRBA = rba IS INVALID, MUST NEWLOG statement with the RBA values specified in the
BE A MULTIPLE OF 4K warning message.
Explanation: As a result of a change log inventory System Programmer Response: One or more error mes-
(DSNJU003) update, it was discovered that the SYSUT1 BSDS sages describing the specific error preceded this message.
and SYSUT2 BSDS timestamps are unequal. Being unequal This error is considered unrecoverable and will leave the
indicates the possibility of a BSDS mismatch. BSDS data set in an uncertain state. It will be necessary to
either: recreate the data set using access method service rou-
System Action: Current utility processing continues. tines and then use change log inventory (DSNJU003) utility to
User Response: Run the print log map (DSNJU004) utility make the active and archive log data set(s) known to the
against the SYSUT1 BSDS and SYSUT2 BSDS. Determine if BSDS, or recover the BSDS using a backup copy.
each BSDS is current. If each BSDS is current, this warning
can be ignored. If either BSDS is not current, delete the obso- DSNJ420I UNABLE TO WRITE BCR1 RECORD TO BSDS
lete data set and define a replacement data set, then copy the DATASET. DDNAME=xxxxxx
current BSDS into the replacement data set.
Explanation: A program encountered an I/O error when
attempting to write the BSDS control record to the BSDS data
DSNJ417I REQUIRED xxxxxxxx PARAMETER FOR set. 'xxxxxx' is the DDNAME of the BSDS data set being
yyyyyyyy OPERATION IS MISSING accessed.
Explanation: A required parameter 'xxxxxxxx' for a Log Operator Response: Notify the system programmer.
utility operation was missing from the Log utility control state-
ment. The attempted operation is 'yyyyyyyy'. System Programmer Response: One or more error mes-
sages describing the specific error preceded this message.
System Action: The Log utility 'yyyyyyyy' operation does Refer to the specific message(s) for error analysis and the
not perform its function. All subsequent Log utility control appropriate action to take.
statements are processed. A nonzero return code is issued by
the utility.
DSNJ421I THE BSDS IS NOT AT THE PROPER RELEASE
DB2 writes this message to the SYSPRINT data set, not to a LEVEL. DDNAME=xxxxx
console.
Explanation: This message is issued when a program
User Response: Add the missing parameter to the control attempting to access The BSDS data set is not at a compatible
statements associated with the specified operation and rerun release level. This can be one of the following:
the utility.
The program accessing the BSDS data set is at a NEW
release level and the BSDS is at the old level.
The program accessing the BSDS data set is at an OLD
release level and the BSDS is at the NEW level.
The program encountered an UNKNOWN release level on
the BSDS data set.
System Action: The program will terminate with no action
taken.
System Programmer Response: If the program that Problem Determination: If you suspect an error in DB2, refer
encountered the error was one of the BSDS conversion pro- to Section 3 of DB2 Diagnosis Guide and Reference for infor-
grams (DSNJMIG0 or DSNJFAL0) an unrecoverable error was mation on identifying and reporting the problem.
found on the BSDS data set and it must be recreated. If the
Collect the following diagnostic items listed in Appendix B,
error was encountered running some other utility program (i.e.,
“Problem determination” on page 1051: 32.
change log inventory or print log map), one of the following
actions may be taken:
DSNJ425I INVALID xxxxxx VALUE/FORMAT FOR yyyyyyyy
Run a version of the program that is compatible with the PARAMETER (YYYYDDDHHMMSST)
release level of the BSDS.
Explanation: 'xxxxxx' is the field in the 'yyyyyyyy' param-
Run the appropriate formatting program (DSNJMIG0 or eter that contains an incorrect value or incorrect format.
DSNJFAL0) to convert the BSDS data set to a release
level compatible with the running program. If this was suc- System Action: The current utility is terminated. This
cessful, rerun the original program. message is written to the SYSPRINT data set, not to a
console.
DSNJ422I LOG RECORDS HAVE ALREADY BEEN FOR- User Response: Correct the control statement and rerun the
MATTED - THIS UTILITY WILL TERMINATE utility.
Explanation: This message will occur when one of the BSDS
formatting programs detects the BSDS had already been re- DSNJ426I ENDTIME VALUE CANNOT BE LESS THAN
formatted or was already at the desired format level. STARTIME VALUE
System Action: The program will terminate without any Explanation: The 'STARTIME' and 'ENDTIME' parameters
action being taken. specify a time range. Hence, the ENDTIME value must be
equal to or greater than STARTIME value.
System Programmer Response: If the appropriate BSDS
formatting program was being run, no further action is neces- System Action: The current utility is terminated. This
sary. message is written to the SYSPRINT data set, not to a
console.
DSNJ423I ACTIVE LOG MAY NOT HAVE BEEN User Response: Correct the control statement and rerun the
ARCHIVED. DSN=xxxxxx utility.
Explanation: The program was attempting to convert an old
BSDS data set with more than 31 active log data sets to the DSNJ427I CHECKPOINT RECORD ADDED TO QUEUE
new format. The program will drop the oldest active log data Explanation: The checkpoint record specified has been
set(s) to get to the new maximum (31) limit. When dropping added to the checkpoint queue.
one of the old active log data sets from the BSDS, it was found
to have been flagged as NOT REUSABLE (i.e., this data set System Action: The BSDS checkpoint queue is modified as
MAY NOT have been archived). 'xxxxxx' will contain the data stated. This message is written to the SYSPRINT data set, not
set name of the active log in question. to a console.
System Action: The program will remove this active log data
set from the BSDS and continue. DSNJ428I CHECKPOINT RECORD DELETED FROM
QUEUE, STARTRBA=startrba, ENDRBA=endrba
System Programmer Response: Check to see if this data
set had been archived. The active log data set was not deleted Explanation: The checkpoint record specified has been
on disk but removed only from the BSDS data set, so it may deleted from the Checkpoint Queue. 'startrba' and 'endrba'
still be archived, if needed. Use access method service rou- was the RBA range indicated in the deleted checkpoint record.
tines to copy the VSAM active log data set to a sequential System Action: The BSDS checkpoint queue is modified as
archive log data set. stated. This message is written to the SYSPRINT data set, not
to a console.
DSNJ424I csect-name INVALID CONTROL STATEMENT.
THE SECOND WORD MUST BE 'DDNAME' OR DSNJ429I RBA RANGE CONFLICTS WITH EXISTING
'*' OR MUST START WITH A PARENTHESIS. CHECKPOINT RECORD RBA RANGE
Explanation: The control statement is invalid. Explanation: The specified RBA range for the new check-
System Action: The control statement is ignored. DB2 uses point record either exists or overlaps an existing RBA range in
the SYSUT1 DD statement to locate the BSDS to be mapped. the checkpoint queue.
If the SYSUT1 DD statement is not available, the utility termi- System Action: The current utility is terminated. This
nates. message is written to the SYSPRINT data set, not to a
User Response: Refer to DB2 Utility Guide and Reference console.
for information on creating a print log map (DSNJU004) utility User Response: Run the print log map (DSNJU004) utility
control statement. Correct or remove the control statement against the SYSUT1 BSDS and SYSUT2 BSDS. Determine the
and rerun the job. correct RBA range and correct the STARTRBA and ENDRBA
parameters and rerun the utility.
DSNJ437I csect-name UNABLE TO ALLOCATE BSDS DSNJ701E csect-name MEMBER NAME (membername) IN
dsname. SVC 99 RTN CODE rc, RSN CODE BSDS DOES NOT MATCH MEMBER NAME
rsncd, INFO infocd. (membername) IN DB2 SYSTEM PARAMETERS
dsnzparm
Explanation: The print log map (DSNJU004) utility attempted
to allocate a BSDS data set using the MVS Dynamic Allocation Explanation: During startup, DB2 detected that the member
facility, but the system was unable to complete the allocation. name listed in its bootstrap data set (BSDS) does not match
The return code, reason code, and information code were the member name in the DB2 system parameters load module.
returned by the system's SVC 99 facility. See MVS/ESA
Operator Response: Notify the system programmer.
Programming: Authorized Assembler Services Guide for an
explanation of these codes. System Programmer Response: Restore the BSDS or
specify a different system parameters load module on the
System Action: The processing of the BSDS named in the
START DB2 command.
message is terminated. If this is the last (or only) BSDS to be
processed by this job, the job is terminated.
DSNJ702E csect_name GENERIC LU NAME lu-name IN
User Response: Refer to DB2 Utility Guide and Reference BSDS DOES NOT MATCH THE GENERIC LU
for information on required JCL statements. Correct the JCL NAME lu-name ASSOCIATED WITH THE DATA
and rerun the job. SHARING GROUP.
Problem Determination: If you suspect an error in DB2, refer Explanation: DB2 issues this message during startup when it
to Section 3 of DB2 Utility Guide and Reference for information detects that the generic LU name in the bootstrap data set
on identifying and reporting the problem. (BSDS) does not match the generic LU name in the shared
Collect the following diagnostic items listed in Appendix B, communications area (SCA) structure.
“Problem determination” on page 1051: 32. System Action: DB2 startup continues.
Operator Response: Notify the system programmer.
DSNJ438I csect-name THE xxx VALUE MUST END WITH
'yyy' System Programmer Response: Depending on the accuracy
of the BSDS value, take one of the following actions:
Explanation: The STARTRBA or ENDRBA value specified on
the NEWLOG statement is invalid. 'xxx' is either STARTRBA BSDS value is correct: DB2 startup will automatically
or ENDRBA, depending on which parameter is invalid. If 'xxx' replace the generic LU name in the SCA with the correct
equals STARTRBA, then 'yyy' equals '000' and if 'xxx' equals value. The BSDS for each member of this DB2 data
ENDRBA, then 'yyy' equals 'FFF'. sharing group must specify this same value for generic LU
name. If any member specifies a different value for
System Action: The current utility is terminated. This
generic LU name, use the change log inventory utility
message is written to the SYSPRINT data set, not to a
(DSNJU003) to change the generic LU name, as described
console.
in DB2 Utility Guide and Reference.
User Response: Correct the control statement and rerun the
BSDS value is not correct: DB2 startup will replace the
utility.
generic LU name in the SCA. The SCA value will be incor-
rect when startup is complete. Take the following actions
DSNJ700I csect_name ERROR ATTEMPTING TO ACCESS to correct this situation:
BSDS FOR PEER MEMBER ID= member-id,
– Stop this DB2 subsystem.
MEMBER NAME= member-name,
REASON-CODE= reason-code. – Use the change log inventory utility (DSNJU003) to
change the generic LU name of this member, as
Explanation: DB2 issues this message to identify the peer
described in DB2 Utility Guide and Reference.
member ID, and if known, the peer member name associated
with listed DB2 reason code. – Issue START DB2 for this member. START DB2 will
correct the generic LU name contained in the SCA.
System Action: An execution unit issues this message and
then, if this was an unconditional request, writes a record to
SYS1.LOGREC and requests an SVC dump. The execution DSNJ703E csect-name GROUP NAME (groupname) IN
unit then terminates. BSDS DOES NOT MATCH GROUP NAME
(groupname) IN DB2 SYSTEM PARAMETERS
Operator Response: Collect all relevant diagnostic materials,
dsnzparm
including SYS1.LOGREC, SVC dump, and console output of
peer and host. Explanation: During startup, DB2 detected that the group
name listed in its bootstrap data set (BSDS) does not match
System Programmer Response: Review the explanation for
the group name in the DB2 system parameters load module.
the associated DB2 reason code for further action.
Operator Response: Notify the system programmer.
System Programmer Response: Restore the BSDS or
specify a different system parameters load module on the
START DB2 command.
DSNJ712E csect-name SCA READ FAILURE ENCOUNT- DSNJ994I csect-name VSAM OPEN ERROR, ACBERRFLG
ERED. = error-code
Explanation: A failure occurred during command processing Explanation: VSAM OPEN failed with the indicated ACB
attempting to read from the SCA. error-code.
System Action: Command processing terminates unsuccess- Severity: 8 (error) if error is greater than or equal to 128; oth-
fully. erwise, 4 (warning)
System Programmer Response: Obtain SYS1.LOGREC and System Action: Processing terminates if the error code is
possible SVC dump for analysis. greater than or equal to 128; otherwise, processing continues
normally.
Problem Determination: Review the DB2 system console for
possible DSN7xxxx and/or SVC dump messages that could User Response: Notify the system programmer.
relate to this problem.
System Programmer Response: Follow standard VSAM
If you suspect an error in DB2, refer to Section 3 of DB2 Diag- diagnostic procedure. Refer to DFSMS/MVS: Macro
nosis Guide and Reference for information on identifying and Instructions for Data Sets. See also MVS/DFP V3R3 Diagnosis
reporting the problem. Guide for more information about the VSAM procedures.
DSNJ713E csect-name SCA WRITE FAILURE ENCOUNT- DSNJ995I csect-name VSAM PUT ERROR,RPLERREG =
ERED. return-code, RPLERRCD = reason-code
Explanation: A failure occurred during command processing Explanation: VSAM PUT failed with the indicated return-code
attempting to write to the SCA. and reason-code.
System Action: Command processing terminates unsuccess- Severity: 8 (error)
fully.
System Action: Processing terminates.
System Programmer Response: Obtain SYS1.LOGREC and
User Response: Notify system programmer.
possible SVC dump for analysis.
System Programmer Response: Follow standard VSAM
Problem Determination: Review the DB2 system console for
diagnostic procedure. Refer to DFSMS/MVS: Macro
possible DSN7xxxx and/or SVC dump messages that could
Instructions for Data Sets. See also MVS/DFP V3R3 Diagnosis
relate to this problem.
Guide for more information about the VSAM procedures.
If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
nosis Guide and Reference for information on identifying and DSNJ996I csect-name LOG PREFORMAT COMPLETED
reporting the problem. SUCCESSFULLY,nn RECORDS FORMATTED
Explanation: The active log data set has been preformatted
DSNJ991I csect-name START OF LOG DATA SET
successfully. 'nn' records (or VSAM control intervals) have
PREFORMATFOR JOB job-name step-name
been formatted.
Explanation: The active log data set preformat utility has
Severity: 0 (informational)
started.
Severity: 0 (informational) DSNJ997I csect-name LOG PREFORMAT TERMINATED
Explanation: Preformatting of the active log data set did not
DSNJ992I csect-name LOG DATA SET NAME = data-set-
complete successfully.
name
Severity: 8 (error)
Explanation: The indicated data-set-name is to be prefor-
matted. System Action: Processing terminates.
Severity: 0 (informational) User Response: Examine other error messages associated
with this job.
DSNJ993I csect-name LOG DATA SET IS NOT A VSAM
DATA SET DSNJ998I csect-name LOG DATA SET IS NOT EMPTY
Explanation: The input log dataset is not a VSAM data set. Explanation: The input log data set is not an empty data set.
The input data set must be empty to prevent the loss of actual
Severity: 8 (error)
log data.
System Action: Processing terminates.
Severity: 8 (error)
User Response: Use the AMS IDCAMS Service to define the
System Action: Processing terminates.
active log data set as a VSAM Linear data set.
User Response: Use the AMS IDCAMS Service to delete
and redefine the active log data set or correct the input log
data set name.
DSNL... Messages
DSNL001I DDF IS ALREADY STARTED
# A value of '-NONE' indicates that DB2 will not accept con-
# nections on this port.
Explanation: The distributed data facility (DDF) was already
active when you issued -START DDF command.
# This may be due to specifying 0 for the DSN6SYSP
# MAXDBAT installation parameter defined in DSNZPARM.
System Action: The issued command is not executed. # For more information, see the "MAX REMOTE ACTIVE"
# specification of the DSNTIPE installation panel in the DB2
DSNL002I DDF IS ALREADY STOPPED # Installation Guide.
domain
For non-data sharing systems, domain is the name returned DSNL007I DDF IS ABNORMALLY TERMINATING
by the DNS for the system's default IP address. For data Explanation: Abnormal termination of the distributed data
sharing systems, domain is the name that represents the DB2 facility (DDF) has started.
group. For the remote DB2 data sharing group, the DRDA
System Action: Abnormal termination of the DDF is starting.
requester should use a domain name of the following form:
location.sysplex.domainname
DSNL008I DDF ABNORMAL TERMINATION COMPLETE
where location is the DB2 location name, sysplex is the
Explanation: Abnormal termination of the distributed data
sysplex name in the COUPLExx parmlib member and
facility (DDF) has completed.
domainname is the domain name specified in the
TCPIP.DATA file. If you are an MVS requester, the domain System Action: The DDF has stopped.
name is specified in column IPADDR of catalog table
SYSIBM.IPNAMES. If you are a DB2 Connect requester, the DSNL009I INVALID DDF THREAD logical-unit-of-work-id
CATALOG TCPIP NODE command (or the equivalent SPECIFIED
command for your environment) is used to specify the TCP/IP
domain name. The value '-NONE' indicates that TCP/IP is Explanation: No distributed transaction with the specified
not supported, or TCP/IP initialization failed. 'logical-unit-of-work-id' exists.
System Action: The distributed data facility (DDF) -STOP Explanation: DDF cannot find the DDF communication
command is initiated. record in the BSDS.
System Action: DDF termination process is initiated.
DSNL012I VTAM TERMINATING DDF Operator Response: Notify the system programmer.
Explanation: The operator issued a HALT NET QUICK System Programmer Response: Use the change log inven-
command or a HALT NET CANCEL command, or VTAM is ter- tory to add the DDF communication record to the BSDS.
minating abnormally. This message can be issued any time
after -START DDF and occurs when VTAM is stopped, which Problem Determination: Collect the following diagnostic
can occur prior to DDF termination. This message is not issued item:
when DDF terminates normally. Print the contents of the BSDS using the print log map
System Action: Termination of the distributed data facility is utility.
initiated.
DSNL017I INVALID DDF RECORD FOUND IN BSDS
DSNL013I VTAM OPEN ACB FAILED ERROR=error-code Explanation: A invalid or incomplete DDF communication
Explanation: VTAM returned a nonzero return code after record was found in the BSDS.
DB2 invoked the OPEN ACB macro instruction during termi- System Action: DDF termination process is initiated.
nation of the distributed data facility (DDF). VTAM return codes
for OPEN error conditions are defined in VTAM for MVS/ESA Operator Response: Notify the system programmer.
Programming. System Programmer Response: Use the change log inven-
System Action: Termination of the distributed data facility is tory to add a valid DDF communication record to the BSDS.
initiated. Problem Determination: Collect the following diagnostic
Operator Response: Notify the system programmer. item:
System Programmer Response: Determine the cause of the Print the contents of the BSDS using the print log map
OPEN ACB failure, correct the error, and issue the -START utility.
DDF command.
DSNL018I VSAM ERROR READING DDF RECORD IN
Problem Determination: Refer to VTAM for MVS/ESA Pro-
BSDS RPLERRCD=error-code
gramming for failure analysis during an OPEN macro instruc-
tion. Explanation: A VSAM GET command was issued that
resulted in a nonzero return code. RPLERRCD 'error-code' is
DSNL014I VTAM CLOSE ACB FAILED ERROR=error-code the VSAM return code.
Explanation: VTAM returned a nonzero return code after System Action: Termination of the distributed data facility
DB2 invoked the CLOSE ACB macro instruction during termi- (DDF) is initiated.
nation of the distributed data facility (DDF). VTAM return codes Operator Response: Notify the system programmer.
for CLOSE error conditions are defined in VTAM for MVS/ESA
System Programmer Response: Determine the cause of the
Programming.
failure, fix the error condition, and issue the -START DDF
System Action: Termination of DDF continues. command.
Operator Response: Notify the system programmer. The cause of the failure is dictated by the VSAM return code.
The BSDS may have to be recovered by using a backup copy.
Problem Determination: Refer to the appropriate VSAM pub- The thread is processing in the application and has not
lications. made a request to DB2. The DISPLAY THREAD command
indicates this.
DSNL019I VTAM DOES NOT SUPPORT APPC FUNC- The user placed the thread on an MVS resource using the
TIONS ENQUE command. The CANCEL command has no effect
Explanation: The installed release of VTAM does not support on the thread until ENQUE completes and the thread
the advanced program-to-program communications (APPC) returns to DB2.
application program interface (API). The APPC API bit is not The thread is processing in VTAM and is waiting for a
set in the VTAM function-list vector in the access-method- response from a partner. The DISPLAY THREAD DETAIL
support vector list. command indicates this. In this case the thread does not
System Action: Termination of the distributed data facility terminate until VTAM returns to DB2. VTAM commands,
(DDF) is initiated. which will terminate the session or LU, can be used to
cause VTAM to return to DB2.
Operator Response: Notify the system programmer.
System Programmer Response: Determine whether the DSNL023I DDF IS ALREADY IN THE PROCESS OF
installed release of VTAM supports the APPC API. If VTAM STARTING
does not support the APPC API, a VTAM release that supports
Explanation: The distributed data facility (DDF) was starting
the APPC API must be installed before the DDF can be
when the -START DDF or -STOP DDF command was issued.
started.
System Action: The issued command is not executed.
DSNL020I KEYWORD 'THREAD' PARAMETER parameter
FORMAT IN ERROR DSNL024I DDF IS ALREADY IN THE PROCESS OF
STOPPING
Explanation: The parameter value specified for the logical-
unit-of-work ID on the CANCEL DDF THREAD has an invalid Explanation: The distributed data facility (DDF) was stopping
format. The correct form is 'netid.luname.luwunique', where: when the -STOP DDF or -START DDF command was issued.
netid A 1- to 8-character network ID. System Action: The -START or -STOP DDF command is not
executed.
luname A 1- to 8-character luname.
luwunique A 12-character hex number.
DSNL025I A DISTRIBUTED AGENT FOR luw-id=token
Luname and luwunique are separated by a '.' delimiter. Netid EXISTS AT THIS LOCATION BUT NOT AT SITE
is optional. If netid is specified, then netid and luname are sep- WITH LOCATION location AND LU luname
arated by a '.' delimiter. If netid is not specified, then the '.'
Explanation: The DDF error monitor has detected that a dis-
delimiter before luname is not present.
tributed agent exists at this location but not at the named
System Action: The specified thread is not canceled. partner location.
User Response: Determine the correct logical-unit-of-work ID Where
of the distributed thread that is to be canceled and reissue the
luw-id=token The logical unit of work ID of the thread
command.
followed by an '=' sign and a token
Problem Determination: Determine the correct value. The which may be used in place of 'luw-id' in
-DISPLAY THREAD command can be used to display all dis- any DB2 command that accepts 'luw-id'
tributed activity. as input.
location The location name of the partner site
DSNL021I command IS ACCEPTED where a thread with the same 'luw-id'
Explanation: The 'command' command has been accepted does not exist.
and asynchronous processing of 'command' has been initi- luname The 8-character LUNAME of the partner
ated. The command can only be -START or -STOP the distrib- location.
uted data facility.
Operator Response: Determine if the inconsistency is due to
System Action: The command was accepted and asynchro- network conditions or a DB2 error. If a DB2 error is suspected,
nous processing has been initiated. acquire documentation to diagnose the problem.
1. Console dump of DB2 address spaces (ssnmDBM1,
DSNL022I csect-name DDF THREAD logical-unit-of-work-id ssnmMSTR, ssnmDIST), VTAM, and user's address space
WAS PREVIOUSLY CANCELED at the requesting site.
Explanation: A command to cancel the distributed data 2. Console dump of DB2 address spaces (ssnmDBM1,
facility (DDF) thread logical-unit-of-work-id was previously ssnmMSTR, ssnmDIST), and VTAM at the server site.
issued. Either the CANCEL DDF THREAD or the CANCEL
THREAD command was entered. The thread is currently being 3. SYSLOG from requesting and server sites.
canceled. The CANCEL command terminates a thread only if 4. LOGREC from requesting and server sites.
the thread is processing in DB2 or is currently suspended by
If an indefinite inconsistency is suspected, use the CANCEL
DB2. The thread might not be processing in DB2 in these
DDF THREAD command to terminate the thread. If CANCEL
situations:
DDF THREAD fails to terminate the agent, use VTAM com-
mands to terminate the thread conversations.
3. SYSLOG from requesting and server sites. abnd The abend code or zeros if the abend
code is indeterminate.
4. LOGREC from requesting and server sites.
reason The DB2 reason code or zeros if the
If an indefinite inconsistency is suspected, use the CANCEL reason code is indeterminate.
DDF THREAD command to terminate the thread. If CANCEL
DDF THREAD fails to terminate the agent, use VTAM com- Problem Determination: Gather appropriate diagnostic infor-
mands to terminate the thread conversations. mation (refer to the System Programmer Response section of
the abend reason code specified in this message if applicable).
Problem Determination: Use the DB2 DISPLAY THREAD Refer to DSNL028I message(s) for the names of the other
command with DETAIL option at each DB2 subsystem to location(s).
display information about the agent and its conversations. Use
VTAM commands to display additional information about the
DSNL028I luw-id=token ACCESSING DATA preposition
conversations being used by the thread and also about
LOCATION location nettype netvalue
network conditions.
Explanation: This message follows DSNL027I and identifies
Collect the following diagnostic items listed in Appendix B,
a remote location where work might have been occurring for
“Problem determination” on page 1051: 1, 3, 5.
the distributed thread. This message is informational and with
the DSNL027I message identifies a remote location where
| DSNL027I dis-agent-type DISTRIBUTED AGENT WITH diagnostic information might have to be collected.
| LUW-ID luw-id=token THREAD-INFO thread-info
| RECEIVED ABEND=abnd REASON=reason luw-id=token The logical unit-of-work ID of the thread
followed by an '=' sign and a token
Explanation: A distributed agent has abended at this which may be used in place of 'luw-id' in
location. This message will be followed by zero or more occur- any DB2 command that accepts 'luw-id'
rences of DSNL028I, each of which describes a remote as input.
location where the distributed agent also exists and where
diagnostic information might also need to be collected. This preposition 'FOR' if the thread is a database access
message is informational and with the DSNL028I message(s) thread and 'AT' if the thread is an allied
identifies the remote locations where diagnostic information thread that has distributed activity.
may have to be collected.
location The LOCATION name of the remote site. A DRDA exception condition, detected at the application
requester, is one of the following:
nettype Identifies the type of network used to
access the remote site. There are two An error reply message and severity code received from
possible values: the server.
LU -- indicates that VTAM is used to A parsing error detected while processing a reply message
connect to the remote site. or reply data object
IPADDR -- indicates that TCP/IP is used A DRDA protocol violation, (for example, an object
to connect to the remote site. returned that is not valid for this command).
netvalue The network address of the remote The variables have the following meanings:
location. netvalue can be blank.
luwid The logical unit of work (LUW) ID that
If nettype is LU, netvalue specifies the identifies the thread and is also included
VTAM LU name of the remote in the trace record.
location.
reason The DB2 reason code for this specific
If nettype is IPADDR, netvalue speci- error.
fies the dotted decimal IP address of
error id The module name concatenated with a
the remote location.
4-byte source id that uniquely determines
Problem Determination: See message DSNL027I. the source within the module where the
exception is encountered.
DSNL029I DDF IS NOT INITIALIZED correlation-id The correlation identifier of the thread that
Explanation: A -START DDF or -STOP DDF command was detected the DRDA exception condition.
issued before DDF was initialized during DB2 startup proc- Correlation-IDs beginning with '0nn',
essing. where nn is a number from 01 to 28, iden-
tify system agents.
Operator Response: Wait for the DSN9022I 'START DB2'
NORMAL COMPLETION message and re-issue the command. connection-id The connection name of the thread that
detected the DRDA exception condition.
DSNL030I csect-name DDF PROCESSING FAILURE FOR ifcid The IFCID number of the trace record that
LUWID=luwid AUTHID=authid REASON=reason was written.
Explanation: A requesting conversation was terminated seq-no The IFCID sequence number associated
because of DDF processing failure. The requesting agent is with the trace record. The trace record
identified by the 'luwid' and 'authid' values, if they are avail- contains information that can be used to
able. If the authorization ID is not available, the value determine what caused the DRDA excep-
'-UNKNOWN' will be displayed. If the 'luwid' is not available, tion condition, and is written to statistics
the string 'netid.luname.000000000000' will be displayed, class 4. Statistics class 4 is directed to
describing the LU that made the request. SMF by default during DB2 installation,
and must be directed to a permanent des-
The reason code in this message describes the nature of the tination (SMF or GTF) for the trace record
DDF processing failure. to be accessible. The message and the
System Action: The system will eventually abend the data- trace record are only written the first time
base access agent. an error is detected. This avoids flooding
the console and the trace. The sequence
Operator Response: Notify the system programmer for anal- number is printed in hexadecimal.
ysis.
If the sequence number is zero this has
System Programmer Response: If you suspect an error in been caused by one of two conditions:
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
for information on identifying and reporting the problem. statistics class 4 was not directed to a
permanent destination
Problem Determination: Inspect the reason code and deter-
mine if the system is operating as expected. Collect the fol- statistics class 4 was directed to the
lowing diagnostic items listed in Appendix B, “Problem resident trace table as its permanant
determination” on page 1051: 1, 2, 5. destination.
If this message first occurred because sta-
DSNL031I csect-name DRDA EXCEPTION CONDITION IN tistics class 4 was not directed to a per-
RESPONSE FROM SERVER manent destination, then the same
LOCATION=location FOR THREAD WITH message recurs later (along with trace
LUWID=luwid REASON=reason code ERROR record) when the statistics class is
ID=module_name and source id CORRELATION directed to the resident table as its perma-
ID=correlation-id CONNECTION ID=connection-id nent destination instead of SMF or GTF.
IFCID=ifcid SEE TRACE RECORD WITH IFCID System Action: An alert was generated. Additionally, the
SEQUENCE NUMBER=seq-no system wrote a trace record with IFCID=ifcid to statistics class
Explanation: A DRDA exception condition was detected in 4 that can be used to diagnose the problem.
response data returned from the application server (AS) with
location name location.
Problem Determination: Determine the destination of statis- directed to the resident table as its permanent desti-
tics class 4 and locate and print the trace record with nation instead of SMF or GTF.
SEQUENCE NUMBER=seq-no. The reason code is described
System Action: An alert was generated and the system
in “Section 4. DB2 Codes” on page 577. The description of the
wrote a trace record with IFCID=ifcid to statistics class 4 that
reason code can be used in conjunction with the publication
can be used to diagnose the problem.
Distributed Relational Database Architecture Reference to
determine the type of DRDA exception that has been detected. Operator Response: Notify the system programmer for anal-
Use the procedures described in Section 5 of DB2 Diagnosis ysis.
Guide and Reference to determine the problem and which System Programmer Response: Determine the destination
system is responsible. of statistics class 4 and locate and print the trace record with
SEQUENCE NUMBER=seq-no. The reason code is described
DSNL032I csect-name DRDA EXCEPTION CONDITION IN in “Section 4. DB2 Codes” on page 577. The description of the
REQUEST FROM REQUESTER reason code can be used in conjunction with the publication
LOCATION=location FOR THREAD WITH Distributed Relational Database Architecture Reference to
LUWID=luwid REASON=reason code ERROR determine the type of DRDA exception that has been detected.
ID=module_name and source id IFCID=ifcid SEE Use the procedures described in DB2 Diagnosis Guide and
TRACE RECORD WITH IFCID SEQUENCE Reference to determine the problem and which system is
NUMBER=seq-no responsible.
Explanation: A DRDA exception condition was detected
while processing a command or command data received from DSNL033I csect-name DDF TERMINATION SCHEDULED
the application requester (AR) with location name location. A DUE TO DETECTION OF ABEND abend
DRDA exception condition, detected at the application server REASON reason
(AS), is a parsing error detected while processing a command Explanation: A severe error was detected during DDF proc-
or a command data object. essing. DDF processing can no longer continue so DDF termi-
location This field contains one of the following: nation has been scheduled. 'Csect-name' is the DB2 module
that detected the condition and requested DDF termination.
The requester's relational database name
(location name) The abend and reason may also contain additional information
about the cause.
The requester's VTAM LU name (<luname>)
abend The abend code or zeros if no abend is associ-
The requester's dotted decimal IP address
ated with the termination of DDF.
(nnn.nnn.nnn.nnn)
If the abend was a DB2 04E abend, the reason
luwid The logical unit of work (LUW) ID that identifies the
code will contain additional information about the
thread and is also included in the trace record, or
abend.
'NETID.LUNAME.000000000000' if the error
detected involves an invalid FMH5. reason The DB2 reason code or zeros if no DB2 reason
code is associated with the termination of DDF.
reason The DB2 reason code for this specific error.
If no abend is associated with the problem, the
error id The module name concatenated with a 4-byte
reason code describes the cause for the termi-
source id that uniquely determines the source within
nation.
the module where the exception was encountered.
System Action: Termination of the distributed data facility
ifcid The IFCID sequence number associated with the
(DDF) is initiated.
trace record. The trace record contains information
that can be used to determine what caused the Operator Response: Notify the system programmer for anal-
DRDA exception condition, and is written to statis- ysis.
tics class 4. Statistics class 4 is directed to SMF by System Programmer Response: Determine the cause of the
default during DB2 installation, and must be failure. Correct the condition and restart DDF using the
directed to a permanent destination (SMF or GTF) -START DDF command.
for the trace record to be accessible. The message
and the trace record are only written the first time Problem Determination: If an abend is associated with the
an error is detected. This avoids flooding the failure, a dump may have been provided. LOGREC will also
console and the trace. The sequence number is contain information about the abend.
printed in hexadecimal.
If the sequence number is zero this has been DSNL034E DDF CANNOT BE STARTED BECAUSE OF
caused by one of two conditions: BSDS INCONSISTENCIES, ORIGINAL
LUNAME=luname1, BSDS LUNAME=luname2,
statistics class 4 was not directed to a perma- ORIGINAL LOCATION=location1, BSDS
nent destination LOCATION=location2
statistics class 4 was directed to the resident Explanation: The LUNAME or the LOCATION name stored
trace table as its permanant destination. in the bootstrap data set (BSDS) was changed since the dis-
If this message first occurred because statistics tributed data facility (DDF) was last started, but DDF still has
class 4 was not directed to a permanent destina- resynchronization responsibility with one or more partner
tion, then the same message recurs later (along logical units using the old LUNAME and LOCATION name.
with trace record) when the statistics class is Both the original and current BSDS values of LUNAME and
LOCATION name are displayed.
luname1 The LUNAME required for resynchronization Use the DISPLAY THREAD TYPE(INDOUBT) command to
find the LOCATION that has coordinator responsibility for
luname2 The LUNAME currently stored in the BSDS
the indoubt LUW. Contact that location and determine
location1 The LOCATION name required for resynchroniza- whether the LUW committed or aborted. Then use the
tion RECOVER INDOUBT command to cause the indoubt
location2 The LOCATION name currently stored in the BSDS DBAT to be resolved with the same decision.
System Action: DDF cannot be started until the inconsisten- After the indoubt thread is resolved, reissue the STOP
cies are corrected. DDF command.
Operator Response: Inform the database administrator. Issue the STOP DDF MODE(FORCE) command. The
indoubt thread remains indoubt and can be resolved by
Database Administrator Action: You have the following using automatic resynchronization after DDF is started
options, depending on whether there is a requirement to again, or it can be resolved manually as described above.
change the LUNAME or LOCATION name in the BSDS:
If the names were changed in error, use the change log DSNL036I DDF THREAD logical-unit-of-work-id SPECIFIED
inventory (DSNJU003) utility to change the LUNAME IS INDOUBT
and/or LOCATION name back to the correct value. Then
Explanation: A database access thread that is indoubt
START DDF.
cannot be canceled by using the -CANCEL DDF THREAD
If the name must be changed, you must first remove all of command.
the resynchronization responsibility that DB2 had using the
System Action: The specified thread is not canceled.
old names. You can purge this information, allow automatic
resynchronization to take place, or use a combination of Operator Response: Use the -DISPLAY THREAD TYPE(*)
both. command to display all distributed activity.
You can purge resynchronization information by using the
RESET INDOUBT command with the FORCE option. You DSNL037I csect-name RESET GENERICLU lu SUC-
can purge all information regardless of partner name CESSFUL
(LOCATION (*)), or you can selectively purge by specifying Explanation: The RESET GENERICLU command success-
a location name. DDF does not have to be started to use fully purged the VTAM sysplex information from shared
this command. You can use the DISPLAY THREAD memory.
command to generate a report of indoubt threads. This
report indicates all resynchronization responsibility known lu The value supplied on the RESET GENERICLU
by DB2. command
If you do not purge the resynchronization information, or System Action: The VTAM information contained in the
only selectively purge, and you want automatic resynchro- sysplex shared memory for the indicated LU is purged.
nization to occur before changing the names, you must first
use the change log inventory (DSNJU003) utility to change DSNL038E csect-name RESET GENERICLU lu FAILED
the LUNAME and/or LOCATION name back to the correct DUE TO VTAM RTNCD=xx and FDB2=yy
value. Then START DDF. At this point, automatic resyn-
chronization begins. You can monitor the progress by peri- Explanation: The VTAM
odically using the DISPLAY THREAD command for TYPE CHANGE,OPTCD=(SYN,ENDAFFIN) macro returned an unex-
(INDOUBT) threads. Resynchronization does not complete pected return code, which is described by the indicated VTAM
until all needed communications paths are available and all RTNCD and FDB2 values.
needed partner logical units are available. If you cannot lu The value supplied on the RESET GENERICLU
wait for availability, use the RESET INDOUBT command command
with the FORCE option to purge information associated
xx The hexadecimal value of the VTAM RTNCD field
with unavailable partners.
yy The hexadecimal value of the VTAM FDB2 field
DSNL035I DDF CANNOT BE STOPPED BECAUSE AN System Action: VTAM was not able to purge the sysplex
INDOUBT DATA BASE ACCESS THREAD shared memory information for the indicated LU.
EXISTS
System Programmer Response: Refer to VTAM for
Explanation: DDF is the connection manager for a database MVS/ESA Programming for the meaning of the VTAM RTNCD
access thread (DBAT) that is indoubt. A STOP DDF and FDB2 values.
MODE(QUIESCE) command is rejected until the indoubt
logical unit of work is resolved.
DSNL039E csect-name RESET GENERICLU lu FAILED
System Action: DDF is not stopped. DUE TO ACTIVE VTAM SESSIONS
Operator Response: Inform the database administrator. Explanation: The RESET GENERICLU command was not
accepted because one or more active VTAM sessions exist to
Database Administrator Action: You have the following
the indicated LU. All VTAM sessions must be terminated
options:
before the command is accepted.
Wait for automatic resynchronization to be performed.
lu The value supplied on the RESET GENERICLU
When this occurs, either message DSNL407I or DSNL415I
command
is displayed.
System Action: The command is rejected.
After the indoubt thread is resolved, reissue the STOP
DDF command.
System Programmer Response: Terminate the VTAM ses- DB2 server in the group. The requester is not provided the
sions to the remote LU and reissue the -RESET GENERICLU names of other DB2 systems in the group, so all sessions from
command. the requester are routed to the local DB2 server.
System Programmer Response: Install MVS Version 5
DSNL040E csect-name RESET GENERICLU lu FAILED Release 2 or a later release if you want to have the DB2
DUE TO INDOUBT RESOLUTION INFORMA- sysplex TP return multiple NETID.LUNAME values to the
TION requester or refer to the DSNL044I on why DB2 could not reg-
Explanation: The RESET GENERICLU command was not ister with WLM.
accepted because information is currently being retained for
resolution of indoubt threads for the indicated partner LU. The DSNL043I csect-name RESET GENERICLU luname
DISPLAY THREAD TYPE(INDOUBT) command can be used INVALID
to view this information.
Explanation: The luname value specified is invalid. The
correct format is either a
lu The value supplied on the RESET GENERICLU
1 to 8 character luname, or
command
1 to 8 character network ID, a period, and a 1 to 8 char-
System Action: The command is rejected.
acter luname.
System Programmer Response: Make sure that all indoubt
System Action: The parameter is ignored. Processing con-
threads at the remote site are resolved before issuing the
tinues with the next luname, if any.
RESET GENERICLU command.
User Response: Determine the correct luname and reissue
When DB2 performs automatic indoubt thread resolution, the
the command.
information contained in the DISPLAY THREAD
TYPE(INDOUBT) display is purged at the end of the resyn-
chronization process. | DSNL044I csect-name MVS macname MACRO FAILED
WITH RETCODE=xx AND RSNCODE=yy
If required, use the -RESET INDOUBT command to manually
purge the indoubt resolution information. Explanation: An MVS Workload Manager (WLM) macro
returned an unexpected return code, which is described by the
indicated RETCODE and RSNCODE values. DDF uses MVS
DSNL041E csect-name DB2 GENERIC LU NAME
Workload Manager macros to obtain data sharing sysplex
REQUESTED, BUT REQUIRED VTAM LEVEL
routing information for incoming DDF work requests, and to
IS NOT INSTALLED
establish an MVS enclave for the execution environment of the
Explanation: The DB2 GENERIC LUNAME installation option distributed thread.
was specified. This option requires VTAM Version 4 Release 2
macname The name of the MVS macro that returned the
or a later release.
unexpected return code. The possible values
System Action: The DB2 GENERIC LUNAME installation are:
option is ignored.
IWMSRSRG: Register with WLM for
System Programmer Response: If the DB2 GENERIC sysplex routing.
LUNAME is required, install VTAM Version 4 Release 2 or a
IWMSRSRS: Request sysplex routing
later release.
information.
IWMSRDRS: Deregister with WLM for
DSNL042E csect-name DB2 SYSPLEX TP WAS INVOKED
sysplex routing.
BY LU lu, BUT REQUIRED MVS LEVEL IS NOT
INSTALLED IWMECREA: Create enclave.
Explanation: A request for the DB2 sysplex transaction xx The hexadecimal value of the MVS
program (TP) was received by a DB2 server that is a member RETCODE field.
of a data sharing group. The DB2 sysplex TP is used by the
yy The hexadecimal value of the MVS
requesting systems to determine which DB2 systems within the
RSNCODE field.
group are currently available for DDF conversations.
System Action: If a sysplex routing macro failed, then
The DB2 sysplex TP uses Work Load Manager (WLM) func-
sysplex routing may not be performed in which case, all SQL
tions in MVS Version 5 Release 2 or a later release to balance
statements received from the client will be processed by this
distributed workload among the DB2 systems in the group.
DB2 subsystem. If an enclave macro failed, the distributed
Because the required MVS release is not installed or DB2 is
thread may not be able to execute in an MVS enclave,
not registered with WLM, the DB2 sysplex TP is not able to
however the distributed thread will continue to execute as an
provide the requested information.
MVS SRB.
lu The name of the LU in the network that invoked the
System Programmer Response: Refer to MVS/ESA
DB2 sysplex TP
Programming: Workload Management Services for the
System Action: The DB2 sysplex TP returns the meaning of the MVS RETCODE and RSNCODE values.
NETID.LUNAME of the local DB2 system as the only available
It may be necessary to stop and restart DDF to correct the 101 gss_import_name failed
problem. If this is the case and it is not possible to do so 102 gssdce_register_acceptor_identity failed
immediately, all other DDF activity not requiring DCE services The RETURN STATUS contains error information about the
will process normally. function that failed. The RETURN STATUS contains OS/390
User Response: Attempt the connection request again. If the DCE return information that is described in OS/390 DCE Mes-
connection request fails for the same reason, contact the sages and Codes.
system programmer. System Action: DDF cannot complete the processing that
System Programmer Response: Take the actions indicated enable it to perform DCE-related operations. DSNL056 is also
for the following errors: issued to the console.
20301 Refer to DSNL057 for further information and correc- It may be necessary to stop and restart DDF to correct the
tive actions. problem. If this is the case and it is not possible to do so
immediately, all other DDF activity not requiring DCE services
20302 DDF preallocates fixed-sized storage cells large will process normally.
enough to accommodate the largest expected DCE
authentication request. This request exceeds this System Programmer Response: Verify that DCE is opera-
amount. This connection request cannot be proc- tional. If it is not, correct the problem. Refer to DSNL054 and
essed, although other requests requiring less storage DSNL056 for additional information.
If DCE is operational, determine the reason locname cannot be For ERROR ID 210, verify that RACF has been properly set up
enrolled by examining the RETURN STATUS and MINOR to handle cross-linked DCE information. If this is correct, verify
codes. whether cross-linking information has been added for the user
attempting access to the database resource. If not, contact the
Contact the DCE security administrator to determine if
RACF administrator and DCE security administrator to perform
locname is a valid principal in the DCE security registry.
this task.
Contact the RACF security administrator to determine if
If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
locname is a valid OMVS user.
nosis Guide and Reference for information on identifying and
If locname has not been properly defined to DCE and RACF reporting the problem.
security, then correct the problem. Refer to DSNL056 for addi-
Problem Determination: Collect the following diagnostic
tional information.
items listed in Appendix B, “Problem determination” on
If you suspect an error in DB2, refer to Section 3 of DB2 Diag- page 1051: 1, 4, 5.
nosis Guide and Reference for information on identifying and
reporting the problem.
DSNL053I csect-name DDF COMPLETED DCE-RELATED
Problem Determination: Collect the following diagnostic PROCESSING BUT COULD NOT RELEASE
items listed in Appendix B, “Problem determination” on TEMPORARY DCE WORK STORAGE. ERROR
page 1051: 1, 4, 5. ID=errid RETURN STATUS=major
(MINOR=minor) FUNCTION=function-name
DSNL052E csect-name DB2 ENCOUNTERED AN ERROR Explanation: DB2 has received a CONNECT request from a
WHILE ATTEMPTING TO VALIDATE DCE DRDA requester that requires DCE authentication. DDF
AUTHENTICATION TOKENS FROM A REMOTE encountered an error in releasing temporary work storage
USER AT LOCATION=locname LUWID=luwid acquired by DCE as part of function processing.
ERROR ID=errid RETURN STATUS=major
The FUNCTION name may be one of the following:
(MINOR=minor)
ENROLL_DB2 A set of DCE operations per-
Explanation: DB2 has received a CONNECT request from a
formed to enroll DB2 as a
DRDA requester that requires DCE authentication. DDF
DCE-based server.
encountered an error in performing one of the operations
required to authenticate the DCE user identity or to determine ACCEPT_PRINCIPAL A set of DCE and RACF oper-
the corresponding RACF user ID. ations performed to accept
DCE security tokens from a
For ERROR IDs greater than 20000, message DSNL050E was
DCE user and to derive the
also issued and describes the ERROR ID listed.
corresponding RACF user ID
ERROR IDs less than 20000 may be one of the following: for that user.
201 gss_import_name failed ERROR IDs may be one of the following:
202 gss_acquire_cred failed
103 gss_release_name failed
203 gss_accept_sec_context failed
211 gss_release_name failed
204 gss_display_name failed
212 gss_release_name failed
205 gssdce_extract_creds_from_sec_context failed
213 gss_release_cred failed
206 sec_cred_get_initiator failed
214 gss_delete_sec_context failed
207 sec_cred_get_pa_data failed
215 rpc_string_free failed
208 uuid_to_string failed
216 rpc_string_free failed
209 uuid_to_string failed
217 gss_release_buffer failed
210 __convert_id_np failed
218 gss_release_buffer failed
The RETURN STATUS contains error information about the
The RETURN STATUS contains error information about the
function that failed. For all ERROR IDs except 210, the
operation that failed. The RETURN STATUS contains OS/390
RETURN STATUS contains OS/390 DCE return information
DCE return information that is described in OS/390 DCE Mes-
that is described in OS/390 DCE Messages and Codes. If
sages and Codes. If MINOR is provided, it contains the DCE
MINOR is provided, it contains the DCE minor code.
minor code.
For ERROR ID 210, RETURN STATUS contains an errno
System Action: Connection processing continues. The
described in IBM C/C++ for MVS/ESA Library Reference.
storage will be recovered when DDF is stopped.
MINOR contains errno2 information for the operation.
System Programmer Response: No action is required. If
System Action: Connection processing terminates.
this error occurs repeatedly and the storage loss appears to be
It may be necessary to stop and restart DDF to correct the negatively affecting DDF operation, then stop and restart DDF
problem. If this is the case and it is not possible to do so to clear the problem. Report the problem. Refer to Section 3 of
immediately, all other DDF activity not requiring DCE services DB2 Diagnosis Guide and Reference for information on identi-
will process normally. fying and reporting the problem.
System Programmer Response: Verify that DCE is opera- Problem Determination: Collect the following diagnostic
tional. If it is not, correct the problem. items listed in Appendix B, “Problem determination” on
If DCE is operational, determine the cause of the failure by page 1051: 1, 4, 5.
examining the return status and minor code.
If you suspect an error in DB2, refer to Section 3 of DB2 Diag- If DSNL059 has been issued, DDF
nosis Guide and Reference for information on identifying and was able to reset from the error
reporting the problem. and it will automatically attempt to
re-enable for DCE-related proc-
Problem Determination: Collect the following diagnostic
essing with the next DRDA
items listed in Appendix B, “Problem determination” on
CONNECT request requiring DCE
page 1051: 1, 4, 5.
authentication. No action is
required.
DSNL057I csect-name DDF CANNOT PERFORM
DCE-RELATED PROCESSING: DDF-STOPPING No action is required. Wait for DDF
REASON=reason FAILURE TOKEN=token to start again and retry the request.
Explanation: DB2 has received a CONNECT request from a NOT-ENABLED Determine why DDF was not able
DRDA requester that requires DCE authentication but cannot to enable for DCE-related proc-
process it because DDF is unable to perform DCE-related essing by examining related
functions. REASON explains why this is so. FAILURE TOKEN console messages, especially
contains serviceability information. DSNL056.
REASON may be one of the following: ENABLE-ERROR Determine why DDF was not able
to enable for DCE-related proc-
ERROR An error occurred while performing essing by examining related
DCE-related processing. DDF is no console messages, especially
longer enabled for DCE-related DSNL056 and DSNL058.
processing.
NOT-RESPONDING Determine if DDF processing to
DDF-STOPPING DDF is stopping. DDF cannot enable DCE-related fucntions is
perform DCE-related functions until encountering errors by examining
DDF is started again. console messages
NOT-ENABLED DDF automatically attempts to (DSNL050-DSNL064). Look for a
enable DCE-related processing DSNL054 message that is not
when it receives a connection paired with a DSNL055 or
request from a DRDA requester DSNL056 message. Look for
requiring DCE authentication. An threads that may be hung in DCE
error has occurred during this proc- processing by issuing the
essing. -DISPLAY THREADS(*)
LOCATION(*) command and
ENABLE-ERROR An unrecoverable error occurred looking for STATUS of RD. If any
and DDF is unable to perform threads are hung in this manner, it
operations needed to enable for will be necessary to issue -STOP
DCE-related processing. DDF MODE(FORCE) to clear the
NOT-RESPONDING DDF received a previous DRDA error.
CONNECT request requiring DCE If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
authentication and is already per- nosis Guide and Reference for information on identifying and
forming operations to enable DDF reporting the problem.
to perform DCE-related functions.
That processing may be taking Problem Determination: Collect the following diagnostic
longer than expected or it may items listed in Appendix B, “Problem determination” on
have encountered a fatal error. The page 1051: 1, 4, 5.
other requester may be hung.
System Action: The connection request is terminated. Other DSNL058I csect-name DDF DISABLED FOR
messages may also have been issued. DCE-RELATED PROCESSING. TOKEN=token.
It may be necessary to stop and restart DDF to correct the Explanation: DDF is disabled for DCE-related processing.
problem. If this is the case and it is not possible to do so Either DDF is being stopped or DDF encountered a fatal error
immediately, all other DDF activity not requiring DCE services while performing DCE-related operations. The error may have
will process normally. occurred in DDF processing or in DCE processing. TOKEN
contains serviceability information.
User Response: Attempt the connection request again. If the
connection request fails for the same reason, contact the System Action: If DDF is being stopped, DDF stop proc-
system programmer. essing continues.
System Programmer Response: Take the actions indicated If a fatal error has occurred, DB2 attempts to reset itself and
for the following errors: allow for future re-enablement. The next DRDA CONNECT
request requiring DCE authentication will then trigger oper-
ERROR Determine the cause of the failure ations that re-enable DDF for DCE-related functions. If DDF
by examining related console mes- cannot reset itself or if the enablement operations fail, all
sages, especially DSNL058 to DRDA CONNECT requests requiring DCE authentication are
determine if a fatal error has rejected.
occurred but has not been recov-
ered. It may be necessary to stop and restart DDF to correct the
problem. If this is the case and it is not possible to do so
# DSNL066I csect-name STOP DDF MODE(SUSPEND) COM- DSNL200I DISPLAY LOCATION REPORT FOLLOWS—
# PLETE
Explanation: This message is the title for the -DISPLAY
# Explanation: DDF suspend processing has completed suc- LOCATION command report output. It precedes the other mes-
# cessfully. DDF has suspended all inbound activity. sages generated by this command. This message is followed
by messages DSNL201I and DSNL202I. The final message for
# System Action: Processing continues normally.
the report is be message DSNL205I.
# DSNL067I csect-name CURRENT DDF STATE DOES NOT System Action: The -DISPLAY LOCATION command con-
# PERMIT START DDF tinues normally.
# DSNL072I csect-name WAIT TIME EXPIRED, DDF DSNL202I location prdid linkname requesters servers convs
# RESUME PROCESSING INITIATED
Explanation: This message lists the status of communi-
# Explanation: The DDF suspend process has not completed cations between a remote location and this DB2 subsystem.
# successfully in the period of time specified for the WAIT Information about the status appears below:
# keyword, so DDF resume processing has been initiated. For
Item Description
# information about the STOP DDF command, see DB2
# Command Reference. location A 16-byte name for the remote site.
# System Action: DDF resume processing has been initiated. prdid Identifies the database product at the
location in the form nnnvvrrm.
# DSNL073I csect-name CANCEL TIME EXPIRED, CANCEL nnn Identifies the database product.
# ACTIVE DBAT PROCESSING HAS BEEN INITI- For example, DSN=DB2.
# ATED
vv Product version.
# Explanation: The DDF suspend process has not completed
rr Product release.
# successfully in the period of time specified for the CANCEL
# keyword so DDF is cancelling all active data base access m Product modification level.
# threads (DBATS). For information about the STOP DDF # Note: The PRDID will contain blanks if
# command, see DB2 Command Reference. # DB2 is behaving as a DRDA
# System Action: DDF is attempting to terminate all active # server via a TCP/IP connection.
# database access threads. # As a server, DB2 cannot uniquely
# identify the requester. TCP/IP pro-
# vides DB2 with the requester's IP
# address and ephemeral port.
# However, the ephemeral port will
# be different for each inbound con-
# nection. Thus, effectively, DB2
See message DSNL204I for descriptions of these items. local -- specifies the local DB2 system's
TCP/IP port number
The message number and subsystem recognition character are
not included in this message. However, L203 is included in the remote -- specifies the remote partner's
message text to identify the message. TCP/IP port number
Explanation: The message indicates the -DISPLAY System Action: Alert A004 is generated. A trace record
LOCATION report was truncated. The report was generated in whose IFCID=207 is written. Indoubt resolution with the coordi-
response to a command from an MVS console and more than nator completes.
254 response messages were generated. Only 254 response System Programmer Response: Determine the destination
messages are returned. of statistics class 4 and locate and print the trace record with
System Action: Command processing completes. The trun- SEQUENCE NUMBER='seq-no1'. Call the database adminis-
cated report is written to the MVS console. trator.
User Response: Reissue the -DISPLAY LOCATION request Database Administrator Action: Correct the damage. This is
specifying a specific location or list of locations. not an easy task. Since the time of the heuristic action, the
data that was aborted with the RECOVER INDOUBT command
might have been used by many applications - read and/or
DSNL400E INDOUBT THREAD RESOLUTION WITH COOR-
write. Correcting the damage might involve reversing the
DINATOR location SHOWS HEURISTIC
effects of these applications as well. Tools available are:
DAMAGE FOR luwid=token - REMOTE COMMIT
VERSUS LOCAL ABORT. INFORMATION The statistics trace class 4 contains an IFCID 207 trace
RECORDED IN TRACE RECORD WITH record. This record contains the RBA of the first DB2 log
IFCID=207 AND IFCID SEQUENCE record written for the logical unit of work whose LUWID is
NUMBER=seq-no1 AND IN TRACE RECORD included in this message.
WITH IFCID=203 AND IFCID SEQUENCE
NUMBER=seq-no2
The DSN1LOGP utility provides a summary report that System Action: Alert A004 is generated. A trace record
identifies the table spaces modified by the logical unit of whose IFCID=207 is written. Indoubt resolution with the coordi-
work and any downstream participant locations involved in nator completes.
the logical unit of work.
System Programmer Response: Determine the destination
DISPLAY THREAD TYPE(INDOUBT) displays the RBA of of statistics class 4. Locate and print the trace record with
the first DB2 log record written for the logical unit of work SEQUENCE NUMBER='seq-no1'. Call the database adminis-
whose LUWID is included in this message. This informa- trator.
tion continues to appear in the DISPLAY THREAD report
Database Administrator Action: Correct the damage. This is
until it is purged with the RESET INDOUBT command.
not an easy task. Since the time of the heuristic action, the
Contact your IBM Support Center for further assistance. data that was committed with the RECOVER INDOUBT
command might have been used by many applications - read
DSNL401E INDOUBT THREAD RESOLUTION WITH COOR- and/or write. Correcting the damage might involve reversing
DINATOR location SHOWS HEURISTIC the effects of these applications as well. Tools available are:
DAMAGE FOR luwid=token - REMOTE ABORT The statistics trace class 4 contains an IFCID 207 trace
VERSUS LOCAL COMMIT. INFORMATION record. This record contains the RBA of the first DB2 log
RECORDED IN TRACE RECORD WITH record written for the logical unit of work whose LUWID is
IFCID=207 AND IFCID SEQUENCE included in this message.
NUMBER=seq-no1 AND IN TRACE RECORD
The DSN1LOGP utility provides a summary report that
WITH IFCID=203 AND IFCID SEQUENCE
identifies the table spaces modified by the logical unit of
NUMBER=seq-no2
work, and any downstream participant locations involved in
Explanation: DB2 has participant responsibility in the logical the logical unit of work.
unit of work identified by 'luwid=token'. Resolution with the
DISPLAY THREAD TYPE(INDOUBT) displays the RBA of
coordinator identified by 'location' shows heuristic damage
the first DB2 log record written for the logical unit of work
occurred. The DB2 thread representing the logical unit of work
whose LUWID is included in this message. This informa-
was previously resolved with the RECOVER INDOUBT
tion continues to appear in the DISPLAY THREAD report
command. The action taken was to commit the thread. Subse-
until it is purged with the RESET INDOUBT command.
quently, communication was reestablished with the coordinator
and resolution shows that the coordinator aborted the thread. Contact your IBM Support Center for further assistance.
The application was told that commit failed.
Any resources updated at the coordinator were rolled back. DSNL402I INDOUBT THREAD RESOLUTION WITH PAR-
Updated resources at this DB2 were committed. TICIPANT location SHOWS HEURISTIC
DAMAGE FOR luwid=token - REMOTE COMMIT
location The field contains one of the following:
VERSUS LOCAL ABORT. INFORMATION
The relational database name (location RECORDED IN TRACE RECORD WITH
name) IFCID=207 AND IFCID SEQUENCE
NUMBER=seq-no
The VTAM LU name (<luname>)
Explanation: DB2 has coordinator responsibility for the
The dotted decimal IP address
logical unit of work identified by 'luwid=token'. Resolution with a
(nnn.nnn.nnn.nnn).
participant shows heuristic damage occurred. The participant
luwid=token The global logical unit of work id and the local identified by 'location' manually resolved the indoubt thread
token that identify the thread. identified by 'luwid=token'. The action taken was to commit the
seq-no1 The IFCID sequence number associated with thread. This is inconsistent with the abort decision of the coor-
the 207 trace record. The sequence number is dinator.
printed in hexadecimal format. If the sequence The application was told that commit failed.
number is zero, IFCID 207 was not active or it Any resources updated at the participant were committed.
was active with a destination of the resident Updated resources at this DB2 were rolled back.
trace table only. IFCID 207 is a member of
location The field contains one of the following:
statistics class 4, which has a default destina-
tion of SMF. This trace record is written when The relational database name (location
the heuristic damage condition was detected name)
and contains information about the damage
The VTAM LU name (<luname>)
condition.
The dotted decimal IP address
seq-no2 The IFCID sequence number associated with
(nnn.nnn.nnn.nnn).
the 203 trace record. The sequence number is
printed in hexadecimal format. If the sequence luwid=token The global logical unit of work id and the local
number is zero, IFCID 203 was not active or it token that identify the thread.
was active with a destination of the resident seq-no The IFCID sequence number associated with
trace table only. IFCID 203 is a member of the trace record. The sequence number is
statistics class 4, which has a default destina- printed in hexadecimal format. If the sequence
tion of SMF. This trace record was written number is zero, then IFCID 207 was not
when the heuristic decision to commit or abort active or it was active with a destination of the
was made and contains information about the resident trace table only. IFCID 207 is a
decision, including the names of any down-
stream participants.
member of statistics class 4, which has a Information about the heuristic damage continues to appear in
default destination of SMF. the DISPLAY THREAD TYPE(INDOUBT) report until it is
purged with the RESET INDOUBT command.
System Action: Alert A004 is generated. A trace record
whose IFCID=207 is written. Indoubt resolution with the partic-
ipant completes. DSNL404E PROTOCOL ERROR DURING INDOUBT
THREAD RESOLUTION WITH COORDINATOR
System Programmer Response: Call the database adminis-
location LUWID=luwid=token INFORMATION
trator.
RECORDED IN TRACE RECORD WITH
Database Administrator Action: Inform the database admin- IFCID=206 AND IFCID SEQUENCE
istrator at 'location' that heuristic damage occurred for the NUMBER=seq-no
logical unit of work with LUWID='luwid'. DB2 was the coordi-
Explanation: DB2 has participant responsibility for the logical
nator for the logical unit of work and made the decision to
unit of work identified by 'luwid=token'. The DB2 thread associ-
abort the database updates made by 'luwid'. At 'location' a
ated with the logical unit of work is indoubt. A protocol error
heuristic decision was made to COMMIT the updates made by
occurred during indoubt resolution with the coordinator identi-
'luwid'.
fied by 'location'.
Information about the heuristic damage continues to appear in
location Either the relational database name (location-
the DISPLAY THREAD TYPE(INDOUBT) report until it is
name) or the logical unit name (<luname>) of
purged with the RESET INDOUBT command.
the coordinator.
luwid=token The global logical unit of work id and the local
DSNL403I INDOUBT THREAD RESOLUTION WITH PAR-
token that identify the thread.
TICIPANT location SHOWS HEURISTIC
DAMAGE FOR luwid=token - REMOTE ABORT seq-no The IFCID sequence number associated with
VERSUS LOCAL COMMIT. INFORMATION the trace record. The sequence number is
RECORDED IN TRACE RECORD WITH printed in hexadecimal format. If the sequence
IFCID=207 AND IFCID SEQUENCE number is zero, IFCID 206 was not active or it
NUMBER=seq-no was active with a destination of the resident
trace table only. IFCID 206 is a member of
Explanation: DB2 has coordinator responsibility for the
statistics class 4, which has a default destina-
logical unit of work identified by 'luwid=token'. Resolution with a
tion of SMF.
participant shows heuristic damage occurred. The participant
identified by 'location' manually resolved the indoubt thread System Action: The indoubt thread remains indoubt. Alert
identified by 'luwid=token'. The action taken was to abort the A003 is generated. A trace record whose IFCID=206 is written.
thread. This is inconsistent with the commit decision of the
System Programmer Response: This is an APARable error,
coordinator.
probably at the coordinator, but possibly at the DB2 participant.
The application was told that commit succeeded. The DB2 documentation required is contained in the statistics
Any resources updated at the participant were rolled back. class 4 trace record that was written. Determine the destination
Updated resources at this DB2 were committed. of statistics class 4. Locate and print the trace record with
SEQUENCE NUMBER='seq-no'.
location The relational database name (location-name),
SNA LU name (<luname>), or dotted decimal Call the database administrator.
IP address of the participant.
Database Administrator Action: DB2 does not attempt to
luwid=token The global logical unit of work id and the local automatically resolve the indoubt thread. The indoubt thread
token that identify the thread. must be manually resolved. The commit or abort decision
made at the coordinator must be determined so that the same
seq-no The IFCID sequence number associated with
decision can be made at this participant DB2.
the trace record. The sequence number is
printed in hexadecimal format. If the sequence Contact the database administrator at the coordinator location
number is zero, IFCID 207 was not active or it to determine whether the thread with LUWID=luwid committed
was active with a destination of the resident or aborted.
trace table only. IFCID 207 is a member of
If the coordinator system is another DB2, the following steps
statistics class 4, which has a default destina-
can be taken at the DB2 coordinator to determine the commit
tion of SMF.
or abort decision.
System Action: Alert A004 is generated. A trace record with
1. If the coordinator DB2 system is running and a DB2 condi-
IFCID 207 is written. Indoubt resolution with the participant
tional restart was not performed since the error was
completes.
detected at this (the participant) location, ask the database
System Programmer Response: Call the database adminis- administrator at the DB2 coordinator location to issue one
trator. of the following DISPLAY THREAD TYPE(INDOUBT)
commands:
Database Administrator Action: Inform the database admin-
istrator at 'location' that heuristic damage occurred for the A -DISPLAY THREAD TYPE(INDOUBT), using the
logical unit of work with LUWID='luwid'. DB2 was the coordi- LOCATION keyword and specifying the location name
nator for the logical unit of work and made the decision to of the local DB2.
COMMIT the database updates made by 'luwid'. At 'location' a
A -DISPLAY THREAD TYPE(INDOUBT) LUWID(luwid)
heuristic decision was made to back out (ABORT) the updates
made by 'luwid'. If a thread with LUWID=luwid appears in the display, then
the display also includes the commit or abort decision. If
no thread with LUWID=luwid appears in the display, the whether the thread with LUWID=luwid committed or
thread was aborted. aborted.
2. If the DB2 coordinator is down, or if a conditional restart If the coordinator system is another DB2, the following
was performed there, ask the database administrator at the steps can be taken at the DB2 coordinator to determine
DB2 coordinator to run DSN1LOGP, specifying the commit or abort decision.
SUMMARY(ONLY) FILTER LUWID(luwid). The output from
1. If the coordinator DB2 system is running and a DB2
DSN1LOGP includes the commit or abort decision.
conditional restart was not performed since the error
Use the RECOVER INDOUBT command at this (the partic- was detected at this (the participant) location, ask the
ipant) location to resolve the indoubt thread. database administrator at the DB2 coordinator location
to issue one of the following DISPLAY THREAD
DSNL405I THREAD luwid=token PLACED IN INDOUBT TYPE(INDOUBT) commands:
STATE BECAUSE OF COMMUNICATION – A -DISPLAY THREAD TYPE(INDOUBT), using the
FAILURE WITH COORDINATOR location. LOCATION keyword and specifying the location
INFORMATION RECORDED IN TRACE name of the local DB2.
RECORD WITH IFCID=209 AND IFCID
– A -DISPLAY THREAD TYPE(INDOUBT)
SEQUENCE NUMBER=seq-no
LUWID(luwid)
Explanation: During execution of the two phase commit pro-
If a thread with LUWID=luwid appears in the display,
tocol with the coordinator identified by 'location', communi-
then the display also includes the commit or abort deci-
cation failed. Phase 1 of the protocol completed and the thread
sion. If no thread with LUWID=luwid appears in the
is prepared for either commit or abort.
display, then the thread was aborted.
The thread is placed in the indoubt state and appears in a
2. If the DB2 coordinator is down or if a conditional restart
DISPLAY THREAD TYPE (INDOUBT) report. Periodic attempts
was performed there, ask the database administrator at
are made to reestablish communication with the coordinator for
the DB2 coordinator to run DSN1LOGP, specifying
automatic indoubt resolution. If successful, message DSNL407
SUMMARY(ONLY) FILTER LUWID(luwid). The output
or DSNL415 is written.
from DSN1LOGP includes the commit or abort deci-
luwid=token The global logical unit of work id and the local sion.
token that identify the thread.
Use the RECOVER INDOUBT command to commit or
location The field contains one of the following: abort the thread.
The relational database name (location
name) DSNL406I THREAD luwid=token AT PARTICIPANT location
MAY BE INDOUBT BECAUSE OF A COMMUNI-
The VTAM LU name (<luname>)
CATION FAILURE. DB2 COMMITTED THE
The dotted decimal IP address THREAD. INFORMATION RECORDED IN
(nnn.nnn.nnn.nnn). TRACE RECORD WITH IFCID=209 AND IFCID
seq-no The IFCID sequence number associated with SEQUENCE NUMBER=seq-no
the trace record. The sequence number is Explanation: During execution of the two phase commit pro-
printed in hexadecimal format. If the sequence tocol with the participant identified by 'location', communi-
number is zero, IFCID 209 was not active or it cations failed. Phase 1 of the protocol completed with the
was active with a destination of the resident participant, which is prepared to either commit or abort. The
trace table only. IFCID 209 is a member of decision to commit the thread was made, but cannot be com-
statistics class 4, which has a default destina- municated to the participant at this time. The participant is
tion of SMF. indoubt.
System Action: Alert A006 is generated. A trace record DB2 becomes responsible for indoubt resolution with the par-
whose IFCID=209 is written. ticipant. This responsibility appears in a DISPLAY THREAD
Operator Response: If message DSNL407 or DSNL415 for TYPE (INDOUBT) report. Periodic attempts are made to rees-
the LUWID specified in the DSNL405 message does not tablish communication with the participant for automatic
appear in a reasonable amount of time, call the system pro- indoubt resolution. If successful, message DSNL423 is written.
grammer. luwid=token The global logical unit of work id and the local
System Programmer Response: Determine the cause of the token that identify the thread.
communication failure and have the problem fixed. DB2 peri- location The field contains one of the following:
odically attempts to reestablish communication. If the problem
The relational database name (location
cannot be fixed in a reasonable amount of time, call the data-
name)
base administrator. Manual resolution of the indoubt thread
might be necessary to release locked resources. The VTAM LU name (<luname>)
Database Administrator Action: Take the following actions to The dotted decimal IP address
resolve this thread using manual means (that is, take heuristic (nnn.nnn.nnn.nnn).
action) if it is necessary to release locks held by this thread.
seq-no The IFCID sequence number associated with
Determine the proper commit or abort decision by con- the trace record. The sequence number is
tacting the database administrator at the coordinator printed in hexadecimal format. If the sequence
'location' shown in this message in order to determine number is zero, IFCID 209 was not active or it
was active with a destination of the resident
trace table only. IFCID 209 is a member of The VTAM LU name (<luname>)
statistics class 4, which has a default destina-
The dotted decimal IP address
tion of SMF.
(nnn.nnn.nnn.nnn).
System Action: Alert A006 is generated. A trace record
luwid=token The global logical unit of work id and the local
whose IFCID=209 is written.
token that identify the thread.
Operator Response: If message DSNL423 for the LUWID
seq-no The IFCID sequence number associated with
specified in message DSNL406 does not appear in a reason-
the trace record. The sequence number is
able amount of time, call the system programmer.
printed in hexadecimal format. If the sequence
System Programmer Response: Determine the cause of the number is zero, then IFCID 207 was not
communication failure and have the problem fixed. DB2 peri- active or it was active with a destination of the
odically attempts to reestablish communication. If the problem resident trace table only. IFCID 207 is a
cannot be fixed in a reasonable amount of time, call the data- member of statistics class 4, which has a
base administrator. The participant might need to manually default destination of SMF.
resolve the indoubt state to release locked resources.
System Action: Alert A004 is generated. A trace record
Database Administrator Action: If the unit of work with whose IFCID=207 is written. Indoubt resolution with the coordi-
LUWID=luwid is indoubt at 'location', inform the database nator completes.
administrator there that the logical unit of work with
System Programmer Response: Determine the destination
LUWID=luwid was committed to assist in manual resolution of
of statistics class 4. Locate and print the trace record with
the indoubt thread at 'location'.
SEQUENCE NUMBER='seq-no'. Call the database adminis-
trator.
DSNL407I AUTOMATIC RESOLUTION OF luwid=token
Database Administrator Action: Inform the database admin-
WITH COORDINATOR location RESULTED IN
istrator at the coordinator 'location' and at the participant
COMMIT
'location' of the problem.
Explanation: The identified indoubt logical unit of work was
Correcting the damage at the participant is not an easy task.
automatically resolved by communication with the coordinator
Since the time of the heuristic action, the data that was
location. After automatic resolution, this message is issued if
aborted using manual means might have been used by many
message DSNL405 was previously issued to report the thread
applications - read and/or write. Correcting the damage might
as indoubt. This message is not issued if message DSNL405
involve reversing the effects of these applications as well. The
occurs in one restart of DDF or DB2, and automatic resolution
following information that is available at DB2 might be helpful
occurs in a different restart of DDF or DB2.
in correcting the problem:
luwid=token The global logical unit of work id and the local
The statistics trace class 4 contains an IFCID 207 trace
token that identify the thread
record. This record contains the RBA of the first DB2 log
location The field contains one of the following: record written for the logical unit of work whose LUWID is
The relational database name (location included in this message.
name) The DSN1LOGP utility provides a summary report that
The VTAM LU name (<luname>) identifies the table spaces modified by the logical unit of
work at the local DB2 as well as any downstream partic-
The dotted decimal IP address ipant locations involved in the logical unit of work. This
(nnn.nnn.nnn.nnn). information, while not directly related to the damage at the
System Action: Processing continues normally. participant, might be useful in determining the scope of the
problem.
DSNL408I INDOUBT THREAD RESOLUTION WITH COOR- DISPLAY THREAD TYPE(INDOUBT) displays the RBA of
DINATOR location SHOWS HEURISTIC the first DB2 log record written for the logical unit of work
DAMAGE AT PARTICIPANT location FOR whose LUWID is included in this message. This informa-
luwid=token - COORDINATOR COMMIT tion continues to appear in the DISPLAY THREAD report
VERSUS PARTICIPANT ABORT. INFORMA- until it is purged with the RESET INDOUBT command.
TION RECORDED IN TRACE RECORD WITH Contact your IBM Support Center for further assistance.
IFCID=207 AND IFCID SEQUENCE
NUMBER=seq-no
DSNL409I INDOUBT THREAD RESOLUTION WITH COOR-
Explanation: DB2 has participant responsibility in the logical DINATOR location SHOWS HEURISTIC
unit of work identified by 'luwid=token' for the coordinator at DAMAGE AT PARTICIPANT location FOR
COORDINATOR 'location' and coordination responsibility in the luwid=token - COORDINATOR ABORT VERSUS
same logical unit of work for the participant at PARTICIPANT PARTICIPANT COMMIT. INFORMATION
'location'. Heuristic damage occurred. RECORDED IN TRACE RECORD WITH IFCID
The application was told that commit succeeded. 207 AND IFCID SEQUENCE NUMBER=seq-no
Any resources updated at the coordinator and at this DB2 Explanation: DB2 has participant responsibility in the logical
were committed. unit of work identified by 'luwid=token' for the coordinator at
Updated resources at the participant were rolled back. COORDINATOR 'location' and coordination responsibility in the
location The field contains one of the following: same logical unit of work for the participant at PARTICIPANT
'location'. Heuristic damage occurred.
The relational database name (location
name)
seq-no The IFCID sequence number associated with There is probably inconsistent data at the coordinator. A list of
the trace record. The sequence number is indoubt threads involving the coordinator 'location' can be dis-
printed in hexadecimal format. If the sequence played using the DISPLAY THREAD command for indoubt type
number is zero, then IFCID 0205 was not threads by including the LOCATION('location') parameter in the
active or it was active with a destination of the command.
resident trace table only. IFCID 0205 is a
The heuristic decision (that is, to commit or abort the logical
member of statistics class 4, which has a
unit of work) should be coordinated with any other participants.
default destination of SMF.
The existence of other participants might not be easy to deter-
System Action: The connection with the partner is rejected. mine. The information might be available in the coordinators
Alert A002 is generated. DB2 retains indoubt knowledge. recovery log even though the coordinator performed a cold
start. If the coordinator is a DB2, then it might be possible to
System Programmer Response: Call the database adminis-
execute the DSN1LOGP utility to produce a summary report. If
trator.
this is possible, the following information might be produced:
Database Administrator Action: Contact the database admin-
The LUWID of the thread.
istrator at the partner 'location' and determine if it is possible
for the partner to perform a warm start with same sync point The NID used by IMS or CICS to identify the thread.
parameters as ours ('oldourname', 'oldtheirname', 'oldpa',
The name of all participants.
'oldfb', 'oldccls'). If this is possible, the next attempt to connect
will succeed. The name of an upstream coordinator if the coordinator is
also a participant. This could happen when an application
If this cannot be done, then there are two other possible
requester accesses a DB2 AS using application-directed
solutions:
access, which in turn accesses another DB2 server with
Have the partner 'location' perform a cold start connection system-directed access. (The local DB2 might be the third
with this DB2 subsystem. system in this scenario.)
Use the RESET INDOUBT command with the FORCE At this DB2 participant, all indoubt threads coordinated by the
option in conjunction with the LOCATION parameter to cold starting location must be resolved with the RECOVER
cause the next connection with the partner to be a cold INDOUBT command. Locked data remains unavailable until
start connection. resolution. Threads that were already resolved with this
command are discarded. Threads not yet resolved are dis-
DSNL411E COLD START CONNECTION BY COORDI- carded after resolution with the command.
NATOR location ACCEPTED. INDOUBT The commit or abort decision provided using the RECOVER
THREADS NEED MANUAL RESOLUTION. INDOUBT command for a logical unit of work are propagated
INFORMATION RECORDED IN TRACE to all downstream participants, if any.
RECORD WITH IFCID=204 AND IFCID
SEQUENCE NUMBER=seq-no
DSNL412I PROTOCOL ERROR DETECTED IN
Explanation: DB2 has participant responsibility for indoubt SYNCPOINT REQUEST/RESPONSE FROM
threads. The coordinator informed DB2 that it performed a cold COORDINATOR location LUWID=luwid=token.
start operation and lost all knowledge of indoubt threads. The INFORMATION RECORDED IN TRACE
indoubt threads at this DB2 must be manually resolved with RECORD WITH IFCID=208 AND IFCID
the RECOVER INDOUBT command. SEQUENCE NUMBER=seq-no
location The field contains one of the following: Explanation: DB2 is a participant in the logical unit of work
identified by 'luwid=token'. A protocol error occurred during the
The relational database name (location name)
SNA sync point exchange with the coordinator identified by
The VTAM LU name (<luname>) 'location'. The protocol error fits into one of the following
The dotted decimal IP address categories:
(nnn.nnn.nnn.nnn). An unknown SNA PS header was received.
seq-no The IFCID sequence number associated with the An SNA PS header was received in the wrong sequence.
trace record. The sequence number is printed in
An invalid LU6.2 verb sequence was used to deliver the
hexadecimal format. If the sequence number is
SNA PS header.
zero, then IFCID 204 was not active or it was active
with a destination of the resident trace table only. A DEALLOCATE TYPE(ABEND_SVC) was received from
IFCID 204 is a member of statistics class 4, which the coordinator, indicating that the coordinator detected a
has a default destination of SMF. protocol violation in the PS headers transmitted by DB2.
System Action: The connection with the partner is accepted. location Either the relational database name (location-
Alert A001 is generated. A trace record whose IFCID=204 is name) or the logical unit name (<luname>) of
written. the coordinator.
System Programmer Response: Call the database adminis- luwid=token The global logical unit of work id and the local
trator. token that identify the thread.
Database Administrator Action: DB2 is a participant with one seq-no The IFCID sequence number associated with
or more indoubt threads where the coordinator is 'location'. The the trace record. The sequence number is
DBMS at 'location' performed a cold start. The DB2 participant printed in hexadecimal format. If the sequence
assumes that the coordinator recovery log was lost or number is zero, IFCID 208 was not active or it
damaged and indoubt thread resolution cannot be achieved. was active with a destination of the resident
trace table only. IFCID 208 is a member of fied by 'location'. The protocol error fits into one of the fol-
statistics class 4, which has a default destina- lowing categories:
tion of SMF.
An unknown SNA PS header was received.
If the protocol error was detected before the commit decision,
An SNA PS header was received in the wrong sequence.
the unit of work at the DB2 system might be indoubt. DB2
does not automatically resolve such an indoubt thread. An invalid LU6.2 verb sequence was used to deliver the
SNA PS header.
If the protocol error was detected after the commit decision,
the unit of work either completed commit or abort processing. A DEALLOCATE TYPE(ABEND_SVC) was received from
the participant, indicating that the participant detected a
System Action: Alert A005 is generated. A trace record
protocol violation in the PS headers transmitted by DB2.
whose IFCID=208 is written.
location The relational database name (location-name)
System Programmer Response: This is an APARable error,
of the participant.
probably at the coordinator, but possibly at DB2. The DB2
documentation required is contained in the statistics class 4 luwid=token The global logical unit of work id and the local
trace record. Determine the destination of statistics class 4. token that identify the thread.
Locate and print the trace record with SEQUENCE seq-no The IFCID sequence number associated with
NUMBER='seq-no'. the trace record. The sequence number is
The database administrator might need to manually resolve the printed in hexadecimal format. If the sequence
indoubt thread. number is zero, IFCID 208 was not active or it
was active with a destination of the resident
Database Administrator Action: Determine if the 'luwid' is
trace table only. IFCID 208 is a member of
indoubt by using the DISPLAY THREAD command for type
statistics class 4, which has a default destina-
indoubt threads and including the LUWID('token') parameter in
tion of SMF.
the command. If the thread is indoubt, it must be manually
resolved using the RECOVER INDOUBT command. The If the protocol error is detected before the commit decision, the
commit or abort decision made at the coordinator must be unit of work is backed out.
determined so that the same decision can be made at DB2. If the protocol error is detected after the commit decision, the
Contact the database administrator at the coordinator location outcome of the unit of work is unchanged. In this case, the
to determine whether the thread with LUWID=luwid committed remote participant might be indoubt. DB2 does not automat-
or aborted. ically resolve the indoubt thread with the partner 'location'
after a protocol error is detected.
If the coordinator system is another DB2, then the following
steps can be taken at the DB2 coordinator to determine the System Action: Alert A005 is generated. A trace record
commit or abort decision. whose IFCID=208 is written.
1. If the coordinator DB2 system is running and a DB2 condi- System Programmer Response: This is an APARable error,
tional restart was not performed since the error was probably at the participant, but possibly at the DB2 coordinator.
detected at this (the participant) location, ask the database The DB2 documentation required is contained in the statistics
administrator at the DB2 coordinator location to issue one class 4 trace record. Determine the destination of statistics
of the following DISPLAY THREAD TYPE(INDOUBT) class 4. Locate and print the trace record with SEQUENCE
commands: NUMBER='seq-no'.
A -DISPLAY THREAD TYPE(INDOUBT), using the Call the database administrator. The participant might need to
LOCATION keyword and specifying the location name manually resolve the indoubt thread.
of the local DB2. Database Administrator Action: The DB2 coordinator does
A -DISPLAY THREAD TYPE(INDOUBT) LUWID(luwid) not know the status of the thread at the participant. The DB2
coordinator assumes that it is indoubt and maintains know-
If a thread with LUWID=luwid appears in the display, then
ledge of the indoubt participant until it is purged with the
the display also includes the commit or abort decision. If
RESET INDOUBT command. If the thread is indoubt at the
no thread with LUWID=luwid appears in the display, then
participant, it must be resolved using manual (heuristic) means.
the thread was aborted.
The status of the thread at the local DB2 (the coordinator) can
2. If the DB2 coordinator is down or if a conditional restart be determined with the DISPLAY THREAD command for type
was performed there, ask the database administrator at the indoubt threads by including the LUWID('token') parameter in
DB2 coordinator to run DSN1LOGP, specifying the command.
SUMMARY(ONLY) FILTER LUWID(luwid). The output from
If the 'participant' location is also a DB2, the RECOVER
DSN1LOGP includes the commit or abort decision.
INDOUBT command can be used at the participant to resolve
the indoubt thread.
DSNL413I PROTOCOL ERROR DETECTED IN
SYNCPOINT REQUEST/RESPONSE FROM
PARTICIPANT location LUWID=luwid=token.
INFORMATION RECORDED IN TRACE
RECORD WITH IFCID=208 AND IFCID
SEQUENCE NUMBER=seq-no
Explanation: DB2 is the coordinator of the logical unit of
work identified by 'luwid=token'. A protocol error occurred
during the SNA sync point exchange with the participant identi-
luwid=token The global logical unit of work id and the local location Either the relational database name (location-name)
token that identify the thread. or the logical unit name (<luname>) of the partner.
seq-no The IFCID sequence number associated with System Action: The connection was not made.
the trace record. The sequence number is System Programmer Response: Call the database adminis-
printed in hexadecimal format. If the sequence trator.
number is zero, IFCID 206 was not active or it
Database Administrator Action: DB2 is not able to connect
was active with a destination of the resident
the partner 'location' until the partner 'location' allows a cold-
trace table only. IFCID 206 is a member of
start connection with DB2. Contact the database administrator
statistics class 4, which has a default destina-
at the partner 'location'.
tion of SMF.
Contact your IBM Support Center for further assistance.
System Action: Alert A003 is generated. A trace record
whose IFCID=206 is written.
DSNL417E csect-name COLD START DETECTED AT
System Programmer Response: This is an APARable error,
COORDINATOR LOCATION location FOR
probably at the participant, but possibly at the DB2 coordinator.
INDOUBT THREAD WITH luwid=token.
The DB2 documentation required is contained in the statistics
MANUAL RESOLUTION IS REQUIRED. INFOR-
class 4 trace record. Determine the destination of statistics
MATION RECORDED IN TRACE RECORD
class 4. Locate and print the trace record with SEQUENCE
WITH IFCID=204 and IFC SEQUENCE
NUMBER='seq-no'.
NUMBER=seq-no.
Call the database administrator. The participant might need to
Explanation: DB2 has resync responsibility for the indoubt
manually resolve the indoubt thread.
thread identified. The partner location informed DB2 that it had
Database Administrator Action: The DB2 coordinator main- performed a cold start operation and lost all knowledge of this
tains knowledge of the indoubt participant until it is purged with indoubt thread. This indoubt thread must be manually resolved
the RESET INDOUBT command. If the thread is indoubt at the with the RECOVER INDOUBT command, followed by the
participant, it must be manually (heuristically) resolved. The RESET INDOUBT command.
status of the thread at the local DB2 (the coordinator) can be
location The field contains one of the following:
determined with the DISPLAY THREAD command for type
indoubt threads by including the LUWID('token') parameter in The relational database name (location name)
the command. The VTAM LU name (<luname>)
If the participant is another DB2, the RECOVER INDOUBT The dotted decimal IP address
command can be used to resolve the indoubt thread. (nnn.nnn.nnn.nnn).
luwid=token The logical unit of work id and the local token that
DSNL415I AUTOMATIC RESOLUTION OF luwid=token
identify the thread.
WITH COORDINATOR location RESULTED IN
ABORT seq-no The IFCID sequence number associated with the
trace record. The sequence number is printed in
Explanation: The identified indoubt logical unit of work was
hexadecimal format. If the sequence number is
automatically resolved by communication with the coordinator
zero, then IFCID 204 was not active or it was active
location. After automatic resolution, this message is issued if
with a destination of the resident trace table only.
message DSNL405 was previously issued to report the thread
IFCID 204 is a member of statistics class 4, which
as indoubt. This message is not issued if message DSNL405
has a default destination of SMF and contains infor-
occurs in one restart of DDF or DB2, and automatic resolution
mation about a partner's cold start.
occurs in a different restart of DDF or DB2.
System Action: Alert A001 is generated. A trace record
luwid=token The global logical unit of work id and the local
whose IFCID=204 is written.
token that identify the thread
System Programmer Response: Call the database adminis-
trator.
Database Administrator Action: DB2 is a participant with one IFCID 204 is a member of statistics class 4, which
or more indoubt threads where the coordinator is 'location'. The has a default destination of SMF.
DBMS at 'location' performed a cold start. The DB2 participant
System Action: Alert A001 is generated. A trace record
assumes that the coordinator recovery log was lost or
whose IFCID=204 is written.
damaged and indoubt thread resolution cannot be achieved.
There may be inconsistent data at the coordinator. A list of System Programmer Response: Call the database adminis-
indoubt threads involving the coordinator 'location' can be dis- trator.
played using the DISPLAY THREAD command for indoubt type Database Administrator Action: DB2 is the coordinator with
threads by including the LOCATION('location') parameter in the indoubt thread resolution responsibility for one or more indoubt
command. logical units of work at 'location'. The DBMS at 'location' per-
The heuristic decision (that is, to commit or abort the logical formed a cold start. DB2 assumes that the participant recovery
unit of work) should be coordinated with any other participants. log was lost or damaged and indoubt thread resolution cannot
The existence of other participants might not be easy to deter- be achieved. There is probably inconsistent data at the partic-
mine. The information might be available in the coordinators ipant. Minimally, the participant might not completely reflect the
recovery log even though the coordinator performed a cold final outcome of the threads that were indoubt at the time the
start. If the coordinator is a DB2, then it might be possible to failure occurred. A list of indoubt threads involving the partner
execute the DSN1LOGP utility to produce a summary report. If 'location' can be displayed using the DISPLAY THREAD
this is possible, the following information might be produced: command for type indoubt threads by including the
LOCATION('location) parameter in the command.
The LUWID of the thread.
Information about the indoubt participant continues to appear in
The NID used by IMS or CICS to identify the thread.
the DISPLAY THREAD TYPE(INDOUBT) report until it is
The name of all participants. purged with the RESET INDOUBT command.
The name of an upstream coordinator if the coordinator is
also a participant. This could happen when an application DSNL419I PARTNER location HAS RESOLVED WARM
requester accesses a DB2 AS using application-directed START STATUS AND CONNECTION IS
access, which in turn accesses another DB2 server with ACCEPTED
system-directed access. (The local DB2 might be the third Explanation: A successful warm start connection was made
system in this scenario.) with a partner. A previous attempt to make a warm start con-
At this DB2 participant, all indoubt threads coordinated by the nection with the partner was rejected with a DSNL410I
cold starting location must be resolved with the RECOVER message because the partner specified an incorrect log name.
INDOUBT command. Locked data remains unavailable until location Either the relational database name (location-name)
resolution. Threads that were already resolved with this or the logical unit name (<luname>) of the partner
command are discarded. Threads not yet resolved are dis-
carded after resolution with the command. System Action: The connection was successful. Normal
processing continues.
The commit or abort decision provided using the RECOVER
INDOUBT command for a logical unit of work are propagated
to all downstream participants, if any. DSNL420I COLD START CONNECTION BY PARTICIPANT
location ACCEPTED. POSSIBLE DAMAGE.
INFORMATION RECORDED IN TRACE
DSNL418E csect-name COLD START DETECTED AT PAR- RECORD WITH IFCID=204 AND IFCID
TICIPANT LOCATION location FOR INDOUBT SEQUENCE NUMBER=seq-no
THREAD WITH luwid=token. POSSIBLE
DAMAGE. INFORMATION RECORDED IN Explanation: DB2 has coordinator responsibility for indoubt
TRACE RECORD WITH IFCID=204 and IFC threads at a participant and just connected with the participant,
SEQUENCE NUMBER=seq-no. which lost all knowledge of indoubt threads because of a pre-
vious cold start. There might be damage at the participant.
Explanation: DB2 has coordinator responsibility for the
indoubt thread identified. The partner location informed DB2 location The field contains one of the following:
that it had performed a cold start operation and lost all know- The relational database name (location name)
ledge of this indoubt thread. There might be damage at the
participant. The VTAM LU name (<luname>)
location The field contains one of the following: The dotted decimal IP address
(nnn.nnn.nnn.nnn).
The relational database name (location name)
seq-no The IFCID sequence number associated with the
The VTAM LU name (<luname>) trace record. The sequence number is printed in
The dotted decimal IP address hexadecimal format. If the sequence number is
(nnn.nnn.nnn.nnn). zero, then IFCID 204 was not active or it was active
with a destination of the resident trace table only.
luwid=token The global logical unit of work id and the local IFCID 204 is a member of statistics class 4, which
token that identify the thread. has a default destination of SMF.
seq-no The IFCID sequence number associated with the System Action: The connection with the partner is accepted.
trace record. The sequence number is printed in Alert A001 is generated. A trace record whose IFCID=204 is
hexadecimal format. If the sequence number is written.
zero, then IFCID 204 was not active or it was active
with a destination of the resident trace table only. System Programmer Response: Call the database adminis-
trator.
Database Administrator Action: DB2 is the coordinator with System Action: The connection with the partner is rejected.
indoubt thread resolution responsibility for one or more indoubt DB2 retains indoubt knowledge.
logical units of work at 'location'. The DBMS at 'location' per-
System Programmer Response: Call the database adminis-
formed a cold start. DB2 assumes that the participant recovery
trator.
log was lost or damaged and indoubt thread resolution cannot
be achieved. There is probably inconsistent data at the partic- Database Administrator Action: Contact the database admin-
ipant. Minimally, the participant might not completely reflect the istrator at the partner 'location' and determine if it is possible
final outcome of the threads that were indoubt at the time the for the partner to perform a warm start with our log name spec-
failure occurred. A list of indoubt threads involving the partner ified as the LUNAME of this DB2. If this is possible, the next
'location' can be displayed using the DISPLAY THREAD attempt to connect will succeed.
command for type indoubt threads by including the If this cannot be done, then there are two other possible sol-
LOCATION('location) parameter in the command. utions.
Information about the indoubt participant continues to appear in Have the partner 'location' perform a cold start connection
the DISPLAY THREAD TYPE(INDOUBT) report until it is with this DB2 subsystem.
purged with the RESET INDOUBT command.
Use the RESET INDOUBT command with the FORCE
option in conjunction with the LOCATION parameter to
DSNL421I SNA XLN PROTOCOL VIOLATION BY
cause the next connection with the partner to be a cold
PARTNER location. INFORMATION RECORDED
start connection.
IN TRACE RECORD WITH IFCID=0236 AND
IFCID SEQUENCE NUMBER=seq-no
DSNL423I AUTOMATIC RESOLUTION OF luwid=token
Explanation: DB2 detected a protocol violation in the SNA WITH PARTICIPANT location RESULTED IN
Exchange Log Names (XLN) exchange with the partner at the COMMIT
specified location.
Explanation: The identified indoubt logical unit of work was
location Either the relational database name (location-name) automatically resolved through communication with the partic-
or the logical unit name (<luname>) of the partner ipant location. After automatic resolution, this message is
that sent the invalid XLN message. issued if message DSNL406 was previously issued reporting
seq-no The IFCID sequence number associated with the the thread as indoubt. This message is not issued if message
trace record. The sequence number is printed in DSNL406 occurs in one restart of DDF or DB2, and automatic
hexadecimal format. If the sequence number is resolution occurs in a different restart of DDF or DB2.
zero, then IFCID 0236 was not active or it was luwid=token The global logical unit of work id and the local
active with a destination of the resident trace table token that identify the thread.
only. IFCID 0236 is a member of statistics class 4,
which has a default destination of SMF. location The field contains one of the following:
System Action: The attempt to connect with the remote site The relational database name (location
fails. DB2 writes a trace record with IFCID 0236. name)
Operator Response: Call the system programmer. The VTAM LU name (<luname>)
System Programmer Response: Contact the system pro- The dotted decimal IP address
grammer for the remote site. The invalid XLN message is (nnn.nnn.nnn.nnn).
recorded in the IFCID 0236 trace record. The system logic System Action: Processing continues normally.
error that causes the invalid XLN message must be corrected
at the remote site.
DSNL424I AUTOMATIC RESOLUTION OF luwid=token
WITH PARTICIPANT location RESULTED IN
DSNL422I WARM START CONNECTION BY PARTNER ABORT
location REJECTED BECAUSE THE PARTNER
REMEMBERS OUR LOG NAME INCOR- Explanation: The identified indoubt logical unit of work was
RECTLY. OUR LOG NAME IS name1 AND THE automatically resolved by communication with the participant
PARTNER REMEMBERS IT AS name2 location. After automatic resolution, this message is issued if
message DSNL425 was previously issued reporting the thread
Explanation: An attempt to make a warm start connection as being indoubt. This message is not issued if message
with a partner was rejected because the partner specified our DSNL425 occurs in one restart of DDF or DB2, and automatic
log name as name2. Our log name is name1, which is the resolution occurs in a different restart of DDF or DB2.
LUNAME of the local DB2. This error might be a recoverable
error if the partner can restart with our log name as name1. If luwid=token The global logical unit of work id and the local
this is not possible, then the partner must perform a cold start token that identify the thread
connection with DB2. location The field contains one of the following:
location The 'location' with which the connection failed: The relational database name (location
either the relational database name (location-name) name)
or the logical unit name (<luname>) of the partner.
The VTAM LU name (<luname>)
name1 Our log name, as remembered by us.
The dotted decimal IP address
name2 Our log name, as remembered by our partner and (nnn.nnn.nnn.nnn).
sent to us in the attempted warm start connection.
System Action: Processing continues normally.
System Action: Alert A006 is generated. A trace record System Action: Processing continues normally.
whose IFCID=209 is written. Operator Response: If the message was issued as a result
Operator Response: If message DSNL424 for the LUWID of DDF starting, no action is necessary. If the message was
specified in message DSNL406 does not appear in a reason- issued as a result of DDF stopping, contact the database
able amount of time, call the system programmer. administrator.
System Programmer Response: Determine the cause of the Database Administrator Action: If the message was issued
communication failure and have the problem fixed. DB2 peri- as a result of stopping DDF, then DB2 maintained all informa-
odically attempts to reestablish communication. If the problem tion necessary to perform automatic resynchronization with
cannot be fixed in a reasonable amount of time, call the data- partner locations and resolve all indoubt units of work. Issue
base administrator. The participant might need to resolve the the START DDF command to initiate this process.
indoubt state manually in order to release locked resources. If the message was issued as a result of starting DDF, then
Database Administrator Action: If the unit of work with DDF started automatic resynchronization.
LUWID=luwid is indoubt at 'location', inform the database
administrator there that the logical unit of work with DSNL433I DDF IS PARTICIPANT FOR nnnn INDOUBT
LUWID=luwid was aborted to assist in manual resolution of the THREADS WITH mmmm REMOTE PARTNERS
indoubt thread at 'location'.
Explanation: This message is issued when DDF is started or
stopped, if DDF determines that this DB2 has participant
DSNL429I INCONSISTENT DDF LOG DATA, THE FIRST responsibility for one or more indoubt threads with one or more
CONNECTION WITH EACH REMOTE partners. This is a summary status message.
LOCATION WILL BE A COLD START CON-
NECTION nnnn The number of indoubt threads for which DB2 is the
participant
Explanation: DB2 detected an inconsistency in the DB2 log
during restart operations. Since the log is inconsistent and mmmm The number of remote partners that have coordi-
cannot be trusted, DB2 performs a cold start connection with nator responsibility
each partner LU the next time a connection with that LU is System Action: Processing continues normally.
attempted. If DB2 has indoubt resolution responsibility either as
Operator Response: If the message was issued as a result luwid The global logical unit of work id that identifies the
of DDF starting, no action is necessary. If the message was logical unit of work.
issued as a result of DDF stopping, contact the database
urid The unit of recovery identifier. This is the RBA on
administrator.
the DB2 recovery log of the log record that marks
Database Administrator Action: If the message was issued the beginning of the logical unit of work. This is the
as a result of stopping DDF, then DB2 maintained all informa- earliest RBA required to process the logical unit of
tion necessary to perform automatic resynchronization with work during restart.
partner locations and resolve all indoubt units of work. Issue
s Restart status of the logical unit of work. When DB2
the START DDF command to initiate this process.
came down, the logical unit of work was in one of
If you do not want to perform automatic resynchronization, you these states:
can still resolve the indoubt units of work for which DB2 is a
A INABORT: The logical unit of work was in
participant and which hold database resources locked. Use the
the “must-complete” phase of abort, but
DISPLAY THREAD command for type indoubt threads to
abort has not yet completed.
produce a display that lists these threads. Then use the
RECOVER INDOUBT command to either commit or abort C INCOMMIT: The logical unit of work was in
these units of work. the “must-complete” phase of commit, but
commit has not yet completed.
To avoid data inconsistency, coordinate this manual resolution
with the database administrators at the locations that have D INDOUBT: The logical unit of work com-
coordinator responsibility for each indoubt unit of work. If any pleted the first phase of commit, but DB2
of the indoubt units of work at DB2 also have coordinator has not yet received the commit or abort
responsibility for participant locations, then you should notify decision from the coordinator.
the database administrators at the participant locations of the F INFLIGHT: The logical unit of work has not
commit or abort decision so they can make the same decision. yet completed the first phase of commit and
should be backed out.
DSNL434E DDF NOT STARTED - INCORRECT VTAM
U UNKNOWN: The status of the logical unit of
RELEASE LEVEL
work is not known to DB2 because of condi-
Explanation: The local VTAM release level is older than the tional restart.
minimum release level required by DB2. When DB2 issues the
seq-no The IFCID sequence number associated with the
VTAM OPEN macro, the VTAM release level is returned to
trace record. The trace record is written to statistics
DB2. DB2 examines the VTAM release level to determine
class 4, which is started to SMF as a default during
whether the local VTAM system provides the function required
DB2 installation. Statistics class 4 must be started
by DB2.
to a permanent destination (SMF or GTF) for the
System Action: The attempt to START DDF fails. trace record to be accessible. The sequence
number is printed in hexadecimal.
Operator Response: Call the system programmer.
System Action: Processing continues normally.
System Programmer Response: Install a release of VTAM
that is compatible with the DB2 system. The DB2 Program System Programmer Response: Call the database adminis-
Directory identifies the required VTAM release level. trator.
Database Administrator Action: The resynchronization infor-
DSNL438I RESYNC STATUS PURGED FOR COORDI- mation that was purged by DB2 is recorded in this message.
NATOR location. LUWID=luwid, URID=urid, To determine the proper commit or abort decision made by the
STATUS=s INFORMATION RECORDED IN coordinator at 'location', use the status code as follows:
TRACE RECORD WITH IFCID=235 and IFCID
A The correct decision is to abort the logical unit of work.
SEQUENCE NUMBER=seq-no
C The correct decision is to commit the logical unit of
Explanation: The information related to resynchronization
work.
with the remote coordinator location for the logical unit of work
identified by 'luwid', which is displayed in this message, is D Contact the database administrator at 'location' to deter-
being purged by DB2. Automatic indoubt resolution responsi- mine the correct decision.
bility for this distributed logical unit of work can no longer be
F The correct decision is to abort the logical unit of work.
performed.
U Contact the database administrator at 'location' to deter-
This situation can arise in one of two ways;
mine the correct decision.
A DB2 conditional restart (other than a DB2 cold start; that
is, a DB2 conditional restart with STARTRBA=ENDRBA) is DSNL439I RESYNC STATUS PURGED FOR PARTIC-
being performed. IPANT location. LUWID=luwid, URID=urid,
An inconsistency in the DB2 log was detected during DB2 STATUS=s INFORMATION RECORDED IN
restart processing (indicated by a DSNL429I message). TRACE RECORD WITH IFCID=235 and IFCID
location The field contains one of the following: SEQUENCE NUMBER=seq-no
The relational database name (location name) Explanation: DB2 is purging the information related to resyn-
chronization with the remote participant location for the logical
The VTAM LU name (<luname>)
unit of work identified by 'luwid', which is displayed in this
The dotted decimal IP address message. Automatic indoubt resolution responsibility for this
(nnn.nnn.nnn.nnn). distributed logical unit of work can no longer be performed.
This situation can arise in one of two ways: F Abort the logical unit of work.
A DB2 conditional restart (other than a DB2 cold start; that U If there is a DSNL438I message for the same 'luwid'
is, a DB2 conditional restart with STARTRBA=ENDRBA) is and 'urid', proceed as described above under 'D'. Other-
being performed. wise, there might be information available on the DB2
log that a DSN1LOGP summary report can provide. If
An inconsistency in the DB2 log was detected during DB2
this is not successful, contact the IBM Support Center.
restart processing (indicated by a DSNL429I message).
location The field contains one of the following:
DSNL440I csect-name RESET INDOUBT COMMAND
The relational database name (location name) SPECIFICATION IN ERROR
The VTAM LU name (<luname>) Explanation: A RESET INDOUBT command was issued, but
the specification of keywords or keyword parameter values was
The dotted decimal IP address
in error.
(nnn.nnn.nnn.nnn).
System Action: No indoubt information was purged. System
luwid The global logical unit of work id that identifies the
processing continues normally.
logical unit of work.
User Response: One of the following errors was made in the
urid The unit of recovery identifier. This is the RBA on
RESET INDOUBT command specification:
the DB2 recovery log of the log record that marks
the beginning of the logical unit of work. This is the RESET INDOUBT was issued without any other keywords
earliest RBA required to process the logical unit of specified. At least one of the following keywords must also
work during restart. be specified: LUNAME, IPADDR, LOCATION, or LUWID.
s Restart status of the logical unit of work. When DB2 RESET INDOUBT was issued with both the LUWID and
came down, the logical unit of work was in one of LOCATION keywords specified, but a list of LOCATION
these states: keyword parameter values was specified. When both the
LUWID and LOCATION keywords are specified only one
A INABORT: The logical unit of work was in
LOCATION keyword parameter value is allowed.
the “must-complete” phase of abort, but
abort has not yet completed. RESET INDOUBT was issued with at least one LOCATION
keyword parameter value that began with a '<', but did
C INCOMMIT: The logical unit of work was in
not end with a '>', or the length of the bracketed value
the “must-complete” phase of commit, but
was not 1 to 8 characters. When the LOCATION keyword
commit has not yet completed.
parameter value is specified in the <luname> format, the
D INDOUBT: The logical unit of work com- luname value must be bracketed with '<' and '>' and be
pleted the first phase of commit, but DB2 1 to 8 characters long.
has not yet received the commit or abort
RESET INDOUBT was issued with an invalid IPADDR
decision from the coordinator.
keyword parameter value. Verify that the specified
F INFLIGHT: The logical unit of work has not IPADDRs are in the proper dotted decimal form, that there
yet completed the first phase of commit and is a colon delimeter between the IPADDR and port, and
should be backed out. that the port number is valid.
U UNKNOWN: The status of the logical unit of If needed, issue the DISPLAY THREAD TYPE(INDOUBT)
work is not known to DB2 because of condi- command to display information (including LOCATION, LUWID,
tional restart. and LUNAME values) about all indoubt threads. Correct the
seq-no The IFCID sequence number associated with the RESET INDOUBT command specification, and reissue the
trace record. The trace record is written to statistics command.
class 4, which is started to SMF as a default during
DB2 installation. Statistics class 4 must be started DSNL441I KEYWORD 'LUWID' PARAMETER VALUE
to a permanent destination (SMF or GTF) for the parmvalue FORMAT IN ERROR
trace record to be accessible. The sequence
Explanation: A RESET INDOUBT command with the LUWID
number is printed in hexadecimal.
parameter was issued, but the specified parameter value
System Action: Processing continues normally. (parmvalue) has an invalid format for an LUWID. There are two
correct formats for the LUWID parameter. The first correct
System Programmer Response: Call the database adminis-
format is called a token, and is a 1 to 5 digit decimal number.
trator.
The second correct format is 'netid.luname.luwunique.comseq',
Database Administrator Action: The resynchronization infor- where:
mation that was purged by DB2 is recorded in this message.
netid A 1 to 8 character network ID
When communicating the proper commit or abort decision to
the database administrator at 'location', use the status code as luname A 1 to 8 character luname
follows:
luwunique A 12 character hexadecimal number
A Abort the logical unit of work.
comseq A 4 character hexadecimal number
C Commit the logical unit of work.
All fields in the second correct format must be separated by a
D See the DSNL438I message produced for the same period (.) delimiter.
'luwid' and 'urid' to determine the coordinator 'location'.
System Action: Indoubt information about the specified
Contact the database administrator at 'location' to deter-
logical unit of work is not purged from the system.
mine the correct decision.
2. Examine the -DISPLAY THREAD output. If the value speci- Then reissue the command, specifying the correct luname.
fied in the command (and displayed in the DSNL447I
message) is incorrect, determine the correct value and DSNL450I DDF THREAD luwid=token IS BETWEEN
reissue the command using the correct value. PHASE 1 AND PHASE 2 OF COMMIT. THREAD
IS NOW AN INDOUBT THREAD AS A RESULT
OF CANCEL REQUEST.
Explanation: The identified DDF thread was in a prepared
state waiting for the commit or backout decision of the commit
coordinator. The thread cannot be canceled in this state.
However, the thread was removed from the active state and
placed into the indoubt state. The conversation with the coordi-
nator was deallocated. The thread is now indoubt and appears
in the display thread report for indoubt threads. The resources User Response: Use the -DISPLAY THREAD(*)
held by the thread continue to be held. Automatic resolution of TYPE(INDOUBT) LOCATION(*) command to list the locations
the indoubt state is attempted periodically. Resources held by for which DB2 has indoubt information. Entries associated with
the thread are released after indoubt resolution occurs. TCP/IP have a string with this format in the LOCATION field:
"nnn.nnn.nnn.nnn".
luwid=token The global logical unit of work id and the local
token that identify the thread After determining the correct ipaddr, reissue the command.
System Action: Processing continues normally.
DSNL454I csect QUALIFYING INDOUBT INFORMATION
Operator Response: If the purpose of canceling this thread
FOR IP ADDRESS ipaddr HAS BEEN PURGED
was to free the resources held by the thread, call the database
administrator. Explanation: A -RESET INDOUBT IPADDR('ipaddr')
command, which was issued to purge indoubt information
Database Administrator Action: To release the resources
about the specified IP address completed successfully. The
held by the indoubt thread before automatic resolution with the
indoubt information was purged.
coordinator, a manual commit or abort decision can be made
with the RECOVER INDOUBT command. First, issue the csect The CSECT name of the DB2 module that issued
DISPLAY THREAD command for an indoubt thread report, the message
which includes the subject thread. From this report, determine ipaddr The IP address specified for the IPADDR keyword
the name of the coordinator. Contact the coordinator system in the -RESET INDOUBT IPADDR(ipaddr)
and find out whether a commit or abort decision was made. command being processed
System Action: The specified indoubt information was
DSNL451I QUALIFYING INDOUBT INFORMATION FOR
purged. System processing continues normally.
LUNAME luname NOT FOUND
Explanation: A -RESET INDOUBT LUNAME('luname') DSNL455I csect DB2 HAS NO INFORMATION RELATED
command was issued, but DB2 has no indoubt information TO IP ADDRESS ipaddr
about the specified luname.
Explanation: A -RESET INDOUBT IPADDR('ipaddr') FORCE
luname The logical unit name, as defined to VTAM, of the command was issued but DB2 has no knowledge of the speci-
coordinator or participant fied 'ipaddr'.
System Action: No indoubt information was purged. System csect The CSECT name of the DB2 module that issued
processing continues normally. the message.
User Response: Use the -DISPLAY THREAD(*) ipaddr The dotted decimal TCP/IP address of the coordi-
TYPE(INDOUBT) LOCATION(*) command to list the locations nator or participant
for which DB2 has indoubt information. Entries associated with
a particular LUNAME have a location name in this form: System Action: No information was purged. System proc-
'<luname>'. Use 'luname' (without the enclosing brackets) as essing continues normally.
the input string to RECOVER INDOUBT. User Response: Determine the correct luname as follows:
After determining the correct luname, reissue the command. Use the -DISPLAY THREAD(*) TYPE(INDOUBT)
LOCATION(*) command to determine locations for which
DSNL452I QUALIFYING INDOUBT INFORMATION FOR DB2 has indoubt responsibility. Entries associated with
LUNAME luname HAS BEEN PURGED TCP/IP locations specify "nnn.nnn.nnn.nnn" in the
LOCATION field.
Explanation: A -RESET INDOUBT LUNAME('luname')
command, which was issued to purge indoubt information Reissue the command; specify the correct ipaddr.
about the specified luname completed successfully. The
indoubt information was purged. DSNL500I CONVERSATION FAILED TO
luname The luname specified for the LUNAME keyword in LOCATION=locname
the -RESET INDOUBT LUNAME(luname) command RESOURCE=luname.modename. convid.sessid
being processed. RTNCD=global vtam primary return code
FDBK2=global vtam secondary return code
System Action: The specified indoubt information was RCPRI=appc-specific primary return code
purged. System processing continues normally. RCSEC=appc-specific secondary return code
SENSE=sna sense code
DSNL453I csect QUALIFYING INDOUBT INFORMATION
Explanation: An advanced program-to-program communi-
FOR IP ADDRESS ipaddr NOT FOUND
cations (APPC) conversation failed, or could not be allocated,
Explanation: A -RESET INDOUBT IPADDR('ipaddr') because a VTAM return code indicates a conversation failure.
command was issued, but DB2 has no indoubt information VTAM return codes are defined in VTAM for MVS/ESA Pro-
about the specified IP address. gramming for LU 6.2.
csect The CSECT name of the DB2 module that issued SNA sense codes that start with 00 represent DB2 reason
the message codes. Refer to “Section 6. SNA CODES” on page 1039 for a
description of more common SNA sense codes returned to
ipaddr The dotted decimal IP address of the coordinator or
DB2 by VTAM.
participant
The variables that are not return codes are described as
System Action: No indoubt information was purged. System
follows:
processing continues normally.
modename The logon mode for the specified location that reason The reason code reported by TCP/IP. The
had its CONVLIMIT changed. reason code values are documented in
System Action: Conversation requests are queued when the
# OS/390 UNIX System Services
maximum conversation limit is reached for a mode to remote
# Programming: Assembler Callable Ser-
subsystem.
# vices Reference.
| System Action: DB2 may periodically retry the socket call
DSNL511I csect TCP/IP CONVERSATION FAILED TO | so that TCP/IP communication can be established.
LOCATION locname IPADDR=ipaddr PORT=port User Response: Notify the system programmer.
SOCKET=socket RETURN CODE='rc'X REASON
Operator Response: Notify the system programmer.
CODE='reason'X
Explanation: A TCP/IP socket call failed with the error condi-
# System Programmer Response: Refer to OS/390 UNIX
tion identified by rc and reason.
# System Services Programming: Assembler Callable Services
# Reference for an explanation of the error.
Variable Description
If socket=SETRLIMIT and reason code=1148033C, then
csect The CSECT name of the DB2 module that you should define DB2 as a superuser. See DB2 Installa-
issued the message. tion Guide for instructions on enabling DDF as a super-
locname The location name associated with the user.
remote site. | If socket=TCPKEEPALIVE, then DB2 issues this socket
ipaddr The IP address of the remote site in | call as a result of the TCP/IP KeepAlive value specified in
dotted decimal format. | the DB2 parameters module (usually DSNZPARM). You
| may specify this value by the TCP/IP KEEPALIVE value in
port The TCP/IP port used by the remote site. | the DSNTIP5 installation panel. Another way to specify the
socket The TCP/IP socket call that returned the | value is through the TCPKPALV value in the DSN6FAC
error. | macro, used to build the DB2 parameters module.
rc The error condition reported by TCP/IP. | In this situation, processing continues, and DB2 does not
The return code values are documented in | retry the socket call. Verify that the TCP/IP stack being
OS/390 UNIX System Services | used by DB2 contains the required companion support for
Programming: Assembler Callable Ser- | this function. If not, modify the DB2 parameter module to
vices Reference. | prevent DB2 from attempting to override the TCP/IP stack
| value.
reason Provides further detail associated with the
TCP/IP return code. The reason code If socket=GETHOSTBYADDR(ip-address), then DB2
values are documented in OS/390 UNIX invoked a TCP/IP GetHostByAddr socket call to determine
System Services Programming: Assem- the domain name for the specified IP address. However,
bler Callable Services Reference. the call failed, and DB2 is not able to determine the
domain name. DB2 retries the socket call periodically.
System Action: Communication on the conversation is dis-
continued. During DDF initialization, DB2 first determines the IP
address via a GetHostID socket call. The IP address
User Response: Notify the system programmer. returned is the first IP address listed in the HOME state-
Operator Response: Notify the system programmer. ment of the TCP/IP profile for the selected TCP/IP stack.
Verify the IP address. DDF must be stopped and restarted
System Programmer Response: Refer to OS/390 UNIX in order for DDF to obtain a new IP address.
System Services Programming: Assembler Callable Services
Reference for an explanation of the error. Note: The IP address returned could depend on the
selected TCP/IP stack, in the event that there are
Problem Determination: See System Programmer multiple TCP/IP stacks. DB2 requires OS/390 Open
Response. Edition sockets, and it is Open Edition that deter-
mines the TCP/IP stack to use. OS/390 Open
DSNL512I csect TCP/IP socket FAILED WITH RETURN Edition provides a way for users to select a specific
CODE='rc'X AND REASON CODE='reason'X TCP/IP stack by using the BPXTCAFF utility. For
more information on BPXTCAFF, see UNIX System
Explanation: A TCP/IP socket call used to establish commu-
Services Planning, SC28-1890.
nication between DB2 and TCP/IP failed.
Using this IP address, DB2 issues a GetHostByAddr
Variable Description
socket call to determine the associated domain name. The
csect The CSECT name of the DB2 module that OS/390 Resolver handles the GetHostByAddr socket call
issued the message. because DB2 uses the OS/390 Open Edition Asynchro-
socket The name of the TCP/IP socket call that nous Sockets interface. This resolver uses the resolver
failed. configuration information available to DDF. Until this infor-
mation for the selected TCP/IP stack is correctly specified
rc The return code reported by TCP/IP. The for DDF, the OS/390 Resolver will be unable to determine
return code values are documented in the domain name for DDF. You can find the search order
# OS/390 UNIX System Services for the "resolver configuration files" for an OS/390 applica-
# Programming: Assembler Callable Ser- tion, such as DDF, in the IP Configuration manual for the
# vices Reference. appropriate level of the Communication Server for your
OS/390 operating system.
Problem Determination: See System Programmer If the value specified by serv is correct, register the service
Response. name with TCP/IP.
TCP/IP service names are case sensitive, so make sure that
DSNL513I csect TCP/IP GETHOSTBYNAME FAILED WITH the PORT column in SYSIBM.LOCATIONS is an exact match
ERRNO=errno FOR DOMAIN domain for the service name defined to TCP/IP.
Explanation: DB2 encountered a TCP/IP gethostbyname Problem Determination: See System Programmer
socket call error when attempting to convert a TCP/IP domain Response.
name into an IP address.
Variable Description DSNL515I csect TCP/IP BIND FOR PORT port FAILED
WITH RETURN CODE='rc'X AND REASON
csect The CSECT name of the DB2 module that
CODE='reason'X
issued the message.
Explanation: DB2 encountered an error on the TCP/IP bind
errno The error condition reported by TCP/IP.
socket call while attempting to register a TCP/IP port number
The errno values are documented in IBM
with the TCP/IP instance.
TCP/IP for MVS: Application Programming
Reference. Variable Description
domain The TCP/IP domain name that DB2 wants csect The CSECT name of the DB2 module that
to convert into an IP address. DB2 obtains issued the message.
the domain value from the IPADDR
port The TCP/IP port number DB2 wants to
column of the SYSIBM.IPNAMES commu-
register with the TCP/IP instance.
nications database table.
rc The return code reported by TCP/IP. The
System Action: The row in SYSIBM.IPNAMES containing the
return code values are documented in
specified domain in the IPADDR column is invalid. If the error
OS/390 UNIX System Services
occurs during DDF startup, the row in SYSIBM.IPNAMES is
Programming: Assembler Callable Ser-
ignored. If the error occurs during an SQL statement, the SQL
vices Reference.
statement fails and the location associated with the
SYSIBM.IPNAMES row is not available for TCP/IP communi- reason The reason code reported by TCP/IP. The
cation. reason code values are documented in
OS/390 UNIX System Services
User Response: Notify the system programmer.
Programming: Assembler Callable Ser-
Operator Response: Notify the system programmer. vices Reference.
System Programmer Response: Refer to IBM TCP/IP for System Action: If this error occurs for the TCP/IP port used
MVS: Application Programming Reference for an explanation for incoming DRDA requests, the error is probably caused by
of the error. Correct the IPADDR column value in DB2 restarting on a CEC that already has another DB2 sub-
SYSIBM.IPNAMES or register the domain with TCP/IP. system using the DRDA port number. DB2 will continue to try
to activate the TCP/IP port number periodically.
Problem Determination: See System Programmer
Response. If this error occurs for the DRDA resynchronization port, DB2
invokes internal processing that is equivalent to STOP DDF
DSNL514I csect-name TCP/IP SERVICE serv IS NOT MODE(FORCE).
DEFINED User Response: Notify the system programmer.
Explanation: The TCP/IP getservbyname socket call did not Operator Response: Notify the system programmer.
find a matching definition for serv.
System Programmer Response: Refer to OS/390 UNIX
Variable Description System Services Programming: Assembler Callable Services
serv The TCP/IP service name that DB2 wants Reference for an explanation of the error.
to convert into a TCP/IP port number. Define DB2's TCP/IP port number to the TCP/IP instance, or
DB2 obtains the service name from the use the change log izxentory utility to correct the TCP/IP port
PORT column of the number used by DB2.
SYSIBM.LOCATIONS communication
Problem Determination: See System Programmer
database table.
Response.
System Action: The row in SYSIBM.LOCATIONS containing
the specified service name in the PORT column is invalid. The
# DSNL516I csect-name LANGUAGE ENVIRONMENT SER-
associated LOCATION cannot be used for TCP/IP communi-
VICES NOT AVAILABLE. CEEPIPI ROUTINE
cation. If the error occurs during an SQL statement, the SQL
CANNOT BE LOADED
statement fails.
Explanation: DB2 must load the Language Environment
User Response: Notify the system programmer.
# interface module (CEEPIPI) to process functions requiring Lan-
Operator Response: Notify the system programmer. # guage Environment services. These Language Environment
System Programmer Response: If the value specified by
# services are required for TCP/IP socket calls, encryption and
serv is incorrect, correct the PORT column value in
# decryption, and so on. If the CEEPIPI module is not included in
an accessible data set such as STEPLIB data sets or the LPA
SYSIBM.LOCATIONS.
# library, DDF is unable to use the Language Environment .
System Action: The DB2 TCP/IP port is available to accept connection-id The connection identifier of the requester.
incoming resynchronization connection requests.
luw-id=token The logical unit of work ID of the thread
followed by an '=' sign and a token
DSNL521I csect-name INVALID DDF BSDS VALUES which may be used in place of luw-id in
DETECTED (PORT=port,RESPORT=rport). any DB2 command that accepts luw-id as
Explanation: DB2 encountered invalid values for the TCP/IP input.
port numbers in the DDF record of the BSDS. Valid TCP/IP Refer to message DSNT500I under “DSNT... Messages” on
port numbers must obey the following rules: page 315 for an explanation of the resource type and resource
If PORT is non-zero, RESPORT must also be non-zero. name.
If RESPORT is non-zero, PORT must also be non-zero. System Action: The SQL statement cannot be executed.
PORT and RESPORT must not specify the same value. Operator Response: See Problem Determination.
DSNL702I CDB TABLE table-name DOES NOT HAVE DSNL704I CDB OBJECT object-name DOES NOT HAVE
PROPER COLUMN DEFINITIONS, COLUMN PROPER REFERENTIAL CONSTRAINT DEFI-
column-name IS MISSING OR INCORRECTLY NITIONS
DEFINED
Explanation: The communications database (CDB) requires
Explanation: The communications database (CDB) needs a referential constraint definitions for 'object-name'. The current
definition for 'column-name' in 'tablename'. The current defi- definition is missing or incorrect.
nition is missing or incorrect.
System Action: Termination of the distributed data facility
System Action: Termination of the distributed data facility (DDF) is initiated.
(DDF) is initiated.
Operator Response: Notify the system programmer.
Operator Response: Notify the system programmer.
System Programmer Response: Determine what caused the
System Programmer Response: Determine what caused the failure, define the missing referential constraint, and issue the
failure, define the column as required, and issue the -START -START DDF command. Refer to Section 3 of DB2 Installation
DDF command. Guide .
Problem Determination: Print the definition of the communi- Problem Determination: Print the definition of the communi-
cations database (CDB). cations database (CDB).
DSNL703I CDB TABLE table-name DOES NOT HAVE DSNL705I CDB IS UNAVAILABLE OR INCORRECTLY
PROPER INDEX DEFINITIONS, INDEX index- DEFINED
name IS MISSING OR INCORRECTLY DEFINED
Explanation: During start-up of the distributed data facility,
Explanation: The communications database (CDB) requires the required CDB was unavailable or incorrectly defined.
an index name for table-name. The current definition is missing
System Action: Termination of the DDF is initiated.
or incorrect.
Operator Response: Notify the system programmer.
System Action: The distributed data facility (DDF) termi-
nates. System Programmer Response: Refer to the previous
message that specifies the cause of the CDB failure
Operator Response: Notify the system programmer.
(DSNL700I, DSNL701, DSNL702I, DSNL703I, or DSNL704I).
System Programmer Response: Define the index as Determine what caused the failure, fix the error condition, and
required and issue the -START DDF command. Refer to issue the -START DDF command.
Section 3 of DB2 Installation Guide.
Collect the following diagnostic items listed in Appendix B,
Problem Determination: Print the definition of the communi- “Problem determination” on page 1051: 1.
cations database (CDB).
DSNL706I csect-name AN ERROR HAS OCCURRED IN
DDF EXIT ROUTINE routine
Explanation: An error occurred following invocation of a DDF
exit routine by DB2.
The variable “routine” is the name of the exit routine,
DSNLHLIx, invoked by DB2.
System Action: The system abends the failing database-
access agent.
DSNM... Messages
All of the DSNM... messages are sent to the IMS DSNM003I IMS/TM xxxx FAILED TO CONNECT TO SUB-
master terminal operator (MTO), and to the appro- SYSTEM yyyy RC=rc
priate MVS console. Explanation: The IMS/TM system (named 'xxxx') control
region did not connect to the DB2 subsystem (named 'yyyy').
This message is sent to the IMS/TM master terminal operator.
DSNM001I IMS/TM xxxx CONNECTED TO SUBSYSTEM The return code 'rc' indicates the reason for the failure.
yyyy Value Description
Explanation: This is an information message only. The 00 The DB2 subsystem is not operational. However, a
control region of the IMS/TM system specified in the message notify message has been queued and, when the
as 'xxxx' has successfully connected to the DB2 subsystem DB2 subsystem is started, it will automatically
specified in the message as 'yyyy'. The message is sent to connect to IMS/TM.
the IMS/TM master terminal operator.
04 The connection attempt failed between IMS/TM and
System Action: IMS/TM transactions can access DB2 the DB2 subsystem.
resources.
System Action: IMS/TM transactions cannot access DB2
resources.
DSNM002I IMS/TM xxxx DISCONNECTED FROM SUB-
SYSTEM yyyy RC=rc Operator Response: For return code 00, start the DB2 sub-
system. For return code 04, notify the system programmer.
Explanation: The IMS/TM system named 'xxxx' control
region has disconnected from the DB2 subsystem named System Programmer Response: For return code 04, refer to
'yyyy' for the RC, reason code, of 'rc'. The message is sent Section 4 (Volume 1) of DB2 Administration Guide for failure
to the IMS/TM master terminal operator. The reason code analysis procedures.
values are: Problem Determination: For return code 04, an IMS/TM
Value Description attachment facility snap record (code X'5501FF') is written to
the IMS/TM log to indicate the reason for the failure.
A IMS/TM is terminating normally (for example, /CKPT
FREEZE command).
DSNM004I RESOLVE INDOUBT ENTRY(S) ARE OUT-
B IMS/TM is terminating abnormally. STANDING FOR SUBSYSTEM xxxx
C DB2 is terminating in a quiesce fashion (for Explanation: The DB2 subsystem ID of 'xxxx' has 'indoubt'
example, DB2 stop quiesce command). entry(s) remaining after the IMS/TM subsystem has attempted
D DB2 is terminating abnormally. to resolve the work units that are indoubt. This message is
sent to the IMS/TM master terminal operator.
E The connection between IMS/TM and the DB2 sub-
system is terminating; however, both subsystems System Action: The connection between the DB2 and
remain operational. IMS/TM subsystems remains active, and applications can
access DB2 resources.
System Action: The connection between IMS/TM and DB2
terminated. IMS/TM transactions can no longer access DB2 Operator Response: Notify the system programmer.
resources. System Programmer Response: Refer to Section 4 (Volume
Operator Response: Notify the system programmer. 1) of DB2 Administration Guide for failure analysis procedures.
DB2 commands (DISPLAY THREAD and RECOVER
System Programmer Response: Reason code A, C, or E INDOUBT) may be used to display and resolve the work unit(s)
makes this an information message. Reason code D indicates that are indoubt.
that a serious problem occurred in the DB2 subsystem, and
that the SYS1.LOGREC should be examined. For reason code Problem Determination: Recovery information is available
B or D, determine the failing subcomponent, and if you suspect on the DB2 log and IMS/TM log to assist in the resolution of
an error in DB2, refer to Section 3 of DB2 Diagnosis Guide the work unit(s) indoubt. For each indoubt work unit, an
and Reference for information on identifying and reporting the IMS/TM attachment facility snap record (code X'5501FE') is
problem. written to the IMS/TM log.
DSNN... Message
Operator Response: Select a valid SQL return code number,
DSNN40 THE NUMBER YOU SELECTED IS NOT A
and try again.
VALID SQL RETURN CODE NUMBER
Explanation: The user looking at the SQL Return Codes
Menu in DB2 HELP selected a number that is not a valid SQL
return code.
System Action: The SQL Return Codes Menu continues to
be displayed.
User Response: Select a valid SQL return code number, and
try again.
DSNP... Messages
The DSNP-prefixed messages contain a con- If the table space or index is backed by 'user-defined'
data sets, and not at maximum (123) extents for the data
nection ID, a correlation ID, and a logical-unit-of-
set, issue an ALTER ADDVOLUMES access method ser-
work ID. Messages that have the same connection vices command to provide additional volumes (up to 133 of
ID, correlation ID, and logical-unit-of-work ID relate them). Or, if the table space is nonpartitioned and the high
to the same user. This makes it possible to scan a allocated RBA is greater than or equal to 2GB
(2,147,483,648) for the indicated data set, define the data
number of DSNP-prefixed messages and group
set required for the next sequential piece. (Actually, in this
activities involving a given user. case, there should be an indication in console messages
or the reason code that the data set required for the next
piece was not found.)
DSNP001I csect – data-set-name IS WITHIN nk BYTES OF If the data set is at maximum (123) extents, try reorgan-
AVAILABLE SPACE. RC=rrrrrrrr izing the table space or index into a data set or data sets
CONNECTION-ID=xxxxxxxx, having larger primary and secondary values. This process
CORRELATION-ID=yyyyyyyyyyyy, is discussed in Section 2 (Volume 1) of DB2 Administration
LUW-ID=logical-unit-of-work-id=token Guide.
Explanation: This message warns of an impending space Problem Determination: Examine the console messages,
shortage. The data space manager (DSM) extend function SYS1.LOGREC information, and SYSLOG to determine the
CSECT 'DSNPmmmm' detected the space shortage through reason for the condition. Try to resolve it by the methods
the use of a 'hedge' quantity 'n'. Reason code 'rrrrrrrr' gives described in the Operator Response section of this message. If
some information about why space could not be obtained. (See you feel that this message indicates a problem in an IBM
“Section 4. DB2 Codes” on page 577.) program, you should provide the following sources of informa-
tion about the problem:
There might also be some preceding DSM and VSAM mes-
sages that can help to determine why space cannot be Console sheet showing the message and related mes-
obtained. The connection, correlation, and logical-unit-of-work sages that might precede or follow it.
IDs identify the user or application that encountered the System log printout (obtained via MVS WRITELOG oper-
problem. Correlation IDs beginning with '0nn', where 'nn' is a ator command) showing related VSAM/media manager
number, identify system agents. messages that might appear there (usually needed only if
you have a message or reason code that indicates a
A LUW-ID of '*' indicates that the thread does not have a media manager services problem occurred).
LUW-ID. If the LUW-ID is not an '*', the value is a logical- Integrated catalog facility (ICF) catalog listing showing
unit-of-work-id that is assigned to the thread followed by an characteristics of the data set in question and of the ICF
'=' sign and a token value, which can be used in place of catalog itself.
logical-unit-of-work-id in any DB2 command that accepts VTOC listing of packs associated with the request, showing
logical-unit-of-work-id as input. space available for data sets, catalogs, VTOC index, and
Messages that have the same connection ID, correlation ID, the VTOC itself, as well as data set extent information.
and LUW-ID relate to the same user. This makes it possible to Any associated dumps.
scan a number of DSNP-prefixed messages and group activ- SYS1.LOGREC listing showing entries at or near the time
ities involving a given user. of the problem (unless these appear in an associated
dump).
System Action: If sufficient space is available for the current
Depending on the reason code, the results of certain SQL
request, continue. Otherwise, message DSNP007I follows, and
SELECT operations on DB2 catalog tables may be
the current SQL request fails.
needed. (See “Section 4. DB2 Codes” on page 577.)
Operator Response: DSM messages are directed to the
database administrator (DBA) or system administrator. DSNP002I csect – DEFINE FAILED FOR data-set-name
However, the DBA or system administrator can request that RC=rrrrrrrr CONNECTION-ID=xxxxxxxx,
the operator issue an MVS WRITELOG operator command (for CORRELATION-ID=yyyyyyyy, LUW-ID=logical-
example, 'W A') to obtain MVS SYSLOG output. The unit-of-work-id =token
SYSLOG sometimes contains media manager messages that
might be helpful to the DBA or system administrator in deter- Explanation: Data set definition failed (in CSECT
mining why space could not be allocated. 'DSNPmmmm') for the reason identified by RC. (See “Section
4. DB2 Codes” on page 577.) The connection ID, correlation
System Programmer Response: Based on the reason code ID, and logical-unit-of-work ID (LUW-ID) identify the user or
(RC) in the message, as well as information that might be application that encountered the problem. The connection, cor-
available in access method services or VSAM messages pre- relation, and logical-unit-of-work IDs identify the user or appli-
ceding this one, try one of the following: cation that encountered the problem. Correlation IDs beginning
If you do not anticipate further extension of this table space with '0nn', where 'nn' is a number, identify system agents.
or index, ignore the message. A LUW-ID of '*' indicates that the thread does not have a
If the table space or index is backed by storage group- LUW-ID. If the LUW-ID is not an '*', the value is a logical-
defined data sets and this data set is not at maximum unit-of-work-id that is assigned to the thread followed by an
(123) extents, use the ALTER STOGROUP statement to '=' sign and a token value, which can be used in place of
add volumes to the storage group (up to 133 of them).
logical-unit-of-work-id in any DB2 command that accepts general, VSAM utilities do not work on DB2 database services
logical-unit-of-work-id as input. data sets.)
Messages that have the same connection ID, correlation ID, Problem Determination: See Problem Determination for
and LUW-ID relate to the same user. This makes it possible to message DSNP001I for this information.
scan a number of DSNP-prefixed messages and group activ-
ities involving a given user. DSNP004I csect – DELETE FAILED FOR data-set-name.
System Action: The data space manager (DSM) terminates RC=rrrrrrrr CONNECTION-ID=xxxxxxxx,
its actions associated with the current SQL request. Higher CORRELATION-ID=yyyyyyyyyyyy,
level functions might terminate the current SQL request or the LUW-ID=logical-unit-of-work-id=token
unit of recovery that issued the request. Explanation: Deletion failed in CSECT 'DSNPmmmm' for
Operator Response: This message is directed to either the the reason identified by RC. (See “Section 4. DB2 Codes” on
database administrator or the system administrator. Bring the page 577.) The connection ID, correlation ID, and logical-unit-
message to their attention if it appears on the MVS operator's of-work ID (LUW-ID) identify the user or application that
console. The installation should consider directing DB2 mes- encountered the problem. Correlation IDs beginning with
sages to a console other than the operator's console. '0nn', where 'nn' is a number, identify system agents.
System Programmer Response: Investigate the problem The value of the LUWID is alogical-unit-of-work-id that is
indicated by the reason code and preceding access method assigned to the thread followed by an '=' sign and a token
services messages, if any, and correct it, if possible. If an out- value, which can be used in place of logical-unit-of-work-id in
of-space condition exists, see the description of message any DB2 command that accepts logical-unit-of-work-id as input.
DSNP001I for actions to consider. Messages that have the same connection ID, correlation ID,
Problem Determination: See Problem Determination of and LUWID relate to the same user. This makes it possible to
message DSNP001I for this information. scan a number of DSNP-prefixed messages and group activ-
ities involving a given user.
DSNP003I csect – RESET FAILED FOR data-set-name. Severity: 8 (error)
RC=rrrrrrrr CONNECTION-ID=xxxxxxxx,
System Action: DB2 terminates its actions associated with
CORRELATION-ID=yyyyyyyyyyyy,
the current SQL request. DB2 might terminate the current SQL
LUW-ID=logical-unit-of-work-id=token
request or the unit of recovery that issued the request.
Explanation: Reset, a data space manager (DSM) function
Operator Response: This message is directed to the data-
invoked by DB2 utilities, failed in CSECT 'DSNPmmmm' for
base administrator or the system administrator. Bring it to that
the reason identified by RC. (See “Section 4. DB2 Codes” on
person's attention if it appears on the MVS operator's console.
page 577.) The connection ID, correlation ID, and logical-unit-
The installation should consider directing DB2 messages to a
of-work ID (LUW-ID) identify the user or application that
console other than the operator's console.
encountered the problem. Correlation IDs beginning with
'0nn', where 'nn' is a number, identify system agents. System Programmer Response: Investigate the problem
indicated by the reason code and preceding access method
A LUW-ID of '*' indicates that the thread does not have a
services messages if any, and correct it, if possible. Check the
LUW-ID. If the LUW-ID is not an '*', the value is a logical-
data set and delete it by using access method services directly
unit-of-work-id that is assigned to the thread followed by an
if reasonable to do so. Consider making a backup copy before
'=' sign and a token value, which can be used in place of
doing this. (Use DB2 utilities to make the copy; in general,
logical-unit-of-work-id in any DB2 command that accepts
VSAM utilities do not work on DB2 data sets.)
logical-unit-of-work-id as input.
Problem Determination: See Problem Determination for
Messages that have the same connection ID, correlation ID,
message DSNP001I for this information.
and LUW-ID relate to the same user. This makes it possible to
scan a number of DSNP-prefixed messages and tie together
activities involving a given user. DSNP005I csect – COULD NOT REMOVE EXCESS
VOLUMES FROM CANDIDATE LIST OF data-
System Action: DSM terminates its actions associated with set-name CONNECTION-ID=xxxxxxxx,
the current SQL request. Higher level functions might terminate CORRELATION-ID=yyyyyyyyyyyy,
the current SQL request or the unit of recovery that issued the LUW-ID=logical-unit-of-work-id=token
request.
Explanation: Volumes from a storage group were entered in
Operator Response: This message is directed to the data- the data set’s candidate list and could not be removed by
base administrator or the system administrator. Bring it to that CSECT 'DSNPmmmm' after some data space manager
person's attention if it appears on the MVS operator's console. (DSM) operation. The connection ID, correlation ID, and
The installation should consider directing DB2 messages to a logical-unit-of-work ID (LUW-ID) identify the user or application
console other than the operator's console. that encountered the problem. Correlation IDs beginning with
System Programmer Response: Investigate the problem '0nn', where 'nn' is a number, identify system agents.
indicated by the reason code and preceding DB2, access A LUW-ID of '*' indicates that the thread does not have a
method services, or VSAM messages, if any, and correct it, if LUW-ID. If the LUW-ID is not an '*', the value is a logical-
possible. unit-of-work-id that is assigned to the thread followed by an
It might be necessary to delete and redefine the data set using '=' sign and a token value, which can be used in place of
access method services. Consider making a backup copy logical-unit-of-work-id in any DB2 command that accepts
before doing this. (Use DB2 utilities to make the copy; in logical-unit-of-work-id as input.
Messages that have the same connection ID, correlation ID, The installation should consider directing DB2 messages to a
and LUW-ID relate to the same user. This makes it possible to console other than the operator's console.
scan a number of DSNP-prefixed messages and group activ-
System Programmer Response: If you suspect an error in
ities involving a given user.
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
This is not a major problem. However, the data set will not for information on identifying and reporting the problem.
properly reflect subsequent deletions from the volume list in its
Problem Determination: See Problem Determination for
storage group (via ALTER STOGROUP command in SQL),
message DSNP001I for this information.
because the data set’s integrated catalog facility (ICF) catalog
entry still contains the volume serial numbers.
DSNP007I csect – EXTEND FAILED FOR data-set-name.
If needed, the storage group in question can be identified by RC=rrrrrrrr CONNECTION-ID=xxxxxxxx,
issuing an SQL SELECT to get information about the table CORRELATION-ID=yyyyyyyyyyyy,
space or index that is identified by the third and fourth qual- LUW-ID=logical-unit-of-work-id =token
ifiers (database name, table space name) in the data set
name. Explanation: Extension failed in CSECT 'DSNPmmmm' of
the data space manager (DSM). The 'data-set-name' identi-
System Action: Operation continues. fies the data set that is being extended. RC is the reason
Operator Response: This message is directed to the data- code, which indicates why the extend process failed. (See
base administrator or the system administrator. Bring it to that “Section 4. DB2 Codes” on page 577.) The 'connection ID',
person’s attention if it appears on the MVS operator’s console. 'correlation ID', and 'logical-unit-of-work ID' (LUW-ID) identify
The installation should consider directing DB2 messages to a the user or application that encountered the problem. Corre-
console other than the operator's console. lation IDs beginning with '0nn', where 'nn' is a number, iden-
tify system agents.
System Programmer Response: Look for associated DSM
and access method services messages preceding this one to A LUW-ID of '*' indicates that the thread does not have a
get additional information. Attempt an ALTER LUW-ID. If the 'LUW-ID' is not an '*', the value is a
REMOVEVOLUMES access method services command, if 'logical-unit-of-work-id' that is assigned to the thread followed
appropriate, after issuing a LISTCAT to see which volumes are by an '=' sign and a token value, which can be used in place
recorded as 'candidate' in the integrated catalog facility (ICF) of 'logical-unit-of-work-id' in any DB2 command that accepts
catalog. 'logical-unit-of-work-id' as input.
Problem Determination: See Problem Determination for Messages that have the same 'connection ID', 'correlation
message DSNP001I for this information. (However, there ID', and 'LUW-ID' relate to the same user. This makes it pos-
should not be a need for VTOC or SYSLOG information for sible to scan a number of DSNP-prefixed messages and group
this case.) activities involving a given user.
System Action: The DSM terminates its actions associated
DSNP006I csect – REQUIRED STOGROUP DEFINED with this extend request. Higher level functions might terminate
DATA SET NOT AVAILABLE— data-set-name if they cannot continue without a successful extend. In this
RC=rrrrrrrr CONNECTION-ID=xxxxxxxx, case, additional console messages and/or SQL codes are
CORRELATION-ID=yyyyyyyyyyyy, produced. In other cases, higher level functions might be able
LUW-ID=logical-unit-of-work-id=token to resolve the space need without the extend, so they continue
normally.
Explanation: An attempt to alter the shareoptions of this data
set failed. The data set could not be accessed for the reason System Programmer Response: The following sources of
indicated by RC. (See “Section 4. DB2 Codes” on page 577.) information are available to help determine the cause of the
The connection ID, correlation ID, and logical-unit-of-work ID failure:
(LUWID) identify the user or application that encountered the
See the Programmer Response for message DSNP001I.
problem. Correlation IDs beginning with '0nn', where 'nn' is a
number, identify system agents. Analyze the RC value in conjunction with the console mes-
sages.
The value of the LUWIDis a logical-unit-of-work-id that is
assigned to the thread followed by an '=' sign and a token The reason code might apply to the data set identified in
value, which can be used in place of the logical-unit-of-work-id the message or to another data set that is needed for the
in any DB2 command that accepts the logical-unit-of-work-id as extend process. If the reason code indicates a data set
input. access failure, the console messages indicate the data set
name. For example, if the RC indicates 'resource
Messages having the same connection ID, correlation ID, and
unavailable', console messages identify the resource that
LUWID relate to the same user. This makes it possible to scan
is unavailable. Most likely, the message will be DSNT500I.
a number of DSNP-prefixed messages and group activities
involving a given user. Retrieve diagnostic information from the output of the
DISPLAY DB...RESTRICT or DISPLAY UTIL(*)... com-
Severity: 8 (error)
mands.
System Action: DB2 terminates its actions associated with
If the extend failed on a result table space, refer to “Sort
the current SQL request. DB2 might terminate the current SQL
Data Sets” in Section 5 (Volume 2) of DB2 Administration
request or the unit of recovery that issued the request.
Guide.
Operator Response: This message is directed to the data-
If the extend failed on an SQL insert or update, refer to
base administrator or the system administrator. Bring it to that
Section 3 of DB2 Diagnosis Guide and Reference for infor-
person’s attention if it appears on the MVS operator’s console.
mation on identifying and reporting the problem.
If you need to enlarge your data set, refer to “Out of DASD description might indicate that one of the following actions
Space” in Section 4 (Volume 1) of DB2 Administration needs to be performed or it indicates the necessary steps:
Guide.
If the data set does not exist, create it before attempting
To find out how the extend function operates, refer to the create table space/index or extend data set again.
“Improving DASD Utilization” in Section 5 (Volume 2) of
If the data set shareoptions are incorrect, modify the
DB2 Administration Guide.
shareoptions with access method services (AMS).
Operator Response: See Operator Response for message
The appropriate AMS command is ALTER
DSNP001I for this information.
SHAREOPTIONS.
System Programmer Response: See System Programmer
Problem Determination: See Problem Determination for
Response for message DSNP001I for this information.
message DSNP001I for this information.
Problem Determination: See Problem Determination for
message DSNP001I DSNP009I THE FOLLOWING ERROR MESSAGES WERE
RECEIVED FOR operation ON data-set-name
DSNP008I csect– REQUIRED USER–DEFINED DATA SET DSNP010I END OF ERROR MESSAGES.
NOT AVAILABLE—data-set-name RC=rrrrrrrr CONNECTION-ID=xxxxxxxx,
CONNECTION-ID=xxxxxxxx, CORRELATION-ID=yyyyyyyyyyyy,
CORRELATION-ID=yyyyyyyyyyyy, LUW-ID=logical-unit-of-work-id=token
LUW-ID=logical-unit-of-work-id=token
Explanation: Messages DSNP009I and DSNP010I enclose a
Explanation: One of the following actions applied against block of messages that are received by the data space
user-defined data sets failed in CSECT 'DSNPmmmm' of the manager (DSM) subcomponent of DB2 in response to an
data space manager (DSM): access method services (AMS) operation.
Create table space or index operation The access method services operation
that was being performed.
Extend table space or index
data-set-name The data set on which the operation was
Process the SQL ALTER DATABASE statement being performed.
Process the REORG TABLESPACE utility with SHRLEVEL The prefix of the messages in the block is usually IDC (access
REFERENCE or CHANGE method services messages). However, the prefix can also be
Correlation IDs beginning with '0nn', where 'nn' is a number, IKJ (dynamic allocation) or other system subcomponent IDs.
identify system agents. Refer to the appropriate MVS publication for descriptions of the
enclosed messages.
One or more of the data sets could not be accessed for the
reason indicated by RC. (See “Section 4. DB2 Codes” on The operation can be DEFINE CLUSTER, ALTER
page 577.) The connection ID, correlation ID, and logical-unit- ADDVOLUMES, ALTER REMOVEVOLUMES, or DELETE
of-work ID (LUWID) identify the user or application that CLUSTER. One or more other DSM messages follow this
encountered the problem. message to explain what happened as a result of the failure of
this access method services request. The connection ID, corre-
The value of the LUWID is alogical-unit-of-work-id that is lation ID, and logical-unit-of-work ID (LUW-ID) identify the user
assigned to the thread followed by an '=' sign and a token or application that encountered the problem.
value, which can be used in place of logical-unit-of-work-id in
any DB2 command that accepts logical-unit-of-work-id as input. A LUW-ID of '*' indicates that the thread does not have a
LUW-ID. If the LUW-ID is not an '*', the value is a logical-
Messages having the same connection ID, correlation ID, and unit-of-work-id that is assigned to the thread followed by an
LUWID relate to the same user. This makes it possible to scan '=' sign and a token value, which can be used in place of
a number of DSNP-prefixed messages and group activities logical-unit-of-work-id in any DB2 command that accepts
involving a given user. logical-unit-of-work-id as input.
If the name of the data set in the message is different from the Messages that have the same connection ID, correlation ID,
name of the original data set (for example, '....A002' instead and LUW-ID relate to the same user. This makes it possible to
of '...A001'), a new data set might need to be created. A dif- scan a number of DSNP-prefixed messages and group activ-
ferent name indicates that the original data set exceeded its ities involving a given user. Correlation IDs beginning with
limit. '0nn', where 'nn' is a number, identify system agents.
Severity: 8 (error) System Action: Operation continues.
System Action: DB2 terminates its actions associated with Operator Response: This message is directed to the data-
the current SQL request or utility. DB2 might terminate the base administrator or the system administrator. Bring it to that
current SQL request or utility or the unit of recovery that issued person’s attention if it appears on the MVS operator’s console.
the request. The installation should consider directing DB2 messages to a
Operator Response: This message is directed to the data- console other than the operator's console.
base administrator or the system administrator. Bring it to that System Programmer Response: Use this information to help
person’s attention if it appears on the MVS operator’s console. resolve problems indicated by other DSM messages that follow
The installation should consider directing DB2 messages to a this one.
console other than the operator’s console.
Problem Determination: See Problem Determination for
System Programmer Response: Refer to the reason code in message DSNP001I for this information.
“Section 4. DB2 Codes” on page 577. The return code
required (2 for table space, 3 for index space). Specify the (LUW-ID) identify the user or application that encountered the
primary allocation value again so that at least (pages × page problem.
size) bytes are allocated.
A LUW-ID of '*' indicates that the thread does not have a
Problem Determination: See Problem Determination for LUW-ID. If the LUW-ID is not an '*', the value is a logical-
message DSNP001I for this information. unit-of-work-id that is assigned to the thread followed by an
'=' sign and a token value, which can be used in place of
DSNP014I IRLM MANUAL LOCK REQUEST FAILED FOR logical-unit-of-work-id in any DB2 command that accepts
data-set-name. RC=rr,SC=ssssssss, logical-unit-of-work-id as input.
CONNECTION-ID=xxxxxxxx, Messages that have the same connection ID, correlation ID,
CORRELATION-ID=yyyyyyyyyyyy, and LUW-ID relate to the same user. This makes it possible to
LUW-ID=logical-unit-of-work-id=token scan a number of DSNP-prefixed messages and group activ-
Explanation: DB2 requested a manual lock on a data set, but ities involving a given user. Correlation IDs beginning with
the lock could not be obtained for reasons specified in RC and '0nn', where 'nn' is a number, identify system agents.
SC. RC and SC are the return code and reason code from System Action: The current SQL or the unit of recovery that
IRLM. RC and the first two digits of SC are documented in issued the request might be terminated.
“Section 5. IRLM Messages and Codes” on page 1009. The
Operator Response: This message is directed to the data-
connection ID, correlation ID, and logical-unit-of-work ID
base administrator or the system administrator. Bring it to that
(LUW-ID) identify the user or application that encountered the
person’s attention if it appears on the MVS operator’s console.
problem.
The installation should consider directing DB2 messages to a
A LUW-ID of '*' indicates that the thread does not have a console other than the operator’s console.
LUW-ID. If the LUW-ID is not an '*', the value is a logical-
System Programmer Response: Investigate the problem
unit-of-work-id that is assigned to the thread followed by an
indicated by the IRLM return and reason code.
'=' sign and a token value, which can be used in place of
logical-unit-of-work-id in any DB2 command that accepts Problem Determination: Provide the console sheet and a
logical-unit-of-work-id as input. dump. A GTF trace might also be required. If you suspect an
error in DB2, refer to Section 3 of DB2 Diagnosis Guide and
Messages that have the same connection ID, correlation ID,
Reference for information on identifying and reporting the
and LUW-ID relate to the same user. This makes it possible to
problem. See the explanation section of this message for addi-
scan a number of DSNP-prefixed messages and group activ-
tional problem determination information.
ities involving a given user. DSNP001I or DSNP007I follow this
message. Correlation IDs beginning with '0nn', where 'nn' is
a number, identify system agents. DSNP016I CREATE FAILED FOR pageset-name.
RC=rrrrrrrr CONNECTION-ID=xxxxxxxx,
If message DSNT376I was received before message
CORRELATION-ID=yyyyyyyyyyyy,
DSNP014I, the lock request failed because of a timeout condi-
LUW-ID=logical-unit-of-work-id =token
tion. Otherwise, refer to the IRLM return and reason codes for
an explanation of the failure. Explanation: Creation of a table space or index space failed
in the data space manager (DSM) for the reason given in RC.
System Action: The current SQL or the unit of recovery that
(See “Section 4. DB2 Codes” on page 577.) The pageset-
issued the request might be terminated.
# name format is 'dbname.tiname .instance ', where 'dbname'
Operator Response: This message is directed to the data- is the database name and 'tiname' is the table space or index
base administrator or the system administrator. Bring it to that space name.
person’s attention if it appears on the MVS operator’s console.
This message identifies the function that was in progress at the
The installation should consider directing DB2 messages to a
time of a failure. The specific failure is usually identified by a
console other than the operator's console.
preceding message. The connection ID, correlation ID, and
System Programmer Response: Investigate the problem logical-unit-of-work ID (LUW-ID) identify the user or application
indicated by the IRLM return and reason code. that encountered the problem.
Problem Determination: Provide the console sheet and a A LUW-ID of '*' indicates that the thread does not have a
dump. A GTF trace might also be required. If you suspect an LUW-ID. If the LUW-ID is not an '*', the value is a logical-
error in DB2, refer to Section 3 of DB2 Diagnosis Guide and unit-of-work-id that is assigned to the thread followed by an
Reference for information on identifying and reporting the '=' sign and a token value, which can be used in place of
problem. Refer to the explanation section of this message for logical-unit-of-work-id in any DB2 command that accepts
additional problem determination information. logical-unit-of-work-id as input.
Messages that have the same connection ID, correlation ID,
DSNP015I csect – IRLM MANUAL UNLOCK REQUEST and LUW-ID relate to the same user. This makes it possible to
FAILED FOR data-set-name. scan a number of DSNP-prefixed messages and group activ-
RC=rr,SC=ssssssss, CONNECTION-ID=xxxxxxxx, ities involving a given user. Correlation IDs beginning with
CORRELATION-ID=yyyyyyyyyyyy, '0nn', where 'nn' is a number, identify system agents.
LUW-ID=logical-unit-of-work-id=token
System Action: DSM terminates its actions associated with
Explanation: DB2 requested a manual unlock on a data set, the current SQL request. Higher level functions might terminate
but the unlock could not be performed for reasons specified in the current SQL request or the unit of recovery that issued the
RC and SC. RC and SC are the return code and reason code request.
from IRLM. RC and the first two digits of SC are documented
Operator Response: This message is directed to the data-
in “Section 5. IRLM Messages and Codes” on page 1009. The
base administrator or the system administrator. Bring it to that
connection ID, correlation ID, and logical-unit-of-work ID
person’s attention if it appears on the MVS operator’s console. cific failure is usually identified by a preceding message. The
The installation should consider directing DB2 messages to a connection ID, correlation ID, and logical-unit-of-work ID
console other than the operator's console. (LUW-ID) identify the user or application that encountered the
problem.
System Programmer Response: Investigate the problem
indicated by reason code and preceding messages, and A LUW-ID of '*' indicates that the thread does not have a
correct it, if possible. LUW-ID. If the LUW-ID is not an '*', the value is a logical-
unit-of-work-id that is assigned to the thread followed by an
Problem Determination: See Problem Determination for
'=' sign and a token value, which can be used in place of
message DSNP001I for this information.
logical-unit-of-work-id in any DB2 command that accepts
logical-unit-of-work-id as input.
DSNP017I RESET FAILED FOR pageset-name. RC=rrrrrrrr
CONNECTION-ID=xxxxxxxx, Messages that have the same connection ID, correlation ID,
CORRELATION-ID=yyyyyyyyyyyy, and LUW-ID relate to the same user. This makes it possible to
LUW-ID=logical-unit-of-work-id =token scan a number of DSNP-prefixed messages and group activ-
ities involving a given user. Correlation IDs beginning with
Explanation: Reset failed in the data space manager (DSM) '0nn', where 'nn' is a number, identify system agents.
subcomponent of DB2 for a table space or index space for the
reason given in RC. (See “Section 4. DB2 Codes” on System Action: DSM terminates its actions associated with
page 577.) The 'pageset-name' format is 'dbname.tiname', the current SQL request. Higher level functions might terminate
where 'dbname' is the database name and 'tiname' is the the current SQL request or the unit of recovery that issued the
table space or index space name. request.
This message identifies the function that was in progress at the Operator Response: This message is directed to the data-
time of a failure. The specific failure is usually identified by a base administrator or the system administrator. Bring it to that
preceding message. The connection ID, correlation ID, and person’s attention if it appears on the MVS operator’s console.
logical-unit-of-work ID (LUW-ID) identify the user or application The installation should consider directing DB2 messages to a
that encountered the problem. console other than the operator’s console.
A LUW-ID of '*' indicates that the thread does not have a System Programmer Response: Investigate the problem
LUW-ID. If the LUW-ID is not an '*', the value is a logical- indicated by the reason code and preceding messages, and
unit-of-work-id that is assigned to the thread followed by an correct it, if possible.
'=' sign and a token value, which can be used in place of Problem Determination: See Problem Determination for
logical-unit-of-work-id in any DB2 command that accepts message DSNP001I for this information.
logical-unit-of-work-id as input.
Messages that have the same connection ID, correlation ID, DSNP019I csect – REALLOCATE FAILED FOR data-set-
and LUW-ID relate to the same user. This makes it possible to name. RC=rrrrrrrr CONNECTION-ID=xxxxxxxx,
scan a number of DSNP-prefixed messages and group activ- CORRELATION-ID=yyyyyyyyyyyy,
ities involving a given user. Correlation IDs beginning with LUW-ID=logical-unit-of-work-id =token
'0nn', where 'nn' is a number, identify system agents.
Explanation: After a successful ALTER REMOVEVOLUMES
System Action: DSM terminates its actions associated with request, the data space manager (DSM) subcomponent of DB2
the current SQL request. Higher level functions might terminate was unable to reallocate the data set for the reason indicated
the current SQL request or the unit of recovery that issued the by RC. (See “Section 4. DB2 Codes” on page 577.) The con-
request. nection ID, correlation ID, and logical-unit-of-work ID (LUW-ID)
identify the user or application that encountered the problem.
Operator Response: This message is directed to the data-
base administrator or the system administrator. Bring it to that A LUW-ID of '*' indicates that the thread does not have a
person’s attention if it appears on the MVS operator’s console. LUW-ID. If the LUW-ID is not an '*', the value is a logical-
The installation should consider directing DB2 messages to a unit-of-work-id that is assigned to the thread followed by an
console other than the operator's console. '=' sign and a token value, which can be used in place of
logical-unit-of-work-id in any DB2 command that accepts
System Programmer Response: Investigate the problem
logical-unit-of-work-id as input.
indicated by the reason code and preceding messages, and
correct it, if possible. Messages that have the same connection ID, correlation ID,
and LUW-ID relate to the same user. This makes it possible to
Problem Determination: See Problem Determination for
scan a number of DSNP-prefixed messages and group activ-
message DSNP001I for this information.
ities involving a given user. Correlation IDs beginning with
'0nn', where 'nn' is a number, identify system agents.
DSNP018I DROP FAILED FOR pageset-name. RC=rrrrrrrr
CONNECTION-ID=xxxxxxxx, System Action: Operation continues.
CORRELATION-ID=yyyyyyyyyyyy, Operator Response: This message is directed to the data-
LUW-ID=logical-unit-of-work-id =token base administrator or the system administrator. Bring it to that
Explanation: Drop failed in the data space manager (DSM) person’s attention if it appears on the MVS operator’s console.
subcomponent of DB2 for a table space or index space for the System Programmer Response: The data set and corre-
reason given in RC. Refer to “Section 4. DB2 Codes” on sponding page set piece or partition can usually continue to be
page 577. The 'pageset-name' format is 'dbname.tiname', used by the DB2 subsystem. However, they should be stopped
where 'dbname' is the database name and 'tiname' is the and restarted at the earliest possible time in order to synchro-
table space or index space name. This message identifies the nize the allocation control blocks with the integrated catalog
function that was in progress at the time of a failure. The spe- facility (ICF) catalog volume list.
Problem Determination: See Problem Determination for Problem Determination: Obtain the console sheet and a
message DSNP001I for this information. dump. A GTF trace might also be required.
Refer to Section 3 of DB2 Diagnosis Guide and Reference for
DSNP020I csect-name - USER DEFINED ATTRIBUTES information on identifying and reporting the problem.
INCORRECT FOR data-set-name. RC=rrrrrrrr
CONNECTION-ID=xxxxxxxx,
DSNP022I csect-name EXTEND DBET RECORDING
CORRELATION-ID=yyyyyyyy, LUW-ID=logical-
FAILED FOR data-set-name, RC=rrrrrrrr,
unit-of-work-id =token
SC=ssssssss, DBETSC=nnnnnnnn,
Explanation: The specified data set was access method ser- CONNECTION-ID=xxxxxxxx,
vices user-defined and does not have the required DB2 attri- CORRELATION-ID=yyyyyyyyyyyy,
butes. The connection ID, correlation ID, and LUW-ID identify LUW-ID=logical-unit-of-work-id=token
the user or application that encountered the problem.
Explanation: This is an internal error. The connection ID, cor-
The value of the LUWID is a'logical-unit-of-work-id' that is relation ID, and logical-unit-of-work ID (LUW-ID) identify the
assigned to the thread, followed by an '=' sign and a token user or application that encountered the problem.
value, which can be used in place of 'logical-unit-of-work-id' in
An LUW-ID of '*' indicates that the thread does not have an
any DB2 command that accepts 'logical-unit-of-work-id' as
LUW-ID. If the LUW-ID is not an '*', the value is a logical-
input.
unit-of-work-id that is assigned to the thread followed by an
Messages having the same connection ID, correlation ID, and '=' sign and a token value, which can be used in place of the
LUWID relate to the same user. This makes it possible to scan logical-unit-of-work-id in any DB2 command that accepts the
a number of DSNP-prefixed messages and group activities logical-unit-of-work-id as input.
involving a given user. Correlation IDs beginning with '0nn',
Messages that have the same connection ID, correlation ID,
where 'nn' is a number, identify system agents.
and LUW-ID relate to the same user. This makes it possible to
This message is issued by the following CSECTs: DSNPATS0 scan a number of DSNP-prefixed messages and group activ-
DSNPSCT0 DSNPSCTC DSNPRNM0 ities involving a given user. Correlation IDs beginning with
'0nn', where 'nn' is a number, identify system agents.
Severity: 8 (error)
System Action: The current SQL statement or the unit of
System Action: No action is taken with the named data set.
recovery that issued the request might be terminated.
An error code is returned and a dump is not taken.
Problem Determination: Obtain the console sheet and a
Operator Response: Notify the system programmer.
dump. A GTF trace might also be required.
System Programmer Response: Delete the named data set
Refer to Section 3 of DB2 Diagnosis Guide and Reference for
and define it with the correct attributes.
information on identifying and reporting the problem.
Problem Determination: Obtain an access method services
LISTCAT for the named data set’s attributes. Refer to Section
DSNP026I csect-name DATASET IS NOT ALLOWED TO
2 (Volume 1) of DB2 Administration Guide for the correct data
BE DELETED data-set-name, RC=rrrrrrrr,
set definition attributes.
CONNECTION-ID=xxxxxxxx,
CORRELATION-ID=yyyyyyyyyyyy,
DSNP021I csect-name EXTEND NOTIFY FAILED FOR LUW-ID=logical-unit-of-work-id=token
data-set-name, SC=ssssssss,
Explanation: During clean up of the shadow data set in the
NOTESC=nnnnnnnn,
final step of online REORG, an error is detected due to an
CONNECTION-ID=xxxxxxxx,
attempt to delete a regular table or index space data set. Refer
CORRELATION-ID=yyyyyyyyyyyy,
to Section 2 of DB2 SQL Reference for information about
LUW-ID=logical-unit-of-work-id=token
online REORG. The connection ID, correlation ID, and logical
Explanation: This is an internal error. The connection ID, cor- unit of work ID (LUWID) identify the user or application that
relation ID, and logical-unit-of-work ID (LUW-ID) identify the encountered the problem. Correlation IDs beginning with
user or application that encountered the problem. '0nn', where 'nn' is a number, identify system agents.
An LUW-ID of '*' indicates that the thread does not have an The value of the LUWID is assigned to the thread followed by
LUW-ID. If the LUW-ID is not an '*', the value is a logical- an '=' sign and a token value, that can be used in place of the
unit-of-work-id that is assigned to the thread followed by an LUWID in any DB2 command that accepts it as input.
'=' sign and a token value, which can be used in place of the
Messages that have the same connection ID, correlation ID,
logical-unit-of-work-id in any DB2 command that accepts the
and LUWID relate to the same user. This makes it possible to
logical-unit-of-work-id as input.
scan a number of DSNP-prefixed messages and group activ-
Messages that have the same connection ID, correlation ID, ities involving a given user.
and LUW-ID relate to the same user. This makes it possible to
System Action: No action is taken with the named data set.
scan a number of DSNP-prefixed messages and group activ-
An error code is returned and a dump is not taken.
ities involving a given user. Correlation IDs beginning with
'0nn', where 'nn' is a number, identify system agents. Operator Response: Notify the system programmer.
If message DSNT376I was received before message System Programmer Response: Determine the failing envi-
DSNP021I, the notify request failed because of a timeout con- ronment. Refer to Section 3 of DB2 Diagnosis Guide and Ref-
dition. erence for information on identifying and reporting the problem.
System Action: The current SQL statement or the unit of
recovery that issued the request might be terminated.
Problem Determination: This is an internal error in the ities involving a given user. Correlation IDs beginning with
online REORG of utility. See the 'Problem Determination' '0nn', where 'nn' is a number, identify system agents.
section of message DSNP001I for this information.
System Action: DSM terminates its action with the associ-
ated data set. Higher level functions that issued the recall
DSNP027I csect-name RENAME FAILED OLD request might terminate.
DATASET=data-set-name, NEW
Operator Response: Notify the system programmer.
DATASET=data-set-name, RC=rrrrrrrr,
CONNECTION-ID=xxxxxxxx, System Programmer Response: Investigate the reason for
CORRELATION-ID=yyyyyyyyyyyy, the HSM recall failure. Use the information in this message to
LUW-ID=logical-unit-of-work-id=token help resolve this problem. Additional messages on the MVS
operator's console might be associated with this message.
Explanation: An attempt to alter the data set name failed.
The connection ID, correlation ID, and logical unit of work ID Problem Determination: If the HSMRSN is 999, refer to the
(LUWID) identify the user or application that encountered the following list for the explanation:
problem. Correlation IDs beginning with '0nn', where 'nn' is a
HSMRC Description
number, identify system agents.
4 HSM is not active.
The value of the LUWID is assigned to the thread followed by 8 No storage is available for MWE in CSA.
an '=' sign and a token value, that can be used in place of the 36 Input MWE is not within user storage.
LUWID in any DB2 command that accepts it as input. 40 Allocated amount of CSA for MWEs was exceeded.
100 There was an invalid function used.
Messages that have the same connection ID, correlation ID,
and LUWID relate to the same user. This makes it possible to For all other reason codes (HSMRSN), refer to the
scan a number of DSNP-prefixed messages and group activ- DFSMS/MVS: DFSMShsm Managing Your Own Data for an
ities involving a given user. explanation of HSM user messages. The HSM user messages
can be determined by appending the value in the HSMRC field
Severity: 8 (error)
of this message to ARC1100I (that is, HSMRC=12, HSM
System Action: DB2 terminates its actions associated with message is ARC1112I). The HSMRSN reason code is refer-
the current SQL request. DB2 might terminate the current SQL enced in the ARC1100I messages.
request or the unit of recovery that issued the request.
Operator Response: This message is directed to the data- # DSNP030I csect-name THE CURRENT EXTENT REACHES
base administrator or the system administrator. Bring it to that # THE LAST VOLUME FOR data-set-name.
person's attention if it appears on the MVS operator's # CONNECTION-ID=xxxxxxxx,
console. The installation should consider directing DB2 mes- # CORRELATION-ID=yyyyyyyyyyyy,
sages to a console other than the operator's console. # LUW-ID=logical-unit-of-work-id=token
System Programmer Response: If you suspect an error in # Explanation: This message indicates that the last volume to
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference # which the data set data-set-name can extend has been
for information on identifying and reporting the problem. # reached. You cannot add more volumes if the current volume
Problem Determination: See 'Problem Determination' for
# runs out of space.
message DSNP001I for this information. # The connection, correlation, and logical-unit-of-work IDs iden-
# tify the user or application that encountered the problem. Cor-
DSNP028I csect-name HSM RECALL FAILED FOR # relation IDs beginning with '0nn', where 'nn' is a number,
DSNAME = dsn # identify system agents.
HSMRC=rrrrrrrr,HSMRSN=ssssssss CON- # A LUW-ID of '*' indicates that the thread does not have a
NECTION ID=xxxxxxxx, CORRELATION # LUW-ID. If the LUW-ID is not an '*', the value is a logical-
ID=yyyyyyyyyyyy, LUW-ID=logical-unit-of-work-id # unit-of-work-id that is assigned to the thread followed by an
=token # '=' sign and a token value, which can be used in place of
Explanation: This message indicates that a required data set # logical-unit-of-work-id in any DB2 command that accepts
was migrated by HSM and an attempt to recall the data set # logical-unit-of-work-id as input.
failed, preventing DB2 from accessing the data set. The # Messages that have the same connection ID, correlation ID,
HSMRC and HSMRSN fields can be used to determine the # and LUW-ID relate to the same user. This makes it possible to
HSM failure. See Problem Determination below. The con- # scan a number of DSNP-prefixed messages and group activ-
nection ID, correlation ID, and 'logical-unit-of-work ID' # ities involving a given user.
(LUW-ID) identify the user or application that encountered the
problem.
# Severity: 0 (informational)
# System Programmer Response: Depending on what infor- # logical-unit-of-work-id in any DB2 command that accepts
# mation is available in the access method services or VSAM # logical-unit-of-work-id as input.
# messages preceding this one, try one of the following:
# Messages that have the same connection ID, correlation ID,
# If you do not anticipate further extension of this table space # and LUW-ID relate to the same user. This makes it possible to
# or index, ignore the message. # scan a number of DSNP-prefixed messages and group activ-
# If the table space or index is backed by SMS-managed # ities involving a given user.
# data sets, use LISTCAT to choose another SMS storage
# Severity: 0 (informational)
# group that has more space available and recover or reor-
# ganize the table space or index into the new SMS storage # System Action: DB2 continues. If the table space or index
# group. # space is not able to extend when needed, Message DSNP007I
# If the table space or index is DB2-managed but is not # is issued and the current SQL request fails.
# SMS-managed, rearrange the DB2 storage group volume # Operator Response: For more information, issue an MVS
# list by shifting volumes with free space or by adding new # WRITELOG operator command (for example, 'W A') to obtain
# volumes. Use the SQL statements ALTER STOGROUP # MVS SYSLOG output. The SYSLOG sometimes contains
# ADD VOLUMES and ALTER STOGROUP REMOVE # VSAM or media manager messages that might be helpful in
# VOLUMES and then recover or reorganize the table space # determining why space could not be allocated.
# or index.
# If the table space or index is user-managed and not # System Programmer Response: Based on the information
# SMS-managed, delete and redefine the data set with more # that might be available in the access method services or
# space and then recover or reorganize the table space or # VSAM messages preceding this one, try one of the following
# index. # actions:
# Problem Determination: Obtain an access method services # If you do not anticipate further extension of this table space
# LISTCAT for the named data set’s VOLUME list for current # or index, ignore the message.
# extent space distribution of volumes. # If the table space or index is DB2-managed and has not
# yet reached the maximum number of extents, obtain an
# See the Problem Determination section of message DSNP001I # access method services LISTCAT for the named data set’s
# for more information. # to see how the extensions are distributed. Your options
# then include:
# DSNP031I csect-name CURRENT SPACE HAS cc
# – If there are multiple small extents, you can use the
# EXTENTS FOR data-set-name. THE MAXIMUM
# SQL statement ALTER TABLESPACE SECQTY to
# EXTENTS WITH DFSMS vv.rr IS mm.
# alter to a larger secondary space allocation quantity.
# CONNECTION-ID=xxxxxxxx,
# CORRELATION-ID=yyyyyyyyyyyy, # – Otherwise, use the ALTER STOGROUP statement to
# LUW-ID=logical-unit-of-work-id=token # add volumes to the storage group (up to 133 of them).
# Explanation: This message indicates that data set data-set- # If the table space or index is user-managed and has not
# name has almost reached the maximum number of extents. # yet reached the maximum number of extents, issue the
# The maximum number is indicated by mm. You cannot add # access method services command ALTER ADDVOLUMES
# more volumes if the current volume runs out of space. # to provide additional volumes (up to 59 of them).
# If the data set is at the maximum number of extents,
# The current version and release of DFSMS are indicated by vv
# recover or reorganize the table space or index into a data
# and rr.
# set or data sets having larger primary and secondary
# The connection, correlation, and logical-unit-of-work IDs iden- # values. This process is discussed in Section 2 (Volume 1)
# tify the user or application that encountered the problem. Cor- # of DB2 Administration Guide.
# relation IDs beginning with '0nn', where 'nn' is a number,
# Problem Determination: Obtain an access method services
# identify system agents.
# LISTCAT for the named data set’s VOLUME list for the extent
# A LUW-ID of '*' indicates that the thread does not have a # space distribution.
# LUW-ID. If the LUW-ID is not an '*', the value is a logical-
# See the Problem Determination section of message DSNP001I
# unit-of-work-id that is assigned to the thread followed by an
# for more information.
# '=' sign and a token value, which can be used in place of
DSNR... Messages
The following information messages indicate the The POSTPONED ABORT count specifies the number whose
backout was postponed in an earlier restart process and not
progress of DB2 through a restart process.
attended to prior to this restart process. These must undergo
backward recovery after completion of restart, via the
-RECOVER POSTPONED command, to restore resources
DSNR001I RESTART INITIATED modified by them to their previous consistent state.
Explanation: This message delimits the beginning of the This message is issued by the following CSECT: DSNRRCSR
restart process within startup. The phases of restart are about
to begin. These phases are necessary to restore the opera- DSNR005I RESTART...COUNTS AFTER FORWARD
tional environment to that which existed at the time of the pre- RECOVERY IN COMMIT=nnnn, INDOUBT=nnnn
vious termination and to perform any recovery actions that may
be necessary to return DB2-managed resources to a con- Explanation: The message indicates the completion of the
sistent state. forward recovery restart phase. The counts indicate the
number of units of work whose recovery actions could not be
completed during the phase. Typically, those in an IN COMMIT
DSNR002I RESTART COMPLETED
state remain because the recovery actions of some subcompo-
Explanation: This message delimits the completion of the nents have not been completed. Those units of work in an
restart process within startup. INDOUBT state will remain until connection is made with the
subsystem that acts as their commit coordinator.
DSNR003I RESTART...PRIOR CHECKPOINT Operator Response: No action is required unless the condi-
RBA=xxxxxxxxxxxx tions persist beyond some installation-defined period of time.
Explanation: The message indicates the first phase of the Recovery action will be initiated when the resource is brought
restart process is in progress and identifies (as online. Indoubt resolution will be initiated as part of the process
'xxxxxxxxxxxx') the log positioning RBA of the checkpoint of reconnecting the subsystems.
from which the restart process will obtain its initial recovery
information. DSNR006I RESTART...COUNTS AFTER BACKWARD
RECOVERY INFLIGHT=nnnn, IN ABORT=nnnn,
DSNR004I RESTART...UR STATUS COUNTS IN POSTPONED ABORT=nnnn
COMMIT=nnnn, INDOUBT=nnnn, Explanation: The message indicates the completion of the
INFLIGHT=nnnn, IN ABORT=nnnn backward recovery restart phase. The counts indicate the
Explanation: This message indicates the completion of the number of units of work whose recovery actions could not be
first phase of the restart process. The counts indicate the completed during the phase.
number of units of work whose execution state during a pre- When INFLIGHT or IN ABORT URs do not complete backout
vious DB2 termination was such that (to ensure DB2 resource during restart, they are converted to POSTPONED ABORT
consistency) some recovery action must be performed during status, so the INFLIGHT and IN ABORT counts should be
this restart process or (by the user) upon completion of the zero. The POSTPONED ABORT count indicates the number of
restart process. The counts of IN COMMIT, INDOUBT, URs for which backout work still exits (from this or a previous
INFLIGHT and IN ABORT may provide an indication of the restart).
time required to perform the remaining two phases of restart
Backout work for the POSTPONED ABORT URs should be
(forward and backward recovery). The counts of POSTPONED
completed by the user (via the -RECOVER POSTPONED
ABORT URs may provide an indication of the time required to
command), once DB2 restart has completed.
perform -RECOVER POSTPONED processing.
This message is issued by the following CSECT: DSNRRAUB
The IN COMMIT count specifies the number that had started
but not completed phase 2 of the commit process. These must Operator Response: No action is required unless the condi-
undergo forward recovery to complete the commit process. tion persists beyond some installation-defined period of time.
Recovery action will be initiated when the resource collection is
The INDOUBT count specifies the number that were inter-
brought online.
rupted between phase 1 and phase 2 of the commit process.
These must undergo forward recovery to ensure resources
modified by them are unavailable until their indoubt status is DSNR007I RESTART...STATUS TABLE
resolved. Explanation: This message precedes a table showing the
The INFLIGHT count specifies the number that neither com- status of units of recovery (URs) after each restart phase. The
pleted phase 1 of the commit process nor began the process message and the table will accompany the DSNR004I,
of backing out. These must undergo backward recovery to DSNR005I, or DSNR006I message after each nested phase.
restore resources modified by them to their previous consistent At the end of the current status rebuild phase, it shows the
state. status of any URs that require processing. At the end of the
forward recovery and backoutphases, it shows the status of
The IN ABORT count specifies the number that were in the
only those URs which needed processing but were not proc-
process of backing out. These must undergo backward
essed. The table helps to identify the URs that were active
recovery to restore resources modified by them to their pre-
when DB2 came down, and to determine the log scope
vious consistent state.
required to bring DB2 up.
The format of the table is shown below: TIME The time the UR was created, in the
T CONID CORRID AUTHORIZATION ID PLAN S URID DAY TIME format 'hh mm ss '. It is approximately
the time of the first SQL statement of the
where the columns contain the following information:
application or the first SQL statement fol-
T Connection type. The values may be: lowing a commit point.
B Batch: a batch program or QMF This message is issued by the following CSECT: DSNRUDIS
user.
I Internal: a system service being DSNR009I STORAGE IS NOT AVAILABLE FOR THE UR
performed on some user’s behalf. DISPLAY TABLE, THE SIZE REQUESTED =
xxxx, STORAGE MANAGER REASON CODE =
S Subsystem: work that originated
yyyyyyyy
from an attached subsystem,
either CICS or IMS/VS. Explanation: There was not enough storage available during
the creation of the recoverable UR (RURE) display table
CONID Connection identifier for related URs.
(DSNDRUDT).
Batch connections are not related to any
other connection. Subsystem connections System Action: The system continues to restart but the
with the same identifier indicate URs that RESTART... STATUS TABLE is not displayed.
originated from the same subsystem. System Programmer Response: Increase the region size of
CORRID Correlation identifier; unique within a sub- the ssnmMSTR address space before restarting DB2 again.
system connection, it relates a UR to a Operator Response: Save the console output and inform the
particular CICS or IMS/VS transaction. system programmer.
AUTHORIZATION ID Problem Determination: The size requested is approximately
Authorization identifier of the user for 110 bytes for each unit of recovery (UR). See the message
whom this UR was created. DSNR004I to determine the total number of URs to process.
PLAN Name of the plan allocated to the UR. Then get the 00E2xxxx reason code from the DSNR009I
header. Use these two numbers to determine the reason for
S Restart status of the UR. When DB2
the shortage.
came down, the UR was in one of these
situations:
DSNR010I AN ERROR OCCURRED IN THE RURE
A INABORT: The UR was in the STATUS TABLE SORT/TRANSLATE MODULE
'must-complete' phase of abort, (DSNRUSOR), THE ERROR LOCATION CODE
and is yet to be completed. = xxxx
C INCOMMIT: The UR was in the Explanation: There was an error in processing the RURE
'must-complete' phase of display table. One of these ERROR LOCATION CODES tells
commit, and is yet to be com- what function the module was attempting to perform:
pleted.
D INDOUBT: The UR had com- X'0001' Trace entry to the module
pleted the first phase of commit, X'0002' Sort the recoverable UR display table
but DB2 had not received the X'0003' Translate the recoverable UR table
second phase instruction. The UR X'0004' Convert the store clock value for display
must be remembered so it can be X'0005' Trace exit from the module
resolved when the owning sub-
system reattaches. System Action: The system continues to restart but the
RESTART... STATUS TABLE is not displayed.
F INFLIGHT: The UR had not com-
pleted the first phase of commit, System Programmer Response: Use the error code in the
and will be backed out. message to fill in the problem description.
P POSTPONED ABORT: The UR Operator Response: Save the console output and inform the
has not yet completed backout. system programmer.
Backout must be completed Problem Determination: The ERROR CODE tells the
outside of DB2 restart by means problem area and should be used in the problem description. A
of the -RECOVER POSTPONED record was added to the SYS1.LOGREC that contains the
command. PSW and module at the time of the error. This error indicates
URID UR identifier, the log RBA of the begin- an application program check of some type.
ning of this unit of work. It is the earliest
RBA required to process the UR during DSNR011I AN ERROR OCCURRED IN THE RURE
Restart. STATUS TABLE DISPLAY MODULE
DAY The day the UR was created, in the (DSNRUDIS), THE ERROR LOCATION CODE =
format 'ddd'. It is approximately the time xxxx
of the first SQL statement of the applica- Explanation: There was an error in processing the RURE
tion or the first SQL statement following a display table. One of these ERROR LOCATION CODES tells
commit point. what function the module was attempting to perform:
System Action: Restart continues. | Explanation: This message indicates the range of log proc-
| essed during the backward phase of RESTART when post-
| poned backout processing has been requested. Processing
DSNR015I THE CHKPTRBA xxxxxxxxxxxx SPECIFIED IN | began with the LR of RBA ffffffffffff and proceeded backwards
THE CRCR IS INVALID | to the LR of RBA tttttttttttt.
Explanation: The checkpoint RBA specified in the conditional | System Action: This message is followed by messages
restart control record (CRCR) is either not available or is not a | DSNR006I and DSNR007I. The former tells how many URs
begin checkpoint record. | had some backout work postponed. The latter, identifies the
System Action: Restart is abended with reason code | postponed abort URs. The amount of log that need to be proc-
'00D99001'. | essed to complete backout processing for the postponed abort
| URs can be gauged by comparing the RBA reached during
Operator Response: Inform the system programmer. | RESTART's backward processing (RBA tttttttttttt), and the
System Programmer Response: By specifying the | URIDs of the postponed abort URs.
STARTRBA and/or ENDRBA on the CRESTART control state-
ment, change log inventory (DSNJU003) utility selects an DSNR020I csect-name START MEMBER member, OR
appropriate RBA. REPLY 'NO' OR 'QUIESCED'
Problem Determination: Print the complete checkpoint Explanation: During a group restart, the group member
records queue by using the print log map (DSNJU004) utility. issuing this message attempted to access the BSDS for
Select a checkpoint RBA from this queue or let the change log member member, and either was not able to access the
inventory (DSNJU003) utility make the selection. BSDS, or discovered that the BSDS was modified by the
change log inventory (DSNJU003) utility since that member
was last started. In either case, this DB2 is not able to perform
peer restart for member member.
For group restart to continue, the identified member must be
started.
If it is not possible to start the other member and you want to
terminate this group restart, you can reply 'NO' to this
message. Replying 'NO' to this message causes this DB2 to
indoubt units of recovery and no distributed resynchronization System Action: DB2 terminates with reason code
responsibility, then reply 'YES'; otherwise, reply 'NO'. 00D900FA.
System Action: This group member waits for a valid reply to System Programmer Response: Verify that:
this message.
Coexistence is supported between the releases you are
If the reply is 'YES', group restart continues without trying to run.
using the log from the identified member.
The startup procedure is pointing to the correct set of load
If the reply is 'NO', message DSNR020I is reissued to libraries.
allow you to enter a different response.
The correct SPE has been applied.
For more information about what SPE is needed, see the
DSNR031I csect-name PROCESSING LOG RECORD AT
program directory or preventative service planning (PSP)
RBA rba1 TO RBA rba1
undates.
Explanation: This message is produced periodically during
the forward and backward processing phases of restart. The
DSNR033E csect-name MEMBER member-name IS AT
RBAs presented in this message can be used to monitor the
RELEASE LEVEL code-level-1 WHICH IS NOT
progress of the phases of restart.
COMPATIBLE WITH THE STARTING MEMBER
Forward processing occurs between messages DSNR004I and AT RELEASE LEVEL code-level-2
DSNR005I. During forward processing, the log is read in a
Explanation: The code level for the started DB2 member and
forward direction.
the starting DB2 member are not compatible until you apply
Backward processing occurs between messages DSNR005I the correct SPE to the lower level release.
and DSNR006I. During backward processing, the log is read in
code-level-1 and code-level-2 are a string of three numeric
a backward direction and will stop reading at the RBA
characters as follows:
matching the URID of the oldest in-flight or in-abort UR.
Version
rba1 is the RBA of the log record currently being processed.
Release
rba2 is the RBA of the last log record that will be read in this
Modification level
phase of restart.
code-level-1 The release level of the active DB2 member
System Action: DB2 restart continues.
member-name.
User Response: This is an information only message.
code-level-2 The release level of the starting DB2.
This message occurs when a starting DB2 member is at a
DSNR032E csect-name DB2 IS STARTING AT RELEASE
higher release than can coexist with an existing DB2 member.
LEVEL code-level-1, WHICH IS NOT COMPAT-
IBLE WITH RELEASE LEVEL code-level-2 System Action: After detecting the first member with which it
cannot coexist, DB2 terminates with reason code 00D900FA.
Explanation: The DB2 you tried to start is not at the proper
code release, or does not have the correct fallback/coexistence System Programmer Response: If you want to start a
SPE applied. higher release level of DB2, you must ensure that all active
members in the group have the proper SPE applied. If you
code-level-1 and code-level-2 are a string of three numeric
intended to start a lower release level of of DB2, make sure
characters as follows:
your startup procedure is pointing to the correct set of load
Version libraries.
Release
For more information about what SPE is needed, see the
Modification level
program directory or preventive service planning (PSP)
code-level-1 The current release level of the starting DB2. updates.
code-level-2 One of the following:
DSNR034E csect-name THERE CANNOT BE MORE THAN
In non-data-sharing, the highest release with which
TWO RELEASE LEVELS OF DB2 RUNNING IN
this DB2 has ever been started.
THE GROUP
In a data sharing environment, the highest release
with which any DB2 in the data sharing group has Explanation: You attempted to start a DB2 that was at a
ever been started. This is known as the group release level that cannot coexist in the data sharing group.
release level. There are already two different releases of DB2 currently
running in the data sharing group.
This message can occur in the following situations:
System Action: DB2 terminates.
The starting DB2 fell back from a later release and does
not have the proper fallback SPE applied. System Programmer Response: If you are sure that the
startup procedure is pointing to the correct set of load libraries,
The starting DB2 does not have the proper coexistence
you must stop any DB2 subsystems that cannot coexist with
SPE to start in a data sharing group, which is at the higher
the one you are attempting to start.
release level.
See DB2 Data Sharing: Planning and Administration for more
The starting DB2 is at a release in which coexistence with
information about release coexistence in a data sharing group.
the current group release level is not supported.
| DSNR035I csect-name WARNING - UNCOMMITTED UR DSNR037I csect-name WARNING - THE TCP/IP DRDA
| AFTER nn CHECKPOINTS - CORRELATION PORT NUMBER IS CHANGED FROM port_1 TO
| NAME = xxxxxxxxxxxx CONNECTION ID = port_2
| yyyyyyyy LUWID = logical-unit-of-work-id=token
Explanation: The TCP/IP DRDA port number specified in the
| PLAN NAME = xxxxxxxx AUTHID = xxxxxxx
DB2 BSDS is different from the value used the last time a
| END USER ID = xxxxxxxx TRANSACTION
member of the DB2 data sharing group started. All members of
| NAME = xxxxxxxx WORKSTATION NAME =
a DB2 data sharing group must use the same TCP/IP DRDA
| xxxxxxxx
port number.
Explanation: This message indicates that during checkpoint,
DB2 encountered an uncommitted UR that has an INFLIGHT
port_1 The TCP/IP DRDA port number that was obtained
status.
from the DB2 BSDS during DB2 startup.
| The value nn is cumulative, and it indicates the number of
port_2 The TCP/IP DRDA port number that was obtained
| checkpoints taken since the beginning of the UR. CORRE-
from the coupling facility during DB2 startup. This is
| LATION name, CONNECTION ID, and LUWID together identify
the TCP/IP DRDA port number that was used the
| a thread associated with the UR. If the LUWID is an '*', it indi-
last time a member of the data sharing group was
| cates that the thread originated at this site. token is a unique
started.
| token number associated with the LUWID. PLAN NAME and
| AUTHID further identify the thread associated with the UR. If System Action: DB2 accepts the new TCP/IP DRDA port
| the thread was created with client End User information, the number, and DB2 startup continues.
| End User's ID, TRANSACTION NAME, and WORKSTATION Operator Response: Contact the system programmer.
| NAME will be displayed. Otherwise, these fields will contain an
| '*'. System Programmer Response: If the TCP/IP DRDA port
number was changed inadvertently, stop DB2 immediately.
System Action: DB2 continues processing. If statistics class Use the change log inventory utility (DSNJU003) to correct the
3 is turned on, IFCID 0313 is written. PORT value, and restart DB2.
System Programmer Response: Consult with the application If this message reflects a change that you want to make to
programmer to determine if this is a problem UR. See Section DB2's DRDA port number, no action is required. The DRDA
4 (Volume 1) of DB2 Administration Guide for more information port number stored in the coupling facility is updated, and this
about problems caused by uncommitted URs. If the UR is new port number will be used when DB2 validates each mem-
caused by an application program, you can use CANCEL ber's DRDA port number.
THREAD to delete the UR, if necessary. If an uncommitted UR
is deleted, DB2 will undo the changes. The amount of time
required for this process depends on the amount of work done DSNR038I csect-name WARNING - THE TCP/IP RESYN-
by the UR. CHRONIZATION PORT NUMBER IS CHANGED
FROM port_1 TO port_2
Programmer Response: Ensure that the application commits
frequently enough, or consult with your DB2 administrator Explanation: The TCP/IP resynchronization port number
about decreasing the frequency of the check. obtained from the DDF record of the BSDS is different than the
value specified the last time DB2 started.
| DSNR036I csect-name UNRESOLVED UR ENCOUNT- Changing the TCP/IP resynchronization port number can cause
| ERED DURING CHECKPOINT - CORRE- problems during distributed 2-phase commit processing.
| LATION NAME = xxxxxxxxxxx CONNECTION Remote DRDA partners record DB2's resynchronization port
| ID = yyyyyyyy LUWID = logical-unit-of-work-id number in their recovery logs. The resynchronization port
| PLAN NAME = xxxxxxxx AUTHID = xxxxxxxx number is used to reconnect to the appropriate DB2 member
when communication failures occur during 2-phase commit
Explanation: DB2 has detected an INDOUBT unit of recovery processing. If a DB2 member changes its resynchronization
(UR) during a checkpoint. The purpose of this message is to port number, the remote DRDA partners may be unable to
remind the operator that an INDOUBT UR or POSTPONED resolve indoubt units of work.
ABORT UR exists.
port_1 The TCP/IP resynchronization port number that was
| CORRELATION name, CONNECTION ID, and LUWID obtained from the DB2 BSDS during DB2 startup.
| together identify a thread associated with the UR. If the LUWID
| is an '*', it indicates that the thread originated at this site. port_2 The TCP/IP resynchronization port number that was
| PLAN NAME and AUTHID further identify the thread associ- obtained from the coupling facility during DB2
| ated with the indoubt UR. startup. This is the TCP/IP resynchronization port
number that was used the last time this member
System Action: DB2 continues processing. If statistics class was started.
3 is turned on, IFCID 0313 is written.
System Action: DB2 accepts the new TCP/IP resynchroniza-
System Programmer Response: Consult with the application tion port number, and DB2 startup continues.
programmer to determine whether this is a problem UR. See
Section 4 (Volume 1) of DB2 Administration Guide for more Operator Response: Contact the system programmer.
information about resolving INDOUBT URs. System Programmer Response: If the DB2 resynchroniza-
tion port number was changed inadvertently, stop DB2 imme-
diately. Use the change log inventory utility (DSNJU003) to
correct the RESPORT value, and restart DB2.
If this message reflects a change that you want to make to (DSNJU003) to specify a unique RESPORT value for this DB2
DB2's resynchronization port number, no action is required. member and the DB2 member identified by member_name.
The resynchronization port number stored in the coupling
facility for this member is updated, and this new port number DSNR040I csect-name TRACKER RESTART ENDLRSN
will be used when DB2 validates the resynchronization port lrsn DOES NOT MATCH ENDLRSN lrsn ASSO-
number for other DB2 members. CIATED WITH THE DATA SHARING GROUP
Explanation: In a data sharing environment, a TRKRSITE
DSNR039I csect-name WARNING - TCP/IP RESYNCHRO-
DB2 will not restart if it detects inconsistencies in the reported
NIZATION PORT NUMBER port_1 IS THE
values for ENDLRSN. The ENDLRSN specified on the Condi-
SAME AS MEMBER member_name
tional Restart Control Record does not match the ENDLRSN in
Explanation: The TCP/IP resynchronization port of the the system communications area (SCA) structure for the data
starting DB2 is the same as the member indicated by sharing group.
member_name.
System Action: DB2 startup terminates.
port_1 The TCP/IP resynchronization port
Operator Response: Collect the SYS1.LOGREC and SVC
number that was obtained from the DB2
dump, and contact the system programmer.
BSDS during DB2 startup.
System Programmer Response: If the ENDLRSN value for
member_name The member name of the DB2 data
this member is incorrect, take the following actions:
sharing member that used the same
resynchronization port number. Restore the BSDS and Logs for his Tracker DB2 from the
primary DB2
System Action: The TCP/IP port number specified in the
BSDS is accepted, and DB2 startup continues. Ensure the Conditional Restart Control Record is correct
Operator Response: Contact the system programmer. Restart DB2
System Programmer Response: Each member of the DB2 If the ENDLRSN value in the SCA is incorrect, delete the SCA
data sharing group should have a unique TCP/IP resynchroni- structure and restart all members of the TRKRSITE data
zation port number. Use the change log inventory utility sharing group with the same ENDLRSN.
DSNT... Messages
Messages issued by DSNTINST, DSNTINS1, and will result in an SQLCODE -904. Any requests that are not
agent-related for unavailable resources will result in the fol-
DSNTINS2 installation CLISTs have an internal
lowing messages:
severity level as follows:
DSNI001I DSNI002I DSNI003I DSNI004I
0 Successful execution: CLIST progress and DSNI005I DSNI006I DSNT408I DSNT414I
DSNT415I DSNT416I DSNT417I DSNT500I
tracing messages (processing continues)
Abend X'04E' with reason code X'00E30010' is also
4 Warning: some adjustments might be made produced. However, the error results in a retry. DB2 does not
by the installation CLISTs (processing and terminate, but a dump is produced.
JCL editing continues) Operator Response: Notify the system programmer.
8 Error: unable to continue (no JCL is edited) System Programmer Response: Obtain a copy of
SYS1.LOGREC and the SVC dump. If you suspect an error in
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
for information on identifying and reporting the problem.
| DSNT101I A VSAM ERROR HAS BEEN ENCOUNTERED
| WHILE CSECT DSNTSTR2 WAS READING THE Problem Determination: This message is generated when
| DB2 BSDS VSAM RETURN CODE = x, VSAM the recovery log manager (RLM) subcomponent of DB2
| REASON CODE = y encounters an invalid DB2 database services password record.
A copy of the BSDS record with key '200000001', which is
| Explanation: CSECT DSNTSTR2 attempted to read the DB2
the invalid database services record retrieved, should be
| bootstrap data set (BSDS), and a VSAM error has occurred. In
obtained.
| the message, 'x' is a 1-byte VSAM return code and 'y' is a
| 1-byte VSAM reason code. Collect the following diagnostic items listed in Appendix B,
“Problem determination” on page 1051: 1, 2, 5, 16.
System Action: The start up process continues. However,
any references to password-protected system databases will
cause a 'resource unavailable' error. Any agent-related DSNT103I THE CURRENTLY LOADED DSN6SPRM IS
requests for subsystem database resources will result in an NOT THE MVS/XA VERSION
SQLCODE -904. Any requests that are not agent-related for Explanation: A -START DB2 PARM=xxxxxxxx was issued
unavailable resources will result in the following messages: where 'xxxxxxxx' is the version of the system parameter
DSNI001I DSNI002I DSNI003I DSNI004I
CSECTs. DB2 executes in a MVS/XA environment and will not
DSNI005I DSNI006I DSNT408I DSNT414I execute in any other environment.
DSNT415I DSNT416I DSNT417I DSNT500I
System Action: The message DSNV086E is generated with
Abend X'04E' with reason code X'00E30010' is also a reason code of X'00E30008'. DB2 is terminated with abend
produced. However, the error results in a retry. DB2 does not code X'04F'.
terminate, but a dump is produced. Operator Response: Notify the system programmer.
Operator Response: Notify the system programmer. System Programmer Response: Restart DB2 with a
System Programmer Response: A VSAM error occurred -START DB2 PARM= command, where the parameter block
while reading the BSDS record with key '200000001'. Either that follows the 'PARM=' parameter specifies an MVS/XA
the BSDS record does not exist or an I/O error occurred (indi- version of the DB2 subsystem parameters.
cating that the record is bad). Further information may be Problem Determination: Collect the following diagnostic
obtained from a VSAM diagnostics manual. Refer to Section 4 items listed in Appendix B, “Problem determination” on
(Volume 1) of DB2 Administration Guide for procedures on page 1051: 1, 2, 3, 5, 9.
recovering or repairing the DB2 bootstrap data set.
Problem Determination: Collect the following diagnostic DSNT104I THE CURRENTLY LOADED DSN6SPRM IS
items listed in Appendix B, “Problem determination” on NOT THE MVS/370 VERSION
page 1051: 1, 2, 5, 16.
Explanation: A -START DB2 PARM=xxxxxxxx was issued,
where 'xxxxxxxx' is the version of the system parameter
DSNT102I CSECT DSBTSTR2 ENCOUNTERED AN CSECTs. DB2 executes in an MVS/370 environment and does
INVALID DATABASE SERVICES BOOTSTRAP not execute in any other environment.
RECORD
System Action: Message DSNV086E is generated with
Explanation: CSECT DSNTSTR2 attempted to read the DB2 reason code X'00E30009'. DB2 is terminated with abend
bootstrap data set (BSDS), and an invalid record was read by code X'04F'.
the recovery log manager (RLM) subcomponent. This is a DB2
error. Operator Response: Notify the system programmer.
System Action: The DB2 start up process continues. System Programmer Response: Restart DB2 with a
However, any references to DB2 password-protected system -START DB2 PARM= command, where the parameter block
databases will cause a 'resource unavailable' error. Any that follows the PARM= parameter specifies an MVS/370
agent-related requests for DB2 subsystem database resources version of the DB2 subsystem parameters.
Problem Determination: Collect the following diagnostic it was loaded. 'module-name' in the error message is the
items listed in Appendix B, “Problem determination” on name of the first load module that has an invalid addressing
page 1051: 1, 2, 3, 5, 9. mode.
System Action: DB2 database services start up is termi-
DSNT105I THE LOADED DSN6SPRM CSECT IS OBSO- nated.
LETE. PLEASE REASSEMBLE THE
Operator Response: Notify the system programmer.
DSN6SPRM CSECT AND RELINKEDIT THE
DSNZPARM LOAD MODULE. System Programmer Response: Verify that all install and
maintenance activities against these modules were executed
Explanation: DSNTSTR2 loaded an out-of-date system
using SMP. Verify that the JCLIN for SMP includes the correct
parameter CSECT DSN6SPRM. This error can only occur if
AMODE and RMODE control statements, and that the linkage
code maintenance has been applied and CSECT DSN6SPRM
editor provided with the Data Facility Product (DFP) was
has not been reassembled. This CSECT is contained in the
invoked by SMP for the link edits. Correct the procedure or
load module specified in the 'PARM=' parameter of the
JCL which caused the error and rerun the necessary SMP
-START DB2 command.
jobs.
System Action: The message DSNV086E is generated with
Problem Determination: A DB2 dump was requested to an
a reason code of X'00E30008'. DB2 is terminated with abend
MVS/XA SYS1.DUMP data set.
code X'04F'.
The MVS service aid AMBLIST provides linkage editor module
Operator Response: Notify the system programmer.
attributes in the summary section of the LISTLOAD function
System Programmer Response: Reassemble DSN6SPRM, output.
and relink-edit the DSNZPARM load module. This is done by
resubmitting the install job stream, DSNTIJUZ, that built the
DSNT200I type bind-type FOR PLAN plan-id SUCCESSFUL
load module that is named following the 'PARM=' parameter
of the -START DB2 command. Explanation: A BIND, REBIND or FREE PLAN subcommand
has completed successfully.
Problem Determination: Collect the following diagnostic
items listed in Appendix B, “Problem determination” on type Indicates that a test bind was in progress.
page 1051: 1, 2, 3, 5, 9. A test bind means that no plan name was
specified. The token is omitted if a normal
BIND PLAN was processed.
DSNT106I THE LOADED DSN6SYSP CSECT IS OBSO-
LETE. PLEASE REASSEMBLE THE DSN6SYSP bind-type Type of bind subcommand: BIND,
CSECT AND RELINKEDIT THE DSNZPARM REBIND, or FREE.
LOAD MODULE.
plan-id Name of application plan specified in the
Explanation: DSNTSTR2 loaded an out-of-date system subcommand.
parameter CSECT DSN6SYSP. This error can only occur if
System Action: The plan was successfully bound, rebound,
code maintenance has been applied and CSECT DSN6SYSP
or freed.
has not been reassembled. This CSECT is contained in the
load module specified in the 'PARM=' parameter of the
-START DB2 command. DSNT201I type bind-type FOR PLAN plan-id NOT SUC-
CESSFUL
System Action: The message DSNV086E is generated with
a reason code of X'00E30008'. DB2 is terminated with abend Explanation: Errors have been detected during the proc-
code X'04F'. essing of the indicated BIND, REBIND, or FREE PLAN sub-
command.
Operator Response: Notify the system programmer.
type Indicates that a test bind was in progress.
System Programmer Response: Reassemble DSN6SYSP, A test bind means that no plan name was
and relink-edit the DSNZPARM load module. This is done by specified. The token is omitted if a normal
resubmitting the install job stream, DSNTIJUZ, that built the BIND PLAN was processed.
load module that is named following the 'PARM=' parameter
of the -START DB2 command. bind-type Type of bind subcommand: BIND,
REBIND, or FREE.
Problem Determination: Collect the following diagnostic
items listed in Appendix B, “Problem determination” on plan-id Name of application plan specified in the
page 1051: 1, 2, 3, 5, 9. subcommand.
System Action: The BIND, REBIND, or FREE PLAN was not
DSNT107I INVALID AMODE OR RMODE ATTRIBUTE performed.
FOUND FOR LOAD MODULE module-name System Programmer Response: See other messages
Explanation: During DB2 startup, the service controller issued to determine the error that caused the bind subcom-
establishes the addressability to the DB2 database services mand to terminate unsuccessfully.
functional recovery and the emergency shutdown routines. Two
load modules, DSNTF, and DSNTLCLE, are loaded into CSA.
In the MVS/XA environment, DSNTLCLE must be link-edited
with attributes AMODE(24) and RMODE(ANY). At least one of
the modules did not have the correct addressing attribute when
authorization ID. If the indicated privilege is BIND, the privilege the BIND subcommand, or an incorrect data set name was
to invoke a BIND subcommand against the indicated applica- specified for the DBRMLIB DD statement. Check correctly
tion plan must be granted to the indicated authorization ID. specified data sets for I/O errors or modified DCB attributes.
DSNT211I REBIND FOR PLAN plan-id FAILED BECAUSE DSNT220I BIND ADD ERROR USING auth-id AUTHORITY
IBMREQD OF ibmreqd IS INVALID PLAN plan-id ALREADY EXISTS
Explanation: The IBMREQD column of the Explanation: An attempt was made to use the BIND subcom-
SYSIBM.SYSPLAN catalog table for the named plan contains mand with the 'ACTION(ADD)' option that specified a
an unrecognizable character. 'plan-id' that already exists.
System Action: The REBIND operation for the plan was not auth-id Authorization ID of the owner of the plan.
performed.
plan-id Application plan specified in the BIND
System Programmer Response: You must do a BIND subcommand.
ACTION(REPLACE) for this plan.
System Action: No application plan is created.
System Programmer Response: Check the
DSNT212I bind-type AUTHORIZATION ID auth-id IN THE
SYSIBM.SYSPLAN catalog table for names of existing applica-
OWNER KEYWORD IS INVALID
tion plans. Reinvoke the BIND subcommand with a 'plan-id'
Explanation: The authorization ID specified in the OWNER that is not in use.
keyword of the BIND or REBIND subcommand is invalid. To
specify an OWNER that is not the primary authorization ID, or
DSNT221I bind-type ERROR USING auth-id AUTHORITY
one of the secondary IDs of the process requires additional
PLAN plan-id DOES NOT EXIST
authority. See DB2 Command Reference for the authority
required. Explanation: The indicated bind subcommand was issued
against an application plan that does not exist. The individual
bind-type Type of bind subcommand: BIND or
variable fields contain:
REBIND
bind-type Type of bind subcommand: REBIND or
auth-id The authorization ID specified as owner.
FREE.
System Action: The BIND or REBIND subcommand is not
auth-id Authorization ID of the plan owner.
executed.
plan-id Application plan specified in the BIND
System Programmer Response: Rerun the subcommand
subcommand.
and specify a valid authorization ID for the OWNER keyword.
You may need to add the required authorization ID for this System Programmer Response: Check the SYSPLAN
user to the security system. catalog table for the correct 'plan-id' to use.
DSNT213I THE DCB BLOCK SIZE OF THE INPUT DBRM | DSNT223I csect-name bind-type WARNING FOR object-
LIBRARY IS INVALID | type = object-name USE OF OPTHINT IS DISAL-
| LOWED BY A DB2 SUBSYSTEM PARAMETER.
Explanation: An invalid DCB block size is specified for the
| THE DEFAULT OPTHINT VALUE IS USED.
DBRM library of the BIND subcommand.
| Explanation: The DB2 subsystem parameters have not been
System Programmer Response: Correct the DCB block size
| configured to enable the use of OPTHINT in the bind-type sub-
of the DBRM library, and reissue the BIND subcommand.
| command. The default OPTHINT value of all blanks is used.
privilege Name of the privilege not held: Explanation: An attempt is made to add a package that
already exists. The combination of
BINDADD or BINDADD * 'location.collection.package.version' must be unique in the
The authority to create a new package SYSIBM.SYSPACKAGE table. In addition, the combination of
using BIND with the ADD option. 'location.collection.package.consistency-token' must be
BIND unique.
The authority to BIND (REPLACE) or | sub-type The sub-type can have the values: COPY,
REBIND a package. | ADD or REPLACE.
BIND * auth-id Authorization ID of the owner of the
The authority to add a new version of an package.
existing package using BIND with the
ADD option. package-name Name of the package in the following
format:
FREE 'location.collection.package.(version)'
There is no FREE privilege, but the user
needs the proper authority to free the System Action: No package is created.
package. System Programmer Response: Check the
COPY SYSIBM.SYSPACKAGE catalog table for names of existing
The authority to COPY from the indicated application packages. Re-invoke the BIND subcommand with a
package. 'location.collection.package.version' that is not in use.
CREATE IN or CREATE IN *
The authority to create a package in the DSNT238I bind-type error-type USING auth-id AUTHORITY
indicated collection. PACKAGE = package-name DOES NOT EXIST
A blank and asterisk ( *) in the privilege values 'BINDADD *', Explanation: The indicated subcommand was issued against
'BIND *', and 'CREATE IN *' in the message indicates that the a package that does not exist. The individual variable fields
DB2 system parameter BIND NEW PACKAGE has the value contain:
BIND. When ' *' does not appear in these privilege values, bind-type Type of bind subcommand (BIND COPY |
BIND NEW PACKAGE has the value BINDADD. BIND REPLACE | REBIND | FREE| BIND
The system parameter BIND NEW PACKAGE affects the PLAN | REBIND PLAN | DROP
authorization required to add a new package or a new version PACKAGE). If BIND or REBIND PLAN is
of an existing package to a collection. For more information specified, the package-name refers to a
about this system parameter, see: package on the PKLIST for the plan.
"Installing, Migrating, and Updating System Parameters" error-type Type of error: WARNING or ERROR.
(Panel: DSNTIPP) in Section 2 of DB2 Installation Guide.
DSNT239I PLAN plan-id CONTAINS NO DBRMS AND NO System Action: The plan or package is not bound or
PACKAGES rebound.
Explanation: A plan with no DBRMs was rebound with the System Programmer Response: If the indicated authori-
NOPKLIST option specified. This creates an empty plan. No zation ID should be allowed to bind, change the entry in the
SQL can be executed. The individual variable fields contain: active RLST table.
package-name Name of the package (collection.package). Explanation: Since the local DB2 location name is undefined,
The location of the package is the local DB2 no location name may be given when specifying a package
location name. name on a bind subcommand.
System Action: If the bind subcommand was invoked with location Location specified on the bind subcom-
VALIDATE(BIND), the BIND or REBIND operation is not per- mand.
formed. If VALIDATE(RUN) was used then the BIND or System Action: The bind subcommand was not performed.
REBIND operation will continue.
System Programmer Response: The location name of the
System Programmer Response: The indicated plan owner local DB2 must be defined in BSDS if the location is used in
should be granted the EXECUTE privilege on the package. the BIND, REBIND, or FREE subcommand.
DSNT247I bind-type ERROR object-type NOT FOUND FOR DSNT251I BIND UNABLE TO LOCATE DBRM LIBRARY
object-type = object-name MEMBERS USING authorization-id AUTHORITY
Explanation: You attempted to FREE or REBIND multiple object-type = object-name
plans or packages using the asterisk (*) but no plans or pack- Explanation: The BIND subcommand received an I/O error
ages were found. while attempting to locate the specified DBRM library
bind-type Type of bind subcommand: REBIND or member(s).
FREE authorization-id Authorization ID of the invoker of the
object-type Type of object to be freed or rebound: BIND subcommand.
PLAN or PACKAGE object-type PLAN | PACKAGE
object-name If object-type is PLAN, object-name is the object-name If object-type is PLAN, object-name is the
name of the application plan. Otherwise, name of the application plan. Otherwise,
it is the name of the package in it is the name of the package in
'location.collection.package' format. 'location.collection.package' format.
System Action: The REBIND or FREE operation is not per- System Programmer Response: Correct the reason for the
formed. I/O error, and reissue the BIND subcommand.
User Response: Check the plan or package name. If it is Problem Determination: Collect the following diagnostic
correct, no plans or packages were found and no operation items listed in Appendix B, “Problem determination” on
can be performed; otherwise, correct the plan or package page 1051: 1, 2, 5, 32.
name and reissue the REBIND or FREE subcommand.
| DSNT253I csect-name bind-type OPTIONS FOR PLAN DSNT257I BIND ERROR, PACKAGE package-name
| plan-name CANNOT BE CREATED BECAUSE IT HAS THE
SAME NAME AS THE PACKAGE BEING
(DEFER | NODEFER) PREPARE COPIED
CACHESIZE bind-option1
QUALIFIER bind-option2 Explanation: The location and collection-id of the package
CURRENTSERVER bind-option3 being created are the same as the local location and the
CURRENTDATA bind-option4
collection-id specified with the COPY keyword. You cannot
DEGREE bind-option5
SQLRULES bind-option6 create a package that is the same name as the package being
DISCONNECT bind-option7 copied.
(REOPT | NOREOPT) VARS
KEEPDYNAMIC bind-option8 package-name Name of the package
# IMMEDWRITE bind-option9
(location.collection.package.(version))
| DBPROTOCOL bind-option10
| OPTHINT bind-option11 System Action: The package is not bound.
| PATH bind-option12
System Programmer Response: Choose a different col-
Explanation: This message shows the BIND or REBIND lection id for the package you are creating and resubmit the
options that were used for the plan specified by plan-name subcommand.
during bind or rebind processing.
Severity: 0 (informational) DSNT258I bind-type WARNING FOR PLAN plan-name THE
LOCATION-ID location-id SPECIFIED IN
CURRENTSERVER MAY NEED A PACKAGE
DSNT254I csect-name bind-type OPTIONS FOR
LIST
PACKAGE =package-name
ACTION (ADD | REP)
Explanation: If binding a PLAN with a nonlocal location spec-
OWNER owner ified in the CURRENTSERVER, a package list is required
QUALIFIER qualifier using the PKLIST keyword to access any packages at the
VALIDATE (BIND | RUN)
EXPLAIN (NO | YES)
location specified.
| ISOLATION (RR | CS | RS | UP | blank)
bind-type Type of bind subcommand: BIND or
RELEASE (COMMIT | DEALLOCATE | blank)
COPY package-name REBIND
plan-name Name of plan
Explanation: This message shows the BIND or REBIND
options that were used for the local package specified by location-id Location of CURRENTSERVER
package-name during bind or rebind processing. System Action: The bind process will continue.
Severity: 0 (informational) System Programmer Response: Add a package list with
package(s) that reference the location specified in the
DSNT255I csect-name bind-type OPTIONS FOR CURRENTSERVER or delete the CURRENTSERVER from the
BIND or REBIND subcommand.
SQLERROR bind-option1
CURRENTDATA bind-option2
DEGREE bind-option3 DSNT259I bind-type WARNING FOR PLAN plan-name NO
DYNAMICRULES bind-option4
(DEFER | NODEFER) PREPARE
PACKAGES IN THE PACKAGE LIST REFER-
(REOPT | NOREOPT) VARS ENCE THE LOCATION-ID location-id SPECI-
KEEPDYNAMIC bind-option5 FIED IN CURRENTSERVER
# IMMEDWRITE bind-option6
| DBPROTOCOL bind-option7 Explanation: There are no packages in the package list that
| OPTHINT bind-option8
reference the location specified in the CURRENTSERVER
| PATH bind-option9
keyword.
Explanation: This message shows the BIND or REBIND bind-type Type of bind subcommand: BIND or
options that were used for the local package specified by REBIND
package-name during bind or rebind processing.
plan-name Name of plan
Severity: 0 (informational)
location-id Location of CURRENTSERVER
DSNT256I DBRM MEMBER member-name IS EMPTY, A System Action: The bind process will continue.
PACKAGE CANNOT BE BOUND System Programmer Response: Change 'location-ids' for
Explanation: The named DBRM member is empty, a the packages in the package list to reference the location in
package cannot be created. the CURRENTSERVER or change the location specified in
CURRENTSERVER.
System Action: No package is created.
bind-option2 was used on the BIND COPY object-name If object-type is PLAN, object-name is the
or REBIND subcommand and bind-option1 name of the plan.
exists in the SYSIBM.SYSPACKAGE If object-type is PACKAGE, object-name is the
catalog table for PACKAGE object-name. name of the package in the format 'location-
The combination of bind-option1 and bind-option2 is not sup- id.collection-id.package-id'.
ported by DB2. release-dependency-mark
System Action: The BIND or REBIND process is terminated A one-character mark indicating the oldest
for the indicated plan or package. DB2 release that can support the bind sub-
command.
User Response: Refer to DB2 Command Reference for valid
combinations of the indicated bind option values, and reissue This message can be issued in the following situations:
the BIND or REBIND subcommand with a valid combination. When the DSN command explicitly or implicitly uses the
Problem Determination: See the Explanation section of this name of a DB2 subsystem that does not support a bind
message. option or feature used in the DSN bind subcommand bind-
type, or
DSNT261I bind-type WARNING FOR object-type = object- When the DSN command uses a group attachment name
name ALL CONNECTION TYPES ARE DISA- for a DB2 data sharing group and the receiving DB2 data
BLED sharing member does not support a bind option or feature
used in the DSN bind subcommand bind-type.
Explanation: All possible connection types are disabled. The
plan or package cannot be executed. System Action: The bind-type operation is not performed.
bind-type Type of bind subcommand: BIND or User Response: In the DSN command, specify the name of
REBIND a DB2 subsystem having release dependency mark release-
dependency-mark or higher that supports all of the bind
object-type PLAN or PACKAGE options or features used in the bind-type subcommand.
For a list of the DB2 release dependency marks and their | name schema-name in the bind option PATH causes the SQL
meanings, refer to the IBMREQD column in the | Path string to exceed 254 characters.
SYSIBM.SYSPLAN or SYSIBM.SYSPACKAGE DB2 catalog
| bind-type Type of bind subcommand: BIND or
tables described in Appendix D of DB2 SQL Reference.
| REBIND
System Programmer Response: See the 'User Response'
| object-type PLAN or PACKAGE
section of this message.
| object-name If object-type is PLAN, object-name is the
| DSNT264I csect-name bind-type bind-subtype ERROR
| name of the plan.
| USING auth-id AUTHORITY PACKAGE | If object-type is PACKAGE, object-name is
| package-name IS A TRIGGER PACKAGE | the name of the package in the format
| Explanation: To rebind a trigger package, you must use the
| 'location-id.collection-id.package-id.(version-id)'.
| DSN subcommand REBIND TRIGGER PACKAGE. To free a | schema-name The schema name specified in the bind
| trigger package, you must use the SQL statement DROP | option PATH causing the SQL Path to
| TRIGGER. You cannot copy a trigger package. | exceed 254 characters.
| bind-type Type of bind subcommand: BIND, | System Action: The bind-type operation is not performed.
| REBIND, or FREE
| User Response: In the bind option PATH, specify a schema
| bind-subtype Subtype of bind subcommand: COPY or | name list that does not cause the SQL Path to exceed 254
| blank | characters.
| auth-id Authorization ID attempting the prohibited | For more information about the bind option PATH and the
| action | schema name list, please see: Commmand Reference.
| package-name Name of the package in the following | System Programmer Response: See the 'User Response'
| format: 'collection.package' | section of this message.
| System Action: The trigger package is not copied, rebound,
| or freed. | DSNT267I csect-name A TRIGGER PACKAGE CANNOT
| BE FREED USING THE FREE PACKAGE
| System Programmer Response: Check the
| COMMAND
| SYSIBM.SYSPACKAGE catalog table for names of existing
| trigger packages. Re-invoke the bind subcommand with a | Explanation: A FREE PACKAGE command was received
| 'collection.package' that is not a trigger package. | that identified the trigger package to be freed. Trigger pack-
| ages can only be deleted using the DROP TRIGGER SQL
| DSNT265I csect-name bind-type bind-subtype ERROR
| statement.
| USING auth-id AUTHORITY PACKAGE | System Action: The TSO Attachment Facility is ready for
| package-name IS NOT A TRIGGER PACKAGE | more input.
| Explanation: The subcommand REBIND TRIGGER | User Response: Use the SQL statement DROP TRIGGER to
| PACKAGE can be used only for trigger packages. | delete the trigger package.
| bind-type Type of bind subcommand: REBIND
| DSNT268I csect-name A BIND COMMAND USING THE
| bind-subtype Subtype of bind subcommand: TRIGGER
| COPY OPTION NAMED A TRIGGER PACKAGE
| auth-id Authorization ID attempting the REBIND | AS THE SOURCE FOR THE BIND
| package-name Name of the package in the following | Explanation: A trigger package cannot be used as the
| format: 'collection.package' | source for a BIND COPY command.
| System Action: The package specified is not rebound. | System Action: The TSO Attachment Facility is ready for
| System Programmer Response: For a package that is not a
| more input.
| trigger package, rebind using the subcommand REBIND | User Response: Correct the BIND command and resubmit.
| PACKAGE. Re-invoke the bind subcommand with a
| 'collection.package' that is a trigger package. DSNT270I THE FOLLOWING SQLCA INFORMATION WAS
RETURNED FROM subsystem
| DSNT266I csect-name bind-type FOR object-type = object-
SQLCODE = sqlcode
| name FAILED. THE TOTAL LENGTH OF THE
SQLSTATE = sqlstate
| PATH SCHEMA NAME LIST EXCEEDS 254
SQLERRMT = tokens
| CHARACTERS WITH SCHEMA NAME schema-
| SQLWARN warn_fields
| name
Explanation: A warning or error has been received from a
| Explanation: DB2 uses the schema name list you specified
database server using Advanced SQL protocols (ASP) of the
| in the bind option PATH to set the DB2 SQL Path that will be
Distributed Relational Database Architecture (DRDA), during
| used for the bind process. The SQL Path is a VARCHAR(254)
remote program BIND processing. The tokens of the message
| string containing the list of schema names you specified,
are:
| where each schema name is delimited with double quotes and
| separated from the next schema name by a comma. The total 1. subsystem - the database server,
| length of this SQL Path string, including the delimiters and 2. sqlcode - SQL return code,
| commas, cannot exceed 254 characters. The indicated schema 3. sqlstate - additional set of return codes common to the four
relational products,
DSNT316I csect-name A LOGICAL PARTITION OF AN DSNT350I –luw-id ACCESSING DATA FOR location
INDEX WHICH HAS PAGES IN THE LPL OR
Explanation: This message follows message DSNT394I or
HAS BEEN MARKED GRECP CANNOT BE
DSNT396I for each thread reported that is participating in dis-
STARTED FOR RW OR RO ACCESS
tributed data access (database access thread). This additional
Explanation: The START DATABASE command was speci- line reports the distributed identification as follows:
fied for a logical partition of a nonpartitioned index which has
luw-id=token The logical-unit-of-work identifier (LUW-ID)
pages in the logical page list (LPL) or is marked group buffer
is a unique identifier that is assigned to
pool recovery pending (GRECP). To start a nonpartitioned
the thread followed by an '=' sign and a
index with one of these exception conditions, the START DB
token. The token can be used in place of
command must be specified without the PART keyword.
luw-id in any DB2 command that accepts
Severity: 8 (error) luw-id as input.
System Action: The command is not processed for the index location The LOCATION name assigned to the
space. All other valid table spaces or index spaces specified in requesting site.
the command are processed.
The message number and subsystem recognition character are
User Response: Submit the command for the nonpartitioned not included in this message.
index space without using the PART keyword.
This message is issued by the following CSECT: DSNTDMUL
Problem Determination: If more information on the status of
the index space is required, use the -DISPLAY DATABASE DSNT358I csect_name INVALID PARTITION SPECIFICA-
command. TION FOR OBJECT object-name
Explanation: Specification of the PART keyword in a
DSNT317I csect-name ANY USER-DEFINED INDEXES ON
DISPLAY DATABASE command is invalid.
DSNDB06 COULD NOT BE cmd-type DUE TO A
RESOURCE UNAVAILABLE ON THE The PART keyword is invalid if it is specified for:
CATALOG OR DIRECTORY. A nonpartitioned table space
Explanation: If user-defined indexes exist on DSNDB06, they A nonpartitioned type 1 index
could not be displayed, started or stopped (depending on cmd- A type 2 index not defined on a partitioned table space
type) because the catalog or directory was not available. The object object-name can be either a table space or an
DB2-defined indexes and table spaces are not affected by this index space.
unavailability.
No action for this table space or index space is performed by
Programmer Response: When you get this message, correct the DISPLAY DATABASE command. Any other valid table
the resource unavailable problem and reissue the command. space or index space specified is processed by the command.
System Action: Any user-defined indexes on DSNDB06 were Severity: 8 (error)
not affected by the command issued. All other table spaces
and index spaces were processed by the command. System Action: The desired command is not processed for
the table space or index space in question. All other valid table
spaces or index spaces specified in the command are proc-
DSNT331I csect-nameDATABASE name AND ANY SPACE
essed.
IT CONTAINS CANNOT BE STOPPED. IT IS
THE ACTIVE COMMUNICATIONS DATABASE User Response: Resubmit the command for the nonparti-
tioned table space or index space without using the PART
Explanation: The database specified in the message cannot
keyword.
be stopped because it is the active communications database.
In addition, spaces within the active communications database Problem Determination: SYSIBM.SYSTABLESPACE indi-
cannot be stopped. cates whether a table space is partitioned.
SYSIBM.SYSINDEXSPACE indicates whether an index space
System Action: Nothing is stopped.
is partitioned and whether the index space is a type 1 or a type
Operator Response: If the database or any space within it 2 index. Type 2 nonpartitioned indexes can be displayed at the
must be stopped, you must stop the distributed data facility logical partition level; type 1 indexes cannot.
(STOP DDF). In a DB2 data sharing environment, you must
stop the distributed data facility on all members of the DB2 DSNT359I csect_name INVALID PARTITION NUMBER
data sharing group. SPECIFIED - part-num FOR OBJECT object-
name
DSNT332I TABLESPACES AND INDEXSPACES ARE
Explanation: An invalid partition number was specified in the
UNAVAILABLE BECAUSE DATABASE name IS
PART keyword for a DISPLAY DATABASE command.
STOPPED
Partition number part-num is invalid for the object object-name.
Explanation: The database 'name' is currently marked as
stopped. Consequently, its table spaces and index spaces are Severity: 8 (error)
unavailable even though they may have been started. System Action: The part number is ignored. All other valid
partitions specified are processed.
User Response: Determine the correct partition specification
for the table space or index that was the subject of the speci-
fied command and resubmit the command.
Note that either DSNT301I or DSNT302I is produced if no id2 The connection identifier of the thread associated
object is found and the keywords ACTIVE and RESTRICT are with plan-id1.
omitted.
id3 The logical-unit-of-work identifier of the thread asso-
System Action: Processing continues normally. ciated with plan-id1. An asterisk (*) indicates that
the thread does not have an LUW-ID. If the LUW-ID
| DSNT368W csect-name MORE THAN ONE MUTUALLY is not an asterisk, the value is a logical-unit-of-work
| EXCLUSIVE KEYWORD WAS SPECIFIED IN identifier that is assigned to the thread. It is followed
| THE DISPLAY DATABASE COMMAND. by an equal (=) sign and a token value, which can
be used in place of the logical-unit-of-work identifier
| Explanation: The keywords, LOCKS, LPL, CLAIMERS, in any DB2 command that accepts a logical-unit-of-
| WEPR and USE are mutually exclusive. Only one should be work identifier as input.
| specified in a DISPLAY DATABASE command. The preced-
| ence order for which keyword takes precedence over the # id4 This ID contains additional identifiers that define
| others is: # more specific information regarding the identity of
# the agent.
| 1. LPL
| 2. CLAIMERS # In many distributed configurations, the primary
| 3. LOCKS # authorization-ID used with DB2 is not necessarily
| 4. USE # the user-ID of the end-user. If provided by the
| 5. WEPR # client, the additional tokens further assist in identi-
# fying the client end-user.
| System Action: The DISPLAY DATABASE command is
| processed with this warning message. # The following identifiers, separated by a colon (:),
# are provided:
| User Response: Remove keywords from DISPLAY DATA-
| BASE command until only one of these mutually exclusive # The primary authorization-ID associated with
| keywords is specified. # the thread.
# Workstation name of the end-user's workstation.
DSNT367I NO INFORMATION AVAILABLE # An asterisk (*) indicates it is not relevant to the
# thread or was not provided by the client.
| Explanation: This message indicated there is no LOCK,
| USE, LPL, WEPR or CLAIMER information available when # End-user's user-ID. An asterisk (*) indicates it is
| DISPLAY DB(...) SPACENAM(...) ONLY is entered with the # not relevant to the thread or was not provided
| keywords LOCKS, USE, LPL, WEPR or CLAIMERS. # by the client.
System Action: The process continues normally. # Application name of the end-user's application.
# An asterisk (*) indicates that is not relevant to
# the thread or was not provided by the client.
| DSNT375I PLAN=plan-id1 WITH CORRELATION-ID=id1
| CONNECTION-ID=id2 LUW-ID=id3 id5 The correlation identifier of the thread associated
| THREAD-INFO=id4 IS DEADLOCKED WITH with plan-id2.
| PLAN=plan-id2 WITH CORRELATION-ID=id5 id6 The connection identifier of the thread associated
| CONNECTION-ID=id6 LUW-ID=id7 with plan-id2.
| THREAD-INFO= id8 ON MEMBER id9
id7 The logical-unit-of-work identifier of the thread asso-
Explanation: This message is issued whenever plan plan-id1 ciated with plan-id2. An asterisk (*) indicates that
with correlation id1, connection id2, and LUW id3 is denied an the thread does not have an LUW-ID. If the LUW-ID
IRLM lock because of a detected deadlock. Plan plan-id2 iden- is not an asterisk, the value is a logical-unit-of-work-
tifies one of the members of the deadlock. identifier that is assigned to the thread followed by
DB2 does not attempt to identify all survivors of a deadlock or an equal (=) sign and a token value, which can be
all participants in a deadlock in the DSNT375I message. Plan used in place of logical-unit-of-work identifier in any
plan-id2 in message DSNT375I might be just one of several DB2 command that accepts logical-unit-of-work
plans holding locks on the desired resource. identifier as input.
If multiple deadlocks are detected during the same deadlock- # id8 This ID contains additional identifiers that define
# detection interval, the lock holder identified by plan-id2 in one # more specific information regarding the identity of
DSNT375I message might be selected to break a deadlock # the agent.
# identified by a different DSNT375I message. The lock holder # In many distributed configurations, the primary
# identified by plan-id2 is not guaranteed to be a winner in all # authorization-ID used with DB2 is not necessarily
deadlocks in which it participates. # the user-ID of the end-user. If provided by the
A DB2 IFCID 172 trace record contains the information needed # client, the additional tokens further assist in identi-
to determine all participants in, and survivors of, a given dead- # fying the client end-user.
lock. # The following identifiers, separated by a colon (:),
plan-id1, plan-id2 # are provided:
The names of the executing plans. # The primary authorization-ID associated with
id1 The correlation identifier of the thread associated # the thread.
with plan-id1. Correlation IDs beginning with '0nn', # Workstation name of the end-user's workstation.
where 'nn' is a number from 01 to 28, identify a # An asterisk (*) indicates it is not relevant to the
system agent. # thread or was not provided by the client.
# End-user's user-ID. An asterisk (*) indicates it is # client, the additional tokens further assist in identi-
# not relevant to the thread or was not provided # fying the client end-user.
# by the client.
# The following identifiers, separated by a colon (:),
# Application name of the end-user's application. # are provided:
# An asterisk (*) indicates that is not relevant to
# The primary authorization-ID associated with
# the thread or was not provided by the client.
# the thread.
id9 Identifies the member name of the DB2 subsystem
# Workstation name of the end-user's workstation.
on which the thread associated with plan-id2 is exe-
# An asterisk (*) indicates it is not relevant to the
cuting.
# thread or was not provided by the client.
DB2 can recover from a lock denial in some cases and can
# End-user's user-ID. An asterisk (*) indicates it is
complete successfully. In such a case, the SQLCA is not filled
# not relevant to the thread or was not provided
in. One example is during setup of performance enhancements
# by the client.
during bind time for execution time.
# Application name of the end-user's application.
The SQLCA corresponding to correlation id id1, connection id
# An asterisk (*) indicates that is not relevant to
id2, and LUW-ID id3 contains an SQLCODE of -904, -911,
# the thread or was not provided by the client.
-913, or -923 and the name of the resource involved in the
deadlock. id5 The correlation identifier of the thread associated
with plan-id2. If the execution of the plan was
If you receive a system plan in this message, see the informa-
switched by DB2 to a system agent, the correlation
tion about system plans in message DSNT376I.
identifier identifies the system agent. Correlation
Problem Determination: Collect the following diagnostic IDs beginning with '0nn', where 'nn' is a number
items listed in Appendix B, “Problem determination” on from 01 to 28, identify system agents.
page 1051: 1, 2, 5, 18.
id6 The connection identifier of the thread associated
with plan-id2. If the execution of the plan was
| DSNT376I PLAN=plan-id1 WITH CORRELATION-ID=id1 switched by DB2 to a system agent, the connection
| CONNECTION-ID=id2 LUW-ID=id3 identifier is the DB2 subsystem name.
| THREAD-INFO=id4 IS DEADLOCKED WITH
id7 The logical-unit-of-work identifier of the thread asso-
| PLAN=plan-id2 WITH CORRELATION-ID=id5
ciated with plan-id2. An '*' indicates that the thread
| CONNECTION-ID=id6 LUW-ID=id7
does not have a LUW-ID. If the LUW-ID is not an
| THREAD-INFO= id8 ON MEMBER id9
'*', the value is a logical-unit-of-work-id that is
Explanation: This message is issued whenever plan plan-id1 assigned to the thread followed by an "=" sign and
with correlation id1, connection id2, and LUW id3 is denied a a token value, which can be used in place of
lock by IRLM, because the amount of time to wait for a locked logical-unit-of-work-id in any DB2 command that
resource was exceeded. Plan plan-id2 identifies one of the accepts logical-unit-of-work-id as input.
plans holding a lock on the desired resource. The listed plan is
not necessarily responsible for the time-out condition.
# id8 This ID contains additional identifiers that define
# more specific information regarding the identity of
plan-id1, plan-id2 # the agent.
The names of the executing plans.
# In many distributed configurations, the primary
id1 The correlation identifier of the thread associated # authorization-ID used with DB2 is not necessarily
with plan-id1. If the execution of the plan was # the user-ID of the end-user. If provided by the
switched by DB2 to a system agent, the correlation # client, the additional tokens further assist in identi-
identifier identifies the system agent. Correlation # fying the client end-user.
IDs beginning with '0nn', where 'nn' is a number
from 01 to 28, identify system agents.
# The following identifiers, separated by a colon (:),
# are provided:
id2 The connection identifier of the thread associated
with plan-id1. If the execution of the plan was
# The primary authorization-ID associated with
switched by DB2 to a system agent, the connection
# the thread.
identifier is the DB2 subsystem name. # Workstation name of the end-user's workstation.
id3 The logical-unit-of-work identifier of the thread asso-
# An asterisk (*) indicates it is not relevant to the
ciated with plan-id1. An '*' indicates that the thread
# thread or was not provided by the client.
does not have a LUW-ID. If the LUW-ID is not an # End-user's user-ID. An asterisk (*) indicates it is
'*', the value is a logical-unit-of-work-ID that is # not relevant to the thread or was not provided
assigned to the thread followed by an "=" sign and # by the client.
a token value, which can be used in place of
# Application name of the end-user's application.
logical-unit-of-work-ID in any DB2 command that
# An asterisk (*) indicates that is not relevant to
accepts logical-unit-of-work-ID as input.
# the thread or was not provided by the client.
# id4 This ID contains additional identifiers that define
id9 Identifies the member name of the DB2 subsystem
# more specific information regarding the identity of
on which the thread associated with plan-id2 is exe-
# the agent.
cuting.
# In many distributed configurations, the primary
DB2 can recover from a lock denial in some cases and can
# authorization-ID used with DB2 is not necessarily
complete successfully. In such a case, the SQLCA is not filled
# the user-ID of the end-user. If provided by the
in. One example is during setup of performance enhancements 4. Check the ACQUIRE/RELEASE values specified on
during bind time for execution time. the plan. ACQUIRE(ALLOCATE) acquires all locks for
all tables and table spaces referenced in the plan,
The SQLCA corresponding to correlation-id id1, connection-ID
even if the program logic does not cause the
id2, and LUW-ID id3 contains an SQLCODE of -904 or -923
table/table space to be accessed. Binding with
and the name of the resource involved in the timeout.
RELEASE(DEALLOCATE) causes table, table space
Several different system plans can appear in plan-id1 and and DBD locks to be held longer than binding with
plan-id2. These system plans are not documented in RELEASE(COMMIT), possibly causing a timeout.
SYSIBM.SYSPLAN. If you receive a system plan in this
5. Use the DISPLAY DB LOCKS command during
message, you are in contention with another user. If you are
program execution to verify that the locks being held at
not doing an automatic rebind, message DSNT500I or
the time of the timeout are as expected. If they are not,
DSNT501I might accompany this message and identify that
you may need to use ALTER to change the locksize of
resource. If you need additional information, refer to the
the table space if possible, or rebind your plan with dif-
SQLCA and any additional bind messages. If you are doing
ferent ACQUIRE, RELEASE or ISOLATION values.
an auto rebind, the SQLCA is not available. Refer to Section 6
of DB2 Application Programming and SQL Guide for more 6. ISOLATION level affects the mode of table/table space
information about automatic rebinding. The system plans are: locks chosen and may be of concern if the plan is
bound with RR and there is a page set scan.
ACT
BCT Check the ISOLATION level specified on the plan in
DISTSERV SYSIBM.SYSPLAN. A value of RR is more likely to cause
DSNBIND a timeout because it requires more page or row locks and
STARTCT also has a greater potential than CS for causing lock esca-
DSNUTIL. lation, which can cause timeouts as noted above.
Operator Response: Notify the system programmer. Check the frequency of COMMITs in the application. A
large number of updates without any COMMITs can cause
System Programmer Response: Timeouts can happen for
a timeout because the more pages that are changed, the
many reasons, including factors relating to DB2 or IRLM. Some
more page or row locks held, and the greater potential for
of those reasons are listed below along with possible ways to
lock escalation.
reduce or eliminate your timeout. Refer to Section 5 (Volume
2) of DB2 Administration Guide for more detail about the con- This condition might be caused by an undetected deadlock, for
cepts discussed in this list. See also SQLCODEs -911 and example, an agent holding a lock on the resource for a period
-913. of time that exceeds either the specified time or the IRLM
default wait time.
Timeouts can result from the definition of objects or the struc-
ture of applications as explained below. If the time limit is too small, you can increase the limit by spec-
ifying a new IRLM locked resource wait time limit. To do this,
If the resource involved in the timeout is listed in the
you can either use the parameter in the DSN6SPRM assem-
DSNT500I/DSNT501I message as a table or table space,
bler macro in the DSNTIJUZ job stream or update the
check the following items for other possible causes of
'wait-time' field of the DB2 installation IMS Resource Lock
timeout:
Manager panel, IRLMRWT. You must also specify all other
1. Check the LOCKRULE column value in parameters contained in this version of the CSECT. Then do
SYSIBM.SYSTABLESPACES for the table space being one of the following:
accessed. A lock size of TABLE or TABLESPACE
Resubmit installation job DSNTIJUZ with the link-edit
could cause a timeout. If your application does not
SYSIN file 'NAME' parameter that matches the -START
need to lock the entire table or table space, you can
DB2 'PARM=' parameter.
resolve the timeout by changing the lock size to PAGE
or ANY using the ALTER statement. Reassemble DSN6SPRM and relink-edit DSNZPARM by
resubmitting installation job DSNTIJUZ. The link-edit
2. Check the number of LOCKS PER TABLE(SPACE),
SYSIN file 'NAME' parameter must match the -START
which was set at the time DB2 was installed. If a large
DB2 'PARM=' parameter.
number of page or row locks are acquired and held, a
small value for LOCKS PER TABLE(SPACE) could be Problem Determination: Collect the following diagnostic
causing lock escalation to a table or table space lock. items listed in Appendix B, “Problem determination” on
The timeout can be resolved by changing the value on page 1051: 1, 2, 5, 9, 18.
the DSNTIPK update panel or by binding the applica-
tion's plan with RELEASE(COMMIT) and doing | DSNT377I PLAN=plan-id1 WITH CORRELATION-ID=id1
commits more frequently. | CONNECTION-ID=id2 LUW-ID=id3
3. You can use EXPLAIN (described in Section 6 of DB2 | THREAD-INFO=id4 IS IN CONFLICT WITH AN
Application Programming and SQL Guide) with the | INDOUBT THREAD ON MEMBER id5
failing SQL statement and check the TSLOCKMODE Explanation: This message is issued by the service controller
column for every table/table space in the EXPLAIN subcomponent. A plan cannot gain an IRLM lock because a
output. If the competing applications are attempting to required resource is currently undergoing recovery. The
obtain incompatible locks, you might be able to resolve message identifies the plan in this way:
the timeout by running the applications sequentially
rather than concurrently or by following the suggestions plan-id1 The name of the executing plan.
in other steps listed here, such as changing lock size,
ACQUIRE/RELEASE parameters or ISOLATION type.
id1 The correlation identifier (ID) of the thread asso- holding the retained lock is either failed, or is in the process of
ciated with plan plan-id1. Correlation IDs begin- restarting to recover its retained locks. This message is only
ning with '0nn', where 'nn' is a number from 01 issued if the RETLWAIT installation parameter in DSN6SPRM
to 28, identify system agents. is set to 'YES'. If RETLWAIT is set to 'NO' (this is the default),
then any IRLM lock that conflicts with a retained lock will not
id2 The connection-ID of plan plan-id1.
wait, but instead will be immediately rejected (see reason
id3 The logical-unit-of-work identifier ('LUW-ID') of codes 00C900BE and 00C20254).
plan-id1. An '*' indicates that the thread does
The following identifiers are used in the message:
not have a LUW-ID. If the LUW-ID is not an '*',
the value is a logical-unit-of-work id that is plan-id1 The name of the executing plan.
assigned to the thread followed by an "=" sign
id1 The correlation identifier (ID) of the thread asso-
and a token value, which can be used in place of
ciated with plan plan-id1. Correlation IDs begin-
logical-unit-of-work-id in any DB2 command that
ning with '0nn', where 'nn' is a number from 01
accepts logical-unit-of-work-id as input.
to 28, identify system agents.
# id4 This ID contains additional identifiers that define
id2 The connection-ID of plan plan-id1.
# more specific information regarding the identity of
# the agent. id3 The logical-unit-of-work identifier ('LUW-ID') of
plan-id1. An '*' indicates that the thread does
# In many distributed configurations, the primary
not have a LUW-ID. If the LUW-ID is not an '*',
# authorization-ID used with DB2 is not necessarily
the value is a logical-unit-of-work id that is
# the user-ID of the end-user. If provided by the
assigned to the thread followed by an "=" sign
# client, the additional tokens further assist in iden-
and a token value, which can be used in place of
# tifying the client end-user.
logical-unit-of-work-id in any DB2 command that
# The following identifiers, separated by a colon (:), accepts logical-unit-of-work-id as input.
# are provided:
# id4 This ID contains additional identifiers that define
# The primary authorization-ID associated with # more specific information regarding the identity of
# the thread. # the agent.
# Workstation name of the end-user's work- # In many distributed configurations, the primary
# station. An asterisk (*) indicates it is not rele- # authorization-ID used with DB2 is not necessarily
# vant to the thread or was not provided by the # the user-ID of the end-user. If provided by the
# client. # client, the additional tokens further assist in iden-
# End-user's user-ID. An asterisk (*) indicates
# tifying the client end-user.
# it is not relevant to the thread or was not pro- # The following identifiers, separated by a colon (:),
# vided by the client. # are provided:
# Application name of the end-user's applica- # The primary authorization-ID associated with
# tion. An asterisk (*) indicates that is not rele- # the thread.
# vant to the thread or was not provied by the
# Workstation name of the end-user's work-
# client.
# station. An asterisk (*) indicates it is not rele-
id5 Identifies the member name of the DB2 sub- # vant to the thread or was not provided by the
system on which the indoubt thread is executing. # client.
The SQLCA corresponding to correlation-ID id1, connection-ID # End-user's user-ID. An asterisk (*) indicates
id2, and LUW-ID id3 contains an SQLCODE -904, -911, -913, # it is not relevant to the thread or was not pro-
or -923 and the name of the resource currently being recov- # vided by the client.
ered by DB2.
# Application name of the end-user's applica-
If you receive a system plan in this message, see the informa- # tion. An asterisk (*) indicates that is not rele-
tion about system plans in message DSNT376I. # vant to the thread or was not provied by the
System Action: Processing continues.
# client.
id5 Identifies the member name of the failed or
Problem Determination: Collect the following diagnostic
restarting DB2 subsystem which holds the con-
items listed in Appendix B, “Problem determination” on
flicting retained lock.
page 1051: 1, 2, 4.
System Action: The SQLCA corresponding to correlation-ID
| DSNT378I csect-name PLAN=plan-id1 WITH id1, connection-ID id2, and LUW-ID id3 contains an SQLCODE
| CORRELATION-ID=id1 CONNECTION-ID=id2 -904, -911 , -913 or -923 and the name of the resource
| LUW-ID=id3 THREAD-INFO=id4 TIMED OUT involved in the timeout.
| BECAUSE OF A RETAINED LOCK HELD BY System Programmer Response: Restart the member
| MEMBER id5 holding the retained lock if it has not yet been restarted.
Explanation: A plan cannot get an IRLM lock because the Problem Determination: Collect the following diagnostic
resource is held by a retained lock on behalf of another items listed in Appendix B, “Problem determination” on
member in the data sharing group, and the amount of time to page 1051: 1, 2, 4.
wait for the locked resource was exceeded. The member
DSNT381I IRLM QUIT REQUEST FAILED, RC = xx , SC = Operator Response: Notify the system programmer.
yy System Programmer Response: Either manually start IRLM
Explanation: During the QUIT (or signoff) request to the or modify the installation-defined auto-start wait time. Restart
IMS/VS Resource Lock Manager, a return code and subcode DB2.
were returned indicating an unsuccessful completion of the Problem Determination: Collect the following diagnostic
request. Refer to “Section 5. IRLM Messages and Codes” on items listed in Appendix B, “Problem determination” on
page 1009, for IRLM return codes and subcode meanings. page 1051: 1, 2, 5, 9.
System Action: This message indicates that the DB2 sub- Check the IRLMID given in the IRLM procedure against the
system shutdown could not be completed normally. IRLMSID in macro DSN6SPRM which was in the DSNZPARM
Operator Response: Notify the system programmer. used at startup.
type TS for a table space, IX for an index space, LS for a REORP The object (a table space or table space parti-
LOB table space. tion) is in recovery pending status.
part The partition number. For a nonpartitioned table space RESTP The object is in the Restart Pending state.
or an index on a nonpartitioned table space, it is blank. Backout activity against the object must be
For nonpartitioned indexes on a partitioned table completed by using the -RECOVER POST-
space, it is the logical partition number preceded by PONED command, or by recycling the system
the character L (for example, L001). with system parameter LBACKOUT=AUTO.
status Blank, or one or more of the following, delimited by RO The table space, table space partition, index
commas. The maximum length of the string is 18 char- space or index space partiti is started for
acters. read-only activity.
ACHKP The table space is in aux check pending state. RW The table space, table space partition, index
ACHKP on a table space indicates that space or index space partiti is started for read
CHECK DATA detected an orphan or missing and write activity.
LOB or an out-of-sync condition between the STOP The table space, table space partition, index
row in the base table and the LOB in the LOB space or index space partiti is stopped.
table space. STOPE The table space or index space was implicitly
| AREST The object (a table space, index space, or a stopped because there is a problem with the
| physical partition of a table space or index log RBA in a page. Message DSNT500I or
| space) is in an Advisory Restart Pending DSNT501I is issued when the error is
| state. If backout activity against the object is detected to indicate the inconsistency.
| not already underway, it should be initiated STOPP A stop is pending for the database, table
| either by issuing the RECOVER POSTPONED space, table space partition, index space or
| command or by recycling the system with the index space partition.
| system parameter LBACKOUT=AUTO. UT The table space, table space partition, index
AUXW The table space is in aux warning state. space or index space partiti is started for utility
AUXW on a LOB table space indicates that processing only.
one or more LOBs in the LOB table space is UTRO A utility is in process on the table space, table
invalid. AUXW on a base table space indi- space partition, index space, or index space
cates that CHECK DATA detected an orphan partition that allows only RO access.
or missing LOB or an out-of-sync condition UTRW A utility is in process on the table space, table
between the row in the base table and the space partition, index space or index space
LOB in the LOB table space. partition that allows RW access.
CHKP The object (a table space or a partition within UTUT A utility is in process on the table space, table
a table space) is in check pending status. space partition, index space or index space
COPY The object (a table space or a partition within partition that allows only UT access.
a table space) is in copy pending status. An # WEPR This object has pages or ranges of pages that
image copy is required for this object. # are unavailable because of physical damage.
GRECP The object (a table space, a table space parti- # To reset this flag, you can use either the
tion, index space, or index space partition) is # RECOVER utility with the option as ERROR
marked recovery pending because of the # RANGE or the LOAD utility with the option as
failure of a a group buffer pool. This status # REPLACE.
value appears only on spaces. It does not
If the status for a nonpartitioned index is blank, then
apply to databases. See DB2 Data Sharing:
the status information is displayed at the logical parti-
Planning and Administration for information
tion level.
about resolving this restricted status.
conn-id A connection identifier for the thread.
ICOPY The object (an index space or index partition)
corr-id A correlation identifier of the thread associated with
is in informational copy pending status.
the space name.
LPL The object has pages or ranges of pages that
claims The type and duration of currently held claims. The
are unavailable because of logical or physical
claim is composed of a claim class descriptor and a
damage.
claim duration descriptor.
LSTOP The logical partition is stopped.
| PSRBD The index space is in page set rebuild The claim class descriptor has one of the following
pending status. values:
RBDP The object (an index space, index partition or CS Cursor stability claim class
logical index partition) is in rebuild pending RR Repeatable-read claim class
status. For logical partitions, the RBDP status WR Write claim class
can appear as RBDP*. The claim duration descriptor describes the duration of
RBDP Indicates that the entire index is inaccessible the claims as follows:
to SQL applications, however only the logical A The claim is held until deallocation.
partition needs to be recovered. C The claim is held until the next commit point.
RECP The object (a table space, table space parti- H The claim is held across commit.
tion, index space, index partition or logical
index partition) is in recovery pending status.
When a data set supporting the specified table space or – UTILITY if the thread is from a utility.
index space has physical I/O errors, hi-page is a – 'IMS identifier' if the thread is from an IMS terminal.
hexadecimal number identifying the highest page number
containing an I/O error. This column is blank if there are no – 'CICS identifier' if the thread is from a CICS terminal.
physical errors.
2. For threads using application-directed access – BATCH if the thread is from a batch region.
from a non-DB2 requester, this variable dis- – TSO if the thread is from a TSO terminal.
plays the first twelve characters in the DDM
external name (EXTNAM) parameter of the – UTILITY if the thread is from a utility.
DDM EXCSAT command received as part of – 'IMS identifier' if the thread is from an IMS terminal.
the SQL CONNECT
– 'CICS identifier' if the thread is from a CICS terminal.
The user-id is one of the following:
– CONSOLE if the thread is from the console.
– 'TSO logon identifier' if the thread is from a TSO ter-
When the displayed lock is a P-lock or a retained lock,
minal.
conn-id is not specified.
– 'sign-on id' or the LTERM if the thread is from an IMS
The corr-id is a correlation identifier of the thread associ-
message-drive region.
ated with the space name. It is one of the following:
– AXBUSER if the thread is from an IMS message-driven
– 'job-name' if the thread is from a batch region.
region and RACF is used.
– 'TSO logon identifier' if the thread is from a TSO ter-
– 'PSB name' if the thread is from an IMS nonmessage-
minal.
driven region and RACF is not used.
– PST#.PSBNAME if the thread is from an IMS terminal.
– 'user-id', 'term id', 'tran id' or other, as specifi in the
resource control table (RCT), if the thread is from – 'entry ID.thread number.tran id' if the thread is from a
CICS. CICS terminal.
– CONSOLE if the thread is from the console.
– For distributed database access threads, this field con-
tains the following:
- While the thread is being created:
1. '028.DBAA nn', where nn ranges from 01 to SIX A table space or table lock with a protocol
99. This indicates that the database access that does not lock a page while reading,
agent (DBAA) is in its connection processing, but locks the page with update intention
which consists of establishing the DBAA while updating.
thread, and validating and verifying the user's
X An exclusive lock.
ID. Refer to "Controlling Access to a DB2 Sub-
system" in DB2 Administration Guide for | - For L-locks on LOB table spaces,
descriptions of the authorization checks that | IS A lock with intent to reserve space within
might be performed. | the LOB table space
All RACF requests are serialized on a single | IX A lock with intent to insert LOBs in the
DB2 RACF service task, which might increase | LOB table space.
the validation time when multiple DBAAs are
being created concurr | S A lock which reserves space within the
| LOB table space.
- After the thread is created:
| SIX A lock which allows the owner to read and
1. For threads using system-directed access and | update LOBs.
threads using application-direc access from a
DB2 requester, this variable displays the corre- | X An exclusive lock.
lation ID of the thread at the requesting - For P-locks,
location.
IS This DB2 member has R/O interest. The
2. For threads using application-directed access page set or partition is group buffer pool
from a non-DB2 requester, this variable dis- (GBP) dependent.
plays the first twelve characters in the DDM
external name (EXTNAM) parameter of the IX This DB2 member has R/W interest. The
DDM EXCSAT command received as part of page set or partition is GBP-depende
the SQL CONNECT S This DB2 member has R/O interest. The
corr-id is not specified when the displayed lock is a P-lock page set or partition is not GBP-dep
or a retained lock. SIX This DB2 member has R/W interest. The
The lock describes the type and duration of locks: page set or partition is GBP-depende
– Transaction locks (also called L-locks) are identified by NSU This DB2 member has R/W interest. The
their correspondin agents' connection and correlation page set or partition is GBP-depende
IDs X This DB2 member has R/W interest. The
Multiple locks held by an agent are listed on multiple page set or partition is not GBP-dep
lines of the report followed by any locks the agent is – The 'lock type' describes the type of locking as
currently awaiting. follows:
– Physical locks (P-locks) and retained locks are identi- S A table space L-lock
fied by their DB2 data sharing member names.
T A table L-lock
Multiple P-locks or retained locks held by a DB2 data
C A cursor-stability read drain lock
sharing member are listed on multiple lines of the
report followed by any locks the member is currently R A repeatable-read drain lock
awaiting.
W A write drain lock
The lock is composed of a 'lock status' and followed by a
P A partition L-lock
dash '-', a 'lock state' followed by a 'lock type', and a
'lock duration' delimited by commas. PP A page set or partition P-lock
– The 'lock status' is a value of: – If the 'lock status' is H, the 'lock duration' describes
the duration of the lock:
H The lock is held by the agent or the DB2
member. A The lock is freed at deallocation.
W The agent or the member is awaiting the lock. C The lock is freed at commit.
R The lock is retained. H The lock is freed when all cursors are closed.
– The 'lock state' describes themode of the lock as M The lock is freed by the system.
follows:
P The lock is freed when the plan is complete.
- For L-locks and drain locks,
I The lock is a page set or partition P-lock. It is
IS A lock with read intentions. released when the pageset or partition data
set is closed.
IX A lock with update intentions.
– If the 'lock status' is W, the 'lock duration' is a 2-digit
S A lock with read-only capability.
number indicating the waiter’s position in the local DB2
U A lock with update capability. system's lock waiting queue. When this lock is
acquired, its duration is the same as all locks held by
the user.
– For a P-lock, the lock is owned by the system, not the - BATCH if the thread is from a batch region.
user, and its duratio is not related to the duration of the
- TSO if the thread is from a TSO terminal.
locks that are owned by the user.
- UTILITY if the thread is from a utility.
– Retained locks do not have a lock duration.
- 'IMS identifier' if the thread is from an IMS ter-
All index spaces on tables are implicitly locked with transaction
minal.
locks at the same level as the table spaces containing those
tables. P-locks are acquired by DB2 on index spaces as well - 'CICS identifier' if the thread is from a CICS ter-
as on table spaces. minal.
- CONSOLE if the thread is from the console.
DSNT397I
- For distributed database access threads, this field
Explanation: This message indicates the beginning of a mul- contains the following:
tiple line display generated as a result of a DISPLAY DATA-
For threads using system-directed access and
BASE command. The format of this multiple line display has
for threads using application-directed access
three parts:
from a DB2 Version 3 or later requester, this
The column headers, which are dependent on the variable displays the connection name of the
keywords issued. The headers are underlined. thread at the requesting location.
The space information for all spaces and partitions For threads using application-directed access
requested by the command from a non-DB2 requester or from a DB2
Version 2 Release 3 requester, this field dis-
An ending message to state whether the spaces were dis-
plays the constant SERVER.
played or not.
– CORRID is a correlation identifier of the thread associ-
There are five different headers for the DISPLAY DATABASE
ated with the space name. It is one of the following:
commands. The headers are dependent on the presence of
the keywords: CLAIMERS, LOCKS, USE, LPL, or no keyword. - 'job name' if the thread is from a batch region.
These five different DISPLAY DATABASE command formats
- 'TSO logon identifier' if the thread is from a TSO
are described below.
terminal.
DISPLAY DATABASE CLAIMERS
- PST#.PSBNAME if the thread is from an IMS ter-
This DISPLAY DATABASE command displays the claims minal.
that are on certain table spaces, index spaces, and parti-
- 'entry ID.thread number.tran id' if the thread is
tions.
from a CICS terminal.
The column headers in this command are as follows:
- CONSOLE if the thread is from the console.
NAME TYPE PART STATUS CONNID CORRID
- '0nn', where 'nn' is a number, if the thread is for
CLAIMINFO
a system agent.
– NAME is the table space name or index space name.
- For distributed database access threads, this field
– TYPE is TS for a table space, IX for an index space, contains the following:
LS for a LOB table space.
While the thread is being created:
– PART is the partition number. It is blank for a simple
1. '028.DBAA nn', where nn ranges from 01
table space or simple index space. For nonpartitioned
to 99. This indicates that the database
indexes on a partitioned table space, it is the logical
access agent (DBAA) is in its connection
partition number preceded by the character L (for
processing, which consists of establishing
example, L01).
the DBAA thread, and validating and veri-
– See DSNT389I for a list of the possible status display fying the user's ID. Refer to "Controlling
strings. Access to a DB2 Subsystem" in DB2
Administration Guide for descriptions of the
– For L-locks on LOB table spaces,
authorization checks that might be per-
| IS A lock with intent to reserve space within the formed.
| LOB table space
All RACF requests are serialized on a
| IX A lock with intent to insert LOBs in the LOB
single DB2 RACF service task, which
| table space.
might increase the validation time when
| S A lock which reserves space within the LOB
multiple DBAAs are being created concurr
| table space.
| SIX A lock which allows the owner to read and After the thread is created:
| update LOBs.
1. For threads using system-directed access
| X An exclusive lock.
and threads using application-direc access
If the type is TB, the status field is blank. from a DB2 requester, this variable dis-
plays the correlation ID of the thread at the
If the status for an index is blank, then the status infor-
requesting location.
mation is displayed at the logical partition level.
2. For threads using application-directed
– The CONNID is a connection identifier for the thread. It
access from a non-DB2 requester, this var-
is one of the following:
iable displays the first twelve characters in
the DDM external name (EXTNAM) param- IX A lock with update intentions.
eter of the DDM EXCSAT command S A lock with read-only capability.
received as part of the SQL CONNECT U A lock with update capability.
SIX A lock with a protocol that does not
– CLAIMINFO is the type and duration of currently held
lock a page while reading, but locks
claims. The claim is composed of a claim class
the page with update intention while
descriptor and a claim duration descriptor.
updating.
The claim class descriptor has one of the following X An exclusive lock.
values:
For P-locks,
CS Cursor stability claim class
IS This DB2 member has R/O interest.
RR Repeatable-read claim class
The page set or partition is group
WR Write claim class
buffer pool (GBP) dependent.
The claim duration descriptor describes the duration of
IX This DB2 member has R/W interest.
the claims as follows:
The page set or partition is
A The claim is held until deallocation. GBP-depend
C The claim is held until the next commit point.
S This DB2 member has R/O interest.
H The claim is held across commit.
The page set or partition is not
DISPLAY DATABASE LOCKS GBP-dependent.
This DISPLAY DATABASE command displays the locks SIX This DB2 member has R/W interest.
that are on certain table spaces, index spaces and parti- The page set or partition is
tions. GBP-depend
The column headers in this command are as follows: NSU This DB2 member has R/W interest.
NAME TYPE PART STATUS CONNID CORRID The page set or partition is
LOCKINFO GBP-depend
– The NAME column states the table space name, index X This DB2 member has R/W interest.
space name, or table object ID. The page set or partition is not
GBP-dependent.
– The TYPE column states TS for table space, IX for
index, or TB for table. - The 'lock type' describes the type of locking as
follows:
– The PART, STATUS, CONNID, and CORRID columns
are described in the DISPLAY DATABASE CLAIMERS S A table space L-lock
section. T A table L-lock
– The conn-id and corr-id are not specified when the C A cursor-stability read drain lock
display lock is a P-lock or a retained lock (either L-lock
R A repeatable-read drain lock
or P-lock). For page set P-locks, the DB2 member
name is used to identify the lock. W A write drain lock
– The LOCKINFO describes the type and duration of P A partition L-lock
locks used by corresponding agents identified by their
PP A page set or partition P-lock
connection and correlation IDs (for transaction locks,
which are also called L-locks) or used by corre- - If the 'lock status' is H,the 'lock duration'
sponding subsystems identified by their DB2 data describes the duration of the lock:
sharing member names (for physical locks, which are A The lock is freed at deallocation.
called P-locks, and retained locks). Multiple locks held
by an agent are listed on multiple lines of the report C The lock is freed at commit.
followed by any locks the agent is currently awaiting. H The lock is freed when all cursors are
Multiple P-locks or retained locks held by a DB2 data closed.
sharing member are listed on multiple lines of the
report followed by any locks the member is currently M The lock is freed by the system.
awaiting. The LOCKINFO consists of a 'lock status', P The lock is freed when the plan is com-
followed by a dash '-', a 'lock state', a 'lock typeßand plete.
a 'lock duration' delimited by commas.
I The lock is a page set or partition P-lock.
- The 'lock status' is a value of: It is released when the page set or parti-
H The lock is held by the agent or the DB2 tion data set is closed.
member. - If the 'lock status' is W, the 'lock duration' is a
W The agent or the member is awaiting the 2-digitnumber indicating the waiter’s position in the
lock. local DB2 system's lock waiting queue. When this
R The lock is retained. lock is acquired, its duration is the same as all
- The 'lock state' describes the mode of lock as locks held by the user.
follows: - For a P-lock, the lock is owned by the system, not
For L-locks and drain locks, the user, and its duratio is not related to the dura-
tion of the locks that are owned by the user.
IS A lock with read intentions.
- Retained locks do not have a lock duration. number containing an I/O error. This column is blank if
there are no physical errors.
There are no explicit index space locks. However, all index
spaces on tables are implicitly locked at the same level as – When a data set supporting the specified table space
the table spaces containing those tables. P-locks are or index space has physical I/O errors, PHYERRHI is a
acquired by DB2 on index spaces as well as on table hexadecimal number identifying the highest page
spaces. number containing an I/O error. This column is blank if
there are no physical errors.
DISPLAY DATABASE USE
– When a data set supporting the specified table space
This DISPLAY DATABASE command displays the user IDs
or index space has physical I/O errors, CATALOG
that are accessing certain table spaces, index spaces, and
identifies the catalog owning the data set with the I/O
partitions.
errors. This column is blank if there are no physical
The column headers in this command are as follows: errors.
NAME TYPE PART STATUS CONNID CORRID USERID – When a data set supporting the specified table space
– The NAME, TYPE, PART, STATUS, CONNID, and or index space has physical I/O errors, PIECE is an
CORRID columns are described in the DISPLAY integer number identifying the piece within the table
DATABASE CLAIMERS section. space or index space having the error. This column is
blank if there are no physical errors.
– The USERID is one of the following:
The piece number can be used to construct the name
- 'TSO logon identifier' if the thread is from a TSO of the data set supporting the space containing the
terminal. physical error as follows:
- 'sign-on id' or the LTERM if the thread is from an cat-name.DSNDBC.database-
IMS message-drive region. name.space-name.I1.Axxxx
- AXBUSER if the thread is from an IMS message- The value xxxx is the piece number plus one and
driven region and RACF is used. database-name is the name displayed in the preceding
DSNT362I message. Note that if the table space or
- 'PSB name' if the thread is from an IMS
index space is partitioned, the partiti number should
nonmessage-driven region and RACF is not used.
equal the piece number plus one.
- 'userid', 'term id', 'tran id' or other, as specifie
There are other informational messages that can be displayed
in the resource control table (RCT), if the thread is
that are not related to one specific keyword. They are listed
from CICS.
below:
DISPLAY DATABASE LPL
–luw-id ACCESSING DATA FOR location
NAME TYPE PART STATUS LPL PAGES
This message is issued for each thread reported that is
This message contains the display information resulting participating in distributed data access (database access
from a DISPLAY DATABASE command when the keyword thread). The thread that corresponds to this message is
LPL is specified. It contains the column data describin the the thread named by the correlation id and connection id of
status of a table space or index space in the database the data line preceding this message. This additional line
listed in the precedi DSNT362I message. This message is reports the distributed identification as follows:
always preceded by its column headings message
luw-id=token
DSNT805I. The message number for this message is not
The logical-unit-of-work identifier (LUW-ID) is
displayed.
a unique identifier that is assigned to the
In this message: thread followed by an '=' sign and a token.
– The LPL PAGES column lists the pages in the speci- The token can be used in place of luw-id in
fied space that are unavailable because of logical or any DB2 command that accepts luw-id as
physical damage. input.
DISPLAY DATABASE (with no LOCKS, USE, LPL or location The LOCATION name assigned to the
CLAIMERS keyword). requesting site.
This DISPLAY DATABASE command displays the error –MEMBER NAME member-name
page range information for certain table spaces, index This message is issued with messages DSNT389I,
spaces, and partitions. DSNT394I or DSNT396I for each thread in a data sharing
The column headers in this command are as follows: environment. This additional line reports the member name
of the DB2 subsystem accessing this object.
NAME TYPE PART STATUS PHYERRLO PHYERRHI
CATALOG PIECE If the characters '(CO)' follow the member name, then this
member is the castout owner for the page set or partition.
In this message: The castout owner for a page set or partition is the DB2
– The NAME, TYPE, PART, and STATUS columns are member responsible for doing all of the castout I/O for that
described in the DISPLAY DATABASE CLAIMERS page set or partition.
section. The message number and subsystem recognition character
– When a data set supporting the specified table space are not included in this message.
or index space has physical I/O errors, PHYERRLO is INVALID space-name
a hexadecimal number identifying the lowest page
System Programmer Response: Modify the dispatch priority The remaining characters of the command prefix must be one
algorithms for the two tasks to meet documented requirements. of the above, A-Z, or 0-9.
For instance, IRLM must have a higher dispatch priority than
This message is issued by the following panel: DSNTIPM
DB2.
System Action: The panel is redisplayed and the cursor is
placed on the field in error
# DSNT406I THE ART/ORT ESCAPE CHARACTER CANNOT
# BE User Response: Enter a valid command prefix
# % OR _
Explanation: You specified the percent sign (%) or the DSNT411I SQLCAID = xxxx, SQLCA IDENTIFIER
underscore character (_) as the application registration Explanation: The SQLCA ID field (SQLCAID) is not the
table/object registration table (ART/ORT) escape character. expected value, C'SQLCA'.
The ART/ORT escape character can be any other character.
System Programmer Response: The SQLCA area is invalid.
System Action: The panel is redisplayed and the cursor is This type of error is usually the result of one of the following:
# placed on the field that produced the error.
Calling the DSNTIAR formatting routine before an SQL
User Response: Change the ART/ORT escape character statement initializes the area
value.
Overlaying the SQLCA area
DSNT407I THIS FIELD HAS AN INVALID FORMAT Passing the wrong address to the DSNTIAR routine.
| Explanation: The field must be NOLIMIT, 1440, 0, or Correct the error, and rerun the application program.
| minutes and seconds separated by a comma.
This message is issued by the following panel: DSNTIPA DSNT412I SQLCABC = xxxx, SQLCA BYTE COUNT
System Action: The panel is redisplayed and the cursor is Explanation: The size of the SQLCA is not the expected
placed on the field in error. value (136 bytes).
User Response: Correct the input. System Programmer Response: The SQLCA area is invalid.
Correct the error. It is probably an overlay or an incorrect
SQLCA address. Rerun the application program.
DSNT408I SQLCODE = -xxx, explanation
Explanation: This message contains an SQL return code and DSNT413I SQLCODE = xxxx, INVALID SQLCODE
a brief explanation, with text inserted from the SQLERRM field.
The SQL return code is negative, indicating that an error has Explanation: The SQL return code is not a valid value.
occurred. For more information about this SQL return code, System Programmer Response: Either the SQLCA area is
see “Section 2. SQL Return Codes” on page 17. invalid or the maintenance was not coordinated correctly. As a
System Programmer Response: Determine the cause for result, the SQL return code was added to the DB2 subsystem
the SQL error by using information about that specific but not to the formatting routine.
SQLCODE. Correct the error if desired. Rerun the application An invalid SQLCA area is usually the result of one of the
program or SQL statement. following:
Problem Determination: Collect the following diagnostic Calling the DSNTIAR formatting routine before an SQL
items listed in Appendix B, “Problem determination” on statement initializes the area
page 1051: 1, 2, 5, 14, 17.
Overlaying the SQLCA area
DSNT409I BUFFERPOOL SIZES SHOWN MAY BE OBSO- Passing the wrong address to the DSNTIAR routine.
LETE If the maintenance was not coordinated correctly, the
Explanation: The buffer pool sizes shown here were set at DSNTIAR and DSNTIAM CSECTs were probably not replaced
installation or migration time and might not be the most in the code that is now running. Link-edit the load module, and
current. Updates might have occurred using the ALTER replace DSNTIAR and DSNTIAM. Correct the error, and rerun
BUFFERPOOL command. the application program.
Overlaying the SQLCA area SQLWARN0 Any other warning code is set.
Passing the wrong address to the DSNTIAR routine. SQLWARN1 String truncation.
If the maintenance was not coordinated correctly, the SQLWARN2 Null value(s) eliminated.
DSNTIAR and DSNTIAM CSECTs were probably not replaced
SQLWARN3 Number of host variables provided did not
in the code that is now running. Link-edit the load module, and
equal degree of the table.
replace DSNTIAR and DSNTIAM. Correct the error, and rerun
the application program. SQLWARN4 No WHERE clause on UPDATE or
DELETE.
DSNT415I SQLERRP = xxxx, SQL PROCEDURE SQLWARN5 Not a DB2 SQL statement.
DETECTING ERROR
SQLWARN6 Date or timestamp value adjusted.
Explanation: The name of the procedure detecting the error
SQLWARN7 Conversion of decimal number from preci-
is provided in the SQLERRP.
sion 31 to precision 15 caused truncation
System Programmer Response: (The SQL procedure of fractional digits.
detecting the error may be of help in diagnosing an error or
SQLWARN8 Untranslatable character replaced with
warning.) Correct the error if there is one noted in other mes-
substitute.
sages. Rerun the program or SQL statement.
SQLWARN9 Arithmetic exceptions have been ignored
during processing of COUNT DISTINCT.
DSNT416I SQLERRD = xx,xx,xx,xx,xx,xx SQL DIAG-
NOSTIC INFORMATION SQLWARNA At least one character field of the SQLCA
is invalid due to a string translation error.
Explanation: At least one of the six diagnostic fields is not
the expected value. The expected values are: User Response: The SQL warning information may be of
help in diagnosing an error or in indicating the results of suc-
00, 00, 00, 00, 00, 00 or
cessful execution. If this warning should occur, correct the
00, 00, 00, -1, 00, 00
error and rerun the program or SQL statement.
The SQL diagnostic information for each of the six values is as
follows:
DSNT418I SQLSTATE = sqlstate, SQLSTATE RETURN
1 DB2 unique internal relational data system code CODE
2 DB2 internal data manager error code
Explanation: The SQLSTATE is a return code that indicates
| 3 One of the following:
the outcome of the most recently executed SQL statement.
| Number of rows inserted, updated, or deleted fol- The execution of every SQL statement sets SQLSTATE to a
| lowing an INSERT, UPDATE, or DELETE state- five-digit code in the range of 00000 to 65535. This has no
| ment effect on the existing use of any other field in the SQLCA.
| Note: A '-1' in this field indicates that a mass User Response: For further information on the meaning of an
| delete of a table in a segmented table SQLSTATE return code, see the “Section 2. SQL Return
| space was performed, wherein DB2 does Codes” on page 17. If necessary, correct the SQL statement
| not access nor count individual rows. and return it.
| For SQLCODE -911 or -913, a reason code that
| indicates whether a deadlock or timeout occurred. DSNT419I WARNING - MAX REMOTE ACTIVE PREVI-
OUSLY SPECIFIED AS 0.
| Note: The most common reason codes are:
Explanation: You specified a value of 0 for the number of
| – 00C90088 - deadlock
active database access threads on a previous panel. This
| – 00C9009E - timeout
value might be inconsistent with a DDF STARTUP OPTION of
4 Reserved AUTO or COMMAND.
5 Position or column of a syntax error for PREPARE or
This message is issued by the following panel: DSNTIPR
EXECUTE IMMEDIATE
6 DB2 internal buffer manager error code Severity: 4 (warning)
System Programmer Response: Refer to Appendix C of System Action: The panel is redisplayed and the cursor is
DB2 SQL Reference for further information on the contents of placed on the DDF STARTUP OPTION field.
the SQLERRD fields. The SQL diagnostic information may be User Response: No response is necessary if your intent is to
of help in diagnosing an error or in indicating the results of have DDF started with no active database access threads allo-
successful execution. If this error or warning should not occur, cated and DDF is used as a requester only. Press ENTER to
correct the error. Rerun the program or SQL statement. continue. Otherwise, either change the DDF STARTUP
OPTION to NO or MAX REMOTE ACTIVE to the number of
DSNT417I SQLWARNn-n SQL WARNINGS threads you want.
Explanation: At least one of the 11 warning values is not the
expected value (a blank). A nonblank value in one of the 11
warning fields has the following meaning:
DSNT420I YOU NEED AT LEAST 1 32K DS IF THE TEMP DSNT425I ALL THREE OUTPUT DATA SETS MUST BE
32K SPACE IS GREATER THAN 0 UNIQUE
Explanation: You entered zero for the TEMP 32K DATA Explanation: You specified the same name for two or more
SETS field on the SIZES panel. You need at least one TEMP of the output data sets.
32K DATA SET if TEMP 32K SPACE on DSNTIPD is not zero.
This message is issued by the following panel: DSNTIPV
This message is issued by the following panel: DSNTIPD
System Action: The panel is redisplayed and the cursor is
System Action: The panel is redisplayed and the cursor is placed on the field in error.
placed on the field in error.
User Response: Change the data set name under the cursor
User Response: Enter a value of one or greater for the or the data set field(s) that are the same as the one under the
TEMP 32K DATA SETS field or change the TEMP 32K cursor.
SPACE value to zero.
DSNT426I ALL THREE DATA SETS ARE REQUIRED FOR
DSNT421I YOU NEED AT LEAST 1 32K BUFFER FOR OUTPUT
THE <num32kds> 32K DATA SETS
Explanation: You specified one or more output data sets and
Explanation: You specified zero for the 32KB buffers. If field left one or more output data set fields blank.
TEMP 32K DATA SETS on installation panel DSNTIPD is
This message is issued by the following panel: DSNTIPT
greater than zero, you need at least one 32KB buffer on instal-
lation panel DSNTIP2. System Action: The panel is redisplayed and the cursor is
placed on the field in error.
This message is issued by the following panel: DSNTIP2
User Response: You must specify all or none of the output
System Action: The panel is redisplayed and the cursor is
data set fields. Leave blank all output data set fields if you do
placed on the field in error.
not want the installation CLIST to edit any CLISTs or JCL.
User Response: Enter a value of 1 or more for at least one
of the buffer pools (BP32K - BP32K9) on panel DSNTIP2, or DSNT427I THE DATA SET OR MEMBER SPECIFIED
change the TEMP 32K DATA SETS value to zero. COULD NOT BE LOCATED
Explanation: The input parameter member for the INPUT
DSNT422I THE ART TABLE NAME MUST BE DIFFERENT
MEMBER NAME field or the DATA SET NAME(MEMBER) field
FROM THE CRT TABLE NAME
for migration could not be found.
Explanation: You entered the same name for the Application
This message is issued by the following panel: DSNTIPA1
Registration Table and the Object Registration Table on the
Data Definition Control Support panel. System Action: The panel is redisplayed and the cursor is
placed on the field in error.
This message is issued by the following panel: DSNTIPZ
User Response: Verify that you entered an existing data set
System Action: The panel is redisplayed and the cursor is
and member in that data set. Also verify that the data set is
placed on the field in error.
cataloged.
User Response: Change either the APPL REGISTRATION
TABLE field or the OBJT REGISTRATION TABLE field to | DSNT428I WHEN USING TIMESTAMPS, THE PREFIX
make these two fields unique with respect to each other. | MUST BE <= preflen CHARACTERS LONG
| Explanation: YOU HAVE ENTERED AN ARCHIVE LOG
DSNT424I OUTPUT DATA SETS MUST BE DIFFERENT
| PREFIX LONGER THAN ALLOWED. The archive log prefix
FROM THE INPUT DATA SETS
| names must not exceed 19 characters when the TIMESTAMP
Explanation: You specified an output data set name that is | ARCHIVES value is YES and must not exceed 17 characters
the same as one of the input data set names built from the | when the TIMESTAMP ARCHIVES value is EXT.
PREFIX and SUFFIX fields on the main panel DSNTIPA1.
This message is issued by the following panel: DSNTIPH
This message is issued by the following panel: DSNTIPT
System Action: The panel is redisplayed and the cursor is
System Action: The panel is redisplayed and the cursor is placed on the field in error.
placed on the field in error.
User Response: Reduce the length of the prefix or change
User Response: Either change the data set name under the the TIMESTAMP ARCHIVES value to NO.
cursor or change the PREFIX or SUFFIX fields on panel
DSNTIPA1. | DSNT429I THE SUM OF MAX USERS AND MAX REMOTE
| ACTIVE MUST BE <= TO 2000
Explanation: The total number of threads determined by
MAX USERS and MAX REMOTE fields is too large.
This message is issued by the following panel: DSNTIPE
System Action: The panel is redisplayed and the cursor is
placed on the field in error.
User Response: Reduce the MAX USERS field, or the MAX
REMOTE field, or both.
With a DEF ENCODING SCHEME value of 'ASCII', you User Response: No response is necessary if you want to
must choose non-zero values for EBCDIC and ASCII use the override values. If you want to use the calculated
CODED CHAR SETs. values, erase the values in the override column.
DSNT439I IRLM NO LOCK ESCALATION OR NO USER Explanation: The total of all virtual storage calculations
MAXIMUM exceeds the maximum amount possible for an address space.
Explanation: You specified the number 0 for: This message is issued by the following CLIST: DSNTINST
The number of table or table space locks that will cause Severity: 8 (error)
lock escalation, or System Action: The installation CLIST returns to the initial
The number of locks that will terminate a DB2 user. panel without editing the installation jobs.
A lock escalation value of 0 turns off lock escalation and User Response: Respecify installation values that determine
means that DB2 cannot use this means of conserving lock storage sizes so that the 2 GB limit is not exceeded.
space. A user maximum of 0 means that the calculation noted
DSNT443I VALUES MARKED WITH AN ASTERISK HAVE DSNT448I RECOMMEND REAL STORAGE = size K
BEEN UPDATED
Explanation: This is the estimated amount of real storage
Explanation: An asterisk is placed before the description of recommended to support the virtual storage sizes chosen.
fields which were generated by the DSNTINST CLIST. This
The amount of real storage needed will vary greatly. Some
message only appears when you update field(s) from a prior
customers will find that they need several times the estimate
panel used to generate the fields on the current panel.
shown. For more information on storage calculations, refer to
This message is issued by the following panels: DSNTIPA, Section 2 of DB2 Installation Guide.
DSNITPL
This message is issued by the following CLIST: DSNTINST
System Action: The panel is displayed.
Severity: 0 (successful execution)
User Response: Verify that the current value is what you
System Action: The CLIST continues.
want. If it is not, enter the desired value.
User Response: Compare this recommended value with the
actual available real storage.
DSNT444I SCROLLING BACKWARD MAY CHANGE
FIELDS MARKED WITH ASTERISKS
DSNT449I NUMBER OF LOGS REDUCED FROM old-num
Explanation: The marked fields on the current panel are gen-
TO MAXIMUM OF 31
erated from fields on other panels. If you scroll backward,
these fields may be updated to reflect new values from other Explanation: The number of active log data sets used in the
panels. For example, the ARCHIVE PREFIX field is generated DB2 release you are migrating from is greater than the new
from the CATALOG ALIAS field on DSNTIPA2. Message maximum number of data sets allowed for the current release
DSNT443I will be displayed to inform you when fields are of DB2. Installation job DSNTIJUZ will update your bootstrap
changed by the DSNTINST CLIST. data sets to contain only the last 31 data sets.
This message is issued by the following panels: DSNTIPA, This message is issued by the following panel: DSNITPL
DSNITPL System Action: The value is reduced to the maximum of 31
System Action: The panel is displayed. and the panel is displayed.
User Response: No action required. User Response: Update any other fields on the panel and
continue.
DSNT445I REMOTE LOCATION NAME MUST NOT BE
THE SAME AS LOCAL LOCATION DSNT450I type ENTRY MUST BE EXACTLY TWO CHAR-
ACTERS
Explanation: The name entered for the remote sample
location was the same as the local location name. Explanation: These entries are used to complete
SYS1.PARMLIB member names and must be exactly two char-
This message is issued by the following installation panel:
acters. The type is:
DSNTIPY
APF AUTH For the APF-authorized library list
System Action: The panel is displayed.
IEAAPFxx
User Response: Enter a remote location name or leave the LINK LIST For the link list library concatenation
field blank to indicate that the organization sample will only be LNKLSTxx
executed locally. MVS SUBSYS For the MVS subsystem list IEFSSNxx
This message is issued by the following installation CLIST:
DSNT446I SAMPLE LOCATION MUST BE BLANK IF DSNTINST
LOCAL LOCATION IS BLANK
Severity: 8 (error)
Explanation: In order to edit the remote sample jobs, both
System Action: The CLIST will continue.
the DB2 LOCATION NAME (local location) on panel DSNTIPR
and the REMOTE LOCATION must have valid names. If the User Response: Check your entries for these fields on the
DB2 LOCATION NAME is unknown, leave both fields blank MVS panel and make them exactly two characters. See job
and the remote sample jobs will not be edited. DSNTIJMV that was produced and correct the IEBUPDTE
CHANGE statement.
This message is issued by the following panel: DSNTIPY
System Action: The panel is displayed.
DSNT451I WARNING-THE LOCAL DATE LENGTH OR
User Response: Either scroll back to the DISTRIBUTED LOCAL TIME LENGTH HAS BEEN INCREASED
DATA FACILITY panel and enter a value for the DB2
Explanation: The LOCAL DATE LENGTH or LOCAL TIME
LOCATION NAME, or enter a blank in the REMOTE
LENGTH has been increased and a REBIND command must
LOCATION field on the job editing panel.
be issued for any dependent plans.
This message is issued by the following installation CLIST:
DSNTINST
Severity: 4 (warning)
System Action: Processing continues.
User Response: Rebind all application plans that depend
upon the length of the local format that was changed.
DSNT456I ERROR IN VARIABLE varname, VALUE IS DSNT459I VALUE IS TOO LOW, MINIMUM IS min
value Explanation: The variable named in message DSNT456I
Explanation: The variable named 'varname' does not have must be larger than its current value. The minimum value
a valid value. Its current value is 'value'. Subsequent mes- allowed is 'min'.
sages will describe the reason the value is invalid and the This message is issued by the following installation CLIST:
action taken by the CLIST. DSNTINST
If the error is in the CONTROL value, the value was specified Severity: 8 (error)
when the CLIST was invoked. The value is not valid, and no
additional tracing will be done. The permitted values are System Action: The CLIST will continue, but will not produce
NONE, LIST, CONLIST, and SYMLIST. Each value produces edited jobs. The CLIST resets the incorrect value to 'min'.
more CLIST tracing information than those which precede it. If User Response: See message DSNT465I for the CLIST
the error is in other values, the value was specified when the action.
CLIST was invoked on the ISPF panels.
This message is issued by the following installation CLIST: DSNT460I VALUE IS TOO HIGH, MAXIMUM IS max
DSNTINST
Explanation: The variable named in message DSNT456I
Severity: 8 (error) must be smaller than its current value. The maximum value
System Action: The CLIST will continue, but will not produce allowed is 'max'.
jobs or parameter data. This message is issued by the following installation CLIST:
User Response: Check the subsequent messages. Exit, then DSNTINST
invoke the CLIST with a valid value for the variable. Severity: 8 (error)
Problem Determination: If you suspect an error in the System Action: The CLIST will continue, but will not produce
process, set CONTROL(CONLIST) and invoke the CLIST in edited jobs. The CLIST resets the incorrect value to 'max'.
batch, so that the tracing can be sent with the error documen-
User Response: See message DSNT465I for the CLIST
tation. The CLIST itself and the parameter member read in
action.
should be sent as well.
DSNTIPA2 panel. If this is just a single volume test system, be value, the maximum value, and the current value are shown.
sure that you specify a single copy of the log data sets. The This message occurs when the CONTROL keyword requests a
boot strap data sets are small and not active, so that two are trace.
recommended even on a single volume system.
This message is issued by the following installation CLIST:
DSNTINST
DSNT471I BEGINNING PARAMETER INPUT MEMBER
Severity: 0 (successful execution)
inmem
System Action: The CLIST will continue.
Explanation: The input parameter member, 'inmem', is
being read. This data includes values for all of the installation
parameters. DSNT476I BEGINNING PARAMETER OUTPUT MEMBER
outmem
This message is issued by the following installation CLIST:
DSNTINST Explanation: The output parameter member named
'outmem' is being written. This data includes values for all the
Severity: 0 (successful execution)
install parameters.
System Action: The CLIST will continue.
This message is issued by the following installation CLIST:
DSNTINST
DSNT472I WORK FILE DATABASE NAME CANNOT
Severity: 0 (successful execution)
START WITH DSNDB EXCEPT FOR DSNDB07
System Action: The CLIST will continue.
Explanation: The work file database name cannot start with
the characters DSNDB unless the name is DSNDB07.
DSNT477I OUTPUT count, varname, type, minval,
This message is issued by the following panel: DSNTIPK
maxval, currentval
System Action: The panel is redisplayed and the cursor is
Explanation: The values entered on the panels are being
placed on the field in error.
written to the output parameter member. The count, the vari-
User Response: Change the name so that it does not start able name, the data type, the minimum value, the maximum
with DSNDB. value, and the current value are shown. This message occurs
when the CONTROL keyword requests a trace.
DSNT473I BEGINNING CHECK PHASE This message is issued by the following installation CLIST:
Explanation: This message indicates the following: DSNTINST
The values entered on the panels are being checked. Severity: 0 (successful execution)
Values which use the K or M suffix are being translated to System Action: The CLIST will continue.
numbers.
This message is issued by the following installation CLIST: DSNT478I BEGINNING EDITED DATA SET OUTPUT
DSNTINST
Explanation: The output jobs and data are being edited to
Severity: 0 (successful execution) tailor them. Edited JCL output was requested and no severe
errors were encountered.
System Action: The CLIST will continue.
This message is issued by the following installation CLIST:
| DSNT474I READING count, varname, datatype, data DSNTINST
| sharing scope, minval, maxval, currentval Severity: 0 (successful execution)
| Explanation: The values are being read from the parameter System Action: The CLIST will continue.
| member. The count, the variable name, the data type, the data
| sharing scope, the minimum value, the maximum value, and
DSNT479I THE IRLM GROUP NAME AND DB2 GROUP
| the current value are shown. This message occurs when the
NAME MUST BE DIFFERENT
| CONTROL keyword requests a trace.
Explanation: You entered an IRLM group name on panel
This message is issued by the following installation CLIST:
DSNTIPJ that is the same as the DB2 group name entered on
DSNTINST
panel DSNTIPK. The names must be different.
Severity: 0 (successful execution)
This message is issued by the following panel: DSNTIPJ
System Action: The CLIST will continue.
System Action: The panel is redisplayed and the cursor is
placed on the field in error.
DSNT475I CHECK count, varname, type, minval, maxval,
User Response: Either change the DB2 group name entered
currentval
on panel DSNTIPK or the IRLM group name on panel
Explanation: This message indicates the following: DSNTIPJ.
The values read in or entered on the panels are being
checked.
Values which use the K or M suffix are being translated to
numbers.
The count, the variable name, the data type, the minimum
User Response: Check for virtual storage constraints. Your SAMPLE DATA
MVS should permit at least this amount of virtual storage Edited data that installation verification jobs require.
below the 16MB line.
CLIST
Customized CLISTs to reflect your names used during the
DSNT488I VOLUME voln WILL REQUIRE AT LEAST nn installation process.
4K BLOCKS
This message is issued by the following installation CLISTs:
Explanation: This message states the number of 4KB blocks
of space that will be required for the specified volume in order DSNTINST DSNTINS1 DSNTINS2
Problem Determination: Make sure that the same number of System Programmer Response: Check the parameter
DD statements and table names were provided. values entered when DSNTIAUL or DSNTEP2 was invoked.
For DSNTIAUL, the correct parameter value is 'SQL'. This
parameter indicates that DSNTIAUL input is in complete SQL
DSNT495I SUCCESSFUL UNLOAD n ROWS OF TABLE
statements terminated by a semicolon. For DSNTEP2, the
tttttttt
correct parameter values are either 'ALIGN(LHS)',
Explanation: The message indicates that 'n' rows of table or 'ALIGN(MID)', 'MIXED', or 'NOMIXED'. The first two param-
view 'tttttttt' were unloaded. The 'n' rows were counted eter values represent the two output alignment options avail-
during the unload processing. able in DSNTEP2 where 'ALIGN(LHS)' will align the output on
the left margin and 'ALIGN(MID)' will center the output. The
System Action: The request was executed successfully.
remaining two parameter values designate whether or not
DSNTEP2 will recognize mixed character data where 'MIXED'
DSNT496I UNRECOGNIZED DATA TYPE CODE OF nnnnn means that it will and 'NOMIXED' means that it will not recog-
Explanation: The PREPARE returned an invalid data type nize mixed character data.
code of decimal 'nnnnn'.
System Action: The next table is processed. DSNT500I csect-name RESOURCE UNAVAILABLE
REASON reason TYPE type NAME name
User Response: Notify the system programmer.
Explanation: The requested function requires a resource that
System Programmer Response: See the Problem Determi- is currently unavailable. In conjunction with other messages
nation section. this message will identify the system action and the action that
Problem Determination: There is an error in the unload should be taken by the installation or operator.
program or a new data type has been added. The recognized 'type' and 'name' identify the resource that is currently una-
data types are fullword integer, halfword integer, fixed-length vailable. The type code identifies the type, format, and content
character, variable length character, packed decimal, floating- of the resource named.
point, fixed-length graphic, variable length graphic, and long,
variable length graphic. Operator Response: Note the reason code, the type code,
and the name. See the Problem Determination section for an
explanation of the collected data.
DSNT497I RETURN CODE FROM MESSAGE ROUTINE
DSNTIAR Problem Determination: The reason the resource is unavail-
able is identified by a reason code. The reason codes that
Explanation: The message formatting routine detected an appear in this message are described in “Section 4. DB2
error. Codes” on page 577. Use Table 3 in Appendix B, “Problem
System Action: The application program is terminated. determination” on page 1051 to find the type of resource iden-
tified in the message.
User Response: Notify the system programmer.
If type is X'D00' or X'D01', the table name can be deter-
System Programmer Response: See the Problem Determi- mined by using the following SQL statement:
nation section.
SELECT CREATOR, NAME
Problem Determination: There is an error in the unload FROM SYSIBM.SYSTABLES
program. The return code from DSNTIAR is given in the MVS WHERE DBID = dbid AND OBID = obid;
output of your job. When reporting this problem, have the
However, if the failing table has been dropped, then the above
return code, the application program listing, and JCL available.
SELECT fails or possibly might return an incorrect name.
DSNT498I ERROR, NO VALID COLUMNS FOUND Collect the following diagnostic item listed in Appendix B,
“Problem determination” on page 1051: 1.
Explanation: The PREPARE returned data which did not
produce a valid output record. The data was not recognized as
DSNT501I csect-name RESOURCE UNAVAILABLE
valid, so the columns were not unloaded.
System Action: The next table is processed. CORRELATION-ID = id1
CONNECTION-ID = id2
User Response: Notify the system programmer. LUW-ID = id3
REASON = reason
System Programmer Response: See the Problem Determi- TYPE = type
NAME = name
nation section.
Severity: 8 (error) User Response: Press ENTER to proceed to the next panel,
and then PF3 to return to panel DSNTIPA1 in order to enter an
System Action: The application program is terminated.
input member with the correct release indicator.
DSNT515I FIELD 7 MUST BE UNIQUE FOR EACH NEW DSNT519I IF YOU SPECIFY EITHER DRDA OR RESYNC
MEMBER INSTALLED PORT, BOTH MUST BE SPECIFIED
Explanation: This warning message is issued to remind you Explanation: You entered a value for either DRDA PORT or
that the MEMBER IDENTIFIER field on panel DSNTIPJ or the RESYNC PORT, but not the other. If either DRDA PORT or
DSNZPARM NAME field on panel DSNTIPO must be unique RESYNC PORT is specified, both must be specified.
for each new member installed within a DB2 data sharing
This message is issued by the following panel: DSNTIP5
group. The installation process does not check for uniqueness
of these values within a group. System Action: The panel is redisplayed and the cursor is
placed on the field in error.
This message is issued by the following panels: DSNTIPJ and
DSNTIPO User Response: Either enter a value for the null field, or
blank out both DRDA PORT and RESYNC PORT.
User Response: Enter unique values in these fields for each
member of a DB2 data sharing group.
DSNT522I csect-name REQUIRED TCP/IP SUPPORT NOT
AVAILABLE
DSNT516I FIELDS 1, 2, AND 4 MUST BE UNIQUE FOR
EACH NEW MEMBER INSTALLED Explanation: The DB2 BSDS indicated that TCP/IP access
was required, but the required TCP/IP interfaces were not
Explanation: This warning message is issued to remind you
available on this system. The required TCP/IP interfaces are
that the SUBSYSTEM NAME, COMMAND PREFIX, and SUB-
provided by OS/390 Release 3.
SYSTEM SEQUENCE fields must be unique for each new
member installed within a DB2 data sharing group. The instal- System Action: DDF startup terminates abnormally.
lation process does not check for uniqueness of these values System Programmer Response: Take one of the following
within a group. actions:
This message is issued by the following panel: DSNTIPM Install OS/390 Release 3 or later, so that the required
User Response: Enter unique values in these fields for each TCP/IP interfaces are available.
member of a DB2 data sharing group. Use the change log inventory utility (DSNJU003) to deacti-
vate DB2's TCP/IP support, by specifying PORT=0 and
# DSNT517I CHARACTERS 2-18 MUST BE A-Z, 0-9, #, @, $, RESPORT=0 on the DDF statement.
# OR UNDERSCORE
# Explanation: WLM environment names that do not meet the DSNT601I THE DESCRIPTOR FOR type name DOES NOT
# following criteria are not allowed. A WLM environment name EXIST IN DBD01
# may contain up to eighteen characters. The first character of a Explanation: This message is issued for multiple-line WTO.
# WLM environment name must either be an alphabetic char- The database, table space, or index space 'name' is in the
# acter (A-Z) or a standard alphabetic extender (in the United DB2 catalog but a descriptor for the object does not exist in
# States, the standard alphabetic extenders are '#', '@', '$'). the DBD01 table space of database DSNDB01. This error can
# For characters two through eighteen, a character may be an be produced when one of the following is true:
# alphabetic character (A-Z), an alphabetic extender ('#', '@',
# '$'), a numeric character (0-9), or the underscore character The Version 6 catalog has been migrated into Version 5.
# ('_'). There is an object in the Version 5 catalog but there is not
a descriptor for the object in the Version 5 directory
# This message is issued by panel: DSNTIPX (DBD01).
# System Action: The panel is redisplayed, and the cursor is The user did not completely restore the DBD01 table
# placed on the field with the error. space during a recovery process.
# User Response: Change the WLM environment name to There is a DB2 logic error.
# meet the criteria described above.
In the message, 'type' is either 'DATABASE' or 'SPACE'
and 'name' is the eight character name of the database, table
DSNT518I THE VALUES FOR DRDA PORT AND RESYNC
space, or index space.
PORT CANNOT BE THE SAME
System Action: The process continues normally.
Explanation: You entered the same value for DRDA PORT
and RESYNC PORT. The values for these fields must be dif- System Programmer Response: If you suspect an error in
ferent. DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
for information on identifying and reporting the problem.
This message is issued by the following panel: DSNTIP5
System Action: The panel is redisplayed and the cursor is DSNT602I NO SPACES FOUND
placed on the field in error.
Explanation: This message is issued for multiple line WTO. It
User Response: Change either the DRDA PORT or the is produced when a DISPLAY DB(name) SPACENAM(...) is
RESYNC PORT value so that they are different. entered and no spaces were found to satisfy the request.
SPACENAM(...) might have been entered as a range, a
subset, or a list of spaces.
DSNT603I spacetype name NOT type DSNT696I INDEXSPACE name CANNOT BE STOPPED. IT
IS DEFINED ON A DDL REGISTRATION TABLE
Explanation: This message is issued for multiple-line WTO. It
is produced when no table space or index space listed in the Explanation: The index space specified in the message
DISPLAY DB(...) SPACENAM(...) satisfies your request. cannot be stopped because it is defined on an application or
object registration table. Install SYSADM or install SYSOPR
spacetype TABLESPACE if the space is a table space or
authority is needed to stop the index space.
INDEXSPACE if the space is an index space.
System Action: The index space specified in the message is
name The name of the space.
not stopped.
type A character string that indicates the type of
User Response: Reissue the command with the proper
request specified. The string is a list of the fol-
authority.
lowing, delimited by 'OR':
'ACTIVE' if the keyword ACTIVE is speci-
DSNT700I table-name IS THE ACTIVE RESOURCE LIMIT
fied
SPECIFICATION TABLE
'RESTRICTED' if the keyword RESTRICT is
Explanation: This is a response message to the DISPLAY
specified.
RLIMIT command. The resource limit facility (governor) is cur-
System Action: Message DSNT301I or DSNT302I is rently active and is using table 'table-name' to determine
produced if no object is found and the keywords ACTIVE and resource limits.
RESTRICT are omitted.
System Action: The system continues normal processing.
User Response: See Operator Response.
DSNT604I NO INFORMATION AVAILABLE
Operator Response: To have the governor active while uti-
Explanation: This message is issued for multiple line WTO. It
lizing a different resource limit specification table, issue the
is produced when there is no LOCK or USE information avail-
START RLIMIT command specifying the ID of the desired
able. When DISPLAY DB(name) SPACENAM(...) is entered,
table. If you do not want the facility to be active, issue the
and SPACENAM(...) is a list of spaces, this message indicates
STOP RLIMIT command.
that no table spaces or index spaces whose names are listed
have LOCK or USE information available. If DISPLAY System Programmer Response: May be used to resolve
DB(name) SPACENAM(...) is entered, and SPACENAM(...) is a questions about what table is being used.
range or a subset of spaces, no table spaces and index
spaces within the specified database have LOCK or USE infor- DSNT701I RESOURCE LIMIT FACILITY IS INACTIVE
mation available. This message is produced only when the
keywords USE and LOCKS are specified. Explanation: This is a response message to the DISPLAY
RLIMIT command. It results whenever the governor is not
active.
DSNT694I DATABASE name CANNOT BE STOPPED. IT
CONTAINS THE DDL REGISTRATION TABLES System Action: Normal processing continues.
Explanation: The database specified in the message cannot User Response: See Operator Response.
be stopped because it contains the application and object reg- Operator Response: If you want to activate the governor,
istration tables. Install SYSADM or install SYSOPR authority is specify the ID of the resource limit specification table to be
needed to stop the database. used and issue the START RLIMIT command.
System Action: The database specified in the message is System Programmer Response: If the facility is already
not stopped. active (that is, a DSNT703 message was previously received),
User Response: Reissue the command with the proper verify that the DSNT703 message appeared before the
authority. DISPLAY RLIMIT command was entered. If uncertain, reissue
the DISPLAY RLIMIT command. If you suspect an error in
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
DSNT695I TABLESPACE name CANNOT BE STOPPED.
for information on identifying and reporting the problem.
IT CONTAINS A DDL REGISTRATION TABLE
Problem Determination: Collect the following diagnostic
Explanation: The table space specified in the message
items listed in Appendix B, “Problem determination” on
cannot be stopped because it contains an application or object
page 1051: 1, 5.
registration table. Install SYSADM or install SYSOPR authority
is needed to stop the table space.
DSNT702I RESOURCE LIMIT FACILITY HAS BEEN
System Action: The table space specified in the message is
STOPPED. WAS USING table-name
not stopped.
Explanation: This message is the normal response for a
User Response: Reissue the command with the proper
STOP RLIMIT command. Table 'table-name' was being used
authority.
to determine resource limits.
System Action: The governor is stopped.
System Programmer Response: May be used to resolve
questions about what table was being used.
Explanation: The START RLIMIT command has been Problem Determination: Collect the console output showing
entered but failed because table 'table-name' does not exist. the failing START command.
DSNT709I new-table-name NOW ACTIVE. old-table-name DSNT712I INDEX index-name IS NOT FOR TABLE table-
WAS OLD RESOURCE LIMIT SPECIFICATION name. START RLIMIT COMMAND FAILED
TABLE
Explanation: The START RLIMIT command has been
Explanation: A START RLIMIT command was entered while entered but failed because INDEX 'index-name' is not defined
the facility was already active. The facility remains active and for resource limit specification table 'table-name'.
switches from using the old table name to the new one.
System Action: The START RLIMIT command is ignored.
User Response: Notify the system programmer.
User Response: See Operator Response.
Operator Response: Notify the system programmer.
Operator Response: Verify that the 1 or 2 characters fol-
lowing DSNRLST are what was intended to be entered as the
DSNT710I table-name ALREADY ACTIVE. START LIMIT ID on the START RLIMIT command. If not, reenter the
COMMAND IGNORED command specifying the proper ID. If the ID appears to be
Explanation: A START RLIMIT command was entered and correct, contact the system programmer.
the governor is already active utilizing the specified table. The System Programmer Response: INDEX 'index-name' is
command is ignored. not defined in resource limit specification table 'table-name'.
System Action: The governor continues to use table resource limit specification table DSNRLSTxx does not define
'table-name'. the required index DSNARLxx. The last two characters of the
table name correspond to the last two characters of the index.
User Response: See Operator Response. Drop the existing DSNARLxx index and create the correct
Operator Response: Verify that the ID specified on the index in the resource limit specification Table.
START RLIMIT command was the one desired. If not, reenter Problem Determination: Collect the console output showing
the command specifying the correct ID. If it is correct, no the failing START command.
action is needed since the facility is already active and is using
the desired table.
DSNT713I INDEX index-name IS NOT UNIQUE. START
System Programmer Response: If you suspect an error in RLIMIT COMMAND FAILED
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
Explanation: The START RLIMIT command has been
for information on identifying and reporting the problem.
entered but failed because INDEX 'index-name' in the
Problem Determination: Collect the following diagnostic resource limit specification table is not defined as a UNIQUE
items listed in Appendix B, “Problem determination” on index.
page 1051: 1, 5.
System Action: The START RLIMIT command is ignored.
DSNT711I COLUMN column-name IS MISSING IN TABLE User Response: See Operator Response.
table-name. SHOULD BE DEFINED AS attri- Operator Response: Verify that the 1 or 2 characters fol-
bute WITH LENGTH length AND NULL INDI- lowing DSNRLST are what was intended to be entered as the
CATOR OF null-attribute ID on the START RLIMIT command. If not, reenter the
Explanation: The START RLIMIT command has been command specifying the proper ID. If the ID appears to be
entered but failed because COLUMN 'column-name' in correct, contact the system programmer.
resource limit specification table 'table-name' is not defined. System Programmer Response: INDEX 'index-name' in
The proper column definition is given in the message. resource limit specification table is not UNIQUE. Redefine it as
System Action: The START RLIMIT command is ignored. unique.
User Response: See Operator Response. Problem Determination: Collect the console output showing
the failing START command.
Operator Response: Verify that the 1 or 2 characters fol-
lowing DSNRLST are what was intended to be entered as the
DSNT714I INDEX index-name IS INCORRECTLY
ID on the START RLIMIT command. If not, reenter the
DEFINED. START RLIMIT COMMAND FAILED
command specifying the proper ID. If the ID appears to be
correct, contact the system programmer. Explanation: The START RLIMIT command has been
entered but failed because INDEX 'index-name' in resource
System Programmer Response: TABLE 'table-name' does
limit specification table 'table-name' is not properly defined.
not have COLUMN 'column-name' defined. Use ALTER
TABLE to define the column as specified in the message. System Action: The START RLIMIT command is ignored.
Problem Determination: Collect the console output showing User Response: Contact the system programmer.
the failing START command.
Operator Response: Contact the system programmer.
System Programmer Response: INDEX 'index-name' in
the resource limit specification table does not have the proper
definition. Refer to Section 5 (Volume 2) of DB2 Administration
Guide for an example to define the resource limit specification
table.
Problem Determination: Collect the console output showing
the failing START command.
The reason code that defines the read error is included in the System Action: The table space is not stopped.
message text, as are the 'connection-ID', 'correlation-ID', Operator Response: If the table space must be stopped,
and the logical-unit-of-work identifier (LUW-ID) of the thread. either stop the resource limit facility (STOP RLIMIT), or switch
An LUW-ID of an '*' indicates that the thread does not have a it to use a resource limit specification table that is not in the
LUW-ID. If the LUW-ID is not an '*', the value is a logical-unit- table space (START RLIMIT,ID=xx). In a DB2 data sharing
of-work-id that is assigned to the thread followed by an '=' environment, you must either stop the resource limit facility on
sign and a token value, which can be used in place of logical- all members of the DB2 data sharing group or switch it to use
unit-of-work-id in any DB2 command that accepts logical-unit- a resource limit specification table that is not in the table
of-work-id as input. Correlation IDs beginning with '0nn', space.
where 'nn' is a number from 01 to 28, identify system agents.
System Action: Processing continues using the system- DSNT718I csect-name INDEX SPACE name CANNOT BE
defined default. STOPPED. IT IS DEFINED ON AN ACTIVE
Operator Response: Notify the system programmer. RESOURCE LIMIT SPECIFICATION TABLE
System Programmer Response: This is an I/O error. Investi- Explanation: Index space name cannot be stopped because
gate the problem indicated by the reason code and preceding it contains an index on an active resource limit specification
messages. If you suspect an error in DB2, refer to Section 3 of table.
DB2 Diagnosis Guide and Reference for information on identi- System Action: The index space is not stopped.
fying and reporting the problem.
Operator Response: If the index space must be stopped,
Problem Determination: Collect the following diagnostic either stop the resource limit facility (STOP RLIMIT), or switch
items listed in Appendix B, “Problem determination” on it to use a different resource limit specification table that does
page 1051: 1, 5. not have an index in the index space (START RLIMIT,ID=xx).
In a DB2 data sharing environment, you must either stop the
DSNT716E AN ERROR OCCURRED ESTABLISHING A resource limit facility on all members of the DB2 data sharing
RESOURCE LIMIT FOR CORRELATION-ID group or switch it to use a different resource limit specification
correlation-id, CONNECTION-ID connection-id, table that does not have an index in the index space.
LUW-ID luw-id =token. limit WILL BE USED AS
THE LIMIT DSNT719I TABLE table-name CANNOT BE READ.
Explanation: An internal error occurred while the resource START RLIMIT COMMAND FAILED
limit for the specified requester was being established. The Explanation: TABLE 'table-name' cannot be accessed. This
'limit' is determined from the default specified in the system message may be preceded by related error messages that
parameters. This default can be: explain why the table cannot be accessed.
NOLIMIT No limit applies. System Action: The START RLIMIT command failed.
NORUN Zero time limit.
User Response: See Operator Response.
integer The limit to be used.
Operator Response: TABLE 'table-name' cannot currently
A logical-unit-of-work identifier (LUW-ID) of '*' indicates that
be accessed for reading. In the case of a deadlock or timeout,
the thread does not have a LUW-ID. If the LUW-ID is not an
reissue the START RLIMIT command.
'*', the value is a logical-unit-of-work-id that is assigned to the
thread followed by an '=' sign and a token value, which can
be used in place of logical-unit-of-work-id in any DB2 | DSNT720I csect-name INDEX index-name NEEDS TO BE
command that accepts logical-unit-of-work-id as input. Corre- | index-type
lation IDs beginning with '0nn', where 'nn' is a number from
Explanation: The START RLIMIT command was entered but
01 to 28, identify system agents.
failed because the named index defined for the resource limit
This message is issued by the following CSECT: DSNTCGET specification table is not defined properly.
System Action: Processing continues using the system- System Action: The system ignores the START RLIMIT
defined default. command.
Operator Response: Notify the system programmer. User Response: Contact the system programmer.
Operator Response: Contact the system programmer.
DSNT726I csect-name DATABASE name AND ANY DSNT800I csect-name DB2 CANNOT IDENTIFY TO IRLM.
SPACE IT CONTAINS CANNOT BE STARTED IRLM CANNOT CONNECT TO ITS DATA
WITH ACCESS (UT). IT IS THE ACTIVE COM- SHARING GROUP. THE LOCK STRUCTURE
MUNICATIONS DATABASE THAT IRLM ATTEMPTED TO ACCESS WAS
strname.
Explanation: The database specified in the message cannot
be started with access (UT) because it is the active communi- Explanation: IRLM failed to connect to the IRLM data sharing
cations database. In addition, spaces within the active commu- group. This message accompanies abend reason code
nications database cannot be started with access (UT). 00E30806.
System Action: The START DATABASE command is System Action: DB2 terminates abnormally with reason code
ignored. 00E30806.
Operator Response: If the database or any space within it System Programmer Response: Some possible reasons
must be started with access (UT), you must stop the distrib- why IRLM could not connect to its data sharing group are:
uted data facility (STOP DDF). In a DB2 data sharing environ-
The lock structure is not properly defined in the active MVS
ment, you must stop the distributed data facility on all
CFRM administrative policy. The lock structure name is a
members of the DB2 data sharing group.
concatenation of the DB2 data sharing group name and
the string 'LOCK1' separated by an underscore (_). For
DSNT735I object name CANNOT BE STARTED. IT CON- example, if the DB2 data sharing group name is DSNCAT,
TAINS OR IS DEFINED ON THE DDL REGIS- DSNCAT_LOCK1 is the lock structure name.
TRATION TABLE(S)
Ensure that the lock structure is properly defined in the
Explanation: The object specified in the message cannot be active CFRM policy. The name of the lock structure that
started because it contains or is defined on the DDL registra- IRLM attempted to access is given in this message. IRLM
tion table(s). Install SYSADM or install SYSOPR authority is issues message DXR138E to indicate that the lock struc-
needed to start the object. ture definition could not be accessed in the active CFRM
In the message, 'object' is either: policy.
DATABASE if the specified database contains the applica- IRLM could not connect the lock structure. The reason for
tion and object registration tables the connect failure is given in IRLM message DXR135E.
TABLESPACE if the specified table space contains an IRLM could not join its data sharing group. The reason for
application or object registration table the join failure is given in IRLM message DXR134E.
INDEXSPACE if the specified index space is defined on an IRLM joined the wrong group. The set of IRLMs that are
application or object registration table connected to a given lock structure must all be members of
the same group. Ensure that the GROUP parameter is cor-
System Action: The object specified in the message is not rectly specified in the IRLM startup procedure. If you give
started. an incorrect group name, IRLM connects the lock structure,
User Response: Reissue the command with the proper and then times out waiting for responses from other con-
authority. nectors. IRLM issues message DXR133I for the timeout.
| DSNT736I csect-name ASYNCHRONOUS STOP DATA- DSNT801I ACTION A (ADD) DOES NOT ALLOW
| BASE COMMAND HAS COMPLETED FOR GENERIC DISPLAY (% IN DATA FIELD).
| COMMAND command_string Explanation: You have to specify a specific data item in the
Explanation: Asynchronous processing for the STOP DATA- DATA field.
| BASE command completed for the command whose syntax is This message is issued by the following panel: DSN8SSH
| shown in the message.
System Action: The panel is redisplayed, and the cursor is
| command_string is the STOP DATABASE command string for placed on the field in error.
| the command that is completed. The string always uses the
| abbreviation DB for DATABASE and SPACE for SPACENAM User Response: Enter specific data in the DATA field.
| to save characters.
DSNT802I ONLY ACTION D (DISPLAY) IS ALLOWED FOR
| Only the first 100 characters of the STOP DATABASE
DEPARTMENT STRUCTURE.
| command are displayed.
Explanation: You cannot add, update, or erase a department
System Action: Asynchronous processing for the STOP
structure. You can only display it.
DATABASE command is complete.
This message is issued by the following panel: DSN8SSH
System Programmer Response: No action is required.
System Action: The panel is redisplayed, and the cursor is
placed on the field in error.
User Response: Change the ACTION field to D, or change
the OBJECT field to DE or EM.
DSNU... Messages
The severity values shown for the utility messages # DSNU003I csect-name NOT INVOKED APF AUTHORIZED
that follow are returned as the job-step condition # Explanation: The DSNUTILS stored procedure was not
code from the job step during which the message # invoked authorized.
is issued. If additional messages having higher # Severity: 8 (error)
severity values are issued during the same job
# System Action: The utility is not run by the stored procedure.
step, the higher value is reflected as the job-step
condition code. # User Response: Notify the system programmer.
# System Programmer Response: Make sure that the
Severity values have the following meanings: # DSNUTILS entry in SYSIBM.SYSPROCEDURES specifies that
# the stored procedure runs in a WLM-established address
# space (WLM_ENV not blank), make sure that the DSNUTILS
0 Informational No error occurred # load module is link edited with AC(1), make sure the
# DSNUTILS load module is in an APF authorized library, and
4 Warning A condition was detected; # make sure all the libraries in STEPLIB JOBLIB are APF
the user might need to # authorized. If you suspect an error in DB2, refer to Section 3 of
take further action # DB2 Diagnosis Guide and Reference for information on identi-
# fying and reporting the problem.
8 Error An error was detected
and processing could not # Problem Determination: Collect the following diagnostic
# items listed in Appendix B, “Problem determination” on
continue
# page 1051: 1, 5 32, 46, 60, 61.
DSNU001I csect-name- RELEASE DEPENDENT MODULE Explanation: This message displays the utility statements as
module-name WAS NOT FOUND they were provided as input to the utility parser. An additional
error message follows this message and identifies why the
Explanation: The system could not find the specified module utility statement caused a parser error.
in the indicated library (private library, job library, or link
library). Severity: 8 (error)
System Action: The utility job is abended. System Action: Utility processing is not initiated. No
SYSIBM.SYSUTIL record is created.
User Response: Ensure that the load module library is indi-
cated correctly and that the indicated library contains the User Response: Correct the input error, and resubmit the
requested program. If the indicated library does not contain the job. Do not restart the job.
requested program, contact the system programmer.
System Programmer Response: The last three characters DSNU006I csect-name DB2 SYSTEM system-name HAS
of the module name indicate the DB2 release level of the sub- NOT BEEN STARTED
system identified in the parameters passed to DSNUTILB. Explanation: Utility startup processing has been unable to
However, LOAD could not find the release dependent utility connect to the indicated DB2 subsystem, because a -START
module for that release in the indicated library. This is probably DB2 command has not been issued for that subsystem.
a maintenance problem.
Severity: 8 (error)
DSNU002I csect-name - COULD NOT LOAD RELEASE System Action: Utility processing is terminated without
DEPENDENT MODULE module-name invoking the requested utility or utilities.
CODE=code REASON=reason User Response: Correct your JCL to specify the correct
Explanation: During the load of 'module-name', MVS subsystem-name on the EXEC statement, and resubmit the
returned the indicated system completion code and reason. job. Otherwise, contact the system programmer to determine
when the subsystem will be available for processing.
System Action: The utility job is abended.
Operator Response: Contact the system programmer to
User Response: Refer to the appropriate MVS publication. determine if a -START DB2 command should be issued for the
indicated subsystem.
Explanation: Utility startup processing has been unable to System Action: In most cases, the SYSIBM.SYSUTIL record
connect to the indicated DB2 subsystem, because it does not for this job step is deleted from SYSIBM.SYSUTIL. However, if
exist on this system. the utility used was REORG and UNLOAD(PAUSE), the
SYSIBM.SYSUTIL record remains intact so that REORG can
Severity: 8 (error) be restarted at the RELOAD phase.
System Action: Utility processing is terminated without User Response: If the return code ('rr') is 0, no response is
invoking the requested utility or utilities. required.
User Response: Correct your JCL to specify the correct If the return code ('rr') is 4, the utility output should be exam-
subsystem-name on the EXEC statement, and resubmit the ined for other messages.
job. Contact your system programmer if you are not sure which
DB2 subsystem you should specify.
DSNU012I csect-name UTILITY EXECUTION TERMI-
System Programmer Response: Ensure that the correct NATED, HIGHEST RETURN CODE = rr
DB2 subsystem has been started via the -START DB2
Explanation: The utility execution was terminated. An error
command.
was detected that would not allow processing to continue. The
Problem Determination: DB2 must be started in order to return code has a value of 8.
execute DB2 utilities.
Severity: 8 (error)
DSNU008I csect-name SPECIFIED USER FAILED System Action: Utility processing is terminated.
VALIDITY CHECK User Response: Examine utility output for other error mes-
Explanation: Utility startup processing has been unable to sages.
connect to DB2, because the user failed the connection validity
check. DSNU013I csect-name JOB WITH DUPLICATE UTILID
FOUND IN SYSUTIL
Severity: 8 (error)
Explanation: An entry with the same qualifier was found in
System Action: Utility processing is terminated without
the SYSIBM.SYSUTIL table. The current job did not specify
invoking the requested utility or utilities.
restart.
User Response: Contact the system programmer for assist-
System Action: The utility job is abended with reason code
ance with your installation’s security checking.
X'00E40018'.
System Programmer Response: Locally defined RACF or
User Response: If the job was intended to restart the utility,
equivalent security system connection authorization have
RESTART should be added to the EXEC parameters. If the job
denied the user access to DB2. Permit DB2 connection author-
was intended to rerun the utility, the -TERM utility command
ization if this user should be allowed access.
should be used to delete the entry that has the same qualifier
from the SYSIBM.SYSUTIL table. If the job had no relation to
DSNU009I csect-name SPECIFIED USER NOT AUTHOR- the SYSIBM.SYSUTIL entry job, a new qualifier should be
IZED FOR DB2 UTILITIES used.
Explanation: Utility startup processing for the user indicated
on the job statement failed, because the user is not authorized DSNU014I csect-name JOB WITH DUPLICATE UTILID
to execute DB2 utilities. CURRENTLY EXECUTING
Severity: 8 (error) Explanation: A job with the same qualifier was found to be
System Action: Utility processing is terminated without executing.
invoking the requested utility or utilities. System Action: The utility job is abended with reason code
User Response: Contact your system programmer for assist- X'00E40018'.
ance with your installation’s security checking. User Response: If the job with the same qualifier that is cur-
System Programmer Response: If the USER specified rently executing is correct, either wait for the job to complete
something on the job statement that is incorrect, correct it, and before using the same qualifier, or use another qualifier. If the
resubmit the job. Use the SQL GRANT command to give the job currently executing is incorrect, the -TERM command can
user the desired authority. be used to terminate it, and the failing job can be resubmitted.
Do not -TERM UTILITY a utility job step that is currently active
in REORG beyond the UNLOAD phase.
DSNU015I csect-name JOB WITH UTILID NOT FOUND IN DSNU018I csect-name JOB IS NOT RESTARTABLE DUE
SYSUTIL FOR RESTART TO -START ACCESS FORCE COMMAND
Explanation: A utility job was submitted to restart a utility job Explanation: A utility job was submitted to restart a utility job
that had previously failed. The SYSIBM.SYSUTIL entry for the that previously failed. Although the SYSIBM.SYSUTIL entry for
specified qualifier provided was not found. the specified qualifier was found, the job is not restartable
because of a -START ACCESS FORCE command. The
Severity: 8 (error)
-START ACCESS FORCE command deleted the utility-in-
System Action: Utility processing is not initiated. process state of one or more (but not all) target objects in the
User Response: Use the -DISPLAY utility command to deter- job.
mine the correct qualifier. The job can then be resubmitted. System Action: The utility job is abended with reason code
X'00E40018'.
DSNU016I csect-name UTILITY BATCH MEMORY EXE- User Response: If the specified qualifier is correct, use the
CUTION ABENDED, REASON=X0rrr -TERM UTILITY command to terminate the utility and resubmit
Explanation: The utility batch address space has abended. If the job as a nonrestartable job. If the -TERM UTILITY
X'0rrr' is four characters in length (that is, X'00C1'), the command fails, use the -START ACCESS FORCE command
abend was a system X'rrr' abend. If X'0rrr' is four characters to force ALL target objects (table spaces and indexes) in the
in length and system abend X'000' was indicated, a user job. When the last object is forced, the SYSIBM.SYSUTIL
abend was issued. If X'0rrr' is eight characters in length, the record is deleted. If the qualifier is incorrect, correct it and
abend was a system X'04E' abend, and X'0rrr' is an abend restart the job.
reason code.
System Action: The utility job is abended. The DSNU019I csect-name THIS UTILITY IS NOT ALLOWED
SYSIBM.SYSUTIL entry for the job is retained in the SYSUTIL AT A DB2 TRACKER SITE
table. Explanation: When a DB2 subsystem serves as a tracker
User Response: Consult the system programmer to obtain site, it cannot run utility csect-name. A DB2 subsystem is also
information on failure analysis. If the cause of the failure is cor- a tracker site if the value of subsystem parameter TRKRSITE
rectable, the utility job can be restarted. If the error cannot be is YES. You may run only the following utilities at a tracker site
corrected, the -TERM command should be used to delete the DB2:
failing job’s utility id from SYSIBM.SYSUTIL. REPORT
System Programmer Response: If a system abend was RECOVER without the TORBA, TOLOGPOINT, or
encountered (4 characters), refer to the appropriate MVS publi- TOCOPY options
cation. If an abend reason code was encountered (8 charac-
DIAGNOSE
ters), refer to DB2 Utility Guide and Reference for problem
determination. Severity: 8 (error)
System Action: The utility terminates.
DSNU017I csect-name UTILITY DATABASE SERVICES
System Programmer Response: If this DB2 subsystem does
MEMORY EXECUTION ABENDED,
not need to serve as a remote site tracker system, remove its
REASON=X0rrr
tracker site status before re-trying the utility. You may remove
Explanation: The database services address space has the tracker site status by stopping the DB2 subsystem, then
abended. If X'0rrr' is four hexadecimal digits in length (for restarting it with TRKRSITE = NO.
example, X'00C1'), the abend was an MVS X'rrr' abend. If
User Response: Contact the system programmer.
X'0rrr' is eight hexadecimal digits in length, the abend was a
DB2 subsystem X'04E' abend, and X'0rrr' is an abend
reason code. DSNU020I csect-name JOB STEP INCOMPLETE
System Action: The utility job is abended. The entry for the Explanation: The REORG utility was invoked with the
job is retained in the SYSIBM.SYSUTIL table. UNLOAD PAUSE option. This causes the immediate suspen-
sion of the job after the unload phase completes. Subsequent
User Response: Consult with the system programmer to
utilities that are invoked in the same job step are not run.
obtain information about failure analysis. If the cause of the
failure is correctable, the utility job can be restarted. If the error Severity: 4 (warning)
cannot be corrected, the -TERM command should be used to System Action: Further utility processing is terminated.
delete the failing job’s utility id from SYSIBM.SYSUTIL.
User Response: Resubmit the job with the
System Programmer Response: If an MVS system abend RESTART(PHASE) parameter after the desired user action
was encountered (4 hexadecimal digits), refer to the appro- has been taken with the unload data set.
priate MVS publication. If an abend reason code was encount-
ered (8 hexadecimal digits), look up the reason code in Problem Determination: Refer to DB2 Utility Guide and Ref-
“Section 4. DB2 Codes” on page 577, and if you suspect an erence for a description of the REORG utility and the UNLOAD
error in DB2, refer to Section 3 of DB2 Diagnosis Guide and PAUSE option.
Reference for information on identifying and reporting the
problem.
DSNU024I csect-name PARM FIELD ERROR parm-field DSNU031I csect-name UNABLE TO UNALLOCATE dsn,
RC=rr, REASON=ccc
Explanation: An error was detected in the PARM field on the
EXEC statement. 'parm-field' was the input parameter field. Explanation: The recover utility was unable to unallocate an
image copy data set. The data set name that the utility
Severity: 8 (error)
attempted to unallocate is 'dsn'. The return code from the
System Action: Utility processing is not initiated. MVS dynamic unallocation service is 'rr'. The reason code
User Response: Correct the indicated parameter on the associated with the return code is 'ccc'.
EXEC DD statement, and resubmit the job. System Action: The unallocation error is ignored and the
Problem Determination: Refer to DB2 Utility Guide and Ref- utility execution continues.
erence for parameter requirements. Problem Determination: Refer to MVS/ESA Programming:
Authorized Assembler Services Guide for a complete
# DSNU025I csect-name INVALID RESTART PARAMETER description of the possible return and reason codes from
# (restart) dynamic allocation.
System Action: The utility proceeds along one or the fol- User Response: The data set must be capable of storing
lowing paths: intermediate data that can be retrieved by DB2. Check that the
data set is not specified as type DUMMY, SYSIN, or SYSOUT.
If the data set was an incremental image copy data set, the If you require assistance in specifying a valid data set type,
utility proceeds as if it and any later incremental image copies consult the system programmer.
did not exist.
System Programmer Response: Correct the JCL and
If the data set was a full image copy data set, the utility resubmit the job.
attempts to use the most recent prior full image copy data set.
The allocation failure may create other problems that will cause DSNU035I csect-name UNABLE TO FIND DD CARD FOR
the utility to fail. This is indicated by other messages. DDNAME, 'dddddddd'
User Response: If the job fails, contact the system pro- Explanation: A DD statement with ddname = 'dddddddd'
grammer. was expected, but not found.
System Programmer Response: If the utility fails because of Severity: 8 (error)
the allocation error (as shown by a subsequent message),
correct the error, then resubmit the job. System Action: The utility is terminated with a return code 8.
Problem Determination: Refer to the appropriate MVS publi- User Response: If the DDNAME is one you submitted,
cation for a complete description of the possible return and review and correct it. If the DDNAME was not provided by you,
reason codes from dynamic allocation. but by the system, consult the system programmer.
System Programmer Response: Correct the JCL and
resubmit the job.
DSNU036I csect-name UNABLE TO OPEN DCB FOR DSNU040I csect-name ERROR ACCESSING DDNAME
DDNAME dddddddd ddname, DECB=Xhex string
Explanation: The DCB associated with DDNAME Explanation: An error has occurred during BSAM access of a
'dddddddd' could not be opened. utility temporary file identified by 'ddname'. The DECB indi-
cating the error is given as a hexadecimal string.
System Action: The utility job is abended with a reason code
of X'00E40070'. The utility job step is in the stopped state. System Action: The executing utility issues an X'04E'
abend with abend reason code '00E40071' following this
User Response: If the ddname is one you submitted, review
message.
and correct it. If the ddname was not provided by you but by
the system, consult the system programmer. User Response: Refer to the information given in the
Problem Determination section of this message. Correct the
System Programmer Response: Correct the job control lan-
problem. Either issue the -TERM command to terminate the
guage and resubmit the job.
utility job and resubmit it, or specify the RESTART parameter
and resubmit it.
DSNU037I csect-name - RECFM=U FOR DDNAME
dddddddd Operator Response: An operator with SYSOPR authority
can issue the -TERM UTILITY command to release the
Explanation: A data set to be used by the utility has an resources claimed by the stopped utility (this may not be nec-
undefined record format RECFM=U. All data sets must be essary).
fixed or variable, blocked or unblocked.
Problem Determination: The DECB provided contains the
System Action: The utility job is abended with a reason code ECB in the first four bytes. The first byte of the ECB contains
of X'00E40070'. The utility job step is in the stopped state. status bits that indicate the cause of the error. Refer to the
Operator Response: Notify the system programmer. appropriate MVS publication for the meaning of the status bits.
Operator Response: An operator with SYSOPR authority User Response: Correct the operand in error, and resubmit
can issue the -TERM UTILITY command to release the the utility job. Refer to DB2 Utility Guide and Reference for
resources claimed by the stopped utility (this may not be nec- proper option specifications.
essary).
Problem Determination: This abend is accompanied by DSNU050I csect-name utility-statement
abend reason code X'00E40005', and an SVC dump is Explanation: This message echoes the utility statement that
requested. In most cases, error messages from MVS sort iden- was input from SYSIN.
tify the problem and the dump is not needed. If sort is unable
to open the UTPRINT data set, only the message and the Severity: 0 (informational)
abend are provided. For example, if the UTPRINT DD state- System Action: Utility processing continues.
ment is omitted, correct the problem with UTPRINT, and
resubmit the job.
DSNU051I csect-name INSUFFICIENT OPERANDS FOR
KEYWORD kkkkkkkk
DSNU046I csect-name UTILITY STATEMENT IS TOO
LONG OR TOO COMPLEX Explanation: An operand that is required when the keyword
'kkkkkkkk' is specified was omitted.
Explanation: The utility command and associated control
statements have caused internal fields to exceed DB2 sub- Severity: 8 (error)
system limits. System Action: Utility processing is not initiated.
Severity: 8 (error) User Response: Correct the operand specification, and
System Action: Utility processing is not initiated. resubmit the job. Refer to DB2 Utility Guide and Reference to
determine the correct set of operands for 'kkkkkkkk'.
User Response: Reduce the size or complexity of the utility
statement where possible. For example, a LOAD into several
tables may be broken up into a separate load statement for DSNU052I csect-name KEYWORD kkk INCOMPATIBLE
each table or the size of comparison fields for 'when', WITH OTHER KEYWORDS OR OPERANDS
'continueif', and 'nullif' operands may be reduced in size. Explanation: The specified keyword 'kkk' cannot be used
Problem Determination: Refer to DB2 Utility Guide and Ref- with other keywords or operands.
erence for correct operand definitions. Severity: 8 (error)
System Action: Processing terminates.
DSNU047I csect-name A REQUIRED DD CARD IS
MISSING DDNAME=missing-ddname User Response: Refer to the DB2 Utility Guide and Refer-
ence for the right syntax for the specified keyword.
Explanation: The DB2 utility being executed requires a data
set to continue processing. The DDNAME for the missing data
DSNU053I csect-name FIELD cccccccc NOT FOUND
set is provided.
Explanation: Either the column name specified, 'cccccccc',
Severity: 8 (error)
was not found in the catalog as a valid column name for the
System Action: Utility processing terminates. table being processed, or a WHEN keyword field name was
Operator Response: Notify the system programmer. not found in the field name list.
DSNU049I csect-name - INVALID OPERAND oooooooo User Response: Correct the table space name and/or data-
FOR KEYWORD kkkkkkkk base name, and resubmit the job.
Explanation: The utility parser has determined that operand Problem Determination: Valid table space names can be
'oooooooo' cannot be specified for keyword 'kkkkkkkk'. This found in the SYSIBM.SYSTABLESPACE catalog table.
includes a negative value following the keywords MAXRO or
DELAY.
Severity: 8 (error)
System Action: Utility processing is not initiated.
DSNU055I csect-name INDEX iiiiiiii NOT FOUND DSNU059I csect-name utility-name UTILITY NOT
ALLOWED TO RUN ON A ROSHARE READ
Explanation: The index name specified, 'iiiiiiii', was invalid.
DATABASE
Severity: 8 (error)
Explanation: An attempt was made to execute a utility on a
System Action: Utility processing is not initiated. ROSHARE READ database. Only the RUNSTATS, DIAG-
User Response: Correct the index name, and resubmit the NOSE, and REPAIR DBD utilities are allowed to run on read-
job. only shared databases.
DSNU057I csect-name DATABASE database-name NOT User Response: Ensure that the correct database was speci-
FOUND fied. If the specification is correct, consult the system pro-
grammer concerning authorization.
Explanation: The operand of the DATABASE keyword,
'database-name', did not specify an existing database name. System Programmer Response: Determine why the user
was denied access. Either the authorization should be cor-
Severity: 8 rected, or another authorized user should invoke the utility.
System Action: The error is sufficient to terminate further Problem Determination: The following catalog tables can be
processing of the utility job step. The utility job step is termi- examined to determine who has proper authority:
nated, and resources are released to their prior state. SYSIBM.SYSUSERAUTH, SYSIBM.SYSDBAUTH, or
User Response: Correct the database name and resubmit SYSIBM.SYSRESAUTH.
the utility job step.
Problem Determination: The correct database names can DSNU061I csect-name USER userid NOT AUTHORIZED,
be found by querying the SYSIBM.SYSDATABASE catalog UTILID=utilid
table. Explanation: The named user issued a utility command and
was not authorized to do so.
DSNU058I csect-name utility-name UTILITY NOT The -TERM UTILITY command can only be issued by:
ALLOWED AGAINST AN OBJECT IN
RECOVERY PENDING STATE The submitter of the utility job.
Explanation: An attempt has been made to execute a utility Users with SYSOPR, SYSADM, or SYSCTRL authority.
against an object that is in RECOVERY PENDING STATE. Users with DBADM, DBCTRL, or DBMAINT authority over
CHECK, COPY, MODIFY, LOAD, QUIESCE, REORG, and every database used by the utility.
RUNSTAT are not allowed.
Even for users with sufficient database authority, the
Severity: 8 (error) TERM UTILITY command will fail in these situations:
System Action: Utility processing is not initiated. – The user issued the command before the utility deter-
User Response: Remove the object from the RECOVERY mined what databases it would access.
PENDING STATE by using either LOAD REPLACE, – The utility job included the DIAGNOSE, REPORT, or
RECOVER, or REPAIR against the object. Resubmit the job. STOSPACE utility. Those utilities must be terminated
System Programmer Response: Determine which of the by the submitter of the job or by a holder of SYSOPR,
three utilities, LOAD REPLACE, RECOVER, or REPAIR, SYSCTRL, or SYSADM authority.
should be used to remove the object from the RECOVERY Any user can issue a -DISPLAY UTILITY command.
PENDING STATE.
System Action: The -TERM UTILITY request for utility identi-
fier utilid is rejected.
User Response: Take the appropriate action:
Wait to allow the utility to identify the databases it will
access; then reissue the command.
Explanation: An attempt was made to execute utility System Action: Execution of the utility job is stopped.
'util-name' against object 'qualifier.object-name'. This is not User Response: Remove the invalid utility control
allowed. The named object cannot be processed by the named statement(s) and resubmit the job.
DB2 utility.
Severity: 8 (error) DSNU066I csect-name OPERAND oooooo NOT ALLOWED
FOR uuuuuu UTILITY against tttttt TABLE
System Action: The utility job is terminated.
Explanation: An attempt was made to specify the REPLACE
User Response: Remove the invalid utility control statements
option when executing the LOAD utility on a DB2 catalog table.
and resubmit the job.
It is not permissible to replace existing rows in a DB2 catalog
table. Rows can only be added to the existing rows in a DB2
| DSNU063I csect-name utility-name UTILITY NOT catalog table.
| ALLOWED AGAINST AN OBJECT IN REBUILD
| PENDING STATE Severity: 8 (error)
| Explanation: An attempt has been made to execute a utility System Action: Utility processing is not initiated.
| against an object that is in REBUILD PENDING STATE. User Response: Correct the operand, and resubmit the job.
| CHECK, COPY, MODIFY, LOAD, QUIESCE, REORG, and
| RUNSTAT are not allowed.
# DSNU067I csect-name - TABLE SPACE table-space-name
| Severity: 8 (error) IS NOT A LOB TABLE SPACE
| System Action: Utility processing is not initiated. Explanation: The table space specified, table-space-name, is
not a LOB table space. The object of the utility must be LOB
| User Response: Remove the object from the REBUILD
table space.
| PENDING STATE by using either LOAD REPLACE,
| RECOVER, or REPAIR against the object. Resubmit the job. System Action: Utility returns completion code=8.
| System Programmer Response: Rebuild the index with the Programmer Response: Correct the utility statement.
| REBUILD utility to remove the object from REBUILD PENDING
| state.
| DSNU068I csect-name - function IS NOT SUPPORTED FOR
| LOB TABLE SPACES
DSNU064I csect-name UTILITY NOT ALLOWED AGAINST
| Explanation: The function specified, function, is not sup-
SYSTEM DATABASE
| ported for the LOB table space specified. The LOB table space
Explanation: An attempt was made to execute a utility | reported by the message may not be explicitly named in the
against database DSNDB01 or DSNDB06. The following utili- | utility statement.
ties are not allowed against DSNDB01:
| System Action: The utility processing proceeds.
LOAD
REORG TABLESPACE against SYSUTILX (allowed
# DSNU069I csect-name - AUXILIARY TABLE table-name
against other DSNDB01 table spaces)
| NOT PERMITTED AS EXCEPTION TABLE
CHECK DATA
REPAIR DBD | Explanation: A auxiliary table was specified as an exception
RUNSTATS | table.
MODIFY STATISTICS | System Action: Utility returns completion code=8.
The following utilities are not allowed against DSNDB06: | Programmer Response: Specify an exception table that is
LOAD (except SYSIBM.SYSSTRINGS) | not an auxiliary table.
CHECK DATA
REPAIR DBD DSNU070I csect-name KEYWORD OR OPERAND x
Severity: 8 (error) INVALID WITH y
System Action: Execution of the utility job is stopped. Explanation: The use of KEYWORD or OPERAND 'x' is
inconsistent with KEYWORD or OPERAND 'y'.
User Response: Remove the invalid utility control statements
and resubmit the job. Severity: 8 (error)
System Action: The control statement in error is rejected and
processing is halted.
User Response: Correct the control statement in error and
resubmit the job.
| System Action: Utility returns completion code=8. System Action: Utility processing is not initiated.
| Programmer Response: Complete the LOB column defi- User Response: Determine the location of the missing paren-
| nitions. A LOB column definition is not complete until the LOB thesis and insert it. The utility job can then be resubmitted.
| table space, auxiliary table and index on the auxiliary table Problem Determination: Refer to DB2 Utility Guide and Ref-
| have been created for the LOB column. erence to determine the correct syntax for option specification.
# DSNU076I csect-name - KEYWORD=keyword INVALID FOR DSNU080I csect-name NO UTILITY STATEMENTS WERE
| type TABLE SPACE=table_space_name EXECUTED
| Explanation: The keyword, keyword, is invalid when the Explanation: The SYSIN data set did not contain any text.
| object of the utility is a type table space. The system might have processed the end of file prematurely,
| System Action: Utility returns completion code=8. or this job requires that the utility statements be skipped.
none now exists, or verify that this job executes no utility state- System Action: Processing is terminated.
ments.
User Response: Correct the utility statement, and resubmit
the job.
DSNU081I csect-name OPERAND 'ooooooo' EXCEEDS
KEYWORD 'kkkkkkkk' MAXIMUM LENGTH
DSNU086I csect-name ttttt I/O ERRORS ON SPACE=
Explanation: The utility parser has determined that operand dddddddd. DATA SET NUMBER= nnn. I/O
'oooooooo' exceeds the maximum length for keyword ERROR PAGE RANGE= aaaaaa, bbbbbb.
'kkkkkkkk'.
Explanation:
Severity: 8 (error)
Severity: 0 (informational)
System Action: Utility processing is not initiated.
System Action: Processing continues, but the pages within
User Response: Correct the operand, and resubmit the job. the error range are no longer accessible.
Problem Determination: Refer to DB2 Utility Guide and Ref- System Programmer Response: Determine the appropriate
erence to determine the correct operand specification. level of recovery, and invoke the recovery utility. If user-
defined data sets are being used and full data set or table
DSNU082I csect-name INVALID KEYWORD kkkkkkkk space RECOVER is to be used, then, prior to invoking the
RECOVER utility, the table space must be stopped, new data
Explanation: The given keyword was not recognized within set(s) defined, and the table space restarted. If the data set is
the context of this control statement. part of a ROSHARE READ database, determine whether it
Severity: 8 (error) was a link or DASD failure. It there was a link failure, then fix
the link, and issue a -START DATABASE with the
System Action: Utility processing is not initiated. ACCESS(FORCE) parameter. If the error was caused by a
User Response: Correct the keyword, and resubmit the job. DASD failure, then correct the problem from the system on
which the database was defined as ROSHARE OWNER.
DSNU083I csect-name INVALID HEXADECIMAL Problem Determination: Refer to Section 4 (Volume 1) of
OPERAND hhhhhhhh DB2 Administration Guide for a discussion of database
recovery procedures.
Explanation: The utility parser has determined that the
operand 'hhhhhhhh' is invalid as a hexadecimal operand. It There may be an IOS message on the MVS console SYSLOG
either contains a character that is not hexadecimal or has an indicating the type of I/O error that occurred. If an IOS
odd number of characters. message was issued, follow the Problem Determination
directions for the message.
Severity: 8 (error)
System Action: Utility processing is not initiated. DSNU087I csect-name INVALID OPERAND TYPE FOR
User Response: Correct the keyword, and resubmit the job. KEYWORD kkkkkkkk - oooooooo
Explanation: The utility parser has determined that the
DSNU084I csect-name INVALID GRAPHIC OPERAND gggg operand 'oooooooo' is the wrong type for the keyword
'kkkkkkkk'. An example of such an error would be a decimal
Explanation: The utility parser has determined that the
operand where only a hexadecimal operand is allowed.
operand 'gggg' is invalid as a hexadecimal operand. The
graphic operand is either missing one or both of the shift char- Severity: 8 (error)
acters or is not an even number of characters.
System Action: Utility processing is not initiated.
Severity: 8 (error)
User Response: Correct the keyword, and resubmit the job.
System Action: Processing is terminated.
Problem Determination: Refer to DB2 Utility Guide and Ref-
User Response: Correct the utility statement, and resubmit erence to determine valid operand types for the designated
the job. keyword.
DSNU085I csect-name INVALID SPECIAL CHARACTER DSNU088I csect-name INVALID CHARACTER OPERAND
OPERAND ssss cccccccc
Explanation: The utility parser has determined that the Explanation: The utility parser has determined that the
operand 'ssss' is invalid as a special character operand. For a operand 'cccccccc' is invalid as a character operand.
special character operand to be invalid, it must have either a
Severity: 8 (error)
shift-out or a shift-in character and be missing the corre-
sponding shift character, or not have an even number of char- System Action: Utility processing is not initiated.
acters between the shift-out, shift-in characters. User Response: Correct the keyword, and resubmit the job.
Severity: 8 (error) Problem Determination: Refer to DB2 Utility Guide and Ref-
erence for correct specification of the character operand.
DSNU089I csect-name OPERAND oooooooo IS TOO DSNU095I csect-name UTILITY uuuuuuuu INCONSISTENT
LONG WITH LAST INVOCATION
Explanation: The utility parser has determined that the Explanation: This message can occur when a utility job step
operand 'oooooooo' is too long for the keyword specified. is restarted and a utility statement was modified, added or
deleted from SYSIN.
Severity: 8 (error)
Severity: 8 (error)
System Action: Utility processing is not initiated.
System Action: Utility processing is terminated. The utility
User Response: Correct the keyword, and resubmit the job.
job step remains in SYSIBM.SYSUTIL in the stopped state.
Problem Determination: Refer to DB2 Utility Guide and Ref-
User Response: Restart the utility job with the statements in
erence for correct operand length specification.
the same order as they were in when the job was first run. If a
statement was modified, change the statement back to the
DSNU090I csect-name DDNAME nnn IS INVALID FOR format in the original invocation and restart the job. Utility
KEYWORD kkk statements should not be altered for restart.
Explanation: The DDNAME 'nnn' was used as an improper
input of the specified keyword 'kkk' or from one of the DSNU096I csect-name OPERAND oooooooo INCON-
reserved ddnames: SYSIN, SYSPRINT, UTPRINT, SISTENT WITH LAST INVOCATION
SORTWKnn, SORTLIB.
Explanation: When the utility job step was restarted, the indi-
Severity: 8 (error) cated operand was found to be inconsistent with the restart
System Action: Processing terminates. point.
User Response: If you suspect an error in DB2, refer to System Action: The restart of utility processing is not initi-
Section 3 of DB2 Diagnosis Guide and Reference for informa- ated.
tion on identifying and reporting the problem. User Response: To restart, restore the operand to its prior
definition. If this is not acceptable, terminate the utility job step,
DSNU091I csect-name DDNAME nnn IS A DUPLICATE take corrective action, and resubmit the job.
Explanation: The DDNAME nnn was used as operand in the Operator Response: An operator with SYSOPR authority
# input statement more than once, or it references the same can terminate the utility job step (this may not be necessary). A
# underlying dataset as another DDNAME used in the input REORG utility that is beyond the UNLOAD phase should rarely
# statement. be terminated.
Severity: 8 (error) Problem Determination: Refer to DB2 Utility Guide and Ref-
erence for operand definitions. Refer to Section 4 (Volume 1)
System Action: Processing terminates. of DB2 Administration Guide for a discussion of utility restart
# User Response: Make sure all DDNAMES used in the input constraints.
# statement and the datasets they reference are unique.
DSNU097I csect-name - input WILL BE REQUIRED
DSNU092I csect-name NUMBER OF OPERANDS FOR SYNTAX IN FUTURE RELEASES
KEYWORD kkk EXCEEDS MAXIMUM Explanation: The identified 'input' is not required in this
Explanation: The keyword 'kkk' contains more than the release, but it will be part of the required syntax in future
maximum number of operands. releases.
User Response: Refer to DB2 Utility Guide and Reference Programmer Response: Refer to DB2 Utility Guide and Ref-
for the limit on the number of operands for the specified erence for the current syntax.
keyword.
DSNU099I csect-name - IRLM 'req-type' REQUEST
DSNU094I csect-name KEYWORD 'wwwww' IS DUPLI- FAILED, IRLM RETURN CODE = X'return-code'
CATED IRLM REASON CODE = X'reason-code'
Explanation: The keyword 'wwwww' is not allowed twice. Explanation: The request to the IRLM to obtain or release a
lock failed for the reasons specified in return-code and reason-
Severity: 8 code. In a non data-sharing environment, the requested lock is
System Action: The control statement in error is rejected and the utility serialization lock. In a data sharing environment, the
the processing is halted. requested lock is the utility serialization lock, the utility identifier
lock, or the utility execution lock. The IRLM return and reason
User Response: Correct the control statement in error, and
codes are documented in “Section 5. IRLM Messages and
resubmit the job.
Codes” on page 1009. The type of request is indicated by req-
type.
System Action: Utility and command processing terminates.
User Response: Refer to the IRLM messages and codes
section for problem determination and the appropriate action.
Operator Response: If necessary, and if you have SYSOPR | For CHECK INDEX, LOAD, REBUILD INDEX, and
authority, you can issue the -TERM UTILITY command to | REORG: number of records processed (log records for the
release the resources claimed by the stopped utility. | LOG phase of REORG), or 0 (for the SWITCH or BUILD2
| phase of REORG).
System Action: The system rejects the -ALTER UTILITY, User Response: This message is an acknowledgement that
-DISPLAY UTILITY, or -TERM UTILITY request for the indi- the request has been accepted and is in progress.
cated utility job.
User Response: Verify that the utility identifier of the utility DSNU161I csect-name - utility-name UTILITY WITH UTILID
job to be altered, displayed, or terminated was correctly = util-id CAN NOT BE TERMINATED AT THE
entered.To view all currently valid identifiers, issue the DB2 TRACKER SITE
-DISPLAY UTILITY (*) or (partial-utility-id*) command. Explanation: DB2 does not permit the termination of certain
utilities at a tracker site because terminating these utilities may
DSNU114I csect-name UTILITY COMMANDS SUB- leave the target objects in an unpredictable state. The next
SYSTEM FAILURE, REASON=Xcode recovery cycle should cause the utilities to resolve. You may
not terminate the following utilities at a tracker site:
Explanation: This message indicates an abend has occurred
in the utility commands subsystem. COPY
System Action: The command abends. In the case of the LOAD
-TERM command, termination actions taken previously under
REORG
this command are backed out.
REPAIR
User Response: Prior messages and/or the SVC dump iden-
tify the failure. If the condition can be corrected, the command Severity: 8 (error)
may be reissued. System Action: The utility does not terminate.
Problem Determination: In most cases, the failure is not System Programmer Response: Monitor the status of these
user related. In some cases, prior messages indicate a user utilities after the next tracker site recovery cycle.
error that may be corrected. The problem may be as simple as
SYSIBM.SYSUTIL being temporarily locked by another User Response: Contact the system programmer.
command or a utility job. If you suspect an error in DB2, refer
to Section 3 of DB2 Diagnosis Guide and Reference for infor- DSNU164I csect-name cccccccc UTILITY, UTILID = uuuu
mation on identifying and reporting the problem. ALREADY TERMINATING
Explanation: This message is in response to a -TERM
DSNU115I csect-name utility-name UTILITY WITH UTILID = UTILITY command. It indicates that the utility job step indicated
utilid CAN ONLY BE TERMINATED BY A by UTILID 'uuuuu' has already been requested to terminate
MEMBER WITH THE SAME RELEASE = release and is in the process of doing so now.
Explanation: Command TERM UTILITY cannot terminate the Severity: 0 (informational)
utility job with identifier utilid because it belongs to a member
with a release level identified in the message. Some utilities System Action: DB2 is currently in the process of terminating
can be terminated only from a member of the DB2 data the indicated utility job step. Upon completion, all resources
sharing group with the same release level. will have been released to their prior state, and all tracking of
the indicated UTILID will have been removed. At that point, the
Severity: 4 (warning) UTILID is available for reuse.
System Action: Command TERM UTILITY is rejected for the User Response: This message indicates that either the
indicated utility job. request was redundant, or someone else is also interested in
User Response: Make sure the utilid identifies the utility you the termination of the subject utility job step.
want to terminate. If it does, issue command TERM UTILITY
from a member with a release level identified in the message DSNU166I csect-name utility-name UTILITY, UTILID = uid
in the DB2 data sharing group. NOT EXECUTING, CLEANUP COMPLETE
Explanation: This message is in response to a -TERM
DSNU160I csect-name - utility-name UTILITY, UTILID = UTILITY command. The 'utility-name' utility identified by
utilid REQUESTED TO TERMINATE, PHASE = UTILID 'uid' was found to be stopped at the time of the
utility-phase WAS ACTIVE request to terminate.
Explanation: This message is issued in response to a Severity: 0 (informational)
-TERM UTILITY command. It acknowledges that the request
for termination was received and verified. At the time the System Action: Cleanup is performed for the indicated
-TERM UTILITY request was received, utility 'utility-name' stopped utility. All resources held by the utility are freed and all
was ACTIVE in the utility job step identified by UTILID 'utilid'. storage of the utility job is deleted. The utility job is no longer
restartable.
System Action: DB2 has accepted the request to terminate
the indicated utility job step. The utility terminates at its next System Programmer Response: Resources held by this
cleanup point. utility may have prevented applications, commands, and other
utilities from executing. These have been freed, so that the
inhibited tasks may now be performed.
# DSNU185I csect-name THE VSAM DATA SET DOES NOT DSNU203I csect-name - REBUILD PENDING ON INDEX
# EXIST FOR obj-type obj-qual.obj-name part part- creator.index-name PROHIBITS PROCESSING
# number
| Explanation: An attempt was made to execute a utility
# Explanation: The VSAM data set(s) for the specified object | against an index that is in a rebuild pending state.
# has not been defined yet because the object was created with
Severity: 8 (error)
# DEFINE NO. Only the LOAD REPLACE utility can be run on
# an object that is undefined. System Action: Utility processing is not initiated.
# Severity: 8 (error) | User Response: Remove the index from the rebuild pending
| state by using the REBUILD INDEX utility against the index. .
# System Action: The utility ends without processing the
| Resubmit the job.
# object.
# Operator Response: Remove the object name from the utility DSNU204I csect-name - PAGESET REBUILD PENDING ON
# statement and resubmit the utility job. INDEX creator.name PROHIBITS PROCESSING
| Explanation: An attempt was made to execute a utility
DSNU200I csect-name - ERROR RANGE ON TABLE
| against a logical partition of an index when the index is in
SPACE database.tablespace-name PROHIBITS
| PAGESET REBUILD pending state,
PROCESSING
Severity: 8 (error)
Explanation: The utility encountered an error range on the
identified table space or partition, which prohibits it from contin- System Action: Utility processing terminates.
uing. | User Response: Remove the index space from PAGESET
Severity: 8 (error) | rebuild pending state by running the REBUILD INDEX utility
| against the entire index, not just a single logical partition.
System Action: The utility fails serialization and terminates.
| Resubmit the job.
User Response: Correct the error range for the table space
by running RECOVER ERROR RANGE. Then resubmit the DSNU205I csect-name - LOGICAL ERROR RANGE
original failing utility. (LOGICAL PAGE LIST) ON TABLE SPACE
database.tablespace-name PROHIBITS PROC-
DSNU201I csect-name - ERROR RANGE ON INDEX ESSING
creator.index-name PROHIBITS PROCESSING
Explanation: The utility cannot continue because it encount-
Explanation: The utility encountered an error range on the ered a logical error range (logical page list) on the identified
identified index space or partition which prohibits it from contin- table space or partition.
uing.
Severity: 8 (error)
Severity: 8 (error)
System Action: The utility terminates.
System Action: The utility fails serialization and terminates.
User Response: Use the -START DATABASE command to
User Response: Identify the incorrect error range by issuing correct the logical error range (LPL) for the table space. Then
| the DISPLAY command for the index. Run the RECOVER or resubmit the original failing utility.
| REBUILD INDEX utility to restore the index or index partition
that has the error range. Then resubmit the original failing DSNU206I csect-name - LOGICAL ERROR RANGE
utility. (LOGICAL PAGE LIST) ON INDEX
creator.index-name PROHIBITS PROCESSING
DSNU202I csect-name - REBUILD PENDING ON TABLE
Explanation: The utility cannot continue because it encount-
SPACE database.tablespace-name PROHIBITS
ered a logical error range (logical page list) on the identified
PROCESSING
index space or partition.
Explanation: An attempt was made to execute a utility
Severity: 8 (error)
against a table space that is in a rebuild pending state.
System Action: The utility terminates.
Severity: 8 (error)
User Response: Issue the -DISPLAY command for the index
System Action: Utility processing is not initiated.
to identify the logical error range (LPL). There are two ways to
User Response: Remove the table space from the rebuild restore the index or index partition that has the LPL before
pending state by using either LOAD REPLACE, REBUILD, or resubmitting the original failed utility.
REPAIR against the object. LOAD REPLACE with
Issue the START DATABASE command to clear the LPL
KEEPDICTIONARY is not allowed on a table space (with com-
| status, then run the RECOVER or REBUILD INDEX utility.
pression active) in the rebuild pending state. Resubmit the job.
| Run the RECOVER or REBUILD INDEX utility to restore
System Programmer Response: Determine which of the | the entire nonpartitioning index (NPI).
three utilities, LOAD REPLACE, REBUILD, or REPAIR, should
be used to remove the object from the rebuild pending state.
| any errors (for example, if the index keys do not match the
DSNU207I csect-name - GROUP BUFFER POOL
| data in the table space.) If there are no errors, the check
RECOVERY PENDING ON TABLE SPACE
| pending state will be reset. The REBUILD INDEX utility will
database.tablespace-name PROHIBITS PROC-
| rebuild the index from the data in the table space.
ESSING
Explanation: You cannot execute a utility on a table space | DSNU212I csect-name - REORG PENDING ON TABLE
that is in a group buffer pool recovery pending status. | SPACE database.index-name PART x PRO-
Severity: 8 (error) | HIBITS PROCESSING
System Action: Utility processing does not start. | Explanation: An attempt was made to execute a utility
| against a table space that is in a REORG PENDING state.
User Response: Use the -START DATABASE command to
remove the table space from the group buffer pool recovery | Severity: 8 (error)
pending status. Then resubmit the job. | System Action: Utility processing is not initiated.
| User Response: Execute REORG with SHRLEVEL NONE
DSNU208I csect-name - GROUP BUFFER POOL
| against the partitions in REORG PENDING state to rebalance
RECOVERY PENDING ON INDEX creator.index-
| the partitions and remove the REORG PENDING state.
name PROHIBITS PROCESSING
Explanation: You cannot execute a utility on an index that is | DSNU213I csect-name - AUX CHECK PENDING ON
in a group buffer pool recovery pending (GRECP) status. | TABLE SPACE table-space PROHIBITS PROC-
Severity: 8 (error) | ESSING
System Action: Utility processing does not start. | Explanation: The processing is prohibited because the table-
| space is in an AUX CHECK PENDING state.
| User Response: Run the REBUILD INDEX utility on the
| index to remove the table space from the group buffer pool | System Action: Utility terminates and returns completion
| recovery pending status. Then resubmit the job. | code=8.
| Programmer Response:
| DSNU209I csect-name - RESTART PENDING ON obj-type
| Run the CHECK DATA utility with the AUXERROR INVALI-
| database.tablespace-name PROHIBITS PROC-
| DATE option. If there are no AUX CHECK errors, AUX CHECK
| ESSING
| PENDING will be reset. If AUX CHECK errors are found, AUX
| Explanation: An attempt was made to execute a utility | CHECK PENDING will be reset and the table space will be set
| against a table space or index space that is in a restart | to an AUX WARNING state. This allows the rows with AUX
| pending state. | CHECK errors to be corrected. Correct the errors and rerun
| Severity: 8 (error)
| CHECK DATA. If no more AUX CHECK errors are found, the
| AUX WARNING state will be reset.
| System Action: Utility processing is not initiated.
| System Programmer Response: Use the DISPLAY | DSNU214I csect-name - REBUILD PENDING ON INDEX
| THREAD TYPE(POSTPONED) to determine the status of the | creator.index-name PROHIBITS PROCESSING
| resource. Use the RECOVER POSTPONED command if
| Explanation: An attempt was made to execute a utility
| recover has not already been started. Resubmit the job.
| against an index that is in rebuild pending state.
The values above reflect only the number of bytes for the data
DSNU232I csect-name KEEPDICTIONARY REQUESTED
row and the respective row prefix (6 bytes). DB2 page and dic-
BUT COMPRESS ATTRIBUTE NOT DEFINED
tionary page overhead is not included.
FOR TABLE SPACE table-space-name
pctrowcomp The percentage of the rows that were com-
Explanation: The KEEPDICTIONARY option was specified in
pressed within the total number of rows that
the LOAD or REORG TABLESPACE utility statement. This
were loaded or reorganized. The stored
keyword should only be used with table spaces that have the
length and the external length of a row was
COMPRESS YES attribute. Otherwise, it is ignored. The COM-
compared to determine if the row was com-
PRESS column of SYSIBM.SYSTABLEPART contains the
pressed. If an EDITPROC is involved, its
current compression status.
effect on the length of the row is consid-
Severity: 4 (warning) ered in the calculation.
System Action: Processing continues. If the dictionary exists, noncmppages The estimated number of DB2 pages
it is erased if LOAD REPLACE or REORG is specified. required by the uncompressed data rows
that were loaded or reorganized. Space
required for PCTFREE and FREEPAGE is
DSNU233I csect-name COMPRESSION DICTIONARY
included. This number was rounded up to
DOES NOT EXIST FOR TABLE SPACE table-
the next integer.
space-name
cmppages The estimated number of DB2 pages
Explanation: The KEEPDICTIONARY option was specified in
required by the compressed data rows that
the LOAD or REORG TABLESPACE utility statement for a
were loaded or reorganized. Space
table space that does not have a compression dictionary.
required for PCTFREE and FREEPAGE is
Severity: 4 (warning) included. Dictionary pages are also
System Action: Processing continues. A dictionary is built for included unless a LOAD RESUME(YES)
the table space. was run. This number was rounded up to
the next integer.
DSNU234I csect-name COMPRESSION REPORT FOR auncmprowlen Average uncompressed row length.
TABLE SPACE table-space-name avgcmprowlen Average compressed row length.
noncmpbytes KB WITHOUT COMPRESSION pagesave An estimate of the percentage of DB2
cmpbytes KB WITH COMPRESSION pages saved by compressing the loaded or
percsave PERCENT OF THE BYTES SAVED FROM reorganized data rows.
COMPRESSED DATA ROWS
pctrowcomp PERCENT OF THE LOADED ROWS Severity: 0 (informational)
WERE COMPRESSED System Action: Processing continues.
noncmppages PAGES REQUIRED WITHOUT COM-
PRESSION
DSNU235I csect-name THE COMPRESSION DICTIONARY
cmppages PAGES REQUIRED WITH COM-
WAS NOT BUILT FOR TABLE SPACE table-
PRESSION
space-name
auncmprowlen BYTES FOR AVERAGE UNCOM-
PRESSED ROW LENGTH Explanation: There is insufficient data to build a compression
avgcmprowlen BYTES FOR AVERAGE COMPRESSED dictionary. For the LOAD utility, the input data set is empty or
ROW LENGTH all of the input records were discarded. For the REORG
pagesave PERCENT OF THE DB2 DATA PAGES TABLESPACE utility, the table space is empty. The data was
SAVED USING COMPRESSED DATA not compressed.
Explanation: The data in the table space was compressed. Severity: 4 (warning)
This message is issued at the end of the RELOAD phase for System Action: Processing continues.
the LOAD and REORG utility. The statistics that follow apply
only to the data that was loaded or reorganized. For example, User Response: The input data set must contain data in
RESUME(YES) reports statistics only on the additional rows order to build a compression dictionary while running the
that were loaded, not what was previously in the table space. LOAD utility. Ensure that the input records are not discarded
by the WHEN clause or conversion errors. For the REORG
The compression statistics follow: TABLESPACE utility, the table space must be populated with
noncmpbytes The total number of uncompressed KB data in order to build a compression dictionary.
(where KB = 1024 bytes) for the loaded or
reorganized data rows (including the row DSNU236I csect-name DICTIONARY FOR TABLE SPACE
prefix). This number was rounded to the table-space-name HAS BEEN ERASED.
nearest KB.
Explanation: The compression dictionary of the specified
cmpbytes The total number of compressed KB for the table space was erased.
loaded or reorganized data rows (including
the row prefix). This number was rounded The COMPRESS attribute of the table space is NO, and there
to the nearest KB. are no active rows in this table space. In this case, the LOAD
RESUME NO utility erases the dictionary.
percsave The percentage of bytes saved from the
loaded or reorganized data rows as a result Severity: 0 (informational)
of compression. System Action: Processing continues.
| System Action: Table records were unloaded or discarded. If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
nosis Guide and Reference for information on identifying and
DSNU254I csect-name - RECORD COUNTS INCON- reporting the problem.
SISTENT FOR pppppppp PHASE, NUMBER OF
RECORDS EXPECTED = nnnnnnnn, NUMBER DSNU256I csect-name INVALID PARTITION SPECIFICA-
OF RECORDS PROCESSED = aaaaaaaa TION
Explanation: This message is issued during the 'pppppppp' Explanation: This message is issued by the utility in
phase for the REORG utility to report the condition where the response to an invalid PART option specification.
number of records 'nnnnnnnn' passed to the current phase is
The PART option is invalid in the following situations:
not equal to the number of records 'aaaaaaaa' processed in
this phase. when it is specified for a nonpartitioned table space
Severity: 4 (warning) if the indicated PART integer is not pertinent to the parti-
tions existing for the indicated table space
System Action: Processing continues if UNLOAD PAUSE
option was used. | or if a ROWID column is part of the partitioning key
User Response: Check if unload data set was altered by # if LOAD INTO TABLE PART x is performed on a table
user. Determine if the inconsistent record counts between the # space where an identity column is part of the partitioning
unload and reload phases is a potential problem. If it is an # key
internal DB2 problem, report to system programmer. The utility job step is terminated.
System Programmer Response: Determine the failing envi- System Action: The error is sufficient to terminate further
ronment. If you suspect an error in DB2, refer to Section 3 of processing of the utility job step. The utility job step is termi-
DB2 Diagnosis Guide and Reference for information on identi- nated, and resources are released to their previous state.
fying and reporting the problem.
User Response: Determine the correct partition specification
Problem Determination: If the unload data set was manipu- for the table space that was the subject of the specified control
lated by user during restart process, make sure it was handled utility statement, and resubmit the utility job step. Examine the
properly. If you suspect an error in DB2, refer to Section 3 of SYSIBM.SYSTABLESPACE in the DB2 catalog for the correct
DB2 Diagnosis Guide and Reference for information on identi- | range of partition numbers for the table space. If a ROWID
fying and reporting the problem. | column is part of the partitioning key, the PART option is
Collect the following diagnostic items listed in Appendix B, | invalid.
“Problem determination” on page 1051: 1, 2, 5.
DSNU257I csect-name UNABLE TO RESTART BUILD
DSNU255I csect-name - KEY COUNT INCONSISTENT FOR PHASE
pppppppp PHASE, NUMBER OF KEYS | Explanation: Restarting in the BUILD PHASE or the
EXPECTED = nnnnnnnn, NUMBER OF KEYS | SORTBLD phase of the LOAD utility with the RESUME(YES)
PROCESSED = aaaaaaaa. | option is not permitted.
Explanation: This message is issued during the 'pppppppp' Severity: 8 (error)
phase for the LOAD or REORG utility to report the condition
where the number of keys, 'nnnnnnnn', passed to the current System Action: Utility processing is not initiated.
phase is not equal to the number of keys, 'aaaaaaaa', proc- User Response: Recover all indexes within the table space
essed in this phase. One or more of the affected indexes may | which were left in a rebuild pending state when the LOAD
be inconsistent. | utility failed.
Severity: 8 (error) Problem Determination: Refer to DB2 Utility Guide and Ref-
System Action: Processing stops and all indexes are placed erence and Section 2 (Volume 1) of DB2 Administration Guide
in rebuild pending state. | for a discussion of LOAD restarting constraints.
DSNU259I csect-name BUILD PHASE COMPLETE, DSNU270I csect-name - table-name, column-name IN VIO-
ELAPSED TIME = hh/mm/ss LATION OF INSTALLATION DEFINED FIELD
PROCEDURE procedure-name. function-code,
Explanation: This message is issued at the normal com-
return-code, reason-code, message-token
pletion of the BUILD phase of the REORG, LOAD, and
| REBUILD INDEX utilities. The time that has elapsed between Explanation: An installation-supplied field procedure has
the beginning of the phase and the completion of this phase returned an error during encoding for LOAD or decoding for
was 'hh' hours, 'mm' minutes, and 'ss' seconds. REORG. See SQLCODE -681 for more detail.
| System Action: Processing continues to the next phase of Severity: 8 (error)
| the LOAD or REORG or REBUILD INDEX utility. If this is the
System Action: The utility will issue a system '04E' abend
| last phase, processing continues to the next utility statement in
with a reason code of '00E40336'.
| the utility job step, if any.
User Response: Request the dump produced as a result of
the error to the system programmer so that the cause of the
| DSNU260I csect-name
error can be determined and corrected.
| obj-type obj-qual.obj-name System Programmer Response: Examine the field proce-
| IS EMPTY dure to determine why an error return code was generated.
Refer to DB2 Utility Guide and Reference for more information.
| Explanation: This message is issued as a warning when
| REBUILD INDEX(ALL) or REORG TABLESPACE are executed
| on an empty table space. | DSNU271I csect-name - REORG PENDING ON FOR
| TABLE SPACE database.index-name PART part
| This message is also issued when COPY detects that the first
| number PROHIBITS PROCESSING
| space map page in the table space or partition is missing. This
| is an error condition that might be caused by a delete and | Explanation: An attempt was made to execute a REORG
| redefine of the data set outside of DB2, or by a previous DB2 | utility to redistribute data in a partitioned table space. The parti-
| failure that occurred on the data set. | tion number stated in this message was found to have the
| REORP state on, but was not specified on the PART n1:n2
| Severity: 4 (warning) or 8 (error)
| parameter of the REORG utility.
| System Action: For REBUILD INDEX or REORG
# If you are running REORG to materialize identity column
| TABLESPACE, the return code of 4 will allow the next utility
# values, you must reorganize the entire table space.
| function in the job step, if any, to be initiated.
| Severity: 8 (error)
| For COPY, the table space, index space, or partition being
| copied will be placed in recover pending status. The return | System Action: Utility processing is not initiated.
| code of 8 will prohibit further utility processing in the job step. | System Programmer Response: Identify the correct partition
| User Response: Notify the system programmer if the return | range specification for the REORG utility by issuing the
| code is 8. If the return code is 4, no action is required. | DISPLAY command for the table space, and resubmit the utility
| job step.
| System Programmer Response: If the return code is 8, the
| table space, indexspace, or partition being copied should be
| recovered with the RECOVER utility. DSNU272I csect-name - FIELD PROCEDURE procedure-
name COULD NOT BE LOADED
| DSNU269I csect-name FIELD field-name IS NOT Explanation: An installation supplied field procedure could
| ALLOWED not be loaded during encoding for LOAD or decoding for
REORG. See SQLCODE -682 for more detail.
| Explanation: You specified a ROWID GENERATED
| ALWAYS in the field specification list. Only a ROWID GENER- Severity: 8 (error)
| ATED BY DEFAULT is allowed to be specified in the field System Action: The utility will terminate with a return code of
| specification list. 8.
# Identity columns that were defined as GENERATED ALWAYS User Response: Take the job output to the system pro-
# can not be specified in a LOAD field specification list, nor can grammer.
# these columns be implied in LOAD FORMAT UNLOAD or
# LOAD with no field specification list. System Programmer Response: Determine why the field
procedure could not be loaded.
| Severity: 8 (error)
| System Action: The LOAD utility is terminated | DSNU273I csect-name - REORG WITH SHRLEVEL REFER-
| User Response: Omit the ROWID GENERATED ALWAYS | ENCE OR CHANGE CANNOT APPLY TO
| column from the LOAD field specification list and rerun the job. | TABLE SPACE name PARTITION n1:n2
| Explanation: REORG with SHRLEVEL REFERENCE or
| CHANGE cannot be used on table space partitions with
| REORG PENDING restrictive state.
| Severity: 8 (error)
| System Action: The REORG utility job is terminated.
| User Response: Execute REORG with SHRLEVEL NONE | CREATOR Index creator name
| against the partitions in REORG PENDING state to rebalance
| IXNAME Index name
| the partitions and remove the REORG PENDING state.
| CREATOR Table creator name
DSNU280I csect-name - ERROR=X'reason-code' FROM | TBNAME Table name
EDIT ROUTINE procedure-name FOR table-
| PART Partition number
name
| CARDF Number of rows referenced (floating point)
Explanation: The edit routine provided by your installation
has returned an error during the load of a record into the table | FAROFFPOSF Number of rows referenced afar (floating point)
indicated. The reason code is set by the edit routine. | NEAROFFPOSF Number of rows referenced nearby (floating
Severity: 8 (error) | point)
System Action: The LOAD or REORG utility will receive | STATSTIME TIMESTAMP of RUNSTATS update
ABEND04E RC00E40323. | Rows which meet the OFFPOSLIMIT criteria are prefaced with
User Response: Correct any errors in the input data. Ensure | '*'.
that the edit routine provided is correct. The utility can be | Severity: 0 (informational)
restarted or terminated.
| System Action: Processing continues normally
System Programmer Response: Verify that the edit routine
is correct. | User Response: If the TIMESTAMP reported in the
| STATSTIME column is not recent, the OFFPOSLIMIT criteria
| might be evaluated with obsolete statistics.
DSNU281I csect-name RECORD (n) OF TABLE table-name
VIOLATING VALID ROUTINE validproc-name,
ERROR=X'reason-code' | DSNU287I csect-name REORG TABLESPACE
| dbname.tsname INDREFLIMIT SYSTABLEPART
Explanation: The validation exit routine provided by your | ROWS
installation blocked the load of record 'n' into TABLE
'table-name'. The reason-code was set by the exit routine. | Explanation: This is the header message for the
| SYSTABLEPART section of the REORG TABLESPACE
Severity: 4 (warning) | INDREFLIMIT output. This section lists the SYSTABLEPART
System Action: The LOAD utility continues to process the | rows for the table space or table space partition as specified in
following input record. | the REORG TABLESPACE input statement. The fields from
| SYSTABLEPART are:
User Response: Check the error input records against the
error reason code returned from the validation procedure. | DBNAME Database name
Refer to DB2 Utility Guide and Reference for a definition of | TSNAME Table space name
LOAD input field column specifications.
| PART Partition number
System Programmer Response: Verify that the validation
routine is correct. | CARD Number of rows in table space
| FARINDREF Number of rows relocated afar
DSNU282I csect-name UNABLE TO RESTART AT LAST | NEARINDREF Number of rows relocated nearby
CHECKPOINT WITH DDNAME 'dddddddd'
| STATSTIME TIMESTAMP of RUNSTATS update
Explanation: The data set with DDNAME 'dddddddd' is a
concatenated data set and the utility can be restarted only at | Rows which meet the INDREFLIMIT criteria are prefaced with
the beginning of the phase (RESTART PHASE), not at the last | '*'.
checkpoint (RESTART CURRENT). | Severity: 0 (informational)
Severity: 8 | System Action: Processing continues normally
System Action: The utility will issue a system '04E' abend | User Response: If the TIMESTAMP reported in the
with a reason code of '00E40323'. | STATSTIME column is not recent, the INDREFLIMIT criteria
User Response: Change the RESTART option to RESTART | might be evaluated with obsolete statistics.
PHASE and resubmit the job step.
Collect the following diagnostic items listed in Appendix B, | DSNU288I csect-name REORG INDEX dbname.ixname
“Problem determination” on page 1051: 1, 2, 5. | LEAFDISTLIMIT SYSINDEXPART ROWS
| Explanation: This is the header message for the
| DSNU286I csect-name REORG TABLESPACE | SYSINDEXPART section of the REORG INDEX
| dbname.tsname OFFPOSLIMIT SYSINDEXPART | LEAFDISTLIMIT output. This section lists the SYSINDEXPART
| ROWS | rows for the index or index partition as specified in the REORG
| INDEX input statement. The fields from SYSINDEXPART are:
| Explanation: This is the header message for the
| SYSINDEXPART section of the REORG TABLESPACE | CREATOR Index creator name
| OFFPOSLIMIT output. This section lists the SYSINDEXPART | IXNAME Index name
| rows for the table space or table space partition as specified in
| the REORG TABLESPACE input statement. The fields from | PART Partition number
| SYSINDEXPART are:
| LEAFDIST Number of pages between leaf pages multiplied by from LONG VARCHAR to VARCHAR with a specified
| 100 maximum length might help.
| STATSTIME TIMESTAMP of RUNSTATS update Problem Determination: This problem should only occur on
a table space with a 32KB page size. Analyze the requirement
| Rows which meet the LEAFDISTLIMIT criteria are prefaced
for maximum data length in VARCHAR and LONG VARCHAR
| with '*'.
columns to see if a shorter length can be specified. It might be
| Severity: 0 (informational) necessary to remove the SORTDATA keyword from the utility
| System Action: Processing continues normally statement.
| System Action: Utility processing continues. A REORG is Explanation: SHRLEVEL CHANGE was specified for a
| performed if any limits are met. REORG utility job, and the table has a clustering index.
However, the largest possible record in the table space, pre-
fixed by the largest key, produces a composite record that is
DSNU291I MAXIMUM COMPOSITE UNLOAD RECORD too large to be processed by the SORT component. See the
SIZE TOO LARGE FOR SORT. SORTDATA computation of the length under REORG in the DB2 Utility
KEYWORD IS IGNORED. Guide and Reference. If the largest possible composite record
Explanation: The SORTDATA keyword was specified for a to be sorted exceeds 32760 bytes in length, which is the
REORG utility job. However, the largest possible record in the maximum record size for a BSAM data set, REORG cannot
table space, prefixed by the largest key, produces a composite operate if SHRLEVEL CHANGE is specified.
record that is too large to be processed by the SORT compo- Severity: 8 (error)
nent. The SORTDATA keyword is ignored.
System Action: REORG does not execute.
This message is issued by the following CSECT: DSNURFIT
User Response: Execute REORG with SHRLEVEL NONE or
Severity: 0 REFERENCE. If you must use SHRLEVEL CHANGE for the
System Action: Processing continues normally. table space, try reducing the size of either the largest record or
key field by redefining the table. In some cases, changing a
User Response: If you must use SORTDATA for the table
field from LONG VARCHAR to VARCHAR with a specified
space, try reducing the size of either the largest record or key
maximum length might help.
field by redefining the table. In some cases, changing a field
Problem Determination: This problem should only occur on 2 In the switch phase, it renames the shadow data set
a table space with a 32KB page size. Analyze the requirement from the shadow name to the original name
for maximum data length in VARCHAR and LONG VARCHAR
3 In the utilterm phase, it renames the original data set
columns to see whether a shorter length can be specified.
from the temporary name to the shadow name (for user-
managed data sets). It deletes the temporary name for
DSNU295I csect-name - IN UTILTERM PHASE OF REORG DB2-managed data sets.
WITH SHRLEVEL REFERENCE OR CHANGE,
The context code indicates the specific type of error:
DATA SET name COULD NOT BE DELETED,
DFP REASON CODE = rrrrrrrr | 1
Explanation: For the area (table space or partition) being | During the switch phase of REORG, on rename 1,
reorganized, REORG with SHRLEVEL REFERENCE or | REORG detected that a data set with an original name
CHANGE unloads data from the original data sets and reloads | does not exist. This error condition can arise for a
data into shadow data sets. REORG then exchanges the | DB2-managed or user-managed data set.
names of the original and shadow data sets. The original name
| During the switch phase restart or a -TERM UTILITY
of a data set is in the form
| during the switch phase, on rename 4, REORG detected
“catname.DSNDBx.dbname.psname.I0001.Annn.” The shadow
| that a data set with an original name does not exist. This
name of a data set is in the form
| error condition can arise for a DB2-managed or user-
“catname.DSNDBx.dbname.psname.S0001.Annn.” REORG
| managed data set.
uses such data sets for indexes as well as data.
| 2
If a data set is DB2-managed, the utilterm phase of REORG
deletes the shadow data set, which was the original data set. | During the switch phase of REORG, on rename 2,
This message indicates that the shadow data set name could | REORG detected that a data set with a shadow name
not be deleted. rrrrrrrr indicates the DFP reason code. | does not exist. This error condition can arise for a
| DB2-managed or user-managed data set.
Severity: 4 (warning)
| During the switch phase restart or a -TERM UTILITY
System Action: REORG continues execution, but it does not
| during the switch phase, on rename 5, REORG detected
delete the specified data set.
| that a data set with a shadow name does not exist. This
User Response: Try to delete the data set. If you cannot | error condition can arise for a DB2-managed or user-
delete it, notify the system programmer. | managed data set.
System Programmer Response: Look up the DFP reason 3
code, and try to determine why the data set could not be
During the utilterm phase of REORG, on rename 3,
deleted.
REORG detected that a data set with a temporary name
does not exist. This error condition can arise for a user-
DSNU296I csect-name - IN REORG WITH SHRLEVEL REF- managed data set.
ERENCE OR CHANGE, DATA SET name DOES
NOT EXIST, CONTEXT=c
# 7 During initialization of REORG, REORG detected that the
# shadow data set did not exist. This error can only occur
Explanation: For the area (table space or partition) being # with a table space, index, or partition that is stored in
reorganized, REORG with SHRLEVEL REFERENCE or # user-managed data sets.
CHANGE unloads data from the original data sets and reloads
Severity: 4 (warning) or 8 (error)
data into shadow data sets. REORG then exchanges the
names of the original and shadow data sets, using temporary System Action: For context codes 1 or 2, utility processing is
names during the renaming. The original name of a data set is abended. ABEND reason code 00E4031B is issued. The object
in the form “catname.DSNDBx.dbname.psname.I0001.Annn.” is left in a recovery pending state. For context code 3, the
The shadow name of a data set is in the form utility job step that caused the function to be requested con-
“catname.DSNDBx.dbname.psname.S0001.Annn.” The tempo- tinues with no renaming. The utility job is placed in the stopped
rary name of a data set is in the form state. The object is left in a recovery pending state, and a
“catname.DSNDBx.dbname.psname.T0001.Annn.” REORG message will be issued. For context codes 1, 2, or 3, the fol-
uses such data sets for indexes as well as data. lowing messages are issued:
During its initialization, REORG cannot execute if: If the data set is part of a nonpartitioned table space, the
object is the table space, and the message is DSNU562I.
data sets with the temporary names already exist
If the data set is part of a partition of a table space, the
DB2-managed data sets with the shadow names already
object is the partition, and the message is DSNU560I.
exist
If the data set is part of a nonpartitioned index, the object
user-managed data sets with the shadow names do not
is the index, and the message is DSNU557I.
already exist
If the data set is part of a partition of a partitioned index,
To exchange the names of the original and shadow data sets,
the object is the partition of the index, and the message is
REORG renames in the following ways:
DSNU559I.
1 In the switch phase, it renames the original data set from
User Response: For context codes 1 or 2, execute the
the original name to the temporary name
RECOVER TABLESPACE or RECOVER or REBUILD utilities.
For context code 3 do nothing.
| DSNU297I csect-name COMPOSITE RECORD SIZE TOO DSNU300I csect-name (RE)LOAD PHASE COMPLETE,
| LARGE FOR table-name ELAPSED TIME = hh/mm/ss
| Explanation: The size of the record that would be unloaded Explanation: The reload phase of the REORG or LOAD
| for REORG DISCARD or REORG UNLOAD EXTERNAL is utility has completed normally. The elapsed time for the exe-
| greater than the largest allowed data set logical record length cution was 'hh' hours, 'mm' minutes, and 'ss' seconds.
| (32760 bytes).
| Severity: 8 (error) DSNU301I csect-name - KEYWORD 'SORTDATA' SPECI-
FIED AND/OR KEYWORD 'NOSYSREC' WAS
| System Action: The utility will terminate with a return code of
SPECIFIED BUT NO CLUSTERINGINDEX
| 8.
EXISTS, KEYWORD IS IGNORED
| User Response: If you are attempting to discard records
Explanation: The 'SORTDATA' keyword was specified or
| during REORG, you will have to use SQL to DELETE the
the 'NOSYSREC' keyword was specified for a REORG utility
| records prior to the REORG. If you are attempting to unload
job, or implied by the use of SHRLEVEL CHANGE. But it was
| records in an external format, you will have to use an applica-
found that no clustering index existed for the table space being
| tion.
reorganized. The keyword is ignored and processing continues
| Problem Determination: This problem will most likely occur normally.
| only on a table with BLOB, CLOB, or DBCLOB columns.
Severity: 0
System Action: Processing continues normally.
DSNU298I csect-name - RESTART NOT ALLOWED IN
phase-name PHASE OF REORG UTILITY WITH User Response: If a clustering index was expected to be
SHRLEVEL CHANGE found for the table space being reorganized, determine the
reason the index could not be found.
Explanation: An attempt was made to restart the REORG
utility with SHRLEVEL CHANGE in the phase-name phase. Problem Determination: Probably a user error. Determine if
DB2 does not allow you to restart the REORG utility with a cluster index should be defined on one of the tables in the
SHRLEVEL CHANGE in that phase. table space being reorganized. If so, define the cluster index;
otherwise, remove the 'SORTDATA' and/or 'NOSYSREC'
Severity: 8 (error)
keyword from the utility statement if necessary.
System Action: Utility processing abends. Abend reason
code 00E40018 or 00E40310 might be issued.
DSNU302I csect-name (RE)LOAD PHASE STATISTICS.
User Response: Issue the -TERM UTILITY command to ter- NUMBER OF INPUT RECORDS PROCESSED =
minate the utility job; then rerun the job without the RESTART nnnnnnnn
parameter.
Explanation: This message is issued at the normal com-
System Programmer Response: If necessary, take actions pletion of the RELOAD phase of the REORG utility and the
to prevent access to the table space or partition before termi- LOAD phase of the LOAD utility.
nating the utility.
It indicates the number of records processed from the input
record data set (that is, the data set identified either by the
DSNU299I csect-name - COLUMN 'column-name' JCL DD statement identified in the UNLDDN option for
# REQUIRES TRANSLATION FROM CCSID ccsid REORG or the INDDN option for LOAD).
TO ccsid
Severity: 0 (informational)
Explanation: The LOAD utility was asked to translate an
System Action: The LOAD or REORG utility completes the
input value to a different coded character set, but the particular
phase in which the records are (re-)introduced into the DB2
translation is not described in the SYSSTRINGS catalog table
database. This is also the last phase of the utility unless there
# nor could translation be externalized. The first ccsid identifies
are some indexes that need to be built and/or updated.
the coded character set of the input value, and the second
ccsid identifies the coded character set to which it must be User Response: The user can verify that the number of
translated. records (re-)loaded is consistent with expectations. For
example, in REORG it matches the total number of records
Severity: 8 (error)
unloaded. For LOAD, it matches the number of records sub-
System Action: Further utility processing is terminated. mitted minus the number of records reported rejected.
User Response: If the CCSIDs are correct, the only correc-
tive action is to provide for the translation by inserting a row DSNU303I csect-name (RE)LOAD PHASE STATISTICS.
into SYSSTRINGS. For an SBCS translation, the row must NUMBER OF RECORDS= nnnnnn FOR TABLE
contain a translate table or the name of a user-provided trans- table-name PART=part-number
late procedure. For a DBCS translation, the row must contain
Explanation: This message is issued at the normal com-
the name of a user-provided translate procedure.
pletion of the RELOAD phase of the REORG utility and the
If the CCSIDs are incorrect, correct the CCSID specification on LOAD phase of the LOAD utility.
the LOAD statement and resubmit the job.
It indicates the number of records loaded into PART
'part-number' of 'table-name' from the source record data
set. This data set is identified by the JCL DD statement in the
UNLDDN option for REORG, or the INDDN option for LOAD.
Guide and Reference for a definition of LOAD input field mine why the number of records discarded exceeds expecta-
column specifications. If FORMAT UNLOAD was specified on tions.
the load statement, the WHEN specifications are built inter-
Problem Determination: See user response.
nally. This ensures that the rows are loaded back into the
same object from which they were unloaded. Refer to DB2
Utility Guide and Reference for a description of the FORMAT DSNU318I csect-name RECORD 'n' WILL BE DIS-
UNLOAD option of LOAD. CARDED DUE TO INVALID field-name COLUMN
SPECIFICATION FOR table-name
DSNU315I csect-name RECORD 'n' WILL BE DIS- Explanation: The load utility calculated the location of an
CARDED DUE TO UNEXPECTED ERROR input data value using the field specifications supplied and
VARCHAR length fields present within the input data set
Explanation: The LOAD of input data set record number 'n'
record 'n'. The calculated position for the field was deter-
was attempted but was not successful due to an unexpected
mined to be incorrect.
error.
Severity: 4 (warning)
Severity: 8 (error)
System Action: The input data set record number is noted
System Action: If the error was caused because a resource
and will be discarded in the DISCARD phase. The LOAD utility
was not available, a DSNT500I message will be issued.
continues to process additional records in the input data set.
The utility step will be abended with a system X'04E' and an
User Response: Following the completion of the current
abend reason code of '00E40318'. If a DSNT500I message is
LOAD utility invocation, examine the record in the DISCARDS
not issued, an SVC dump will be requested. A SYSABEND
data set. Correct the error in the discarded input data, if one
dump of batch storage is also requested.
exists. Otherwise, correct the input field specification. Submit a
User Response: If a DSNT500I message was issued, refer RESUME(YES) LOAD invocation, which uses the DISCARDS
to the description under that message number. If the unavail- data set and the verified LOAD utility statement and field spec-
able resource becomes available, the utility step is restartable. ifications. Refer to DB2 Utility Guide and Reference for a defi-
nition of LOAD input field column specifications.
If there is no DSNT500I message, the error is an unexpected
internal error and you should consult your system programmer.
DSNU319I csect-name RESUME(YES) WAS SPECIFIED
Operator Response: An operator with SYSOPR authority
FOR EMPTY PARTITION nn. RESUME(NO) IS
can issue a TERM UTIL to free any held resources if that is
ASSUMED
necessary.
Explanation: This message is issued in response to a LOAD
System Programmer Response: Refer to DB2 Command
utility request containing a partition level RESUME(YES)
Reference for information about the TERM UTIL command. If
option. The RESUME(YES) option implies that the specified
you suspect an error in DB2, refer to Section 3 of DB2 Diag-
partition 'nn' is populated, but in this case it was not. The
nosis Guide and Reference for information on identifying and
message alerts the invoker to this fact, and continues as if
reporting the problem.
RESUME(YES) was not specified.
Severity: 4 (warning)
DSNU316I csect-name - UNABLE TO DRAIN WRITERS
FROM object-type object-name PART part-num System Action: The LOAD utility, in attempting to honor the
RESUME(YES), found the partition was empty, ignored the
Explanation: The utility was unable to drain the class of
option, and continued as if RESUME(NO) was specified.
writers from a partition of an object because the resource was
unavailable. The partition is identified by object type (object- User Response: The user is alerted to the fact that the
type), object name (object-name), and partition number requested partition was empty rather than populated as the
(part-num). Message DSNT500I tells why the resource was RESUME LOAD option implied.
unavailable.
Severity: 8 (error) DSNU320I csect-name RESUME(YES) WAS SPECIFIED
FOR AN EMPTY TABLESPACE
System Action: Utility processing terminates.
Explanation: RESUME(YES) was specified within the LOAD
Problem Determination: Refer to message DSNT500I.
utility statement. However, the RESUME(YES) option implies
that the specified table space is populated.
DSNU317I csect-name DISCARD LIMIT HAS BEEN
Severity: 4 (warning)
REACHED
System Action: Processing continues. The LOAD utility, in
Explanation: The DISCARDS limit specified on the LOAD
attempting to honor the RESUME(YES), found the table space
utility statement was reached.
empty, so ignored the option, and proceeded as if
Severity: 8 (error) RESUME(NO) was specified. If this table is currently defined
System Action: Processing abends to allow users to as COMPRESS YES, a dictionary is not built.
increase the discard limit and restart the utility. User Response: The user is alerted to the fact that the
User Response: Increase the discard limit and restart the requested table space was empty rather than populated as the
utility. Otherwise -TERM the utility. Review the file of input RESUME LOAD option implied. Use the RESUME(NO) option
records provided to LOAD and review table definitions to deter- if you want a compression dictionary built.
DSNU328I csect-name CANNOT PROCESS THE DSNU331I csect-name FIELD LISTS ARE NOT
NON-EMPTY PARTITION nn WITH ALLOWED WITH FORMAT KEYWORD
RESUME(NO). PROCESSING TERMINATES
Explanation: LOAD field specifications are incompatible with
Explanation: The partition level RESUME keyword either the FORMAT option.
specified or defaulted to a value of NO, which requires the par-
Severity: 8 (error)
tition to be empty. However, the LOAD command named parti-
tion 'nn', which was not empty. System Action: Further utility processing is terminated.
Severity: 8 (error) User Response: Determine whether the field specifications or
the FORMAT option is correct. Eliminate whichever is incor-
System Action: Further utility processing is terminated.
rect, and resubmit the job. Refer to DB2 Utility Guide and Ref-
User Response: Determine why the assumption of an empty erence for a definition of the LOAD FORMAT option
partition was wrong. This may require consultation with the constraints.
system programmer. Either remove the current partition's rows
using an SQL DELETE, or change the LOAD option to DSNU332I csect-name - INPUT VALUE X'hex-data' OUT
RESUME YES. Resubmit the job. Refer to DB2 Utility Guide OF RANGE FOR COLUMN 'column-name'
and Reference for a description of the partition-level RESUME
option of LOAD. Explanation: The LOAD utility detected a numeric value
outside of the range of permissible values for the column in the
System Programmer Response: Determine whether the par- DB2 table. A loss of significant digits results if the LOAD
tition should be empty. If it should, use SQL DELETE to empty process continues. The input data type is SMALL INTEGER,
it. Otherwise, instruct the user to use the RESUME(YES) INTEGER, DECIMAL, or FLOAT and is displayed in
option for that partition. hexadecimal.
Severity: 8 (error)
DSNU329I csect-name - FIELD field-name IS NOT
DEFAULTABLE System Action: Further utility processing is terminated
unless DISCARD processing is active.
Explanation: You specified a NULLIF or DEFAULTIF field
specification option for: User Response: Correct the input data and resubmit the job.
Make sure that the 'field specification' on the LOAD statement
A column defined to be not nullable or not defaultable
is consistent with the table definition and the input data. This
A field with no column counterpart.
might mean changing:
Severity: 8 (error)
The table definition
System Action: The utility abends to allow restart. The LOAD statement
The input data.
User Response: Determine whether the field specification
refers to the correct column. If it does, remove the NULLIF Refer to DB2 Utility Guide and Reference to determine input
option from the field specification, and restart the job. Alterna- constraints. Refer to Section 2 (Volume 1) of DB2 Adminis-
tively, TERM the utility. Refer to DB2 Utility Guide and Refer- tration Guide for information on resubmitting a partially com-
ence for LOAD NULLIF option constraints. pleted LOAD step.
DSNU330I csect-name TABLESPACE IS NOT EMPTY DSNU333I csect-name - INPUT VALUE 'ebcdic-data'
OUT OF RANGE FOR COLUMN
Explanation: The RESUME keyword either specified or
'column-name'
defaulted to a value of 'NO', which requires an empty table
space. However, the LOAD command named a table space Explanation: The LOAD utility detected a numeric value
that was not empty. outside the range of permissible values for the column in the
DB2 table. A loss of significant digits results if the LOAD
Severity: 8 (error)
process continues. The input data type is INTEGER
System Action: Further utility processing is terminated. EXTERNAL, DECIMAL EXTERNAL, or FLOAT EXTERNAL.
User Response: Determine why the assumption of an empty Severity: 8 (error)
table space was wrong. This may require consultation with the
System Action: Further utility processing is terminated.
system programmer. Either remove the current table(s) rows
using an SQL DELETE, or change the LOAD option to User Response: Correct the input data and resubmit the job.
RESUME YES. Resubmit the job. Refer to DB2 Utility Guide Make sure that the 'field specification' on the LOAD statement
and Reference for a definition of the RESUME option of LOAD. is consistent with the table definition and the input data. This
might mean changing:
System Programmer Response: If the table space is used
by more than one application, determine whether the table The table definition
space should be empty. If it should be, use SQL DELETE to The LOAD statement
make it empty. Otherwise, instruct the user to use the The input data.
RESUME(YES) option.
Refer to DB2 Utility Guide and Reference to determine input
constraints. Refer to Section 2 (Volume 1) of DB2 Adminis-
tration Guide for information on resubmitting a partially com-
pleted LOAD step.
User Response: When discard processing is specified, fol- nonunique keys are correct, DROP and recreate the index as
lowing the completion of the current LOAD utility invocation, nonunique. If the records with duplicate keys should not be in
examine the record in the DISCARDS data set. Correct the the table, use REPAIR DELETE to remove the erroneous
error in the discarded input data, and submit a RESUME(YES) rows. Use the RID values provided in this message as input to
LOAD invocation with the DISCARDS data set as the input the REPAIR utility. After the duplicate data rows are removed
data set. When discard processing is not specified: correct the or the unique index has been dropped, issue the -DISPLAY
error in the input data set and rerun the job. DATABASE command with RESTRICT against the target data-
System Programmer Response: If you suspect an error in
| base. Use the REBUILD INDEX utility to recover any indexes
that are in the REBUILD pending state. CHECK INDEX can be
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
run to verify that the data and indexes are consistent.
for information on identifying and reporting the problem.
Problem Determination: Use REPAIR LOCATE RID DUMP
Problem Determination: Collect the following diagnostic
to view the records with duplicate keys. SQLSELECT may fail
items: Appendix B, “Problem determination” on page 1051: 1,
due to the inconsistent index. Use CHECK INDEX to check the
2, 5.
validity of the index.
Severity: 4 (warning) If this message was issued for -DISPLAY UTILITY, the system
continues processing. If an -ALTER UTILITY command is then
System Action: Processing continues. Index entries are not executed, a subsequent -DISPLAY UTILITY command would
created for either record. Both records will be deleted in a sub- reflect the results (if any) of the -ALTER UTILITY command.
sequent phase of processing.
DSNU349I csect-name BUILD PHASE STATISTICS. DSNU353I csect-name RECORD 'n' WILL BE DIS-
NUMBER OF KEYS = nnnnnnnn FOR index- CARDED DUE TO CHECK CONSTRAINT
name constraint-name VIOLATION ON TABLE table-
name
| Explanation: This message is issued by the BUILD phase of
| the LOAD, REORG or REBUILD INDEX utility. The message is Explanation: The discarded record violates the check con-
| repeated for each index built by the LOAD, REORG or straint named constraint-name defined on table table-name.
| REBUILD INDEX utility. It indicates the total number of index The record is not loaded and is discarded during the DISCARD
| key entries used to build the indicated index. phase.
System Action: This message indicates the number of index System Action: The LOAD utility continues to process addi-
key entries that were submitted to the DB2 data manager to tional records in the input data set.
build the indicated index. Both unique and nonunique key User Response: After the LOAD utility completes, examine
entries are counted. Rejected key entries are not counted. the record in the DISCARDS data set. Correct the error in the
User Response: The user can verify that the number discarded input data. Submit a RESUME(YES) LOAD job with
reported is consistent with expectations. For example, the the DISCARDS data set as the input data set.
user can determine if it matches the number of records loaded
for the table indexed by the indicated index. DSNU354I csect-name RECORD 'n' VIOLATES CHECK
CONSTRAINT constraint-name ON TABLE table-
DSNU350I csect-name - EXISTING RECORDS DELETED name
FROM TABLESPACE Explanation: The LOAD utility cannot load record n into table
Explanation: A LOAD utility execution, in which REPLACE table-name because the check constraint constraint-name
was specified, has deleted all records from the specified table would be violated. The record is not loaded.
space. Severity: 8 (error)
Severity: 0 (informational) System Action: Processing terminates. An abend is
System Action: Processing continues. requested so that the LOAD can be restarted after the error
condition is corrected.
DSNU351I csect-name - 'reorg-option' OPTION IS NOT User Response: Find the failing record in the input data set,
APPLICABLE FOR A DB2 CATALOG OR correct the condition that caused the check constraint to be
DIRECTORY TABLE SPACE. THE OPTION IS violated, and restart the LOAD utility. You can optionally
IGNORED. include a SYSDISC DD statement in the JCL input to hold
copies of records that are not loaded.
Explanation: The identified option does not apply when reor-
ganizing one of the following DB2 catalog or directory table
spaces: DSNU355I csect-name INDEXVAL PHASE STATISTICS -
nnn DUPLICATE KEY ERRORS CORRECTED
DSNDB06.SYSDBASE BY DELETING rrr DATA ROWS
DSNDB06.SYSDBAUT
DSNDB06.SYSGROUP Explanation: This message reports the results of the
DSNDB06.SYSPLAN INDEXVAL phase of the LOAD utility. Data rows which were
DSNDB06.SYSVIEWS added during the LOAD or RELOAD phase of this LOAD utility
DSNDB01.DBD01 invocation have been deleted because they caused unique
index violations in the BUILD phase. A total of 'rrr' data rows
These table spaces are processed differently than other table were deleted to correct 'nnn' unique index violations.
spaces and, consequently, do not make use of the specified
reorg-option. Unique index violations are counted in one of two ways. An
input data set record which has a value for a uniquely indexed
Severity: 4 (warning) column that duplicates a value that existed in the index prior to
the LOAD job is counted as one duplicate key error. Two input
data set records which have like values for a uniquely indexed
DSNU359I KEYWORD 'SORTKEYS' SPECIFIED BUT NO
column are counted as two unique index errors (that is, each
INDEX OR FOREIGN KEYS EXIST, KEYWORD
of the two input data set records is in error).
IS IGNORED
Severity: 4 (warning)
Explanation: The 'SORTKEYS' keyword was specified for a
System Action: Processing continues. LOAD or REORG utility job; however, it was found that no
User Response: Compare the number of duplicate key errors index and no foreign keys were defined for any of the tables
corrected in the INDEXVAL phase to the number of duplicate being loaded or reorganized. The keyword is ignored and proc-
key errors detected in the BUILD phase (reported by message essing continues normally.
DSNU343I). If the counts are unequal, notify the system pro- Severity: 0 (informational)
grammer.
System Action: Processing continues normally.
If the counts are equal, following the LOAD utility execution,
User Response: If an index or foreign keys were expected to
examine the discards file or the LOAD error summary to deter-
be found for the table or tables being loaded or reorganized,
mine which input data set records caused the unique index vio-
determine the reason the index or foreign keys could not be
lations. Revise the input records so they will not introduce
found.
duplicate values into unique indexes and reapply the input
records to the table space. Alternatively, if appropriate, make Problem Determination: Probably a user error. Determine if
the index nonunique and reapply the rejected records to the an index should be defined on any of the tables in the table
table space. space, or if foreign keys should be defined. If so, define the
index or foreign keys; otherwise, remove the 'SORTKEYS'
System Programmer Response: If you suspect an error in
keyword from the utility statement if necessary.
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
for information on identifying and reporting the problem.
DSNU360I csect-name - IN REORG WITH SHRLEVEL REF-
Problem Determination: Collect the following diagnostic
ERENCE OR CHANGE, DATA SET name
items listed in Appendix B, “Problem determination” on
EXISTS, CONTEXT=c
page 1051: 1, 5.
Explanation: For the area (table space or partition) being
reorganized, REORG with SHRLEVEL REFERENCE or
DSNU356I csect-name INDEXVAL PHASE COMPLETE,
CHANGE unloads data from the original data sets and reloads
ELAPSED TIME = hh/mm/ss
data into shadow data sets. REORG then exchanges the
Explanation: The INDEXVAL phase of the LOAD utility has names of the original and shadow data sets, using temporary
completed normally. The elapsed time for the execution was names during the renaming. The original name of a data set is
'hh' hours, 'mm' minutes, and 'ss' seconds. in the form “catname.DSNDBx.dbname.psname.I0001.Annn.”
Severity: 0 (informational) The shadow name of a data set is in the form
“catname.DSNDBx.dbname.psname.S0001.Annn.” The tempo-
rary name of a data set is in the form
DSNU357I csect-name - 'LOG NO' OPTION REQUIRED “catname.DSNDBx.dbname.psname.T0001.Annn.” REORG
FOR DB2 CATALOG AND DIRECTORY TABLE uses such data sets for indexes as well as data.
SPACES
During its initialization, REORG cannot execute if:
Explanation: The LOG NO option must be specified when
reorganizing a DB2 catalog or directory table space. data sets with the temporary names already exist
Severity: 8 (error) DB2-managed data sets with the shadow names already
exist
System Action: Processing terminates.
user-managed data sets with the shadow names do not
User Response: Add the LOG NO option to the utility input already exist
statement.
To exchange the names of the original and shadow data sets,
REORG performs the following renaming:
DSNU358I csect-name - 'UNLOAD ONLY' OPTION NOT
VALID FOR DB2 CATALOG OR DIRECTORY 1 In the switch phase, it renames the original data set from
TABLE SPACE the original name to the temporary name
Explanation: The UNLOAD ONLY option is not permitted for 2 In the switch phase, it renames the shadow data set
DB2 catalog or directory table spaces. from the shadow name to the original name
5 The shadow data set from the original name to the User Response: For context code 1 or 2, you can choose
shadow name between these actions:
6 The original data set from the temporary name to the ori- Delete the data set; then RESTART the utility.
ginal name
TERM the utility. Delete the data set before trying to
The context code indicates the specific type of error: execute REORG again with SHRLEVEL REFERENCE or
CHANGE.
1 During the switch phase of REORG, on rename 1,
REORG detected that a data set with a temporary name For context code 3, if you want to perform the renaming, delete
already exists. This error condition can arise for a the data set with the shadow name and then perform the
DB2-managed or user-managed data set. renaming.
2 During the switch phase of REORG, on rename 2, | For context code 4, 5, or 6, execute the RECOVER or
REORG detected that a data set with a original name | REBUILD INDEX utility; then delete the shadow and temporary
already exists. This error condition can arise for a | data sets (if they still exist).
DB2-managed or user-managed data set.
For context code 8, delete the data set and then execute
3 During the utilterm phase of REORG, on rename 3, REORG.
REORG detected that a data set with a shadow name
already exists. This error condition can arise for a user- DSNU361I csect-name FOREIGN KEY HAS NO PRIMARY
managed data set. KEY FOR RELATIONSHIP=r1 INPUT RECORD
4 During switch phase restart or a -TERM UTILITY during NUMBER=nnnn, RID=X'rrrr'
the switch phase, on rename 4 (while reverting back to Explanation: Input record 'nnnn' caused a row to be loaded
the original name), -TERM UTILITY detected that a data into table 'table' at RID 'rrrr' with no primary key for the
set with a temporary name already exists. This error con- relationship with the name 'r1'.
dition can arise for a DB2-managed or user-managed
data set. Severity: 4 (warning)
5 During switch phase restart or a -TERM UTILITY during System Action: Processing continues.
the switch phase, on rename 5 (while reverting back to User Response: None required. The constraint violation
the original name), -TERM UTILITY detected that a data described will be rectified later in processing.
set with a shadow name already exists. This error condi-
tion can arise for a DB2-managed or user-managed data
set. DSNU362I csect-name - IN REORG WITH SHRLEVEL
CHANGE, LOG HAS BECOME SHORT, BUT
6 During switch phase restart or a -TERM UTILITY during MAXRO IS DEFER, MEMBER=member-name,
the switch phase, on rename 6 (while reverting back to UTILID=utilid
the original name), -TERM UTILITY detected that a data
set with a original name already exists. This error condi- Explanation: In execution of the REORG utility with
tion can arise for a DB2-managed or user-managed data SHRLEVEL CHANGE, if the value of MAXRO is DEFER, and
set. the actual time for an iteration and the estimated time for the
next iteration are both less than 5 seconds, then DB2 adds a 5
8 During initialization of REORG, REORG detected that a second pause to the next iteration. This pause limits the
data set with a temporary name already exists. This error utility's consumption of processor time.
condition can arise for a DB2-managed or user-managed
data set. Within an execution of REORG, the first time that this situation
occurs, DB2 produces this message, which announces the
Severity: 8 (error) pause. On all later occurrences of this situation, DB2 still adds
System Action: For context code 1, or 2, the utility job step the pause, but DB2 sends the message only if DB2 has not
that caused the function to be requested abends with code sent the message (for this execution of REORG) within the
00E4031B. The utility job is placed in the stopped state. past 30 minutes. This is a WTO message; it is sent to the
console, but it is not an action message. It is not sent to
For context code 3, the utility job step that caused the function SYSPRINT.
to be requested continues without performing this renaming.
In a data sharing environment, member-name identifies the
For context code 4, 5, or 6, the object is left in a recovery DB2 member. In a non-data-sharing environment, member-
pending state, -TERM UTILITY continues to undo renaming, name is blank. utilid identifies the utility job step.
and a message is issued. The objects and messages are as
follows: Severity: 0 (informational)
If the data set is part of a nonpartitioned table space, the System Action: REORG continues execution, with a 5
object is the table space, and the message is DSNU562I. second pause. If the conditions in the explanation above con-
tinue to be true, DB2 will continue adding 5 second pauses.
If the data set is part of a partition of a table space, the
object is the partition, and the message is DSNU560I. User Response: If you have been planning to wait for an
appropriate time to execute the -ALTER UTILITY command to
If the data set is part of a nonpartitioned index, the object choose the value of MAXRO and thus cause REORG to finish,
is the index, and the message is DSNU557I. now might be an appropriate time. However, you are not
If the data set is part of a partition of a partitioned index, required to take any action.
the object is the partition of the index, and the message is Operator Response: If you have been planning to wait for an
DSNU559I. appropriate time to execute the -ALTER UTILITY command to
For context code 8, REORG does not execute. increase the value of MAXRO and thus cause REORG to
finish, now might be an appropriate time. However, you are not input record which does not have a primary key value. The
required to take any action. report phase will report all secondary errors and indicate the
primary error record which caused this record to be deleted.
DSNU363I csect-name - ENFORCE PHASE STATISTICS - The relevant parent table can be found by querying the
RELATIONSHIP r1 FOREIGN KEYS SYSIBM.SYSRELS catalog table. The relevant columns can be
CHECKED=n CONSTRAINT VIOLATIONS found by querying the SYSIBM.SYSFOREIGNKEYS catalog
ENCOUNTERED=m table.
Explanation: This message provides statistics for the enforce
phase of the load utility. For relationship 'r1', the number of DSNU368I csect-name - REORG MAPPING TABLE HAS
foreign keys checked is 'n'. The number of constraint vio- WRONG INDEX
lations found is 'm'.
Explanation: A mapping table was specified for a utility job
Severity: 0 (informational) executing REORG with SHRLEVEL CHANGE. However, the
table has the wrong index. This message can arise for any
System Action: Processing continues.
parameters of CREATE INDEX that are missing from, added
to, or different from the CREATE INDEX statement that
DSNU365I csect-name - USER auth-id DOES NOT HAVE appears for the mapping table in the REORG section of DB2
AUTHORITY ON REORG MAPPING TABLE Utility Guide and Reference. It can also arise for the existence
Explanation: The REORG utility was run with SHRLEVEL of any other indexes on the mapping table.
CHANGE and a mapping table, but user auth-id does not have Severity: 8 (error)
authority to delete, insert, select, and update in the mapping
table specified in the utility statement. System Action: REORG does not execute.
Severity: 8 (error) User Response: Create a mapping table with the correct
index, and no other indexes, as specified under REORG in
System Action: Further utility processing is terminated. DB2 Utility Guide and Reference. Execute REORG.
User Response: Obtain authorization to delete, insert, select,
and update in the mapping table specified in the utility state- DSNU369I csect-name - ENFORCE PHASE COMPLETE,
ment. ELAPSED TIME = hh/mm/ss
Explanation: The ENFORCE phase of the LOAD utility has
DSNU366I csect-name - REORG MAPPING TABLE HAS completed normally. The elapsed time for the execution was
WRONG COLUMNS 'hh' hours, 'mm' minutes, and 'ss' seconds.
Explanation: A mapping table was specified for a utility job Severity: 0 (informational)
executing REORG with SHRLEVEL CHANGE. However, the
table has the wrong set of columns. This message can arise
DSNU370I csect-name - THE LOCAL FORMAT OPTION
for any parameters of CREATE TABLE that are missing from,
HAS BEEN USED WITH A DATE OR TIME AND
added to, or different from the CREATE TABLE statement that
NO LOCAL EXIT HAS BEEN INSTALLED.
appears for the mapping table in the REORG section of DB2
Utility Guide and Reference. Explanation: The Installation Application Programming
Defaults Panel indicated that an exit for date or time was sup-
Severity: 8 (error)
plied, but the exit supplied by DB2 was not replaced.
System Action: REORG does not execute.
Severity: 8 (error)
User Response: Create a mapping table with the correct set
System Action: The statement cannot be executed.
of columns, and no other columns, as specified under REORG
in DB2 Utility Guide and Reference. Execute REORG. User Response: Contact the system programmer about
installation of the date or time exit.
DSNU367I csect-name - ENFORCE PHASE STATISTICS - System Programmer Response: To replace the
n ROWS DELETED FROM TABLE t DB2-supplied exit routine, an SMP USERMOD must be
Explanation: This message reports the results of the applied. If an SMP USERMOD is undesirable, the replacement
ENFORCE phase of the LOAD utility. Data rows added during module may be linked into a user library either included in the
the RELOAD phase of the LOAD utility have been deleted MVS LINKLIST or concatenated to the STEPLIB in the started
because they contained foreign keys which did not have a cor- task JCL for ssnmDBM1 (ssnm is the subsystem name).
responding primary key. A total of 'n' data rows were deleted
from table 't'. DSNU371I csect-name - REORG MAPPING TABLE'S
TABLE SPACE MUST BE SEGMENTED
Primary errors may cascade and remove additional records.
The count is the sum of both primary and secondary constraint Explanation: REORG with SHRLEVEL CHANGE specified a
violations. mapping table for a table space that is not segmented. The
table space that contains the mapping table must be seg-
Severity: 4 (warning)
mented.
System Action: Processing continues.
Severity: 8 (error)
User Response: Determine why no primary key exists for the
System Action: REORG does not execute.
deleted record.
User Response: Specify a mapping table that is in a table
Problem Determination: All primary errors are accompanied
space that is segmented.
by a DSNU361I message which identifies the relationship and
DSNU372I csect-name - CANNOT REORGANIZE REORG DSNU375I csect-name DISCARD PHASE STATISTICS -
MAPPING TABLE'S TABLE SPACE nnn INPUT DATA SET RECORDS DISCARDED
Explanation: REORG with SHRLEVEL CHANGE specified a Explanation: Input data set records were rejected by the
mapping table that resides in the table space that is being LOAD utility for one or several reasons. The rejected records
reorganized. The table space that contains the mapping table have been placed in a discards data set. The number of
must not be the table space that is being reorganized. records rejected is 'nnn'. Message DSNU399I summarizes
the errors causing the records to be rejected.
Severity: 8 (error)
Severity: 4 (warning)
System Action: REORG does not execute.
System Action: Processing continues.
User Response: Specify a mapping table that is not in the
table space that is being reorganized. User Response: Examine the LOAD error summary and
decide which of the discarded records, if any, should be cor-
DSNU373I csect-name - IN -ALTER UTILITY OR REORG rected and reapplied to the table space.
WITH SHRLEVEL REFERENCE OR CHANGE,
DEADLINE HAS ALREADY OCCURRED, DSNU376I csect-name DISCARD PHASE COMPLETE,
CONTEXT=c ELAPSED TIME = hh/mm/ss
Explanation: If a deadline is specified in the -ALTER Explanation: The DISCARD phase of the LOAD utility has
UTILITY command or the REORG utility with SHRLEVEL REF- completed normally. The elapsed time for the execution was
ERENCE or CHANGE, the deadline cannot occur before the 'hh' hours, 'mm' minutes, and 'ss' seconds.
time of execution of the -ALTER UTILITY or REORG that
Severity: 0 (informational)
specified the deadline. Context codes are:
1 The error occurred on -ALTER UTILITY. DSNU377I csect-name - IN REORG WITH SHRLEVEL
2 The error occurred on REORG. CHANGE, THE LOG IS BECOMING LONG,
MEMBER=member-name, UTILID=utilid
Severity: 8 (error)
Explanation: During log processing for REORG with
System Action: -ALTER UTILITY or REORG does not
SHRLEVEL CHANGE, the number of log records that the next
execute.
iteration will process is not sufficiently lower than the number
User Response: Execute -ALTER UTILITY or REORG with that the previous iterations processed. This situation means
no deadline or with a deadline that has not already occurred. If that during reorganization, the log is not being read quickly
you want to terminate an execution of REORG, use the -TERM enough to catch up to the application writing the log. This is a
UTILITY command. WTO message; it is sent to the console, but it is not an action
message. It is also sent to SYSPRINT.
DSNU374I csect-name - REORG WITH SHRLEVEL REFER- DB2 refrains from taking the action specified in the LONGLOG
ENCE or CHANGE HAS BEEN TERMINATED, phrase if any one of the following events occurs for this exe-
REASON=c cution of REORG before the delay expires:
Explanation: REORG with SHRLEVEL REFERENCE or An -ALTER UTILITY command is issued.
CHANGE has been terminated.
A -TERM UTILITY command is issued.
1 REORG with SHRLEVEL CHANGE specified LONGLOG
DB2 estimates that the time to perform the next iteration
TERM, and at the end of an iteration of log processing,
will be less than or equal to the time specified in the
the number of log records that the next iteration would
MAXRO phrase.
process is not sufficiently lower than the number that the
previous iterations processed. REORG terminates for any reason (including the deadline).
2 DB2 estimated that the switch phase of REORG with member-name Identifies the DB2 member in a data
SHRLEVEL REFERENCE or CHANGE would not start sharing environment. Blank in a non-data-
by the deadline specified in the DEADLINE phrase. sharing environment.
Severity: 8 (error) utilid Identifies the utility job step.
System Action: REORG terminates. Severity: 4 (warning)
User Response: For reason code 1, attempt a new invoca- System Action: After a delay (specified by the DELAY
tion of reorganization later, perhaps when you expect that the phrase of the REORG utility or the -ALTER UTILITY
application workload is lower or the maximum desired amount command), REORG performs the action specified by the
of time for applications to have read-only access is longer. LONGLOG phrase of the REORG utility or the -ALTER
UTILITY command.
For reason code 2 on SHRLEVEL CHANGE, attempt a new
invocation of reorganization later, perhaps when you expect to User Response: No action is required. However, if the action
have a longer time available, you expect that the application specified by the LONGLOG phrase is not desired, the operator
workload is lower, or you expect that the maximum desired (or a user-written program that is triggered by the message)
amount of time for applications to have read-only access is can take an action. For a list of possible actions, see the
longer. For reason code 2 on SHRLEVEL REFERENCE, description of LONGLOG in the REORG section of DB2 Utility
attempt a new invocation of reorganization later, perhaps when Guide and Reference.
you expect to have a longer time available.
Operator Response: No action is required. However, if the
action specified by the LONGLOG phrase is not desired, the
operator (or a user-written program that is triggered by the User Response: Take an image copy of the associated table
message) can take an action. For a list of possible actions, see space partition. If the message was issued after the COPY
the description of LONGLOG in the REORG section of DB2 utility failed, correct all specified errors for the associated table
Utility Guide and Reference. space before attempting another image copy of that table
space.
| DSNU378I csect-name - REORG WITH SHRLEVEL NONE
| HAS INAPPROPRIATE NOSYSREC KEYWORD, DSNU381I csect-name TABLESPACE database.tablespace-
| REASON=c name IS IN COPY PENDING
| Explanation: REORG with SHRLEVEL NONE allows the fol- Explanation: This message is issued after:
| lowing combinations of the SORTDATA and NOSYSREC
A LOAD or REORG utility with the LOG(NO) option left the
| keywords:
associated table space in an unrecoverable state.
| Neither keyword
An image copy failed because broken pages were detected
| SORTDATA alone (without NOSYSREC)
or an image copy was terminated.
| SORTDATA NOSYSREC
A partial recovery finished successfully.
| These combinations do not trigger this message. However,
| NOSYSREC alone (without SORTDATA) is inappropriate and A MODIFY RECOVERY left the associated table space in
| triggers this message with a reason code of 1. an unrecoverable state.
| Also, for REORG with SHRLEVEL NONE, if you specify If the RECOVER TABLESPACE utility with keyword
| UNLOAD PAUSE, UNLOAD ONLY, or UNLOAD EXTERNAL, TOCOPY is being used, the START_RBA or
| NOSYSREC is inappropriate and triggers this message with a START_LRSN value of the associated full image copy
| reason code of 2. If the two conditions (omission of might be outside the available recovery information. To
| SORTDATA and inclusion of UNLOAD PAUSE, ONLY, or verify this, look at the REPORT utility output. The
| EXTERNAL) are both true, NOSYSREC triggers this message RECOVER TABLESPACE utililty will process the TOCOPY
| with a reason code of 2. keyword and put the recovering object in copy pending
status.
| Severity: 8 (error)
An image copy is required to establish a new base from which
| System Action: REORG does not execute.
the table space can be recovered. Otherwise, the results of
| User Response: Specify an invocation of REORG with running the RECOVER utility on that table space are unpredict-
| appropriate parameters. Specifically, for reason code 1, if you able.
| want to execute REORG with SHRLEVEL NONE, add
Severity: 4 (warning)
| SORTDATA and/or remove NOSYSREC. For reason code 2, if
| you want to execute REORG with SHRLEVEL NONE, remove User Response: Take an image copy of the associated table
| NOSYSREC, UNLOAD PAUSE, UNLOAD ONLY, or UNLOAD space. If the message was issued after the COPY utility failed,
| EXTERNAL . correct all specified errors for the associated table space
before attempting another image copy on that table space.
DSNU379I csect-name - ALTER UTILITY, UTILID = utilid:
SWITCH PHASE IN REORG HAS ALREADY DSNU382I csect-name - REORG UTILITY, UTILID = utilid
STARTED, NO ALTER IS PERFORMED REQUESTED TO ALTER, PHASE = utility-phase
Explanation: The -ALTER UTILITY command was applied to Explanation: This message is issued in response to an
a job that is executing REORG with SHRLEVEL REFERENCE -ALTER UTILITY command. It acknowledges that the request
or CHANGE. However, nothing was altered, because REORG for alteration was received and verified. At the time the
had already started its switch phase. -ALTER UTILITY request was received, REORG was in the
utility job step identified by UTILID utilid.
Severity: 4 (warning)
Severity: 0 (informational)
System Action: ALTER UTILITY has no effect.
System Action: DB2 has accepted the request to alter the
indicated utility job step. The utility alters its parameter values.
DSNU380I csect-name TABLESPACE database.tablespace-
name PARTITION part-num IS IN COPY User Response: This message is an acknowledgement that
PENDING the request has been accepted and is in progress.
Explanation: An image copy is required to establish a new
base from which the table space partition can be recovered. DSNU383I csect-name CURRENT ITERATION NUMBER =
Otherwise, the results of running the RECOVER utility on that nnnnnn WRITE ACCESS ALLOWED IN
table space partition are unpredictable. CURRENT ITERATION = www ITERATION
BEFORE PREVIOUS ITERATION: ELAPSED
If the RECOVER TABLESPACE utility with the keyword
TIME = ha:ma:sa NUMBER OF LOG
TOCOPY is being used, the START_RBA or START_LRSN
RECORDS PROCESSED = nnnnna PREVIOUS
value of the associated full image copy might be outside the
ITERATION: ELAPSED TIME = hb:mb:sb
available recovery information. To verify this, look at the
NUMBER OF LOG RECORDS PROCESSED =
REPORT utility output. The RECOVER TABLESPACE utility
nnnnnb CURRENT ITERATION: ESTIMATED
will process the TOCOPY keyword and put the recovering
ELAPSED TIME = hc:mc:sc ACTUAL ELAPSED
object in copy pending status.
TIME SO FAR = hd:md:sd ACTUAL NUMBER
Severity: 4 (warning) OF LOG RECORDS BEING PROCESSED =
nnnnnd CURRENT ESTIMATE FOR NEXT
ITERATION: ELAPSED TIME = he:me:se It is also issued by the REORG utility if the user specified
NUMBER OF LOG RECORDS TO BE PROC- SHRLEVEL CHANGE and DB2 estimates that the switch
ESSED = nnnnne phase will not start by the deadline specified by the DEADLINE
phrase.
Explanation: This message applies only during the LOG
phase of REORG with SHRLEVEL CHANGE. It supplements This message indicates the most recently specified values of
message DSNU105I which can appear in any phase (including certain parameters to REORG. For each such parameter, a
the LOG phase). previous invocation of the -ALTER UTILITY command might
have specified a value. If no previous invocation of -ALTER
This message is issued in response to a -DISPLAY UTILITY
UTILITY has specified a value, the most recently specified
command.
value is the value that was specified with the invocation of the
It is also issued by the REORG utility if the user specified REORG utility.
SHRLEVEL REFERENCE or CHANGE and DB2 estimates that
aaaaaaaaaa A number of seconds, according to the
the switch phase will not start by the deadline specified by the
most recently specified value of MAXRO.
DEADLINE phrase. This message provides the user with an
A value of "DEFER" denotes that the log
estimate of how far the REORG utility has proceeded in the
file will be deferred indefinitely.
indicated utility job step.
llllllll “CONTINUE,” “TERM,” or “DRAIN”
nnnnnn The current iteration number
according to the most recently specified
www 'YES' or 'NO' according to whether value of LONGLOG
write access is allowed in the current iter-
bbbbbbbbbb A number of seconds, according to the
ation of log processing
most recently specified value of DELAY
For the iteration before the previous iteration:
Severity: 0 (informational)
ha:ma:sa The elapsed time for the iteration
System Action: The message reflects the state of DB2 at the
nnnnna The number of log records processed in time of the -DISPLAY UTILITY command or the time when
the iteration. DB2 estimated that the switch phase would not start by the
These values are 00:00:00 and 0 if the current iteration deadline specified by the DEADLINE phrase.
number is 1 or 2. If this message was issued for -DISPLAY UTILITY, the system
For the previous iteration: continues processing. If an -ALTER UTILITY command is then
executed, a subsequent -DISPLAY UTILITY command reflects
hb:mb:sb The corresponding information. the results (if any) of the -ALTER UTILITY command.
nnnnnb The corresponding information.
These values are 00:00:00 and 0 if the current iteration DSNU385I csect-name - LOG PHASE COMPLETE,
number is 1. ELAPSED TIME = hh/mm/ss
For the current iteration: Explanation: This message is issued at the normal com-
pletion of the LOG phase of the REORG utility. The time that
hc:mc:sc The estimated elapsed time has elapsed between the beginning and the completion of this
hd:md:sd The elapsed time so far phase was:
Severity: 0 (informational)
| DSNU391I csect-name - SORTBLD PHASE STATISTICS.
System Action: The LOG phase of the REORG utility is | NUMBER OF INDEXES = mmm
completed.
| Explanation: This message is issued at normal completion of
| the SORTBLD phase of the LOAD, REORG, or REBUILD
DSNU387I csect-name - SWITCH PHASE COMPLETE, | INDEX utility. The number of indexes that were built is indi-
ELAPSED TIME = hh/mm/ss | cated as mmm.
Explanation: This message is issued at the normal com- | Severity: 0 (informational)
pletion of the switch phase of the REORG utility. The time that
has elapsed between the beginning and the completion of this | System Action: The SORTBLD phase of either the LOAD,
phase was: | REORG, or REBUILD INDEX utility is completed.
hh hours
mm minutes
| DSNU392I csect-name - SORTBLD PHASE COMPLETE,
ss seconds
| ELAPSED TIME = hh:mm:ss
Severity: 0 (informational)
| Explanation: This message is issued at the normal com-
| pletion of the SORTBLD phase of the LOAD, REORG, and
System Action: Processing continues to the next phase of | REBUILD INDEX utility. The time that has elapsed between
the REORG utility. | the beginning of the phase and the completion of this phase
| was hh hours, mm minutes, and ss seconds.
DSNU388I csect-name - BUILD2 PHASE COMPLETE, | Severity: 0 (informational)
ELAPSED TIME = hh/mm/ss
| System Action: Processing continues to the next phase of
Explanation: This message is issued at the normal com- | the LOAD, REORG, or REBUILD INDEX utility. If this is the
pletion of the BUILD2 phase of the REORG utility. The time | last phase, processing continues to the next utility statement in
that has elapsed between the beginning and the completion of | the utility job step, if any.
this phase was:
hh hours | DSNU393I csect-name SORTBLD PHASE STATISTICS.
mm minutes | NUMBER OF KEYS = nnnnnnnn FOR INDEX
ss seconds | index-name PART part-num
Severity: 0 (informational) | Explanation: This message is issued by the SORTBLD
System Action: Processing continues to the next utility state- | phase of the LOAD, REORG, or REBUILD INDEX utility to
ment in the utility job step, if any. | report the total number of index key entries used to build the
| indicated index partition.
mmm The number of nonpartitioned indexes whose RIDs were | User Response: You can verify that the number reported is
corrected. | consistent with expectations.
Severity: 0 (informational)
| DSNU394I csect-name SORTBLD PHASE STATISTICS.
System Action: The BUILD2 phase of the REORG utility is | NUMBER OF KEYS = nnnnnnnn FOR INDEX
completed. | index-name
| Explanation: This message is issued by the SORTBLD
DSNU390I csect-name INVALID CONVERSION FOR | phase of the LOAD, REORG, or REBUILD INDEX utility. The
FIELD cccccccc | message is repeated for each index built by the LOAD,
Explanation: The input field type for column, 'cccccccc', is | REORG, or REBUILD INDEX utility. It indicates the total
incompatible with its data type (as found in the catalog). | number of index key entries used to build the indicated index.
| If the index is a partitioning index, the total will equal the sum
Severity: 8 (error)
| of the number of index key entries reported in prior DSNU393I
System Action: Utility processing is terminated. | messages.
User Response: Correct the error, and resubmit the job. | Severity: 0 (informational)
Refer to DB2 Utility Guide and Reference for compatible data
| System Action: This message indicates the number of index
types.
| key entries for the index being built. Both unique and nonu-
| nique key entries are counted. Rejected key entries are not
| counted.
| User Response: You can verify that the number reported is
| consistent with expectations. For example, you can determine
| if it matches the number of records loaded for the table
| indexed by the indicated index, which will have been reported
| in a DSNU303I message issued during the RELOAD phase.
name1 The name of the table for which the record causing | pp.pp The percentage of changed pages. This indicates
the error was targeted, if this information is perti- | the amount of change activity that occurred since
nent for the type of error reported on this line. Oth- | the last image copy or reorganization. The per-
erwise, name1 is blank. This field has nonblank | centage of changed pages is obtained by
values for the following error types: | dividing the number of changed pages by the
| number of pages in the object. Preformatted
Conversion | pages consisting of all zeros are included in the
Validation | count of pages scanned. Since these prefor-
Column specification | matted pages are not copied to the output data
Referential integrity (primary). | set, the number of pages scanned is usually
Check constraint | larger than the number of pages copied.
name2 The name of the field or fanset involved in the error | When this message is issued for image copies
reported on this line, if this information is pertinent | produced during LOAD or REORG, this per-
for the type of error reported. Otherwise, name2 is | centage will always be reported as 100%,
blank. This field contains a field name for the fol- | because the utility is resetting and reformatting
lowing types of errors: | the entire table space.
Conversion | System Action: The COPY, LOAD or REORG utility con-
Field specification | tinues processing this message is for information only.
Column specification. | Message DSNU428I will be issued when the copy processing
For primary referential integrity errors, name2 is a | is complete.
relationship name. For check constraint errors, | User Response: Reported statistics could suggest that either
name2 is a check constraint name. | a RUNSTATS or REORG utility should be run on the table
| space.
| Copy pending status was set for the requested table space
| System Action: The utility will terminate with a return code of
| or data set.
| 8, and will not take the image copy or update the SYSCOPY
| table.
| The request was for an entire table space, but the most
| recent image copy for the table space is on the data set
| User Response: Take another full image copy of the
| level.
| TABLESPACE for both LOCAL site and RECOVERY site or
| change the request to make incremental image copy only for
| The previous image copy is a DFSMS concurrent copy. | current site.
| The request for an incremental image copy is ignored, and a
| full image copy is taken. DSNU406I FULL IMAGE COPY SHOULD BE TAKEN FOR
BOTH LOCAL SITE AND RECOVERY SITE
| Severity: 4 (warning)
FOR
| System Action: The request to take an incremental image
| copy is treated as a request to take a full image copy. | obj-type obj-qual.obj-name
| User Response: The capacity of the target image copy data Explanation: The requested full image is for one site only but
| set might not be sufficient if its size was established assuming history shows that there were image copies taken for both local
| an incremental image copy. If this condition occurs, terminate site and recovery site and the table space is in copy pending
| and then resubmit the job step. status, or point in time recover has been done on the table
space, or the table space is in copy pending status and the
DSNU403I csect-name - FULL AND INCREMENTAL requested full image copy is for a site other than the current
COPIES OF THE SAME TABLESPACE ON THE site. Be aware of the following situations:
SAME TAPE DISALLOWED DDNAME ddname 1. If the requested copy is made for current site, then the
Explanation: The COPY utility has been invoked to take an other site can only do point in time recovery.
incremental image copy of a TABLESPACE. The specified 2. If the requested copy is for the site other than the current
output data set is on a tape which contains another FULL or site, then the TABLESPACE will be in the same state as
INCREMENTAL image copy of the same TABLESPACE. This before COPY has been made.
is not allowed.
Severity: 4 (warning)
Severity: 8 (error)
System Action: COPY, LOAD, or REORG utility will continue
System Action: The utility will terminate with a return code of to process the image copy.
8, and will not take the image copy or update the SYSCOPY
table. User Response: Take another full image copy of the
TABLESPACE for both LOCAL site and RECOVERY site to
User Response: Change the VOLSER for the image copy guarantee the correct recovery on both sites or check
output data set or use the MODIFY RECOVERY utility to DSNZPARM to ensure that the current site is the site at which
the image copy is being taken.
Severity: 8 (error)
DSNU413I csect-name - CONCURRENT COPY SUC-
CESSFUL FOR System Action: Utility processing is terminated. The image
copy will not be taken or the merge will not be done, and the
| obj-type obj-qual.obj-name SYSIBM.SYSCOPY table will not be updated.
Explanation: The DFSMS Concurrent Copy utility completed User Response: Correct the utility job by specifying a non-
normally for the named object. This message is repeated for partitioned data set as the output image copy data set.
| every copied object in the list.
Severity: 0 (informational) DSNU417I csect-name THE NUMBER OF VOLUMES USED
BY THE IMAGE COPY DATA SET data-set-
System Action: Processing continues to the next object in name HAS REACHED THE LIMIT
the list. If there are no more objects, the utility ends normally
with message DSNU401I. Explanation: The image copy data set reached the limit of
255 volumes and another volume is required.
User Response: No action is required.
Severity: 8 (error)
DSNU414I csect-name UNABLE TO RETRIEVE System Action: The utility job is terminated.
RESTART/REDO LRSN User Response: You might want to use the DSNUM option
of the COPY utility to identify a partition or data set within the
| obj-type obj-qual.obj-name table space to be copied, or specify a partition number to be
Explanation: This message is issued by the DB2 COPY loaded or reorganized if the copy is being produced from a
utility when an error is encountered during the retrieval of a log LOAD or REORG.Refer to DB2 Utility Guide and Reference for
record sequence number (LRSN). a description of the COPY utility and the DSNUM option, and
descriptions of the LOAD and REORG utilities and the PART
This error can occur in these situations:
option.
Another DB2 in a data sharing group terminated abnor-
| mally while trying to update the table space or index DSNU418I csect-name CANNOT TAKE IMAGE COPY AT
| space. DATASET LEVEL FOR NONPARTITIONED
A failure occurred while trying to communicate with other TABLESPACE
DB2s in the data sharing group.
| obj-qual.obj-name IN COPY PENDING STATUS
Severity: 8
Explanation: An image copy at the data set level was
System Action: The utility job terminates.
requested. However, it is not allowed for one of the following
User Response: Issue a -DISPLAY DATABASE command reasons:
with the USE option to determine if any other DB2 systems
The table space is in copy pending status.
| hold a retained lock on the table space or index space (status
= RSTRT). If so, you must restart that DB2 system before the The table space is not suitable for image copy at the data
COPY job can be successfully run. set level.
A copy of the entire table space is required.
DSNU415I csect-name INVALID OUTPUT BLOCK SIZE
Severity: 8 (error)
SPECIFIED DDNAME ddname
System Action: The COPY utility completes unsuccessfully
Explanation: Valid block sizes for an image copy or
with return code 8.
mergecopy data set are multiples of 4KB and less than the
device limitation. System Programmer Response: You must take a full image
copy of the entire table space by specifying the DSNUM ALL
Severity: 8 (error)
option with the COPY utility.
System Action: Utility processing is terminated.
User Response: Correct the JCL statement, or use the DSNU420I csect-name INCORRECT SHARE LEVEL SPEC-
default. Resubmit the request in a new utility job step. Refer to IFIED FOR TABLE SPACE database-
DB2 Utility Guide and Reference for a discussion of image name.tablespace-name DSNUM dsnum
copy and work data set constraints. Explanation: When copying a table space that is not recover-
able, the share level (SHRLEVEL) must be REFERENCE.
DSNU416I csect-name THE OUTPUT IMAGE COPY DATA
If the object is an entire table space, 'DSNUM dsnum' is not
SET CANNOT BE PARTITIONED. DDNAME
displayed.
ddname
Severity: 8 (error)
Explanation: The use of partitioned image copy data sets is
restricted. The COPY, MERGECOPY, LOAD, or REORGutility System Action: Utility processing is terminated.
job that was submitted has a partitioned output image copy User Response: Correct the SHRLEVEL to REFERENCE,
data set, specified by the COPYDDN ddname or and resubmit the COPY utility in a new utility job step. Refer to
RECOVERYDDN ddname parameter. DB2 Utility Guide and Reference for a discussion of COPY
utility constraints.
| DSNU428I csect-name
DSNU424I csect-name INCOMPATIBLE MAINTENANCE | DB2 IMAGE COPY SUCCESSFUL FOR obj-
DETECTED. REFERENCE APAR NUMBER | type obj-qual.obj-name
apar DO THE FOLLOWING:
| Explanation: The image copy of the object processed by the
Explanation: This message indicates that there is a mainte- | COPY, LOAD, or REORG utility has completed successfully
nance incompatibility detected across restart. This message is | and the image copy data set information has been recorded in
followed by the actions the user should take to resolve the | the SYSIBM.SYSCOPY catalog table.
incompatibility.
| System Action: The COPY utility continues its processing on
apar The number of the APAR with closing text | the next object in the list. The LOAD and REORG utilities con-
that describes the incompatibility. | tinue processing in the subsequent phases.
System Action: Utility execution is abended.
User Response: Refer to the action text in the message. DSNU440I
System Programmer Response: Refer to the APAR closing Explanation: This message gives statistical information about
text. the results of running the COPY utility. It applies to a table
space, partition, or data set, and is based on the information in
the space page map at the time the utility is executed. The
| DSNU425I csect-name obj-type obj-qual.obj-name DOES
output contains the following information:
| NOT HAVE THE COPY YES ATTRIBUTE
DBNAME The name of the database to which the table
| Explanation: The utility cannot process the identified index or
space belongs.
| index space because it was not defined with the COPY YES
| attribute. Without the COPY YES attribute, the index cannot be TSNAME The table space specified in the utility state-
| specified as a target for the RECOVER, COPY, or REPORT ment.
| utilities. If the index needs to be rebuilt from the data in the
| table space, use the REBUILD INDEX utility instead.
3 (informational) If the percent of changed pages is copy. The request for CHANGELIMIT with REPORTONLY will
greater than or equal to the high not generate the report.
CHANGELIMIT value.
User Response: If REPORTONLY is specified, then submit a
System Action: Utility processing continues. job to take a full image copy.
User Response: If the REPORTONLY option is specified and
the result of this job step is not used to conditionally execute DSNU454I csect-name COPY MERGE COMPLETE.
other job steps, examine the utility messages for this table NUMBER OF COPIES = iiiii, NUMBER OF
space, partition, or data set to determine if it has changed to COPIES MERGED = cccccc, TOTAL NUMBER
such a degree that an image copy or other step should be per- OF PAGES MERGED = ttttt, ELAPSED TIME =
formed. hh/mm/ss
Explanation: This message marks the normal completion of
DSNU445I csect-name ictype IMAGE COPY WILL BE the MERGECOPY utility. The variables are:
TAKEN FOR
iiiii The number of copies found.
| obj-type obj-qual.obj-name cccccc The number of image copies that were merged. The
number merged can be less than the number found
Explanation: The COPY utility is indicating whether the
if a work data set was not specified using the
percent of changed pages in the table space meets the change
MERGECOPY WORKDDN option.
limit value, and whether an image copy will be taken. ictype
values: ttttt The total number of pages that were merged.
NO If no CHANGELIMIT value met. The merged incremental copies were consolidated either into a
single new incremental image copy or into a new full image
INCREMENTAL If the percent of changed pages is greater
copy, depending upon the MERGECOPY NEWCOPY option.
than the low CHANGELIMIT value and
The DB2 catalog table SYSIBM.SYSCOPY was updated to
less than the high CHANGELIMIT value.
reflect the results.
FULL If the percent of changed pages is greater
This message may indicate that prior data set entries were
than or equal to the high CHANGELIMIT
deleted and, consequently, that backup data set resources
value.
were freed.
Severity: 0 (informational)
Severity: 0/4 (informational/warning)
System Action: Utility processing continues. An image copy
System Action: Processing continues to the next utility state-
is taken if a change limit is met. If the low CHANGELIMIT
ment in the utility job step, if any. If there are no more utility
value is met, then an incremental copy is taken. If the high
statements, the utility job step is normally terminated, and the
CHANGELIMIT value is met, then a full image copy is taken.
resources are released to their prior availability state. The
UTILID of the utility job step becomes available for reuse.
DSNU446I csect-name - CHANGELIMIT REPORT INFOR-
User Response: You can review the reported statistics to
MATION UNAVAILABLE FOR
assess the effectiveness of performing incremental image
copies. You can examine the SYSIBM.SYSCOPY catalog table
| obj-type obj-qual.obj-name, A FULL IMAGE
to review the incremental and full image copies that are subject
COPY MUST BE TAKEN
to DB2 recovery.
Explanation: The changelimit dataset statistical information
The full or incremental image copy data set identified by the
was requested, but is unavailable. A full image copy is
DD statement specified in the COPYDDN option was recorded
required. Possible reasons are as follows:
in SYSIBM.SYSCOPY. DB2 assumes that the image copy data
The request was for one of the DB2-maintained table set is now available for subsequent recovery. Ensure that the
spaces: DSNDB01.DBD01, DSNDB06.SYSCOPY, or data set is available for recovery.
DSNDB01.SYSUTILX.
A LOAD or REORG utility was run on the table space or DSNU458I csect-name NO IMAGE COPIES TO MERGE
data set with no subsequent full image copy.
Explanation: This message is issued in response to a
No full image copy was found for the requested sites. MERGECOPY request. The MERGECOPY utility was invoked
to merge existing incremental image copies. However, in
Copy pending status was set for the requested table space
checking the DB2 catalog table SYSIBM.SYSCOPY, no incre-
or data set.
mental image copies were found.
The request was for an entire table space, but the most
Severity: 4 (warning)
recent image copy for the table space is on the data set
level. A severity 4 condition is given to alert the invoker that proc-
essing did not proceed as defined. However, processing is pro-
The previous image copy is a DFSMS concurrent copy.
ceeding; nothing was encountered that would invalidate further
The statistical information report will not be generated. If processing.
REPORTONLY was omitted, then a FULL image copy is taken.
System Action: This message indicates the completion of
Severity: 4 (warning) the MERGECOPY utility. Processing continues to the next
System Action: The request for CHANGELIMIT without utility statement in the utility job step, if any. If there are no
REPORTONLY is treated as a request to take a full image more utility statements, the utility job step is normally termi-
nated, and the resources that were held become available for
REFERENCE processing. The UTILID of the utility job step backup full image copy, the utility continues to process. If no
becomes available for reuse. backup full image copy can be used, the utility terminates.
The requester may want to determine why the assumption that
incremental copies existed was not true. DSNU462I csect-name MERGECOPY DISALLOWED FOR
REQUESTED TABLE SPACE
Operator Response: The target copy data set identified by
the DD statement nominated by the MERGECOPY COPYDDN Explanation: MERGECOPY was requested for table space
option was not required. It was not tracked in the DB2 catalog DSNDB01.DB01, DSNDB01.SYSUTIL, or
table SYSIBM.SYSCOPY. It need not be kept for subsequent DSNDB06.SYSCOPY. MERGECOPY is not permitted for one
re-call. of the following reasons:
Only full image copies are allowed on these
DSNU459I SYSCOPY P RECORD ENCOUNTERED FOR DB2-maintained tables.
There is no record of the full image copies in the
| obj-type obj-qual.obj-name, PIT RBA = xxxxxx
SYSIBM.SYSCOPY catalog; the copy information is in the
Explanation: The utility encountered a SYSCOPY P record DB2 log.
which requires that the SYSCOPY record at the given RBA or
Severity: 8 (error)
LRSN be used. The utility properly traverses the SYSCOPY
records following this SYSCOPY P record. System Action: Further utility processing is terminated.
Severity: 0 (informational) System Programmer Response: Refer to Section 4 (Volume
1) of DB2 Administration Guide for more information about
User Response: For further information on how the
MERGECOPY utility constraints.
SYSCOPY records are traversed, see Section 4 (Volume 1) of
DB2 Administration Guide.
DSNU463I csect - THE xxxxxxx IMAGE COPY DATA SET
data-set-name WITH DATE=dddddd AND
DSNU460I csect-name IMAGE COPIES INCONSISTENT.
TIME=tttttt, IS PARTICIPATING IN
MERGECOPY REQUEST REJECTED
MERGECOPY.
Explanation: MERGECOPY was requested for an entire
Explanation: This informational message indicates the image
table space. However, the most recent image copy for the
copy that is used in the merge process. The variables have the
associated table space was on the data set level. In addition, if
following meanings:
the associated table space was partitioned, this might indicate
that any or all of its partitions were being reorganized or xxxxxxxx PRIMARY or BACKUP, indicating a
loaded without logging after the MERGECOPY starting point. primary or backup image copy
The MERGECOPY starting point is the most recent full image data-set-name The image copy data set name
copy for the entire table space.
dddddd The image copy date
Severity: 4 (warning)
tttttt The image copy time
A severity 4 condition is given to alert the user that processing
did not proceed as defined. However, processing is pro- Severity: 0 (informational)
ceeding; nothing was encountered that would invalidate further User Response: The utility continues to process normally.
processing.
System Action: This message indicates the completion of DSNU464I THIS IS A sitetype; outputtype WITH NEWCOPY
the MERGECOPY utility. Processing continues to the next NO IS NOT ALLOWED.
utility statement in the utility job step, if any. If there are no
more utility statements, the utility job step is normally termi- Explanation: The 'NEWCOPY NO' option to create incre-
nated, and the resources that were held become available for mental image copies is not supported for the current site. This
REFERENCE processing. The UTILID of the utility job step error can be caused by:
becomes available for reuse. Running the MERGECOPY utility at sitetype LOCALSITE,
No output was produced and the SYSIBM.SYSCOPY catalog but selecting the RECOVERYDDN with the 'NEWCOPY
table remains unchanged. NO' option.
User Response: A full image copy of the associated table Running the MERGECOPY utility at sitetype
space should be taken. However, if it is preferred that a RECOVERYSITE, but selecting the COPYDDN with the
recovery be done on the data set level, a MERGECOPY job 'NEWCOPY NO' option.
should be submitted by specifying 'DSNUM(data set number)' Severity: 8 (error)
for each data set for which MERGECOPY is required.
System Action: The command cannot be executed.
User Response: Correct the error and resubmit the job.
DSNU461I csect-name PRIMARY FULL COPY DATA SET
Refer to DB2 Utility Guide and Reference for detailed informa-
NOT FOUND, BACKUP WILL BE USED
tion.
INSTEAD
Explanation: The primary full image copy cannot be found.
The backup full image copy will be located and used for the
merge process.
Severity: 0 (informational)
User Response: If the MERGECOPY utility can use the
DSNU470I DSNDB01.SYSUTILX CANNOT BE INCLUDED DSNU474I csect-name - QUIESCE AT RBA rrrrrrrrrrrr AND
IN A LIST OF TABLE SPACES. AT LRSN xxxxxxxxxx
Explanation: This message is issued by the running utility Explanation: This message displays the log RBA and LRSN
when DSNDB01.SYSUTILX is found in a table space list of a at the time of the quiesce. This value is unique for all quiesced
utility job statement. table spaces in the list and is recorded in the START_RBA
column of the SYSCOPY catalog table entry for each quiesced
Severity: 8(error)
table space in the list.
System Action: The utility job terminates.
Severity: 0 (informational)
User Response: Remove DSNDB01.SYSUTILX from the
System Action: Processing continues.
table space list or run the utility on DSNDB01.SYSUTILX sepa-
rately.
DSNU475I csect-name - QUIESCE UTILITY COMPLETE,
ELAPSED TIME=tttttt
DSNU471I csect-name - COPY PENDING ON
TABLESPACE databasename.tablespacename Explanation: The message marks the normal completion of
PROHIBITS PROCESSING the QUIESCE utility. The elapsed clock time that the QUIESCE
utility uses is shown by 'tttttt'.
Explanation: An attempt was made to execute a utility
against a table space. Either the table space was in copy Severity: 0 (informational)
pending state or DSNDB06.SYSCOPY was in copy pending
System Action: Processing continues to the next utility state-
state.
ment in the utility job step, if any. If there are no more utility
Severity: 8 (error) statements, the utility job step is normally terminated, and the
resources are released to their prior available state. The
System Action: Utility processing is terminated.
UTILID of the utility job step becomes available for reuse.
User Response: Remove the table space from the copy
pending state and resubmit the job.
DSNU476I csect-name - INDEX index-name HAS WRITE
Problem Determination: Refer to Section 4 (Volume 1) of ERROR RANGE OR IS IN DEFERRED
DB2 Administration Guide for a discussion of the database RESTART
recovery function.
Explanation: The attempt to externalize index 'index-name'
pages to the media failed.
DSNU472I csect-name - TABLESPACE tablespace-name
Severity: 4 (warning)
HAS WRITE ERROR RANGE OR IS IN
DEFERRED RESTART. System Action: QUIESCE processing continues.
Explanation: The attempt to externalize table space User Response: Issue the DISPLAY DATABASE command
'tablespace-name' pages to the media has failed. to determine the exception state,
Severity: 4 (warning) Problem Determination: Refer to Section 4 (Volume 1) of
DB2 Administration Guide for a discussion of the database
System Action: QUIESCE still continues but you cannot
recovery function.
make an image copy of the table space. Processing continues
for all indexes within the table space and continues to the next
table space in the tablespace-list, if any. DSNU477I csect-name - QUIESCE SUCCESSFUL FOR
User Response: Run DISPLAY DATABASE to determine
| obj-type obj-qual.obj-name
what exception state, if any, would prevent image copy on the
table space. | Explanation: The QUIESCE for this object was successful. If
| the object is a table space, then the quiesce for all of its
Problem Determination: Refer to Section 4 (Volume 1) of
| indexes was successful. This message will also be issued for
DB2 Administration Guide for a discussion of the database
| each index with the COPY YES attribute over the quiesced
recovery function.
| table space. This message will be repeated for every quiesced
table space in list.
DSNU473I csect-name - UNABLE TO EXTERNALIZE
Severity: 0 (informational)
TABLESPACE tablespace-name PAGES
Explanation: The attempt to externalize TABLESPACE
| System Action: All data held in the DB2 buffer pool(s) for
'tablespace-name' pages to the media has failed.
| the table space and its indexes have been written out to the
media if no message DSNU473 or DSNU479 were issued
Severity: 4 (warning) earlier. A SYSCOPY record of ICTYPE 'Q' has been recorded
System Action: QUIESCE still continues but the table space | in the SYSCOPY catalog table for the table space and for
cannot be volume-dumped. | each of its indexes with the COPY YES attribute. The
| START-RBA value in the SYSCOPY record(s) is the same for
Problem Determination: The problem may be an I/O error. | all objects quiesced during this invocation of the utility. This
RBA/LRSN value will be printed in the message DSNU474 fol-
lowing this message. Processing continues to the next table
space in the table space list, if any.
DSNU478I csect-name - INDEX index-name HAS PENDING DSNU482I csect-name - UNABLE TO EXTERNALIZE
STATE INDEX index-name PARTITION partition-number
PAGES
Explanation: Index 'index-name' has a PENDING state.This
message is repeated for all PENDING stated indexes in a table Explanation: The attempt to externalize index 'index-name'
space. 'partition-number' pages to the media failed.
Severity: 8 (error) Severity: 4 (warning)
System Action: QUIESCE stops processing but continues to System Action: QUIESCE still continues, but the table space
check all table spaces and indexes for any additional table cannot be volume-dumped.
space or index that has a PENDING state. There is no update
Problem Determination: The problem might be an I/O error.
in SYSCOPY table for any table space in the list.
User Response: Issue the DISPLAY DATABASE command DSNU483I csect-name - TABLESPACE tablespace-name
to look at the utility status byte in the DBA table for a specified PARTITION partition-number HAS WRITE
PENDING state. ERROR RANGE OR IS IN DEFERRED
Problem Determination: Refer to Section 4 (Volume 1) of RESTART.
DB2 Administration Guide for a discussion of the database Explanation: The attempt to externalize table space
recovery function. 'tablespace-name' partition 'partition-number' pages to the
media failed.
DSNU479I csect-name - UNABLE TO EXTERNALIZE
Severity: 4 (warning)
INDEX index-name PAGES
System Action: QUIESCE still continues, but you cannot
Explanation: The attempt to externalize index 'index-name'
make an image copy of the table space or partition. Processing
pages to the media has failed.
continues for the index partition and all nonpartitioned indexes
Severity: 4 (warning) within the table space, and then proceeds to the next table
space in the table space list, if any.
System Action: QUIESCE still continues but the table space
cannot be volume-dumped. User Response: Issue DISPLAY DATABASE to determine
what exception state, if any, would prevent image copy on the
Problem Determination: The problem may be an I/O error.
table space or partition.
DSNU481I csect-name - QUIESCE SUCCESSFUL FOR User Response: Issue DISPLAY DATABASE to determine
the exception state.
| obj-type obj-qual.obj-name PARTITION partition Problem Determination: Refer to Section 4 (Volume 1) of
Explanation: The QUIESCE for PARTITION DB2 Administration Guide for a discussion of the database
| 'partition-number' of this object was successful. If the object recovery function.
| is a table space partition, then the quiesce for all of its indexes
| was successful. This message will also be issued for each DSNU500I csect-name RECOVERY COMPLETE,
| index with the COPY YES attribute over the quiesced table ELAPSED TIME = hh/mm/ss
| space. This message is repeated for every quiesced table
Explanation: This message is issued at the normal com-
space in the list.
pletion of the RECOVER utility. The time that elapsed since
Severity: 0 (informational) the beginning of the RECOVER utility to its completion was
'hh' hours, 'mm' minutes, and 'ss' seconds.
| System Action: All data held in the DB2 buffer pool(s) for the
| table space and its indexes have been written out to the media Severity: 0/4 (informational/warning)
if message DSNU480 or DSNU482 was not issued earlier. A
System Action: This message indicates the normal com-
SYSCOPY record of ICTYPE 'Q' was recorded in the
pletion of the RECOVER utility. Processing continues to the
| SYSCOPY catalog table for the table space and for each of its
next utility statement in the utility job step, if any. If not, the
| indexes with the COPY YES attribute. The START-RBA value
utility job step is normally terminated, and the resources held
| in this SYSCOPY record is the same for all objects quiesced
become available for further processing. The UTILID of the
| during this invocation of the utility. This RBA value is printed in
utility job step becomes available for reuse.
message DSNU474 following this message. Processing con-
tinues to the next table space in the table space list, if any.
DSNU507I csect-name NO USABLE BACKUP FOR | DSNU510I csect-name NO GOOD FULL IMAGE COPY
RECOVER | DATA SET FOR RECOVERY OF obj-type obj-
Explanation: The RECOVER utility determined that a backup
| qual.obj-name
was required but not found. The utility encountered one of the Explanation: It is not possible to locate a good image copy
following situations: data set from which to recover. Either no back level image
copy exists, or an I/O error occurred while reading the back
An error occurred while processing the oldest available full
level image copies. The return code that accompanies this
image copy data set. This might be the only full image
message is 0 or 8 under the following conditions:
copy data set available.
The return code is 0 if a full image copy is not found in the
While scanning backward through the SYSCOPY table, a
SYSCOPY table during RECOVER initialization or during
LOAD LOG(NO) or REORG log(NO) record type was
fall back processing. However, a LOG(YES) event was
found.
detected and recover continues from the log.
Any of the following is acceptable as a backup:
The return code is 8 if the RECOVER utility is in fall back
A full image copy. mode and no base recoverable point (a full image copy or
A LOAD LOG(YES). LOG(YES) event) was found in the SYSCOPY table.
Further utility processing is terminated.
A REORG LOG(YES).
Severity: 0 (informational) or 8 (error)
For RECOVER PAGE, an incremental image copy that
contains the specified page. System Action: If the return code is 0, processing continues.
If the return code is 8, further utility processing is terminated.
A 'no record found' return from the first request for a
SYSCOPY record indicates that the object was entirely User Response: Notify the system programmer if the return
populated by 'inserts'. The object will be recovered from code is 8. If the return code is 0, no action is required.
the DB2 log if its entire history lies within the scope of the Operator Response: If the return code is 8, the object in
log, that is, archive log data sets containing updates for the question should be started for utility-only processing (if it is not
object have not been deleted. in this state already) until corrective action is taken. If the
Severity: 8 (error) return code is 0, no action is required.
System Action: The RECOVER utility terminates. | System Programmer Response: If the return code is 8 and
| the object being recovered is a table space, the data must be
User Response: Re-create the object that was to be recov- repaired so that an image copy can be taken. An internal error
ered. | might be involved, and system support might be required. If the
| return code is 8 and the object being recovered is an index
DSNU508I csect-name IN FALL BACK PROCESSING TO | space, then the REBUILD INDEX utility can be used to rebuild
PRIOR FULL IMAGE COPY | the index from the data. If the return code is 0, no action is
required. Refer to Section 4 (Volume 1) of DB2 Administration
Explanation: One of the following occurred: Guide for a discussion of database recovery procedures.
The RECOVER utility could not allocate the most recent
full image copy data set. The prior full image copy is used. DSNU511I csect-name RECOVERY INFORMATION INDI-
Accompanying messages indicate why the image copy CATES THAT
data set could not be allocated.
| obj-type obj-qual.obj-name IS NOT IN A RECOV-
PAGE or ERROR RANGE was specified and the recover-
ERABLE STATE
able point identified an image copy that was created by the
DFSMSdss DUMP command with the CONCURRENT Explanation: The requested recovery of an object would
option. Such an image copy cannot be used to process result in recovery entirely from the log. Because the object is
PAGE or ERROR RANGE. A prior recoverable point is also in copy pending status, recovery might fail in log apply in
located. these situations:
System Action: The RECOVER utility continues processing, A previous MODIFY utility job deleted the last recoverable
searching for the prior image copy. point indicated in the SYSCOPY catalog table.
A previous MODIFY utility job deleted all SYSCOPY
DSNU509I csect-name - NO ERROR RANGE TO entries.
RECOVER In either case, the MODIFY utility leaves the object in copy
Explanation: The RECOVER utility was invoked to recover pending status and the RECOVER utility is unable to deter-
the existing ERROR RANGE. However, no ERROR RANGE mine the reliability of recovery from the log.
was found. Severity: 8 (error)
Severity: 4 (warning) System Action: The RECOVER utility terminates with return
System Action: This message indicates the completion of code 8.
the RECOVER ERROR RANGE utility. Processing continues User Response: Determine the recoverability status of the
to the next utility statement in the utility job step. If there are no object. SYSCOPY information is probably not useful as no
more utility statements, the utility job step is normally termi- recoverable point (FULL IMAGE COPY, REORG LOG(YES) or
nated. LOAD REPLACE LOG(YES)) was found by the RECOVER
utility. User information might be the only indication about | be used to rebuild the index. Refer to DB2 Utility Guide and
recoverability. Reference for a discussion of RECOVERY utility constraints.
To allow RECOVER to execute, copy pending status must be
turned off. It is safest to make a full image copy before DSNU515I csect-name THE IMAGE COPY DATA SET dsn
attempting the recovery. Then run the RECOVER utility with WITH DATE=date AND TIME=time IS PARTIC-
the TORBA or TOLOGPOINT option. IPATING IN RECOVERY OF
If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
| obj-type obj-qual.obj-name
nosis Guide and Reference for information on identifying and
reporting the problem. Explanation: This message is issued by the RECOVER utility
for each participating image copy data set before it opens the
Problem Determination: Collect the following diagnostic
| data set and begins the restore process. If an error occurs
items listed in Appendix B, “Problem determination” on
while processing, the utility searches for a new recoverable
page 1051: 1, 2, 5.
| base.
This message is routed to SYSOUT.
DSNU512I csect-name DATA SET LEVEL RECOVERY IS
REQUIRED FOR Severity: 0 (informational)
System Action: RECOVER processing continues.
| obj-type obj-qual.obj-name
User Response: Refer to DB2 Utility Guide and Reference
| Explanation: Recovery was requested for an entire object.
for a discussion of RECOVERY utility constraints.
| However, there is an image copy made for a specific data set
| associated with the object. Hence, the object must be recov-
| ered by data set. DSNU516I csect-name
NO FULL IMAGE COPY AFTER LOAD OR
Severity: 8 (error) REORG LOG(NO) OF
System Action: RECOVER completes unsuccessfully with a
return code of 8. | obj-type obj-qual.obj-name
User Response: Terminate the current RECOVER job. Then, | Explanation: RECOVERY was requested for a data set of
submit a RECOVER job by specifying 'DSNUM(data set | an object. If the object is a table space, then a full image copy
number)' for each data set for which recovery is required. | was not taken after or during a LOAD or REORG without
Refer to DB2 Utility Guide and Reference for a discussion of | logging. The table space is in an unrecoverable state. If the
RECOVERY utility constraints. | object is an index space, then a full image copy was not taken
| after a REORG INDEX or REBUILD INDEX.
DSNU513I csect-name RECOVER UTILITY LOG APPLY Severity: 8 (error)
RANGE IS RBA|LRSN xxx TO RBA|LRSN yyy
System Action: RECOVER completes unsuccessfully with a
Explanation: The RECOVER utility issues this message one return code of 8.
or more times to display the entire log range before applying
| User Response: If the object is a table space, the data set
updates.
| is in an unrecoverable state. If the object is an index space,
Severity: 0 (informational) | then the REBUILD INDEX utility may be used to rebuild the
System Action: Processing continues.
| index. Notify the system programmer for corrective action.
System Action: The MODIFY utility continues its termination Severity: 4 (warning)
processing.
System Action: Processing continues.
System Programmer Response: Because DB2 no longer
User Response: The table space might be in an inconsistent
has any knowledge of the image copy data set, you may
state. If the dictionary was not built with the data set that was
delete it and reuse the space. If the last full image copy was
just recovered, the results are unpredictable and might jeop-
deleted, ensure that another one is taken as soon as possible.
ardize all the data in the entire table space.
Recover all of the data sets in the table space to the same
# DSNU518I csect-name object-type object-qualifier.object-
point in time. Do not ignore this message unless all data sets
# name CONTAINS BROKEN PAGE page-number,
in this table space were recovered to the same point in time.
# ERROR CODE error
Otherwise, the state of this nonpartitioned table space is incon-
Explanation: A broken page, page number, was detected sistent and unpredictable.
during execution of an image copy utility job. The copy step is
terminated and the broken page is not copied to the output
DSNU521I csect-name - RECOVER UTILITY FAILED.
data set.
UNABLE TO READ REQUIRED LOG
Severity: 8 (error) RECORDS.
# System Action: COPY utility ends with a return code of 8. Explanation: Recovery was requested for a table space,
# User Response: The associated data set has not been
| index space, or data set. An attempt was made to apply
changes from the DB2 log, but the necessary log records could
# copied. If the object is in the COPY-pending status, it is in an
not be read from the log data set. This message is accompa-
unrecoverable state. Notify the system programmer for correc-
nied by message DSNI007I.
tive action.
Severity: 8 (error)
System Programmer Response: Use either the RECOVER,
RECOVER PAGE, or REPAIR utility to correct the broken System Action: The RECOVER utility completes unsuccess-
page. Refer to Section 4 (Volume 1) of DB2 Administration fully with return code 8.
Guide. If you suspect an error in DB2, refer to Section 3 of
User Response: Consult the system programmer for correc-
DB2 Diagnosis Guide and Reference for information on identi-
tive action.
fying and reporting the problem.
Operator Response: Provide the console listing of the
DSNI007I message for the system programmer.
DSNU519I csect-name TOCOPY DATA SET NOT FOUND
System Programmer Response: Run the print log map
Explanation: The data set specified with the keywords
(DSNJU004) utility. Find the data set that contains the
TOCOPY, TOVOLUME, or TOSEQNO cannot be found in the
requested RBA or LRSN from the output of the utility.
SYSCOPY table for the object to be recovered.
Problem Determination: If no listed data set contains the
This may be caused by a mismatch in granularities. If the
required RBA or LRSN, one of the following might have
RECOVER specifies a particular DSNUM, the data set speci-
occurred:
fied with the TOCOPY keyword may be for an image copy of
| this DSNUM or of the entire table space or index space. The data set was deleted from the bootstrap data set
| However, if the RECOVER is for the entire table space or (BSDS) by the change log inventory (DSNJU003) utility.
| index space, the specified data set must be for an image copy Rerun the utility to insert the missing data set name. DB2
| of the entire table space or index space. must be stopped to run this utility.
This message may also be issued if TOVOLUME is specified The BSDS was damaged. The BSDS can be restored
for a cataloged data set. using the dump and the most recent archive log data set.
Run the change log inventory (DSNJU003) tility to supply
RECOVER TOCOPY can issue DSNU519I even if the data set
changes that occurred during and after the last offload
information was correct but the data set was not for this site.
operation. Changes can be determined from the operator’s
| For example, if the DB2 subsystem is specified as
console listing.
| LOCALSITE, but the TOCOPY data set information is for a
| RECOVERYSITE data set, this message will be issued. If a listed log data set contains the required RBA or LRSN, this
message is preceded by one or more DSNJxxx error mes-
Severity: 8 (error)
sages. See the explanation of those messages for the appro-
System Action: RECOVER processing is terminated. priate action.
User Response: Correct the input and resubmit the
RECOVER job. | DSNU522I csect-name RECOVER CANNOT PROCEED
| FOR obj-type obj-qual.obj-name BECAUSE A
DSNU520I csect-name RECOVER TO A PRIOR POINT IN | NON-RECOVERABLE EVENT HAS BEEN
TIME MIGHT LEAVE TABLE SPACE table- | ENCOUNTERED FROM SYSIBM.SYSCOPY
space-name INCONSISTENT | WHICH HAS DBNAME=dbname
| TSNAME=tsname DSNUM=dsnum
Explanation: RECOVER DSNUM to a previous point in time | ICTYPE=ictype START_RBA=X'rba'
(for example, using the TOLOGPOINT option) was specified
for a nonpartitioned table space. You might have recovered a | Explanation: Recovery was requested for an index, but
data set that has different compression characteristics than the | activity on its table space (identified by the SYSIBM.SYSCOPY
replaced data set. For example, the data set to which you | columns) prohibits recovery. The use of an index's full image
recovered might have been compressed with a different dic- | copy by recovery is prohibited by a REORG or LOAD on its
tionary. | underlying table space.
| Severity: 8 (error)
| DSNU525I csect-name RECOVERY DATA DOES NOT
| System Action: Utility processing is terminated. All objects in | PERMIT DSNUM(ALL) RECOVERY OF
| the RECOVER statement are left in the same state as before
| the RECOVER utility was invoked. | obj-type obj-qual.obj-name
| User Response: Use the REBUILD INDEX utility to rebuild | Explanation: Recovery was requested for an entire object.
| the index from the table space. For more information about the | However, the object is not recoverable at that level for one of
| recoverability of this index, run the REPORT RECOVERY | the following reasons:
| utility on both the index and its table space.
| The object was recovered to a point in time (for example,
| TOLOGPOINT was specified), which required fall back
DSNU523I csect-name - RECOVER UTILITY FAILED. NO | processing. However, no subsequent image copy was
FULL IMAGE COPY WAS AVAILABLE AND | taken to establish a base for recovery.
THE FIRST LOG RECORD WAS NOT THE
REQUIRED INITIALIZATION RECORD. | A partition of the object was recovered to a point in time
| after the last full image copy of the object was taken.
Explanation: RECOVER was requested for a table space or
a data set of a table space and no image copy was available. Severity: 8 (error)
Recovery was attempted from the log and failed due to missing System Action: The RECOVER utility completes unsuccess-
data set initialization records. Specifically, the log records fully with return code 8.
which format space map and header pages were missing.
User Response: Submit the RECOVER job with DSNUM
Severity: 8 (error) specified for each data set for which recovery is required.
System Action: RECOVER completes unsuccessfully with a Refer to DB2 Utility Guide and Reference for information about
return code of 8. the RECOVER utility.
| Explanation: The utility found a duplicate object in the list. Severity: 4 (warning)
| The object name may indicate a partition or piece number. System Action: No action is taken.
# Severity: 8 (error) User Response: Refer to Section 2 (Volume 1) of DB2
# System Action: The utility job terminates processing. Administration Guide for the failure analysis procedure for the
check pending state.
| User Response: Correct the object list. Resubmit the job if
| needed.
| DSNU537I csect-name obj-type obj-qual.obj-name IS NOT
| ALLOWED IN THE LIST
DSNU534I csect-name TARGET RECOVERY POINT IS
NOT A QUIESCE POINT | Explanation: The RECOVER or COPY utility found a direc-
| tory or catalog table space in a list with other table spaces or
Explanation: The RECOVER utility attempted to recover to a | with user-defined indexes.
point in time (for example, using the TOLOGPOINT option) and
| one of the following conditions has been detected: | The table spaces that the COPY utility will not allow in a list
| with other table spaces are DSNDB01.SYSUTILX,
The table space set is not being recovered to a quiesce | DSNDB06.SYSCOPY, and DSNDB01.SYSLGRNX. However,
| point or to a common image copy | these table spaces may be specified with their IBM-defined
| SHRLEVEL(REFERENCE) point. | indexes in a list.
Not all table spaces in the table space set have the same | You cannot recover more than one directory or catalog table
quiesce point. | space in a list. Directory and catalog table spaces must be
A table space in the set contains a dependent table with a | recovered individually in a particular order because the
referential constraint that was defined after the specified | recovery of some objects depends on information derived from
quiesce point. | others. The correct order is documented in Section 4 (Volume
| 1) of DB2 Administration Guide. IBM-defined indexes may be
| A table space set is a group of table spaces that are
| specified with their associated directory or catalog table space
| referentially related or it can be a base table space and its
| in a list.
| associated LOB table spaces.
Severity: 8 (error)
Severity: 4 (warning)
System Action: The utility job terminates.
| User Response: If possible, recover the table space set to a
| quiesce point or a common image copy | User Response: Remove the directory and catalog object
| SHRLEVEL(REFERENCE) point. Otherwise, use the CHECK | names from the list. Then submit the COPY or RECOVER job
| DATA utility to check and correct referential violations. Use the | again.
| CHECK DATA utility on the base table space and the CHECK
| LOB utility on the LOB table space(s) to validate the LOB DSNU538I RECOVER ERROR RANGE OF DSN=dataset
| columns. name ON VOLUME=volser FROM
CCHH=X'cccchhhh' TO CCHH=X'cccchhhh'
DSNU535I csect-name - FOLLOWING TABLESPACES CONTAINS PHYSICAL ERROR
RECOVERED TO A CONSISTENT POINT Explanation: This message indicates that the error range
Explanation: This message will be issued by the RECOVER involved in the error range recover 'dataset name' is the data
| utility when it determines that a table space set (a group of set which has the physical error. The data set resides on
| referentially related table spaces or a base table space and its DASD volume 'volser' and the error range is from track
| lob table spaces) were recovered to a quiesce or to a address X'cccchhhh' to track address X'cccchhhh'.
| common image copy SHRLEVEL(REFERENCE) point. All If the error range of a data set covers more than one extent or
table spaces in the table space set will be listed after this more than one volume, then there will be one message per
message heading. extent per volume.
Severity: 0 (informational) Severity: 8 (error)
System Action: No action is taken. System Action: Physical I/O error is detected during error
range recover, processing terminated with return code 8.
System Programmer Response: A DSNU086 message is
issued to the console by DB2 while running error range
recovery; this indicates that the physical error is not recovered.
User must run ICKDSF or equivalent service utility to recover
the physical error then re-run the error range recover again.
Problem Determination: Use the information provided by this
message to run ICKDSF and then run error range recover
again.
System Programmer Response: Find the correct data sets User Response: Correct the partition number or verify that
and rerun the job. the index name is specified correctly, and resubmit the utility
statement in a new utility job step. Refer to DB2 Utility Guide
and Reference for a description of the particular utility options.
| DSNU549I RECOVER obj-type obj-qual.obj-name dsnum
USES ONLY DB2 LOGS STARTING FROM
LOGPOINT=X'xxxxxxxxxxxx'. DSNU554I csect-name - DUPLICATE INDEX NAMES EXIST
IN THE SPECIFIED INDEX NAME LIST
Explanation: The RECOVER utility issues one message for
each DB2 object that uses only DB2 logs to recover. In a non | Explanation: When attempting to CHECK or REBUILD the
data-sharing environment, the LOGPOINT value is specified by | indicated indexes, it was determined that duplicate index
an RBA; in a data sharing environment it is specified by an | names were specified in the index name list.
LRSN. Severity: 8 (error)
Severity: 0 (informational) System Action: The utility job terminated.
System Action: RECOVER utility processing continues. User Response: Correct the index-name(s) in the index
name list and resubmit the job.
DSNU550I csect-name INDEX NAME= index-name IS
EMPTY DSNU555I csect-name UNLOAD PHASE STATISTICS,
| Explanation: While attempting to REBUILD the indicated NUMBER OF RECORDS=xxxx
| index, it was determined that the table upon which the index is | Explanation: This message is issued at the normal com-
| based is empty. | pletion of the UNLOAD phase of the REBUILD INDEX utility. It
Severity: 4 (warning) | gives the number of records that were unloaded (xxxx) for the
| specified table space.
System Action: Utility processing proceeds to the next utility
request, if any. Severity: 0 (informational)
DSNU551I csect-name INDEX NAME= index-name | DSNU556I csect-name - RECOVER CANNOT PROCEED
PART=part-num IS EMPTY | FOR obj-type obj-qual.obj-name DSNUM x
| BECAUSE A SYSIBM.SYSCOPY RECORD HAS
| Explanation: While attempting to REBUILD the indicated | BEEN ENCOUNTERED WHICH HAS DBNAME=
| index partition, it was determined that the partition upon which | dbname TSNAME= tsname DSNUM= dsnum
| the specified index partition is based is empty. | ICTYPE= ictype STARTRBA=X'rba'
Severity: 4 (warning) | LOWDSNUM= lowdsnum
| HIGHDSNUM=highdsnum.
System Action: Utility processing proceeds to the next utility
request, if any. | Explanation: A SYSCOPY record has been encountered that
| prohibits recovery processing. If the ICTYPE column is a:
DSNU552I csect-name RECOVER CANNOT PROCEED | R,S,W, or X Then a SYSCOPY record for a REORG or LOAD
BECAUSE THE starting/ending LOGPOINT xxx | REPLACE that redistributed data across partitions
IS NOT WITHIN THE RECOVERY RANGE OF | has been encountered. The partitions affected by
xxx AND xxx FOR | the ALTER INDEX that changed the limit keys must
| be recovered in the same list.
| obj-type obj-qual.obj-name
| A An attempt has been made to recover an index to a
Explanation: The starting or ending LOGPOINT found for this | point in time prior to a first Alter Table Column that
recovery job is outside the available recovery information. A | altered the index key column. This is not allowed.
LOGPOINT value is an RBA or LRSN. The RECOVER utility
| F An attempt has been made to recover an index to a
cannot process this request.
| prior point in time and more than sixteen Alter Table
Severity: 8 | Columns have been done that altered the index key
| System Action: The RECOVER utility terminates.
| since that time. This is not allowed.
| Severity: 8 (error)
| System Action: The Recover Utility terminates with RC8.
DSNU562I csect name - TABLESPACE | User Response: For case 1, execute REPORT RECOVERY
database.tablespace IS IN RECOVERY | on the object and also collect the output from the previous exe-
PENDING | cution of RECOVER TABLESPACE. Using those two outputs
| and the console log, determine the reason for the failure during
Explanation: The table space against which the utility was | the RESTORE phase. Correct the reason for the failure, if nec-
running is in recovery pending status. A RECOVER | essary. Terminate the outstanding utility then rerun the
TABLESPACE is required. | RECOVER TABLESPACE without RESTART.
Severity: 4 (warning) For case 2, restart the utility with RESTART(CURRENT) or
System Action: No action is taken. restore the data sets and rerun the RECOVER job from the
beginning.
User Response: Take one of the following actions:
Collect the following diagnostic items listed in Appendix B,
Run the RECOVER TABLESPACE utility on the table “Problem determination” on page 1051: 1,
space.
Run the LOAD REPLACE utility on the table space. DSNU565I csect-name CHECK CONSTRAINT constraint-
Use the REPAIR SET NORCVRPEND utility or the START name ON TABLE table-name WAS CREATED
DATABASE FORCE command to reset the recovery AFTER THE TARGET RECOVERY POINT
pending status. However, these two options will not correct Explanation: The check constraint constraint-name was
the table space. created on table table-name after the target recovery point.
The target recovery point is the specified time or RBA in the
| DSNU563I csect name- point-in-time recovery. The associated table space was placed
in check pending status because the RECOVER utility cannot
| obj-type obj-qual.obj-name IS IN CHECK determine whether check integrity was maintained. Data in the
| PENDING table might have constraint violations.
DSNU577I csect-name MODIFY HAS NOT DELETED ALL DSNU582I csect-name REPORT RECOVERY
SYSCOPY RECORDS AS REQUESTED.
Explanation: If MODIFY RECOVERY is invoked with a
| obj-type obj-qual.obj-name SYSCOPY ROWS
partition-number (DSNUM), and the table space level recover- Explanation: This is the header message for the SYSCOPY
able point is older than the user specified DATE or AGE, all section of the REPORT RECOVERY output. This section dis-
SYSCOPY records after the table space level recoverable | plays the SYSCOPY rows for the table space or index space.
point cannot be deleted. | Whether the information is displayed at the partition level is
Severity: 4 (warning)
| determined by the DSNUM specification in the REPORT
| RECOVERY input statement. The fields in the SYSCOPY row
System Action: Processing continues normally. are:
TIMESTAMP
DSNU578I csect-name SYSLGRNX INFORMATION FOR ICTYPE
MEMBER member-name
| The following delimiters may be present around the
Explanation: In the data sharing environment, the | ICTYPE value: * * - Non image copy syscopy entry < > -
SYSLGRNX records reported with DSNU513 are grouped by | Image copy prior to rebalancing of table space partitions ( )
the respective member name. Each group member has header | - Image copy prior to LOG(NO) event. Note that for image
message DSNU578 to identify the member. This message pre- | copies of indexes, the LOG(NO) event may have occurred
cedes DSNU513. | on its underlying table space.
System Action: The RECOVER utility continues with the DSNUM
LOGAPPLY phase. FILESEQNO
START_RBA
SHRLEVEL
DSNU579I csect-name RECOVER UTILITY LOG APPLY AT DEVTYPE
LOGPOINT xxx ICBACKUP
Explanation: This message shows the progress of the DSNAME
LOGAPPLY phase of the RECOVER utility. The highest STYPE
LOGPOINT that was applied is xxx. The value of logpoint is PIT_RBA
RBA in a non data-sharing environment and LRSN in a data DSVOLSER
sharing environment. | HIGHDSNUM
| LOWDSNUM
System Action: The LOGAPPLY phase continues normally.
For description of the fields, see SYSIBM.SYSCOPY table in
Appendix C of DB2 SQL Reference.
DSNU580I csect-name REPORT UTILITY COMPLETE,
ELAPSED TIME=hh/mm/ss Severity: 0 (informational)
Explanation: The message is issued at the normal com-
pletion of the REPORT utility. The time that elapsed since the DSNU583I csect-name SYSLGRNX ROWS FROM REPORT
beginning of the REPORT utility to its completion was 'hh' RECOVERY FOR
hours, 'mm' minutes, and 'ss' seconds.
| obj-type obj-qual.obj-name
Severity: 0 (informational)
Explanation: This is the header message for the SYSLGRNX
System Action: This message indicates the normal com-
section of the REPORT RECOVERY output. This section dis-
pletion of the REPORT utility. Processing continues to the next
| plays the SYSLGRNX rows for the table space, index space,
utility statement in the utility job step, if any. If not, the utility
| or partition as specified in the REPORT RECOVERY input
job step is normally terminated, and the resources held
statement. The fields in the SYSLGRNX row are:
become available for further processing. The UTILID of the
utility job step becomes available for reuse. UCDATE - Modification date
UCTIME - Modification time
START RBA - Starting RBA
STOP RBA - Stopping RBA
START LRSN - Starting LRSN
STOP LRSN - Stopping LRSN
DSNUM - Partition number
MEMBER - Data sharing member
An invalid SYSLGRNX record is marked with '**' at the end.
The invalid SYSLGRNX record cannot be used for recovery
DSNU587I csect-name REPORT TABLESPACE SET WITH Problem Determination: Look up the reason code in
TABLESPACE dbname.tsname “Section 4. DB2 Codes” on page 577 of this book for problem
determination.
Explanation: Header message for the REPORT
TABLESPACESET output. The output contains all table
DSNU592I csect-name REPORT RECOVERY INFORMA-
spaces, tables, and dependent tables associated with the table
TION FOR DATA SHARING MEMBER member-
space specified in the REPORT TABLESPACESET input state-
name
ment.
Explanation: The REPORT RECOVERY utility displays this
Severity: 0 (informational)
message as the heading for SYSLGRNX and BSDS records or
System Action: Utility processing continues normally. BSDS summary information for each data sharing member.
Records for this member follow, if there is data to report.
Severity: 0 (Informational)
System Action: REPORT utility processing continues. | System Action: Recover processing continues.
RECOVER utility terminates.
DSNU600I csect-name INDEX creator.index-name POINTS
System Programmer Response: Run the RECOVER utility
TO A DIFFERENT DATABASE.
with the TOCOPY option.
Explanation: A specified index does not point to a table in
# DSNU595I csect-name ERROR IN GETTING THE HIGHEST the database selected. For a RUNSTATS Format 1 invocation,
MEMBER ID IN DATA SHARING. the database is the one specified (or defaulted) in the
TABLESPACE parameter. For a RUNSTATS Format 2 invoca-
Explanation: The REPORT utility could not find a valid tion, the database is the one which contains the first index in
highest member ID. The highest member is the last member to the index-name list.
join a data sharing group. This message is issued only in a
data sharing environment. Severity: 8 (error)
System Action: The REPORT utility abends. Explanation: A specified index does not point to a table in
the table space selected. The table space is either the one
System Programmer Response: This might be a DB2 specified in the TABLESPACE parameter or the one which
internal problem. Refer to Section 3 of DB2 Diagnosis Guide contains the table pointed to by the first specified index.
and Reference for information on identifying and reporting the
problem. Severity: 8 (error)
System Action: All remaining RUNSTATS invocation param-
eters are validated and the executing utility job terminates.
Work performed by previous utilities in the job step remains in
effect. Subsequent utility control statements are flushed. No
System Action: Validation of the utility invocation statement # space The number of kilobytes of space currently
is completed and the executing utility job step is terminated. # allocated for all extents.
User Response: Ensure that the column name given in the This message is routed to SYSPRINT.
message is correct for the table specified. Severity: 0 (informational)
Problem Determination: Check that the column name speci- System Action: RUNSTATS processing continues.
fied in the utility invocation statement is identical to that found
in the SYSIBM.SYSCOLUMNS catalog table. Correct any User Response: Refer to DB2 Utility Guide and Reference
errors and reissue the utility job. for information about RUNSTATS statistics.
FREQUENCY COLVALUE
DSNU614I csect-name SYSTABLES CATALOG STATIS-
TICS FOR table-name frequency X “hex_string”
frequency X “hex_string”
CARD = cardinality
CARDF = cardinalityNPAGES = npages ... ...
PCTPAGES = pctpages frequency X “hex_string”
PCTROWCOMP = pctrowcomp
Explanation: The RUNSTATS utility issues this message to Explanation: The RUNSTATS utility issues this message to
report the statistics collected for the specified table. The statis- report the statistics collected for the indexed column
tics follow: 'column-name'. If more than one column is listed, then the
statistics collected and the column values reported represent
cardinality The number of rows in the table
the concatenation of those columns.
npages The number of pages on which rows of the
| The value for CARDINALITY is the number of distinct values
table appear
| for the listed columns. This statistic appears only if the
pctpages The percentage of total pages of the table | KEYCARD option was specified.
space that contain rows from this table
The values under FREQUENCY are the same as those that
pctrowcomp The percentage of rows compressed within are inserted into the DB2 catalog. Consider each 'frequency'
the total number of active rows in the table as a four-digit number with an implied decimal point two places
to the left of the final digit. The resulting number is the per-
For a LARGE table space, the value of CARD is set to -1.
centage of total rows in the table that contain a particular value
RUNSTATS uses floating point fields to report these statistics. for the named index columns.
This message is routed to SYSPRINT. Frequency is associated with the occurrence of a single value
Severity: 0 (informational) which is listed under COLVALUE.
System Action: RUNSTATS processing continues. Frequencies for the most frequent values are collected by
default, or if the FREQVAL option is specified and given a
User Response: Refer to DB2 Utility Guide and Reference COUNT value greater than zero. If the default is taken, then
for a discussion of RUNSTATS statistics. the ten most frequently occurring values are reported in
descending order of frequency.
DSNU615I csect-name SYSCOLUMNS CATALOG STATIS- If fewer than ten values appear, then there are fewer than
TICS FOR column-name ten distinct values in the index.
COLCARD = cardinality If no values appear, then the values are uniformly distrib-
COLCARDF = cardinalityHIGH2KEY = high2key uted.
LOW2KEY = low2key
If frequencies appear but column values do not, then the
Explanation: The RUNSTATS utility issues this message to invoker of RUNSTATS is not authorized to read the table.
report the statistics collected for column 'column-name'. Message DSNU619I is issued to identify the table.
Message DSNU619I is issued to identify the table.
This message is routed to SYSPRINT.
cardinality The number of distinct values in the column
Severity: 0 (informational)
high2key The second highest value of the column
System Action: Processing continues.
low2key The second lowest value of the column
User Response: Refer to DB2 Utility Guide and Reference
If the values for 'high2key' and 'low2key' are null, the for a description of RUNSTATS statistics.
invoker of RUNSTATS is not authorized to read the table.
For a LARGE table space, the value of COLCARD is set to -1. DSNU617I csect-name SYSINDEXES CATALOG STATIS-
RUNSTATS uses floating point fields to report these statistics. TICS FOR index-name
Explanation: The RUNSTATS utility issues this message to DSNU621I csect-name RUNSTATS COMMIT/ROLLBACK
report the statistics collected for index 'index-name'. If FAILED
'part-num' equals 0, the statistics apply to the entire index. If Explanation: The RUNSTATS utility updated the catalog with
'part-num' is not 0, the statistics apply to the specified parti- gathered statistics and has tried either to commit those
tion of the index. changes or to perform rollback processing to remove them fol-
cardinality The number of rows in the partition or index lowing an error. The commit or rollback failed.
near-off The number of rows pointed to that are Severity: 8 (error)
near but not at their optimal positions System Action: RUNSTATS processing is terminated. Sub-
far-off The number of rows pointed to that are far sequent utility control statements in the utility job step are exe-
from their optimal positions cuted.
leafdist 100 times the average distance in page IDs System Programmer Response: If you suspect an error in
between successive leaf pages during a DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
sequential access of the index for information on identifying and reporting the problem.
# PQTY The primary space allocation for the Problem Determination: This is an internal error.
# dataset in 4K blocks
# SQTY The secondary space allocation for the # DSNU622I csect-name CATALOG ACCESS FOR object-
# dataset in 4K blocks # name NOT SUCCESSFUL, REASON=reason-
# code
# space The number of kilobytes of space currently
# allocated for all extents # Explanation: Due to catalog access error for object object-
# name and reason code reason-code, the catalog update,
For a LARGE table space, the values of CARD, # insert, or select was not successful for the object when inline
NEAROFFPOS, and FAROFFPOS are set to -1. RUNSTATS # statistics was employed.
uses floating point fields to report these statistics.
| Severity: 4 (warning)
This message is routed to SYSPRINT.
| User Response: Run the runstats utility against the object.
DSNU624I csect-name SYSTABSTATS CATALOG STATIS- User Response: Refer to DB2 Utility Guide and Reference
TICS FOR table-name PARTITION part-num for a description of RUNSTATS statistics.
cardinality The number of rows in the table space par- frequency X “hex_string”
tition ... ...
System Action: Processing continues. | This error message will be issued on execution of a REORG
| utility with STATISTICS keyword specified.
User Response: Refer to DB2 Utility Guide and Reference
for a description of RUNSTATS statistics. | Severity: 4 (warning)
| User Response: Remove the keyword STATISTICS from the
DSNU627I csect-name SYSINDEXSTATS CATALOG STA- | REORG utility job statement.
TISTICS FOR index-name PARTITION
part-num | DSNU630I csect-name - SYSLOBSTATS CATALOG STA-
# CLUSTERRATIO or CLUSTERRATIOF = cluster-ratio | TISTICS FOR LOB table space AVGSIZE =
# FIRSTKEYCARD or FIRSTKEYCARDF = first-key | avgsize FREESPACE = freespace ORGRATIO =
# FULLKEYCARD or FULLKEYCARDF = full-key | orgratio
# NLEAF = nleaf | Explanation: The RUNSTATS utility issues this message to
# NLEVELS = nlevels | report statistics collected for the LOB table space.
# KEYCOUNT or KEYCOUNTF = keycount
| AVGSIZE Average size of a LOB in the LOB table space.
Explanation: The RUNSTATS utility issues this message to
report the statistics collected for partition part-num of index
| FREESPACE Amount of free space in the LOB table space.
index-name. | ORGRATIO The ratio of organization in the LOB table space.
cluster-ratio The percentage of data rows in the partition
| A value of 1 indicates perfect organization of the
that are in clustering order for this index
| LOB table space. The greater the value exceeds 1,
| the more disorganized the LOB table space.
first-key The number of distinct values of the first
key column in the partition
| System Action: RUNSTATS processing continues.
System Action: Processing continues. User Response: Resubmit the utility job on the system in
which the database was defined with the ROSHARE OWNER
User Response: Refer to DB2 Utility Guide and Reference attribute.
for a description of RUNSTATS statistics.
DSNU639I csect - UTILITY NOT ALLOWED TO RUN ON
| DSNU628I csect-name STATISTICS WILL NO LONGER BE INDEX SPACE = iiiiiiii IN ROSHARE READ
| COLLECTED ON RESTART DATABASE = dddddddd
| Explanation: Since inline statistics is not restartable, Statis- Explanation: An attempt to execute the STOSPACE utility on
| tics will not be collected on restarting the LOAD/REORG utility. an index space defined in a ROSHARE READ database failed.
| The error message will be issued on restart of a The STOSPACE utility is only allowed to execute in a
| LOAD/REORG utility with STATISTICS keyword specified. ROSHARE OWNER or nonshared database.
| Severity: 4 (warning) Severity: 4 (warning)
| User Response: Run the runstats utility on the object after System Action: Processing continues to the next table space
| the utility execution. or index space in the storage group, if any.
User Response: Resubmit the utility job on the system in
which the database was defined with the ROSHARE OWNER
attribute.
DSNU640I csect-name DATA SET= nnn OF DSNU643I csect-name UNABLE TO ACCESS DBD FOR
TABLESPACE= tttttttt IN DATABASE= DATABASE = dddddddd, INDEXSPACE = tttttttt
dddddddd HAS BEEN MIGRATED BY HSM
Explanation: A database descriptor control block could not
Explanation: The STOSPACE utility has found that a DB2 be accessed by the STOSPACE utility. Information in the DBD
data set has been migrated by the Data Facility Hierarchical is required before space allocation data can be obtained from
Storage Manager. The amount of storage space used cannot the appropriate ICF catalog. Storage space used by index
be determined for DATA SET 'nnn' of TABLESPACE 'tttttttt' space 'tttttttt' in database 'dddddddd' cannot be determined.
in DATABASE 'dddddddd'. The space allocation information
Severity: 4 (warning)
in the catalog will not include the storage used by the migrated
data set. System Action: Processing continues with the next storage
group.
Severity: 0 (informational)
User Response: Determine the cause for unavailability. The
System Action: Processing continues to the next data set in
database may be stopped or the DBD may be marked as
the storage group, if any.
invalid. The -DISPLAY DATABASE command can be used to
System Programmer Response: If required, the data set determine the status.
may be recalled using HSM, and the STOSPACE utility may
System Programmer Response: Determine if the reason for
be run again.
the DBD unavailability may require system corrective action.
Problem Determination: A DSNT501I message may have
DSNU641I csect-name DATA SET= nnn OF INDEXSPACE=
been sent to the operator console. If so, see the problem
iiiiiiii IN DATABASE= dddddddd HAS BEEN
determination section for message DSNT501I in the “DSNT...
MIGRATED BY HSM
Messages” on page 315 section.
Explanation: The STOSPACE utility has found that a DB2
data set has been migrated by the Data Facility Hierarchical
DSNU644I csect-name USER user-name NOT AUTHOR-
Storage Manager. The amount of storage space used cannot
IZED FOR STOSPACE UTILITY
be determined for DATA SET 'nnn' of INDEXSPACE 'iiiiiiii' in
DATABASE 'dddddddd'. The space allocation information in Explanation: Utility processing for the user indicated on the
the catalog will not include the storage used by the migrated job statement failed, because the user is not authorized to
data set. execute the STOSPACE utility.
Severity: 0 (informational) Severity: 8 (error)
System Action: Processing continues to the next data set in System Action: Utility processing is terminated without
the storage group, if any. invoking the requested utility or utilities.
System Programmer Response: If required, the data set User Response: Contact the systems programmer for assist-
may be recalled using HSM, and the STOSPACE utility may ance with your security classification.
be run again. System Programmer Response: If the USER specified on
the job statement is incorrect, correct it, and resubmit the job.
DSNU642I csect-name UNABLE TO ACCESS DBD FOR To run the STOSPACE utility, the user must either have
DATABASE = dddddddd, TABLESPACE = tttttttt SYSADM authority or have been granted the STOSPACE privi-
lege. Use the SQL GRANT command to give the user the
Explanation: A database descriptor control block could not
desired authority.
be accessed by the STOSPACE utility. Information in the DBD
is required before space allocation data can be obtained from
the appropriate ICF catalog. Storage space used by table DSNU645I csect-name NO STORAGE GROUPS NAME
space 'tttttttt' in database 'dddddddd' cannot be determined. FOUND
Severity: 4 (warning) Explanation: You requested the STOSPACE utility to report
on all storage groups, but no storage group was found.
System Action: Processing continues with the next storage
group. Severity: 4 (warning)
User Response: Determine the cause for unavailability. The This condition does not prevent subsequent processing.
database may be stopped or the DBD may be marked as System Action: This message indicates completion of the
invalid. The -DISPLAY DATABASE command can be used to STOSPACE utility. Processing continues to the next utility
determine the status. statement in the utility job step, if any. If not, the utility job step
System Programmer Response: Determine if the reason for is normally terminated. Resources are released to their prior
the DBD unavailability may require system corrective action. availability state. The UTILID of the utility job step becomes
available for reuse.
Problem Determination: A DSNT501I message may have
been sent to the operator console. If so, see the problem User Response: This message indicates that there are no
determination section for message DSNT501I in the “DSNT... storage groups defined. Consult the system programmer to
Messages” on page 315. determine the reason for this condition.
System Programmer Response: This message indicates
either that no storage groups were defined by the installation
process (or by subsequent SQL procedures) or they have all
been dropped. If this is an error, the required storage groups
must be re-created with the CREATE STOGROUP SQL state- Severity: 4 (warning)
ment.
System Action: Processing continues to the next index in the
storage group, if any.
DSNU646I csect-name STORAGE GROUP NAME
User Response: Use the 'reason-code' and 'type-code' to
nnnnnnnn NOT FOUND
determine why the resource was unavailable. When the
Explanation: This message is issued by STOSPACE when problem has been resolved, resubmit the STOSPACE request.
one of the requested storage groups is not found.
System Programmer Response: Determine if the
The following circumstances may exist: 'reason-code' and 'type-code' require system corrective
1. When an inconsistency occurs between action.
SYSIBM.SYSSTOGROUP at the beginning of STOSPACE Problem Determination: See the Problem Determination
execution and SYSIBM.SYSSTOGROUP during or at the section for message DSNT500I on page 355.
end of processing. The inconsistency may be due to a
storage group being dropped during the processing of
DSNU650I csect-name control-statement-text
STOSPACE utility.
Explanation: Each control statement is returned to the
2. The storage group name is misspelled.
invoker as a part of the normal output. If an error occurred
Severity: 4 (warning) while processing the statement, a separate error message
follows this message.
System Action: Processing proceeds normally to the next
storage group if any. Severity: 0 (informational)
User Response: Verify the existence or spelling of the System Action: The processing of the utility request con-
storage group names by referring to tinues normally.
SYSIBM.SYSSTOGROUP. Submit another request with the
correct storage group designated. DSNU651I csect-name SET NOCOPYPEND OPERATION
SUCCESSFUL
DSNU647I csect-name UNAVAILABLE REASON X reason-
Explanation: This message reports the successful completion
code UNAVAILABLE TYPE X type-code,
of the REPAIR SET TABLESPACE NOCOPYPEND utility
TABLESPACE NAME= table-space-name NOT
operation. The COPY PENDING restriction has been removed
FOUND
from the specified table space.
Explanation: The indicated table space was not available for
Severity: 0 (informational)
processing by the STOSPACE utility. The reason for its una-
vailability is given in 'reason-code'. The type of unavailability System Action: The REPAIR SET statement has completed
is given in 'type-code'. normally.
This message may be issued when an inconsistency between
SYSIBM.SYSSTABLESPACE and SYSIBM.SYSTABLEPART DSNU652I csect-name VERIFY OPERATION SUC-
has been detected. The inconsistency may be due to a table CESSFUL
space being dropped during the processing of the STOSPACE Explanation: This message is issued during REPAIR utility
utility. processing in response to a VERIFY control statement. It indi-
Severity: 4 (warning) cates the verification requested was successful, permitting a
subsequent REPLACE request to take effect.
System Action: Processing continues to the next table space
in the storage group, if any. Severity: 0 (informational)
User Response: Use the 'reason-code' and 'type-code' to System Action: The requested verification was successful. If
determine why the resource was unavailable. When the this is the only verification required for the subsequent
problem has been resolved, resubmit the STOSPACE request. REPLACE control statement, the REPLACE control statement
takes effect. If there are other verification control statements,
System Programmer Response: Determine if the they must also complete successfully before the subsequent
'reason-code' and 'type-code' require system corrective REPLACE control statement takes effect.
action.
Problem Determination: See the Problem Determination # DSNU653I csect-name REPLACE OPERATION AT
section for message DSNT500I on page 355. OFFSET hex-data WITH DATA hex-data
FAILED. ATTEMPTED TO REPLACE CRITICAL
DSNU648I csect-name UNAVAILABLE REASON X reason NON-DATA INFORMATION ON THE PAGE
code, UNAVAILABLE TYPE X type-code, INDEX page-num WITH INCORRECT INFORMATION.
NAME=index-name NOT FOUND Explanation: The REPAIR utility job with the LOG YES
Explanation: The indicated index was not available for proc- option was unable to replace certain critical, nondata informa-
essing by the STOSPACE utility. The reason for its unavail- tion in the page for one of these reasons:
ability is given in 'reason-code'. The type of unavailability is Some critical information on any page at the indicated
given in 'type-code'. offset cannot be replaced by this method.
This message may be issued when an inconsistency between The page is a header page and some of the information at
SYSIBM.SYSINDEXES and SYSIBM.SYSINDEXPART has the indicated offset cannot be replaced by this method.
been detected. The inconsistency may be due to an index
being dropped during the processing of the STOSPACE utility.
System Action: All REPAIR REPLACE actions subject to the Explanation: The specified key is not unique. Several
current LOCATE scope are ignored. Processing continues at DSNU660I messages, giving possible RID values for this KEY,
the next LOCATE request, if any. follow this message.
User Response: Determine why the data (as reported in the Severity: 8 (error)
message) does not match the expectations of VERIFY option. System Action: Processing continues normally.
Make the appropriate correction, and resubmit the REPAIR
User Response: Change the LOCATE statement to locate
request in a new utility job step.
the desired RID, and resubmit the request in a new utility job
Problem Determination: The REPAIR DUMP option can step.
help you determine the correct verification data. Refer to DB2
Utility Guide and Reference for REPAIR processing con-
DSNU659I csect-name REPAIR LEVELID OPERATION DIS-
straints.
ALLOWED.
Explanation: The REPAIR utility with the LEVELID clause is
DSNU655I csect-name DELETE OPERATION SUC-
not allowed. Possible reasons are:
CESSFUL
The data set was in use at the time the REPAIR utility was
Explanation: This message is issued during the REPAIR
run.
utility in response to a DELETE control statement.
The page set has outstanding log apply activity (an indoubt
Severity: 0 (informational)
UR has interest in the page set or the page set has pages
System Action: The data record specified on the previous in the logical page list (LPL)).
LOCATE statement and all of its related INDEX entries have
Severity: 8 (error)
been deleted from the system. Processing continues.
System Action: Processing ends with this operation.
DSNU656I csect-name REPLACE OPERATION SUC- User Response: The REPAIR LEVELID operation for the
CESSFUL, DATA WAS hex-data | given index space or table space cannot continue at this stage.
Explanation: This message is issued by the REPAIR utility in If the page set is in use, you should not attempt to run
response to a REPLACE control statement request. The REPAIR LEVELID. If the page set has log apply activity out-
message indicates that replacement of the data occurred and standing (in-doubt UR or pages in LPL), the log apply activity
that the replaced data had the indicated hexadecimal value must complete before using REPAIR LEVELID. Submit other
('hex-data'). REPAIR control statements in a different job step.
Severity: 0 (informational)
DSNU660I csect-name POSSIBLE RID rid
System Action: The REPAIR utility located the indicated
Explanation: 'rid' is one of several records that map to the
record, performed all requested verifications, and replaced the
specified KEY.
data in the record at the indicated offset with the new data as
defined by the REPLACE control statement. Severity: 8 (error)
System Programmer Response: If a changed record is System Action: Other records also mapping to the specified
recovered before an image copy is made, and the REPAIR KEY are identified by other DSNU660I messages. This
utility was run with LOG NO, the repair must be reapplied. If message is preceded by message DSNU658I. Processing con-
the REPAIR utility was run with LOG YES, no image copy is tinues normally.
required before recovering the data after the repair.
User Response: Change the LOCATE statement to locate
the desired RID, and resubmit the request in a new utility job
step. If you suspect an error in DB2, refer to Section 3 of DB2
DSNU661I csect-name RECORD NOT FOUND IN PAGE, Explanation: A record identifier (RID) was specified on the
MAXID= hex-data LOCATE statement, but that RID is not associated with any
record in the specified table space. If DELETE processing
Explanation: A RID was either specified or obtained from the returns this message, the RID may exist but be invalid for
clustering index via the specified KEY. The PAGE indicated in DELETE.
the RID did not contain the RECORD indicated in the RID.
Severity: 8 (error)
Severity: 8 (error)
System Action: Processing begins at the next LOCATE
System Action: Processing proceeds to the next LOCATE statement, if there is one. Subsequent utilities in the same job
statement, if there is one. step will not be executed.
User Response: Either change the LOCATE statement to User Response: Correct the LOCATE statement, and
locate a valid RID or KEY, or use LOCATE PAGE and resubmit the REPAIR statements in a new utility job step.
resubmit the REPAIR statements in a new utility job step. If
you suspect an error in DB2, refer to Section 3 of DB2 Diag- Problem Determination: REPAIR DELETE will issue this
nosis Guide and Reference for information on identifying and message for RIDs which are internal and do not directly repre-
reporting the problem. sent user data. The DUMP keyword may be used to view the
RID, if it exists. These internal records may only be repaired
using the REPLACE keyword.
DSNU662I csect-name NO RECORD FOUND WITH SPECI-
FIED KEY
DSNU666I csect-name NO INDEX EXISTS
Explanation: A KEY was specified on the LOCATE state-
ment, but no entry exists in the clustering index for that KEY. Explanation: The KEY for this table space is not a full clus-
tering key. The statement is invalid.
Severity: 8 (error)
Severity: 8 (error)
System Action: Processing begins at the next LOCATE
statement, if there is one. System Action: Processing continues at the next LOCATE
statement, if there is one.
User Response: Correct the LOCATE statement, and
resubmit the REPAIR statements in a new utility job step. User Response: Correct the LOCATE statement to use the
clustering index, or change LOCATE by PAGE or RID. If you
suspect an error in DB2, refer to Section 3 of DB2 Diagnosis
DSNU663I csect-name PAGE hex-page-number NOT Guide and Reference for information on identifying and
FOUND reporting the problem.
Explanation: The page identified a record identifier (RID) or
KEY does not exist in the specified table space. DSNU668I csect-name UNABLE TO CONVERT KEY TO
Severity: 0 (informational) when issued by DUMP PAGES(n). format
8 (error) when issued by LOCATE PAGE(n). Explanation: 'format' specifies the data type to which the
System Action: Processing begins at the next LOCATE KEY specification must be converted. The conversion has
statement, if there is one. failed.
Severity: 4 (warning)
DSNU669I csect-name INDEX NOT FOUND FOR SPECI-
System Action: Processing continues at the next LOCATE FIED TABLESPACE
statement, if there is one.
Explanation: An index was specified on the LOCATE KEY
User Response: Correct the OFFSET and/or LENGTH spec- statement via the INDEX keyword, but no index by that name
ification, and resubmit the REPAIR statements in a new utility was found related to the specified TABLESPACE.
job step. If you suspect an error in DB2, refer to Section 3 of
DB2 Diagnosis Guide and Reference for information on identi- Severity: 8 (error)
fying and reporting the problem. System Action: Processing begins at the next LOCATE
statement, if there is one.
User Response: Correct the LOCATE statement and
resubmit the REPAIR statements in a new utility job step.
Problem Determination: Valid index names can be found in
the SYSIBM.SYSINDEXES catalog table.
DSNU673I csect-name REPAIR LOCATE RID LOCATED A Explanation: This message is issued as an identifier at the
NON-DATA PAGE top of each page dumped by the REPAIR DUMP PAGES
facility. 'hex-page-number' identifies the page which is about
Explanation: The LOCATE RID option of the REPAIR utility to be dumped.
was used to process a nondata page.
Severity: 0 (informational)
Severity: 8 (error)
System Action: Processing continues.
System Action: Processing continues at the next LOCATE
statement. Otherwise, processing stops.
DSNU681I csect-name SET NOCHECKPEND OPERATION
User Response: To process nondata pages, use the SUCCESSFUL
LOCATE PAGE option in the REPAIR control statements and
resubmit the new utility job step. If you suspect an error in Explanation: This message reports the successful completion
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference of the REPAIR SET TABLESPACE NOCHECKPEND utility
for information on identifying and reporting the problem. operation. The check pending restriction has been removed
from the specified table space.
obtained from TBCREATOR and TBNAME of Problem Determination: The inconsistency between the
SYSIBM.SYSINDEXES. table space partition number of a row and the index space par-
tition number of the row's clustering key may be due to a DB2
The values for DBNAME and TSNAME must be the same for
internal error, but is most likely due to a user using the
all indexes specified in the index name list and must be the
DSN1COPY service aid to populate a target table space with
same as the table space name specified on the TABLESPACE
data from a source table space when the clustering key values
keyword (if provided).
on the source and target table spaces are not identical.
System Action: Processing continues. Explanation: The CHECK utility CHECKIDX phase found that
index 'iiii' has an entry that contains a negative zero. The
index entry is for the row at RID 'rrrr' with key 'kkkk'.
DSNU706I csect-name ROW IS IN WRONG PARTITION
RID=rrrr, INDEX=iiii, KEY=kkkk, CORRECT Severity: 4 (warning)
PART=pppp, WRONG PART=wwww System Action: CHECK utility processing continues.
Explanation: The row at RID 'rrrr' resides in the wrong parti- | User Response: Run the REBUILD INDEX utility for index
tion. The partitioning KEY 'kkkk' for partitioning INDEX 'iiii' | 'iiii'.
indicates that the row at RID 'rrrr' should reside in partition
'pppp', however the rid indicates that the row contains parti-
DSNU711I csect-name NO ROW FOR INDEX ENTRY.
tion 'wwww'.
RID=rrrr, INDEX=iiii, KEY=kkkk
Severity: 4 (warning)
Explanation: The CHECK utility CHECKIDX phase found that
System Action: Utility processing continues. the index 'iiii' contains an entry that has no row. The index
User Response: Run RECOVER TABLESPACE utility to entry contained RID 'rrrr' and key 'kkkk', but RID 'rrrr' is not
recover the data or run REPAIR DELETE utility to delete the a valid record.
row 'rrrr' followed by CHECK INDEX and CHECK DATA utility Severity: 4 (warning)
if referential constraints are involved.
System Action: CHECK utility processing continues.
| User Response: Run the REBUILD INDEX utility for index tion is correct, and the table space contains no indexed tables,
| 'iiii'. this is a normal indication and no response is necessary.
DSNU712I csect-name INDEX OUT OF SEQUENCE. DSNU719I csect-name nnnn ENTRIES CHECKED FOR
INDEX=iiii, KEY=kkkk INDEX iiii
Explanation: The CHECK utility CHECKIDX phase found that Explanation: The CHECK utility has completed checking
index 'iiii' is not in correct sequence. index 'iiii' and has processed 'nnnn' index entries. This
message will be issued once for each index checked.
Severity: 4 (warning)
Severity: 0 (informational)
System Action: CHECK utility processing continues.
System Action: Processing continues.
| User Response: Run the REBUILD INDEX utility for index
| 'iiii'.
DSNU720I csect-name CHECKIDX PHASE COMPLETE,
ELAPSED TIME = tttt
DSNU713I csect-name KEYS MISMATCH. RID=rrrr,
INDEX=iiii, KEY=kkkk, DATA KEY=jjjj Explanation: The CHECK utility CHECKIDX phase is com-
plete.
Explanation: The CHECK utility CHECKIDX phase found that
index iiii contains an entry for the row at rid rrrr that is incon- Severity: 0 (informational)
sistent. KEY kkkk does not match DATA KEY jjjj.
System Action: Processing continues.
Severity: 4 (warning)
System Action: CHECK utility processing continues. DSNU721I csect-name - USER auth-id DOES NOT HAVE
DELETE AUTHORITY ON TABLE
| User Response: Run the REBUILD INDEX utility for index
| 'iiii'. Explanation: The CHECK DATA utility was run with DELETE
YES, but user auth-id does not have authority to delete from a
table specified in the utility statement or from one of its
DSNU715I csect-name MULTIPLE INDEX ENTRIES FOR
descendents.
ROW. RID=rrrr, INDEX=iiii, KEY=kkkk
Severity: 8 (error)
Explanation: The CHECK utility CHECKIDX phase found that
index 'iiii' has multiple index entries for the row at RID 'rrrr' System Action: Further utility processing is terminated.
with key 'kkkk'.
User Response: Obtain authorization to delete from the
Severity: 4 (warning) tables specified in the utility statement and any of its
descendents that are affected.
System Action: CHECK utility processing continues.
| User Response: Run the REBUILD INDEX utility for index
DSNU722I csect-name - USER userid DOES NOT HAVE
| 'iiii'.
INSERT AUTHORITY ON EXCEPTION TABLE
Explanation: The CHECK DATA utility was run with FOR
DSNU717I csect-name nnnn ENTRIES CHECKED FOR
EXCEPTION specified but user 'userid' does not have
INDEX=iiii PARTITION=pppp
authority to insert into an exception table specified in the utility
Explanation: The CHECK utility completed checking index iiii statement.
partition pppp and processed nnnn index entries. This
Severity: 8 (error)
message is issued once for each index partition checked.
System Action: Further utility processing is terminated.
Severity: 0 (informational)
User Response: Obtain authorization to insert into all of the
System Action: Processing continues.
exception tables specified in the utility statement.
DSNU736I csect-name SCOPE PENDING IS ACTIVE, BUT DSNU742I csect-name ROW (RID=rrrrrr) VIOLATES CHECK
THE ENTIRE TABLE SPACE tsp PARTITION CONSTRAINT constraint-name ON TABLE table-
part MUST BE CHECKED name
Explanation: This message is issued by the CHECK DATA Explanation: The CHECK DATA utility found that the row
utility when checking with the option SCOPE PENDING. Table with RID=rrrrrr in table table-name violated check constraint
space tsp partition part is in check pending status, but the constraint-name.
utility is checking all rows in that table space partition.
Severity: 4 (warning)
Severity: 4 (warning)
System Action: Processing continues
System Action: The utility continues processing.
User Response: Refer to Section 2 (Volume 1) of DB2
Administration Guide for a discussion of the check pending
DSNU737I csect-name TABLESPACE tsp PARTITION part operation and recovery procedures.
IS NOT CHECK PENDING
Explanation: This message is issued when 'CHECK DATA | DSNU743I csect-name - LOB WITH ROWID=rowid
TABLESPACE tsp PART part SCOPE PENDING' is specified | VERSION=version IS INVALID
and the CHECK DATA utility finds that the table space partition
| Explanation: The CHECK LOB utility found that the LOB
is not in a check pending state. The CHECK DATA utility skips
| column with rowid ROWID and VERSION version was marked
table space 'tsp' partition 'part' and continues with any other
| as invalid.
table space specified. The catalog fields that reflect the extent
of a check pending state are updated to ensure that they indi- | System Action: LOB table space is set Aux Warning. Utility
cate that no check is required. | returns completion code=4.
Severity: 4 (warning) | Programmer Response: The LOB column must be updated
| or the row containing the LOB column deleted using SQL to
System Action: Processing continues.
| remove the invalid indication.
Severity: 8 (error)
DSNU750I csect-name CATMAINT operation STARTED
System Action: Utility abends.
Explanation: The CATMAINT utility started for the indicated
operation. User Response: User data should not be in the target
catalog before running the CATMAINT utility. Free or drop the
Severity: 0 (informational)
object from the target catalog and rerun the CATMAINT utility.
System Action: Utility processing continues normally.
DSNU764I csect-name FOLLOWING IS UP TO 119 BYTES
DSNU751I csect-name CATALOG operation OF TABLE - OF RECORDFOR TABLE table-name, SEQNO
table-name seqno BEING PROCESSED AT THE TIME OF
ERROR
Explanation: This message is issued the first time data is
operated upon for the designated table. Explanation: An abend occurred during the execution of the
CATMAINT utility, during the processing of the table,
Severity: 0 (informational)
'table-name', with a sequence number of 'seqno'. The cause
System Action: Utility processing continues normally. of the abend is one of the following:
The record sequence number was invalid.
DSNU752I csect-name CATMAINT operation COMPLETED An unexpected return code was received from
Explanation: The CATMAINT utility completed for the indi- DSNUEXLO.
cated operation. The table name was not found in the load table
(DSNUELTB).
Severity: 0 (informational) The parent record could not be positioned.
System Action: Utility processing continues normally. The position OBID was zero (DSNUELTB has incorrect
value).
The record action code is incorrect.
DSNU756I csect-name CATALOG TABLE IS EMPTY -
table-name Following this message, up to the first 119 bytes of the
recordin question is displayed.
Explanation: This message is issued when the named table
is empty. Severity: 8 (error)
Severity: 0 (informational) System Action: Utility abends.
System Action: Utility processing continues normally. User Response: Verify that the record in the unloaded data
set is correct.
DSNU759I csect-name INCORRECT UNLOAD DATASET
HAS BEEN DETECTED DSNU765I csect-name THE DB2 CATALOG IS NOT AT
THE REQUIRED LEVEL. CATALOG NOT
Explanation: This message indicates an inconsistency
UPDATED
between the release level of the unloaded catalog and the DB2
release that is running the CATMAINT utility. Explanation: The DB2 catalog is not at the proper catalog
level to migrate the catalog. An attempt was made to migrate
Severity: 8 (error)
the catalog from a DB2 release from which migration is not
System Action: Utility processing terminates. supported.
User Response: Review the JCL for the job to ensure that Severity: 8 (error)
the correct unload data set is specified. Verify that the correct
System Action: Utility processing terminates.
level of DB2 is up.
User Response: Fall back to the previous release. Migrate
only from DB2 releases from which migration is supported.
DSNU760I csect-name SPECIFIED USER NOT DEFINED
WITH INSTALLATION SYSADM AUTHORITY
DSNU766I csect-name THE CATALOG HAS ALREADY
Explanation: The utility can be run only under a user defined
BEEN MIGRATED. NO ACTION WILL BE
with the installation SYSADM authority.
TAKEN
Severity: 8 (error)
Explanation: The catalog was already successfully migrated.
System Action: Utility processing terminates. There is no reason to rerun the catalog migration job. There-
fore, no action is taken to update the DB2 catalog.
User Response: Rerun the utility with the proper authori-
zation. Severity: 0 (informational)
System Action: Processing ends.
DSNU762I csect-name DUPLICATE RECORD DETECTED
FOR TABLENAME - table-name SEQNO OF
THE INPUT RECORD IS - seqno FOLLOWING
IS UP TO 119 BYTES OFRECORD BEING
INSERTED
Explanation: An object created in the target catalog has the
same name as an object being migrated from the source
catalog.
DSNU767I csect-name DB2 SYSTEM MUST BE STARTED DSNU772I csect-name - THE object-type qualifier.object-
ACCESS(MAINT) name IS UNAVAILABLE IN THIS RELEASE
Explanation: In order for the utility to execute, the DB2 sub- Explanation: This message indicates that the specified object
system must be started with ACCESS(MAINT). This message has a dependency on a release from which fall back has
indicates that the subsystem was not started in this manner. occurred, and cannot be operated upon in the current release.
Severity: 8 (error) Severity: 8 (error)
System Action: -STOP DB2, and then -START DB2 with System Action: Utility processing terminates.
ACCESS(MAINT).
User Response: Check the IBMREQD column of the catalog
table associated with the specified object type. If the value in
DSNU768I csect-name CATMAINT CONVERT COMPLETE the catalog table is the release dependency mark for a release
FOR INDEX index-name of DB2 from which fall back has occurred, the utility is not
Explanation: The conversion is complete for index index- operational for the current release of the targeted database.
name.
DSNU773I csect-name - database IS A SYSTEM DATA-
Severity: 0 (informational)
BASE AND CANNOT BE PROCESSED
System Action: Processing continues with the next index.
Explanation: The database indicated is not eligible for proc-
essing by the type of the REPAIR DBD utility involved.
DSNU769I csect-name THE BUILD PHASE FAILED FOR
INDEX index-name REASON reason Severity: 8 (error)
Explanation: The CATMAINT CONVERT build phase failed System Action: Utility processing terminates.
for index index-name. This message and others identify the User Response: Ensure that the utility control statement
actions that should be taken. specifies the correct database.
Severity: 8 (error)
DSNU774I csect-name - SPECIFIED DATABASE database
Operator Response: Note the reason code and the index
NOT FOUND
name. See the Problem Determination section for an explana-
tion of the collected data. Explanation: The database indicated by the utility control
statement was not found in catalog table
System Action: Utility processing continues with the next
SYSIBM.SYSDATABASE.
index and will terminate with return code 8.
Severity: 8 (error)
User Response: Correct the problem indicated by the reason
code. Either resubmit the CATMAINT CONVERT job or System Action: Utility processing terminates.
recover the index that failed.
User Response: Ensure that the database indicated by the
Problem Determination: The reason the build phase failed is utility control statement exists in SYSIBM.SYSDATABASE.
identified by the reason code, which is described in “Section 4.
DB2 Codes” on page 577. DSNU775I csect-name - DROP OF DATABASE dbname
FAILED WITH SQLCODE = sqlcode
DSNU770I csect-name - DBD type STARTED FOR DATA-
Explanation: An error was encountered while using the
BASE database
REPAIR DBD DROP utility to drop DATABASE 'dbname'. The
Explanation: This message marks the start of the REPAIR SQL error code is indicated by 'sqlcode'.
DBD type utility. In the message, 'type' can be DIAGNOSE,
Severity: 8 (error)
REBUILD, or TEST. The database name specified in the
REPAIR statement is 'database'. System Action: DATABASE 'dbname' is not dropped.
Severity: 0 (informational) User Response: For a description of the SQL error code that
was issued, refer to “Section 2. SQL Return Codes” on
System Action: Utility processing continues normally.
page 17.
| Severity: 0 (informational) | The REPAIR utility can be used to reset the Aux Warning
| state.
| System Action: The CHECKLOB phase is completed.
| Utility returns completion code=4. | Explanation: If the RECOVER utility issued this message,
| the corresponding table space to this index was recovered to a
| Programmer Response: CHECK DATA relies on information | point in time with keyword TOCOPY, TOLOGPOINT, or
| in the index on the auxiliary table and LOB table space being | TORBA. Thus, the index was placed in rebuild pending status.
| correct. Both CHECK LOB, to ensure the validity of the LOB
| table space, and RECOVER INDEX or CHECK INDEX, to | If the REBUILD INDEX utility issued this message, the index is
| ensure the validity of the index on the auxiliary table, should be | in rebuild pending status. Either duplicate index entries existed
| executed in that order prior to the execution of CHECK DATA | during the BUILD phase of the REBUILD INDEX, or invalid
| with auxiliary column checking. | KEY/RIDs, which do not belong to the partition of the cluster
| index, were detected. The duplicate index entries or invalid
| The LOB can be deleted from the LOB table space by using | KEY/RID entries must be resolved before starting the
| REPAIR LOCATE TABLESPACE ROWID DELETE | REBUILD INDEX utility again to rebuild the index and remove
| the index from rebuild pending status.
| If the REORG utility with SHRLEVEL REFERENCE or
| CHANGE (or -TERM UTILITY) issued this message, the index
| is in rebuild pending status. During the renaming of a data set
| during REORG, either a data set with the source name did not
| yet exist or a data set with the target name already existed.
| DSNU833I csect-name - UNABLE TO RECOVER
| object_type object_name DUE TO ALTER
| Severity: 4 (warning) or 8 (error) | COLUMN
| User Response: If the RECOVER or REORG utility (or | Explanation: RECOVER utility is unable to recover the index
| -TERM UTILITY) issued this message, use the REBUILD | or index space as requested because an ALTER COLUMN
| INDEX utility to rebuild this index. | VARCHAR has been performed. The current column definition
| If the REBUILD INDEX utility issued this message resolve the | is no longer consistent with the image copy and log records
| duplicate index entries or invalid keys and rerun the REBUILD | which would be used to perform the requested recovery.
| INDEX utility. | Severity: 8 (error)
| User Response: Use the REBUILD INDEX utility to rebuild
| DSNU831I csect-name ALL INDEXES OF TABLESPACE= | the index from the tablespace.
| table space-name ARE IN REBUILD PENDING
| Explanation: The RECOVER TORBA, TOLOGPOINT, or | DSNU834I csect-name - UNABLE TO RECOVER
| TOCOPY utility issues this message to inform the user of the | object_type object_name DSNUM dsnum DUE
| state of all indexes belonging to the recovered table space. All | TO ALTER COLUMN
| indexes were put in rebuild pending status to prevent data and
| index inconsistency. All indexes should be rebuilt before they
| Explanation: RECOVER utility is unable to recover the index
| are used.
| or index space partition as requested because an ALTER
| COLUMN VARCHAR has been performed. The current column
| System Action: The RECOVER utility completed success- | definition is no longer consistent with the image copy and log
| fully. | records which would be used to perform the requested
| Severity: 4 (warning) | recovery.
| User Response: Use the REBUILD utility with the ALL option | Severity: 8 (error)
| to rebuild all indexes over the recovered table space. | User Response: Use the REBUILD INDEX utility to rebuild
| the index partition from the tablespace.
| DSNU832I csect-name - INDEX= creator.index-name PART=
| partition number IS IN REBUILD PENDING DSNU860I csect-name DIAGNOSE UTILITY COMPLETE
| STATE
Explanation: This message is issued in response to the
| Explanation: If the RECOVER utility issued this message, normal completion of the DIAGNOSE utility.
| one partition of a partitioned table space is being recovered to
Severity: 0 (informational)
| a point in time with keyword TOCOPY, TOLOGPOINT, or
| TORBA. The corresponding index for that partition was placed System Action: This message indicates the normal com-
| in rebuild pending status. pletion of the DIAGNOSE utility. Processing continues to the
next utility statement in the utility job step.
| If the REBUILD INDEX utility issued this message, the index or
| the partition of a cluster index is in rebuild pending status.
| Either duplicate index entries existed during the BUILD phase DSNU861I csectname DISPLAY MEPL
| of the REBUILD INDEX or INDEX PART, or invalid KEY/RIDs,
Explanation: This is the header message for output of the
| which do not belong to the partition of the cluster index, were
DIAGNOSE DISPLAY MEPL function. The contents of the
| detected. The duplicate index entries or invalid KEY/RID
MEPL is dumped to SYSPRINT.
| entries must be resolved before starting the REBUILD INDEX
| utility again to rebuild the index and remove the index from Severity: 0 (informational)
| rebuild pending status. System Action: This message indicates the beginning of
| If the REORG utility with SHRLEVEL REFERENCE or DIAGNOSE DISPLAY MEPL processing.
| CHANGE (or -TERM UTILITY) issued this message, one parti-
| tion of a partitioned index was placed in rebuild pending status. DSNU863I csect-name DISPLAY OBD dbname.tsname
| During the renaming of a data set during REORG, either a
| data set with the source name did not yet exist or a data set Explanation: This message is the heading message for
| with the target name already existed. DIAGNOSE DISPLAY OBD output.
| User Response: If the RECOVER or REORG utility (or System Action: This message indicates the start of the
| -TERM UTILITY) issued the message, rebuild this index with output for the DIAGNOSE DISPLAY OBD function.
| the REBUILD INDEX utility.
DSNU864I csect-name DISPLAY OBD, DBID=nn OBID=nn
| If the REBUILD INDEX utility issued this message resolve
OBD TYPE=type
| duplicate index entries or invalid keys and rerun the REBUILD
| INDEX utility. Explanation: This message is the heading message for the
OBD being displayed.
Severity: 0 (informational)
System Action: This message identifies the OBD being dis-
played.
DSNU865I csect-name DISPLAY OBD dbname.tsname DSNU870I csect-name NO SYSUTIL RECORD FOUND
COMPLETE
Explanation: This message is issued if no SYSUTIL records
Explanation: This message is issued in response to normal are found when DISPLAY SYSUTIL is specified.
completion of DISPLAY OBD processing.
Severity: 4 (warning)
Severity: 0 (informational)
System Action: This message indicates the end of DISPLAY
System Action: This message indicates the end of DISPLAY SYSUTIL processing.
OBD processing.
DSNU871I csectname DISPLAY DBET DATABASE dbname
DSNU866I csect-name DISPLAY SYSUTIL JOB INFORMA-
Explanation: This message is the heading for display output
TION
of the database exception table (DBET) entry associated with
Explanation: This message is the header message for the database dbname.
SYSUTIL JOB INFORMATION section of the DIAGNOSE
Severity: 0 (informational)
DISPLAY SYSUTIL output. This section displays the job infor-
mation area of the SYSUTIL record and contains information System Action: DIAGNOSE DISPLAY DBET processing
which identifies the utility the SYSUTIL record is referencing. started for the named database.
Severity: 0 (informational)
DSNU872I csectname DISPLAY DBET TABLE SPACE
System Action: This message identifies the SYSUTIL JOB tsname
INFORMATION section of the DIAGNOSE DISPLAY SYSUTIL
output. Explanation: This message is the heading for display output
of the database exception table (DBET) entry associated with
table space tsname.
DSNU867I csect-name DISPLAY SYSUTIL
CHECKPOINT/RESTART INFORMATION Severity: 0 (informational)
Explanation: This message is the header message for the System Action: DIAGNOSE DISPLAY DBET processing
SYSUTIL UTILITY CHECKPOINT/RESTART INFORMATION started for the named table space.
section of the DIAGNOSE DISPLAY SYSUTIL output. This
section displays the utility checkpoint/restart area of the DSNU873I csectname DISPLAY DBET INDEX index-name
SYSUTIL record and contains information pertaining to utility
processing needed for the restart of the utility. Explanation: This message is the heading for display output
of the database exception table (DBET) entry associated with
Severity: 0 (informational) index index-name.
System Action: This message identifies the SYSUTIL Severity: 0 (informational)
UTILITY CHECKPOINT/RESTART INFORMATION section of
the DIAGNOSE DISPLAY SYSUTIL output. System Action: DIAGNOSE DISPLAY DBET processing
started for the named index.
Severity: 0 (informational)
DSNU875I csectname DIAGNOSE WAIT AT
System Action: This message identifies the SYSUTIL MESSAGE=msgno INSTANCE=nn CORR ID=id1
UTILITY DEPENDENT INFORMATION section of the DIAG- CONN ID=id2 REPLY TO CONT
NOSE DISPLAY SYSUTIL output.
Explanation: The DIAGNOSE WAIT function was invoked to
wait at a specified message 'msgno' on the nn’th time that
DSNU869I csect-name DISPLAY SYSUTIL COMPLETE message was issued. The CORR ID is the correlation identifier
Explanation: This message is issued in response to normal of the thread associated with the waiting application. The
completion of DISPLAY SYSUTIL processing. CONN ID is the connection identifier of the thread.
System Action: This message indicates the end of DISPLAY System Action: Processing is stopped until the user
SYSUTIL processing. responds to this message.
User Response: See operator response.
Operator Response: After diagnosis procedure in progress is
completed, reply to this message to continue execution. Any
reply is valid.
Explanation: This message marks the start of an OBD com- Explanation: This message shows a character string which is
parison for the REPAIR DBD TEST or REPAIR DBD DIAG- the value of a field in the OBD which was rebuilt from the DB2
NOSE utility. This message is displayed when a difference in catalog. The character string is 'cc..cc'.
the OBDs has been detected. The OBID of the OBD being Severity: 0 (informational)
compared against the DB2 catalog is 'xxxx'. The type of OBD
being displayed is 'obd-type'. System Action: DBD checking continues normally.
Severity: 0 (informational)
DSNU908I csect-name - EXISTING OBD IS obd-type
System Action: DBD checking continues normally.
Explanation: This message shows the OBD type of the OBD
which exists on the DSNDB01.DBD01 page set.
DSNU902I csect-name - EXISTING OBD AT OFFSET
X'xxxxxxxx' IN EXISTING DBD Severity: 0 (informational)
Explanation: Following this message is a hexadecimal dump System Action: DBD checking continues normally.
of the OBD as it exists in the DSNDB01.DBD01 page set. In
the message, 'xxxxxxxx' is the hexadecimal offset from the DSNU909I csect-name - REBUILT OBD IS obd-type
beginning of the existing DBD as it appears later in the
Explanation: This message shows the OBD type of the OBD
REPAIR DBD DIAGNOSE output.
which was rebuilt from the DB2 catalog.
Severity: 0 (informational)
Severity: 0 (informational)
System Action: DBD checking continues normally.
System Action: DBD checking continues normally.
DSNU914I csect-name - DBD X'xxxx' COMPARISON DSNU920I csect-name - OBDS DIFFER AT OFFSET
COMPLETE -- nn ERRORS WERE FOUND X'xxxxxxxx' field-name
Explanation: This message marks the end of a DBD compar- Explanation: This message indicates that the value of a field
ison for the REPAIR DBD TEST or REPAIR DBD DIAGNOSE in the OBD differs from the DBD which exists on the
utility. The DBID of the DBD being compared against the DB2 DSNDB01.DBD01 page set and the DBD rebuilt from the DB2
catalog is 'xxxx'. The total number of errors found in this DBD catalog. The DB2 Catalog and DBD/OBD are inconsistent. The
is 'nn'. hexadecimal offset from the beginning of the OBD is
Severity: 0 (informational) 'xxxxxxxx'. The name of the field is 'field-name'.
System Action: Checking of the DBD continues normally. Explanation: The index 'index-name' must be either recov-
ered or dropped and recreated to ensure that the index is con-
sistent with the description in the INDEX FANSET OBD. The
object descriptor (OBD) is not damaged. However, if the index
is not either recovered or dropped and recreated, incorrect
output can be produced when the index is used as an access
path.
index-name The name of the index found in
SYSIBM.SYSINDEXES.
DSNV... Messages
3 of DB2 Diagnosis Guide and Reference for information on
DSNV029E LOAD MODULE module-name DOES NOT
identifying and reporting the problem.
HAVE AMODE(31) ATTRIBUTE
Problem Determination: Collect the following diagnostic
Explanation: During DB2 startup, Agent Services establishes
items listed in Appendix B, “Problem determination” on
the tasking structure for the control and resource manager
page 1051: 1, 5.
address spaces. Three load modules, DSNVEUS3,
DSNVEUS4, and DSNVRCT, are loaded and attached as the
control programs for each subtask created. All three load DSNV400I ARCHIVE LOG WITH MODE(QUIESCE) CUR-
modules must have been link-edited with the attributes RENTLY ACTIVE
AMODE(31) and RMODE(ANY). At least one of the modules Explanation: An -ARCHIVE LOG MODE(QUIESCE)
did not have the 31-bit addressing attribute when it was command is currently active. This message follows the
loaded. The 'module-name' in the error message is the alias DSNV401I message as part of the -DISPLAY THREAD
name of the first load module whose addressing mode was command report.
invalid.
System Action: This message is issued as information only.
System Action: DB2 startup is terminated. The message indicates that the -ARCHIVE LOG
System Programmer Response: Verify that all installation MODE(QUIESCE) command has not completed, and conse-
and maintenance activities against these modules were exe- quently, updates against DB2 resources have been temporarily
cuted using SMP, that the JCLIN for SMP includes the correct suspended. This may result in active threads being suspended
AMODE and RMODE control statements, and that the Linkage awaiting termination of the quiesce period. DB2 processing
Editor provided with the Data Facility Product (DFP) for the otherwise continues normally.
version of MVS being used was invoked by SMP for the link-
edits. Correct the procedure or JCL which caused the error DSNV401I DISPLAY THREAD REPORT FOLLOWS -
and rerun the necessary SMP jobs.
Explanation: This message is always generated as the title
Operator Response: Notify the system programmer of the for the DISPLAY THREAD command report output. It precedes
failure. the other messages generated by this command.
Problem Determination: A DB2 dump was requested to a System Action: Processing continues normally.
SYS1.DUMP data set.
Load module names and aliases are as follows: DSNV402I ACTIVE THREADS-
Load module Alias Explanation: This message precedes the listing of active
DSNVEUS3 DSNVEU3I threads.
asid A 1- to 4-character hexadecimal number | the local DB2 (if it is not one of the
representing the ASID of the home | above). DSNV449I is displayed if the coor-
address space. | dinator is IMS or CICS.
token A 1- to 5-character number representing
| If the thread is a database access thread,
the thread token assigned to the thread.
| the coordinator name takes one of four
For threads with a status value of 'N', this
| forms:
value will be 0. | – location:luname -- where "location" is
The message number and subsystem recognition character are
| the coordinator's relational database
not included in this message.
| name and "luname" is the coordina-
| tor's SNA LU name.
System Action: Processing continues normally.
| – location:port -- where "location" is the
System Programmer Response: If you have active threads | coordinator's relational database name
with QD or D status codes, use the information in message | and "port" is the coordinator's TCP/IP
DSN3201I to diagnose a possible DB2 problem. | port number for two-phase commit
| resynchronization.
DSNV405I DISPLAY ACTIVE REPORT COMPLETE | – <luname>:luname -- where "luname"
Explanation: This message follows messages DSNV402I | is the coordinator's SNA LU name.
through DSNV404I augmented by the series of messages | – nnn.nnn.nnn.nnn:port -- where
DSNV444I through DSNV448I when LOCATION and/or | "nnn.nnn.nnn.nnn" is the coordinator's
DETAIL keywords are used to show distributed activity. It indi- | IP address and "port" is the coordina-
cates that the -DISPLAY THREAD TYPE(ACTIVE) report has | tor's TCP/IP port number for two-
completed successfully. | phase commit resynchronization.
The message number and subsystem recognition character are | If the thread is distributed, message
not included in this message. | DSNV467I is included in the display. This
System Action: Processing continues normally. | message shows the logical unit of work id
| and the local token that identifies the dis-
| tributed thread.
DSNV406I INDOUBT THREADS-
| status The status of the thread.
Explanation: This message precedes the listing of indoubt
threads. | A status of ABORTED is not displayed unless
| DB2 believes a participant using PN protocols
The series of messages DSNV406I through DSNV409I, | might be indoubt. If the status of a thread for
DSNV446I, DSNV449I through DSNV453I, DSNV457I through | a logical unit of work at a participant is
DSNV464I, DSNV466I, DSNV467I provides the formatted | INDOUBT, COMMITTED-H, or ABORTED-H,
report for the -DISPLAY THREAD TYPE(INDOUBT) command | and the coordinator is a DB2 location that has
when the status of indoubt threads is requested. | not cold started, then the lack of any informa-
System Action: Processing continues normally. | tion about the thread in a DISPLAY
| THREAD(INDOUBT) report indicates that the
DSNV407I COORDINATOR STATUS RESET URID
| decision at the coordinator was to abort the
AUTHID
| logical unit of work. In all other cases, a
| DSNV408I message for the thread is dis-
| Explanation: This message displays the column headings | played.
| for the list of threads generated by the DISPLAY THREAD
| TYPE (INDOUBT) command, or for the list of Postponed Abort
| INDOUBT: The thread is indoubt and con-
| URs generated by the DISPLAY THREAD
| tinues to appear in the display until all
| TYPE(POSTPONED) or DISPLAY THREAD TYPE(*)
| indoubt resolution responsibilities are com-
| command.
| plete. Additional detail lines that might
| appear in the report are:
The message number and the subsystem recognition character
are not included in this message.
| – DSNV450I and DSNV446I: The
| names of downstream participants
System Action: Processing continues normally. | who might be indoubt.
| – DSNV452I or DSNV453I: A heuristic
DSNV408I coordinator status reset urid authid | action was taken at a downstream
| Explanation: This message lists status information on an | participant. DSNV452I or DSNV453I
| indoubt thread or for a Postponed Abort UR. | continues to appear in the display until
| DB2 resolves the indoubt status with
| coordinator The name of the two-phase commit coordi- | the coordinator. If the coordinator
| nator. | decision is the same as the heuristic
| If the thread is an allied thread, the coordi- | decision of the partner, then the detail
| nator name is either the IMS connection | line is no longer displayed. If the coor-
| name, the CICS connection name, | dinator status is COMMITTED and the
| OS/390 RRS (for Recoverable Resource | heuristic decision of the participant is
| Manager Services attachment facility con- | ABORTED, then the message con-
| nected threads) or the location name of | tinues to appear in the display until it
| is deleted with the RESET INDOUBT
pkwname The command primary keyword as entered by ID= The recovery correlation-id specified with the
the requester. command
NID= The recovery network-id specified with the
System Action: Command processing terminates. command
Operator Response: Reenter the command specifying one of LUWID = The luwid or token specified with the command
the required parameters. The -RECOVER INDOUBT command was unable to locate the
specified thread to be scheduled for recovery. Either the thread
DSNV414I THREAD xxx COMMIT SCHEDULED identifier is incorrect, or the thread no longer is in an indoubt
state.
Explanation: In this message, 'xxx' is the recovery identifier
specified with the -RECOVER INDOUBT command to identify System Action: Command processing continues.
the indoubt thread and is one of the following:
Operator Response: Before reentering the command, ensure
ID= The recovery correlation-id specified with the that the thread still is in an indoubt state.
command.
NID= The recovery network-id specified with the DSNV418I RECOVER INDOUBT REJECTED FOR ID=
command. correlation-id
LUWID = Luwid=token indicates the luwid and token that
identify the thread specified with the command. Explanation: In this message, 'ID=' indicates the recovery
'correlation-id' specified with the command.
System Action: The thread specified on the -RECOVER
INDOUBT command is scheduled for COMMIT recovery The -RECOVER INDOUBT command determined that more
action. than one 'network-id' is associated with the specified
'correlation-id'. No recovery action is taken against the
indoubt threads associated with the 'correlation-id'.
DSNV415I THREAD xxx ABORT SCHEDULED
System Action: Command processing continues.
Explanation: In this message, 'xxx' is the recovery identifier
specified with the -RECOVER INDOUBT command to identify Operator Response: To indicate the specific indoubt thread
the indoubt thread and is one of the following: to be scheduled for resolution, the 'network-id' associated
with the thread must be specified.
ID= The recovery correlation-id specified with the
command.
NID= The recovery network-id specified with the DSNV419I NO CONNECTIONS FOUND
command. Explanation: The -DISPLAY THREAD command found no
LUWID = The luwid=token indicates the luwid and token active or inactive connections within the system. This message
that identify the thread specified with the is generated when the command requests thread information
command. for all (TYPE=*), active (TYPE=ACTIVE), or inactive
The thread specified on the -RECOVER INDOUBT command (TYPE=INACTIVE) connections within the system, but no
is scheduled for ABORT recovery action. active or inactive connections currently exist.
System Action: Command processing continues. System Action: Command processing continues.
The thread is processing in VTAM and is waiting for a | System Action: Command processing continues.
response from a partner. The DISPLAY THREAD DETAIL
command indicates this. The thread does not terminate | DSNV434I csect-name NO POSTPONED ABORT
until VTAM returns to DB2. VTAM commands, which will | THREADS FOUND
terminate the session or LU, can be used to cause VTAM
to return to DB2. | Explanation: This message is issued by the RECOVER
| POSTPONED command, automatic online backout processing
| (invoked by restarting with system parameter
DSNV429I V429 CALLING PROCEDURE=proc, LOAD
| LBACKOUT=AUTO), and also by the DISPLAY THREAD
MODULE=loadmod, PROC=jclproc, ASID=asid,
| TYPE(POSTPONED) command. It indicates that no postponed
WLM_ENV=wlmenv
| abort threads were found to process. The 'csect-name' is the
Explanation: This message appears in the output of the | name of the command program CSECT that issued the
DISPLAY THREAD command when a thread is running a | message.
stored procedure.
| System Action: The command (or auto-resolution proc-
proc The name of the stored procedure the SQL applica- | essing) completes normally.
tion is running.
loadmod The MVS load module associated with the stored | DSNV435I RESOLUTION OF POSTPONED ABORT URS
procedure. This field will contain blanks until the | HAS BEEN SCHEDULED
load module name has been determined. | Explanation: This message is issued by the RECOVER
jclproc The name of the JCL PROC used to start the | POSTPONED command, and also by automatic online backout
address space where the stored procedure is | processing (invoked by restarting with system parameter
running. This field will contain blanks until the | LBACKOUT=AUTO). It indicates that postponed abort URs
stored procedure has been assigned to a specific | exist and their backout processing will proceed asynchro-
stored procedure address space. | nously.
asid The MVS ASID of the address space where the | System Action: The command (or auto-resolution proc-
stored procedure is running. This field will contain | essing) completes normally.
0000 until the stored procedure has been assigned
to a specific stored procedure address space. | DSNV436I PGM=collection.package, SEC=section,
wlmenv The name of the WLM application environment | STMNT=statement
where the stored procedure is running. If it is | Explanation: This message appears in the output of a
running in the DB2-established stored procedure | DISPLAY THREAD report when a detail display is specified. If
address space, this field will contain blanks. | DB2 is currently processing an SQL statement, this message
System Action: The DISPLAY THREAD command continues | identifies the program which contains that statement and dis-
processing. | plays the SQL statement being executed.
| collection The collection ID associated with package. If the
| DSNV431I POSTPONED ABORT THREADS | SQL statement being executed is associated with
| a DBRM that was directly bound as part of the
| Explanation: This message precedes the listing of Postponed
| plan, and is not associated with a package, then
| Abort URs.
| collection is not applicable and is indicated by an
| The series of messages DSNV431I, DSNV407I, DSNV408I | asterisk (*).
| and DSNV432I provide the formatted report for the -DISPLAY
| package The package or DBRM member.
| THREAD TYPE(POSTPONED) command. The series also pro-
| vides a section of the formatted report for -DISPLAY THREAD | section The SQL section number associated with the
| TYPE(*). | package or DBRM.
| statement The SQL statement number associated with the
| DSNV432I DISPLAY POSTPONED ABORT REPORT COM- | package or DBRM.
| PLETE
| The message number and subsystem recognition character are
| Explanation: This message follows messages DSNV431I and | not included in this message. However, V436 is included in the
| DSNV408I and indicates that the -DISPLAY THREAD | message text to identify the message.
| TYPE(POSTPONED) report was completed successfully, or
| System Action: Command processing continues.
| that the section of the -DISPLAY THREAD TYPE(*) report for
| Postponed Abort URs has been completed successfully.
| DSNV437I V437-WORKSTATION=wsname,
| System Action: Processing continues normally. | USERID=user-id, APPLICATION NAME =appl-
| name
| DSNV433I NO POSTPONED ABORT THREADS FOUND
| Explanation: This message appears in the output of a
| FOR NAME = connection name
| DISPLAY THREAD report when a non-detail display is speci-
| Explanation: The -DISPLAY THREAD command found no | fied. If the appropriate information is provided by the client
| postponed abort URs for the named connection. This message | system, this message is issued and identifies more specific
| is generated when the command requests information about | information regarding the identity of the end-user associated
| threads for the given connection name currently residing within | with this thread.
| a postponed abort state, but none currently exist within this
| state.
| wsname The client end-user workstation name. luwid=token The global logical unit of work id and the
local token that identifies the thread. If the
| If not provided by the client system, this field
thread becomes indoubt, a new token is
| contains an asterisk.
assigned for the indoubt thread.
| user-id The client end-user user-id.
location Identifies the requesting site. The value
| If not provided by the client system, this field specified in location is one of the
| contains an asterisk. following:
| appl-name The client end-user application name. The relational database name of the
| If not provided by the client system, this field requester or the VTAM LU name of
| contains an asterisk. the requester (<luname>), a colon (":")
delimiter, and the LU name of the
| statement The SQL statement number associated with the requester for SNA connections.
| package or DBRM.
The dotted decimal IP address of the
| This message number and subsystem recognition character requester (nnn.nnn.nnn.nnn) for
| are not included in this message. However, V437 is included in TCP/IP connections.
| the message text to identiy the message.
The message number and subsystem recognition character are
| System Action: Command processing continues. not included in this message. However, V445 is included in the
message text to identify the message.
DSNV443I V443-PARALLELISM System Action: Command processing continues.
COORDINATOR=member-name, ORIGINATING
TOKEN=token
DSNV446I V446--location-i location-j ...
Explanation: This message follows a DSNV404I message for
each parallel task thread that is running on an assisting DB2. Explanation: This message is a continuation of message
This message gives the DB2 member name and the originating DSNV444I or message DSNV450I and provides a list of
task's thread token. 'location-i'.
member-name The coordinating DB2 member where the location-i Identifies the name of a remote DBMS at which
originating task thread is running. data is being accessed or where a thread is
indoubt.
token The originating task thread token.
The location-i string includes two or three tokens
The message number and subsystem recognition character are delimited by a colon (":"):
not included in this message. However, V443 is included in the
message text to identify the message. The first token is the partner location name.
System Action: Command processing continues. The second token is the partner LU name for
an SNA connection, or the dotted decimal IP
address for a TCP/IP connection
DSNV444I V444-luwid=token ACCESSING DATA AT. (nnn.nnn.nnn.nnn).
Explanation: This message follows a DSNV404I message for The third token only appears if the second
each thread that was distributed to other locations when a token is an IP address in which case the
nondetail display is specified. This message gives the logical- third token is a port number.
unit-of-work identifier for the distributed thread, followed by an
equal sign (=) and a token, which can be used in place of When the message appears after message
luw-id in any DB2 command that accepts luw-id as input. DSNV450I, the port number represents a
Message DSNV446I follows with the names of the locations resync port number. Otherwise the message
associated with this 'luw-id'. appears after a DSNV444I message in which
case it represents an SQL port number.
luwid=token The global logical unit of work id and the
local token that identifies the thread. If the A 'location-i' identifier is repeated for each
thread becomes indoubt, a new token is DBMS where data is being accessed or where a
assigned for the indoubt thread. thread is indoubt.
The message number and subsystem recognition character are The message number and subsystem recognition character are
not included in this message. However, V444 is included in the not included in this message. However, V446 is included in the
message text to identify the message. message text to identify the message.
System Action: Command processing continues. System Action: Command processing continues.
DSNV448I V448--location sessid active status time At the server site, this indicates that
the conversation is receiving or
Explanation: This message follows the DSNV447I message waiting for a request.
for a database access thread or distributed allied thread when
a detail display is specified. This message is displayed for S Sending
each conversation connected to the thread. It lists detailed At the requesting site, this indicates
information about the conversations associated with the thread. that the conversation can send
location If displaying an allied thread, the location is requests to the server.
the name of the server; otherwise, it is the At the server site, this indicates that
name of the requester. The name can be any the conversation is sending or pre-
of the following: the relational database name paring to send a response.
of the partner, the VTAM LU name of the
X Exchanging log name information with the
partner (<luname>), or the dotted decimal IP
partner before conversation allocation to
address of the partner (nnn.nnn.nnn.nnn).
determine if the partner supports pro-
sessid There are two possible values for this field: tected conversations. If the thread
For VTAM partners, this field contains the remains in this status for an extended
VTAM-defined session instance identifier period of time, the DB2 service task that
of the session on which the conversation exchanges log names might be busy proc-
is executing. Zeros if the session identifier essing other requests. The DB2
is not applicable. DISPLAY LOCATION command
('DISPLAY LOCATION(*) DETAIL') shows
VTAM does not supply the entire session you conversation activity for this
id to DB2. The first two digits of the (RESYNC) service task.
session id are incorrect. Therefore, the
session id as presented in this message is Blank, otherwise.
not acceptable in VTAM commands. The Second Character
VTAM DISPLAY
1 Unprotected conversation using system-
NET,ID=db2-luname,SCOPE=ACT
directed access is active.
command must be used to obtain the full
session ID. The DISPLAY NET command 2 Unprotected conversation using
lists all sessions (SID) for the DB2 logical application-directed access is active.
unit. Scan the DISPLAY NET output for
3 Protected conversation using system-
the complete SID.
directed access is active.
For TCP/IP connections, this field contains
4 Protected conversation using application-
the local DB2 TCP/IP port number, fol-
directed access is active.
lowed by the partner's TCP/IP port
number. The two port numbers are sepa- Blank otherwise.
rated by a colon (e.g 5001:28191). time The time stamp (yydddhhmmssth) of the last
active One of the following: message sent or received on the conversa-
tion.
V The conversation is active within VTAM
or TCPIP. The message number and subsystem recognition character are
not included in this message. However, V448 is included in the
W The conversation is suspended in DB2
message text to identify the message.
waiting for VTAM or TCP/IP notification
that the function is complete. System Action: Command processing continues
Blank, otherwise.
DSNV449I V449-HAS NID=nid AND ID=correlation-id
status Status of the conversation.
Explanation: This message is a detail line, which might be
This information is presented as two charac- displayed with a DISPLAY THREAD TYPE (INDOUBT) report.
ters, each of which has significance.
nid The network-id assigned by IMS or CICS
First Character or, if the connection type is RRSAF, the
OS/390 RRS unit of recovery ID (URID)
System Action: Processing continues normally. Operator Response: See message DSNL413I for more infor-
mation.
Operator Response: See message DSNL414E for more
information.
DSNV461I V461-RESYNC WITH COORDINATOR SHOWS
HEURISTIC DAMAGE
DSNV458I V458-CONNECTION-NAME connection-name
CORRELATION-ID correlation-id Explanation: This message is a detail line which might be
displayed with a DISPLAY THREAD TYPE (INDOUBT) report.
Explanation: This message is a detail line which might be
Indoubt resolution with the coordinator completed. Heuristic
displayed with a DISPLAY THREAD TYPE (INDOUBT) report.
damage was detected at this location because the heuristic
It is displayed only if message DSNV463I is also displayed.
decision made at this location is different than the decision
connection-name The connection-name assigned by the made at the coordinator. The 'coordinator' and the 'luwid' of
coordinator if the coordinator is another the thread are displayed in the previous DSNV408I message.
DB2 system. The constant SERVER if the The 'status' field in the previous DSNV408I message shows
coordinator is not a DB2 system. the heuristic decision made at this location. This message con-
correlation-id The correlation-id assigned by the coordi- tinues to appear until it is deleted with a RESET INDOUBT
nator if the coordinator is another DB2 command.
system. The first 12 characters of the The message number and subsystem recognition character are
EXTNAME parameter of the EXCSAT not included in this message. However, V461 is included in the
command sent by the coordinator if the message text to identify the message.
coordinator is not a DB2 system.
System Action: The thread remains indoubt and processing
The message number and subsystem recognition character are continues normally.
not included in this message. However, V458 is included in the
Operator Response: See message DSNL400E and
message text to identify the message.
DSNL401E for more information.
System Action: Processing continues normally.
Operator Response: See message DSNV463I for more infor- DSNV462I V462-COLD START BY PARTICIPANT AT
mation. LOCATION location
Explanation: This message is a detail line which might be
DSNV459I V459-SYNCPOINT PROTOCOL ERROR WITH displayed with a DISPLAY THREAD TYPE (INDOUBT) report.
COORDINATOR There was an indoubt thread at the participant whose 'luwid' is
Explanation: This message is a detail line which might be displayed in the preceding DSNV408I message. DB2 has coor-
displayed with a DISPLAY THREAD TYPE (INDOUBT) report. dinator responsibility for the indoubt thread and the participant
Manual resolution of an indoubt thread at this location is informed DB2 that it performed a cold start operation and lost
required. A protocol error was detected during sync point proc- all knowledge of indoubt threads. There might be heuristic
essing with the coordinator. The 'coordinator' and the 'luwid' of damage at the participant. The RESET INDOUBT command
the thread that requires manual resolution are both displayed must be used to purge this message from the indoubt report.
in the preceding DSNV408I message. The reason for this is that the cold-starting participant might
have been coordinating downstream participants that are now
The message number and subsystem recognition character are indoubt. The database administrator at these participants might
not included in this message. However, V459 is included in the need to know the status of the thread at the coordinator, so
message text to identify the message. that correct heuristic decisions can be made.
System Action: Processing continues normally. location The 'location' where the cold start was performed.
Operator Response: See message DSNL412I for more infor- The 'location' is either the relational database name
mation. (location-name), the logical unit name (<luname>),
or the dotted decimal IP address (nnn.nnn.nnn.nnn)
of the participant.
DSNV460I V460-SYNCPOINT PROTOCOL ERROR WITH
PARTICIPANT location The message number and subsystem recognition character are
not included in this message. However, V462 is included in the
Explanation: This message is a detail line which might be message text to identify the message.
displayed with a DISPLAY THREAD TYPE (INDOUBT) report.
Manual resolution of an indoubt thread at the participant System Action: Processing continues normally.
location might be required. A protocol error was detected Operator Response: See message DSNL420E for more
during sync point processing with the participant. The 'luwid' of information.
the thread that might require manual resolution at the partic-
ipant is displayed in the preceding DSNV408I message.
DSNV463I V463-COORDINATOR HAS COLD STARTED
location The 'location' where manual resolution might be
needed. The 'location' is either the relational data- Explanation: This message is a detail line which might be
base name (location-name) of the participant or the displayed with a DISPLAY THREAD TYPE (INDOUBT) report.
logical unit name (<luname>) of the participant. Manual resolution of an indoubt thread at this location is
required. The coordinator for a thread that is indoubt at DB2
The message number and subsystem recognition character are was cold started and therefore lost all knowledge of indoubt
not included in this message. However, V460 is included in the threads. The 'coordinator' and the 'luwid' of the thread for
message text to identify the message. which manual resolution is required are displayed in the pre-
System Action: Processing continues normally. ceding DSNV408I message.
DSNV465I V465-THREAD HAS REMAINED IN A PRE- The message number and subsystem recognition character are
PARED STATE FOR hh:mm:ss not included in this message. However, V466 is included in the
message text to identify the message.
Explanation: This message might be displayed with a
DISPLAY THREAD TYPE (ACTIVE) report. The thread was System Action: Processing continues normally.
'prepared' for the specified period of time. This means that
DB2 is the participant in the logical unit of work and completed DSNV467I V467-HAS LUWID luwid=token
the first phase of commit and is waiting for the commit or abort
decision to be transmitted from the coordinator for the specified Explanation: This message is a detail line, which might be
period of time. The thread is identified in the preceding displayed with a DISPLAY THREAD TYPE (INDOUBT) report.
DSNV404I message. This message does not appear in a luwid=token The global logical unit of work id and the
report until the thread was in the prepared state for 60 local token that identifies the thread.
seconds.
The message number and subsystem recognition character are
hh:mm:ss The length of time the thread was prepared not included in this message. However, V467 is included in the
(expressed in hours, minutes and seconds). The message text to identify the message.
maximum number of hours reported is 65535, which
System Action: Processing continues normally.
is roughly 7.5 years. After this time period elapses,
the count is reset to zero.
| DSNV471I V471-luwid=token
The following actions might be taken to resolve this thread by
manual means (that is, take heuristic action) if it is necessary | Explanation: This message follows a DSNV404I message
to release locks held by this thread. | and indicates the agent is currently not associated with a
| remote location. The agent is available to be assigned to
Use the -CANCEL DDF THREAD command to force the
| process;
thread from the prepared state to the indoubt state. When
the thread is indoubt, it appears in the display generated | the completion of a queued receive request on a type 2
by issuing the DISPLAY THREAD command for type | inactive thread, or
indoubt threads. | a request that a new connection be established, after MAX
| REMOTE ACTIVE has been reached.
Determine the proper decision (commit or abort) by con-
tacting the coordinator 'location' shown in the display of | This message displays the logical-unit-of-work identifier
indoubt threads. | assigned to the agent.
Use the RECOVER INDOUBT command to heuristically | luwid=token The global logical unit of work id and the
commit or abort the thread. | local token that identifies the agent.
The message number and subsystem recognition character are | The message number and subsystem recognition character are
not included in this message. However, V465 is included in the | not included in this message. However, V471 is included in the
message text to identify the message. | message text to identify the message.
This message is issued by the following CSECT: DSNVDTM | This message is issued by the following CSECT: DSNVDTM
System Action: Processing continues normally. | System Action: Command processing continues.
DSNW... Messages
DSNW001I ASYNCHRONOUSLY GATHERED DATA IS DSNW007I THE FOLLOWING OPERAND SPECIFIED ON
BEING FORMATTED IN THIS DUMP THE DSNWDMP CONTROL CARD IS INVALID:
xxxx
Explanation: The subsystem formatting exit is not using DB2
summary dump records for formatting. The formatted control Explanation: The specified operand was not one of the valid
blocks may not contain the same values as they did at the time dump control statement operands.
of the error.
System Action: Control returns to AMDPRDMP or IPCS to
System Action: Dump formatting continues. terminate the exit.
System Programmer Response: If you want DB2 summary System Programmer Response: Check the dump control
dump records to be used, do not specify the 'SUMDUMP=NO' statement operands.
operand on the dump control statement.
DSNW008I THE SCOM CANNOT BE ACCESSED OR IT IS
DSNW002I SUMMARY DUMP RECORDS ARE BEING FOR- INVALID
MATTED IN THIS DUMP
Explanation: An error was encountered while trying to
Explanation: The subsystem formatting exit is using DB2 retrieve the SCOM.
summary dump record information to format its control blocks.
System Action: Control returns to AMDPRDMP or IPCS to
System Action: Dump formatting continues. terminate the exit.
System Programmer Response: If you do not want DB2 System Programmer Response: If 'SUMDUMP=NO' was
summary dump records to be used in formatting, specify the specified on the dump control statement, omit this operand,
'SUMDUMP=NO' and 'SUBSYS=subsystem name' on the and resubmit the job. Otherwise, specify this operand on the
dump control statement. Both operands are required. dump control statement, and resubmit the job.
DSNW004I ONE OR MORE INVALID OPERANDS WERE DSNW009I THE ADDRESS SPACE REQUESTED IS NOT
FOUND ON THE DSNWDMP CONTROL CARD. AVAILABLE
SUBSYSTEM FORMATTING TERMINATED
Explanation: The DB2 control blocks for the address space
Explanation: An invalid operand was found on the dump specified on the 'SA=asid' dump operand could not be
control statement. The operand was not 'SG', 'LG', 'SA', located.
'AA', or 'ALL'.
System Action: Formatting continues if other dump operands
System Action: Control returns to AMDPRDMP or IPCS to were specified.
terminate the exit.
System Programmer Response: Check the ASID specified
System Programmer Response: Correct the dump control on the 'SA=' dump operand. The ASID must be specified in
statement operand specified by message DSNW007I. hexadecimal.
DSNW005I DUMP FORMATTER WORK BUFFER DSNW010I THE TRACE RMFT CANNOT BE ACCESSED
(DSNWDBUF) CANNOT BE LOCATED OR IT IS INVALID
Explanation: The subsystem formatting exit could not locate Explanation: The DB2 trace table could not be located.
its work buffer.
System Action: Formatting of the DB2 trace table is
System Action: Control returns to AMDPRDMP or IPCS to bypassed, and formatting continues of any other requested
terminate the exit. dump segment.
System Programmer Response: Increase the region size. System Programmer Response: If 'SUMDUMP=NO' was
specified on the dump control statement, omit this operand.
DSNW006I THE ERLY BLOCK CANNOT BE ACCESSED Otherwise, specify this operand on the dump control statement.
OR IT IS INVALID In either case, resubmit the job.
DSNW013I DMPW NOT FOUND IN SUMMARY DUMP DSNW017I MAXIMUM STACK LEVEL EXCEEDED
Explanation: The subsystem formatting exit was unable to Explanation: This condition is usually caused by the DB2
locate the DMPW control block in the summary record portion control block formatter looping. The stack array is depleted
of the dump data set. Because the DMPW provides the main and can no longer accommodate control blocks.
anchor block for the dump formatter, processing is terminated.
System Action: Dump formatting is terminated.
System Action: Control returns to AMDPRDMP or IPCS to
System Programmer Response: Examine the control block
terminate the exit.
chains to see if they are looping. If those chains are not
System Programmer Response: If this is not a DB2 dump looping, increase the dimension of the stack array.
data set, specify 'SUBSYS=xxxx,SUMDUMP=NO' on the
dump control statement (where xxxx is the 1- to 4-character DSNW018I SUBSYS= NOT SPECIFIED ON THE CONTROL
subsystem name), so that the subsystem formatting exit does CARD OR MISSING. REQUIRED IF
not attempt to use summary dump data. SUMDUMP=NO SPECIFIED
Explanation: The 'SUMDUMP=NO' option was specified,
DSNW014I REQUIRED SUMMARY DUMP RECORDS ARE
but either the 'SUBSYS=' operand is missing, or it was incor-
NOT IN THIS DUMP. WILL ATTEMPT TO
rectly specified.
FORMAT FROM NON- SUMMARY DUMP
System Action: Dump formatting is terminated.
Explanation: Expected data could not be found in the
summary dump. This message is issued for information only. Operator Response: Run the dump printing job after the
Dump formatting continues. However, it will take longer, error has been corrected.
because a greater volume of data COMMAND PQUIT must be
analyzed. DSNW020I UNSUCCESSFUL SEARCH FOR THE ERLY
System Action: Formatting is attempted using the full dump CONTROL BLOCK
instead of the summary dump. Explanation: The 'ERLY' control block could not be located
System Programmer Response: Though processing con- in the dump.
tinues, this message is an indication of a problem, and should System Action: Dump formatting is terminated.
be pursued as such.
Operator Response: Check that the 'SUBSYS=' operand
was correctly specified, and rerun the job.
DSNW015I SSCVT NOT LOCATED. CHECK THE SUB-
SYSTEM NAME ON THE CONTROL CARD System Programmer Response: This message can mean
that the 'ERLY' control block has been overlaid. Examine the
Explanation: In a search through the SSCVT chain, a match full dump to determine whether the subsystem is present. If it
of the subsystem name in the SSCVTs and the subsystem is, you may be able to determine why the control block could
name on the control statement was not found. not be located.
System Action: Formatting for the named subsystem is not
done. DSNW022I THE RESIDENT TRACE WAS NOT ACTIVE AT
Operator Response: Check the 'SUBSYS=' operand on the THE TIME OF DUMP
control statement. Explanation: Trace table formatting has been attempted, but
System Programmer Response: Correctly specify the sub- no trace table existed at the time of the dump.
system name on the control statement. System Action: Dump formatting continues with any other
control blocks that were to be formatted.
DSNW016I THE RMVT CANNOT BE ACCESSED OR IT IS
INVALID DSNW023I THE TRACE TABLE ENTRY IS OUT OF
Explanation: The subsystem formatting exit could not locate SEQUENCE OR OVERLAID
the RMVT. The RMVT is required for formatting the DB2 trace Explanation: A trace entry is overlaid by another trace entry
table and a number of other DB2 control blocks. of a different timestamp. This message is issued to flag an
System Action: Formatting of the DB2 trace table is unrecognized trace entry. This can occur when the oldest entry
bypassed, and formatting of other requested dump segments in the table is the second half of a double entry.
continues. System Action: Formatting of the trace table continues.
System Programmer Response: If 'SUMDUMP=NO' was
specified on the dump control statement, omit this operand. DSNW024I TRACE TABLE
Otherwise, try specifying this operand on the dump control
statement. In either case, resubmit the job. Explanation: The trace table follows.
System Action: Trace table formatting follows.
DSNW025I DUMP ACCESS ERROR ACCESSING THE DSNW035I WARNING – NO TASK RELATED CONTROL
TRACE TABLE IN THE DUMP BLOCKS FOR THIS TASK
Explanation: A nonzero return code was returned from the Explanation: The TCB for which the dump is being requested
storage access routine when accessing the trace table. is not IDENTIFIED to DB2. Task-related control blocks are not
dumped. The DB2 trace table and global blocks are dumped
System Action: Trace table formatting is bypassed.
only if the 'SYSABEND' DD statement is present and only if
System Programmer Response: Check the address and this is the first of the dump(s) (full dump) for this abend dump
ASID of the trace table. (SNAP) invocation.
System Action: No DB2 formatting is done for the specified
DSNW026I CONTROL BLOCK SUMMARY (ALL ADDRESS task.
SPACES)
DSNW027I CONTROL BLOCK SUMMARY (SINGLE
DSNW036I CONTROL BLOCKS FOR TASKS ASSOCI-
ADDRESS SPACE)
ATED WITH THE ABOVE RECOVERY COORDI-
DSNW028I CONTROL BLOCK SUMMARY (LONG FORM
NATOR TASK
GLOBAL)
DSNW029I CONTROL BLOCK SUMMARY (SHORT FORM Explanation: The formatted blocks following this message
GLOBAL) are associated with TCBs that have IDENTIFIED to DB2 with
the 'recovery coordinator = no' option. These TCBs may not
Explanation: Messages DSNW026I through DSNW029I
have invoked SNAP, but they are associated with the TCB that
provide descriptive information regarding the type of formatting
did.
being produced.
System Action: Related control blocks are dumped.
System Action: Dump formatting continues.
System Programmer Response: Examine the control blocks
DSNW030I DUMP ACCESS ERROR ACCESSING THE for relevant information.
CONTROL BLOCK STRUCTURE TABLE IN
THE DUMP DSNW037I TASK RELATED CONTROL BLOCKS FOR
THIS TASK
Explanation: The control block structure table cannot be
accessed from the dump. Explanation: The formatted blocks following this message
are associated with the TCB that is being dumped.
System Action: Control block formatting is terminated.
System Action: Relevant control blocks are dumped.
Operator Response: Notify the system programmer.
System Programmer Response: Examine the control blocks
System Programmer Response: If you suspect an error in
for relevant information.
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
for information on identifying and reporting the problem.
DSNW038I END OF FORMATTING
DSNW032I DUMP ACCESS ERROR ACCESSING ANCHOR Explanation: Formatting of DB2 control blocks is completed.
CONTROL BLOCK
Explanation: The anchor control block cannot be accessed DSNW039I SUBSYSTEM FORMATTING COMPLETE FOR
from the dump. THIS DUMP
System Action: Control block formatting is terminated. Explanation: The subsystem formatting routine has com-
pleted its processing for this dump data set.
Operator Response: Notify the system programmer.
System Programmer Response: If you suspect an error in DSNW040I 'VVV'CONTROL BLOCK FORMATTER ERROR
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference FLAGS
for information on identifying and reporting the problem.
X'80': FIELD EXPECTED TO BE ZERO IS NONZERO
DSNW033I BEGINNING FORMATTING X'40': LAST BLOCK IN CHAIN DOES NOT POINT BACK
TO PARENT BLOCK
Explanation: Formatting of DB2 control blocks is beginning.
X'20': BLOCK NOT FOUND IN DUMP
DSNW034I TRACE TABLE AND GLOBAL BLOCKS X'10': BLOCK LENGTH INCORRECT
ALREADY DUMPED
X'08': VERIFICATION CODE INCORRECT
Explanation: An indicative dump is being requested. The
X'04': BLOCK CHAINED FROM THIS BLOCK NOT
DB2 trace table and the global blocks have already been
FOUND IN DUMP
dumped with first dump (full dump) for this abend dump
(SNAP) invocation. These are, therefore, not dumped in the X'02': BLOCK CHAINED FROM THIS BLOCK HAS
dump for this task. WRONG VERIFICATION CODE
X'01': VALIDATION CONSTANT DOES NOT MATCH
EXPECTED VALUE
Explanation: The message DSNW040I appears at the begin-
ning of a formatted dump. It defines the hexadecimal values
associated with the 'VVV=XX' keyword. This keyword is pro-
vided on the title line of each control block selected for format-
DSNW049I OLDEST SLOT ADDRESS INVALID, FORMAT-
ting. It indicates any unusual conditions encountered during the
TING TRACE TABLE FROM FIRST ENTRY
validation and format processing of the current control block
structure. Explanation: The next trace table entry location is invalid.
System Action: Dump formatting continues. System Action: Dump formatting continues.
System Programmer Response: All nonzero 'XX' values System Programmer Response: The printout of the dump
should be examined. If an error is indicated, the printout of the should be used for the problem documentation.
dump should be used for the problem documentation.
Problem Determination: The Trace Anchor Block has been
Problem Determination: Possible errors include: initialized incorrectly, or overlaid during execution.
X'80'
X'40' DSNW050I ssid,NO SDWA/LOGREC,
X'20' ABND=comp-reason,U=user-id,
X'04' M=module,C=XYR00.vrm.comp-function
The current state of the individual control block structures at Explanation: This message provides the default SVC dump
the time of error might vary with the type of error involved. title (SDUMP) associated with the SYS1.DUMP data set when
Examine control block structures with one of these 'XX' an SDWA was unavailable during recovery processing. The
values based on the specific ABEND code. variable fields are:
Example: A X'04' associated with the referencing control ssid
block and the X'20' associated with the referenced control 4-character DB2 subsystem name
block may mean the ABEND occurred between the release of
comp-reason
the referenced control block and re-initialization of the address
Abend completion code, followed by the abend reason code.
within the referencing one.
user-id
DB2 validation errors include:
Authorization-ID for the individual subsystem user.
X'10'
module
X'08'
Functional recovery routine responsible for the dump.
X'02'
X'01' vrm.comp-function
Component-ID, as follows:
These values indicate that a validation error occurred while for-
matting the associated control block. vrm
DB2 version, release number, and modification level.
For example, an X'08' associated with the referenced control
block indicates the storage area has been overlaid or the comp-function
address in the referencing control block is incorrect. Subse- Component-ID function.
quent examination of the values in this control block is not reli- System Action: Dump processing continues.
able.
System Programmer Response: Since the SDWA provides
important diagnostic information to assist in problem determi-
DSNW041I THE TAB CANNOT BE ACCESSED OR IT IS nation, examine the recovery environment at time of error to
INVALID determine why an SDWA was not provided for this abend.
Explanation: The DB2 trace table anchor block could not be In a nonrecovery environment, there may be valid reasons for
located. the lack of an SDWA.
System Action: Formatting of the DB2 trace table is Problem Determination: In a recovery environment, func-
bypassed, and formatting of any other requested dump tional recovery routines (FRRs) are guaranteed an SDWA by
segment continues. Recovery Termination Manager (RTM). Therefore, the recovery
System Programmer Response: If 'SUMDUMP=NO' was routine is most likely an ESTAE recovery routine. The primary
specified on the dump control statement, omit this operand. reason for an SDWA not being provided to an ESTAE routine
Otherwise, specify this operand on the dump control statement. is insufficient storage available during recovery processing.
In either case, resubmit the job. Examine the region sizes allocated to the failing function to
ensure that sufficient storage is available.
If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
nosis Guide and Reference for information on identifying and In a nonrecovery environment, no SDWA is provided because
reporting the problem. only RTM can create one.
Problem Determination: Collect the following diagnostic
items listed in Appendix B, “Problem determination” on DSNW051I ERROR DURING DUMP PROCESSING
page 1051: 1, 2, 5. Explanation: This message is generated by the 'SDUMP
dump data gathering service' recovery routine when an error
is encountered during dump processing.
System Programmer Response: This error is documented in
a SYS1.LOGREC record. This message can be issued
because of an error in the invocation of SDUMP, or because of
an error in SDUMP itself, or during control block examination
and access.
System Programmer Response: If intervention is desired, If the SDWA is not in the dump data set, no error is indicated.
the DB2 subsystem can be terminated by either an MVS
CANCEL command or a -STOP DB2 command. If you suspect DSNW056I VRA DIAGNOSTIC REPORT COMPLETE
an error in DB2, refer to Section 3 of DB2 Diagnosis Guide
Explanation: The VRA Diagnostic Report is done.
and Reference for information on identifying and reporting the
problem. System Action: Dump format processing continues.
Problem Determination: The modules must reside in a DB2
program library named on the execution procedure used to DSNW060I BEGIN SAVE AREA TRACE
start a DB2 subsystem address space. Explanation: This message identifies the start of the DB2
The named modules prohibit the use of the DB2 dump format- register Save Area Trace report which appears in the formatted
ting facility to format SVC dumps that occur during the current section of a DB2 SVC Dump. The save areas for the current
execution cycle of the DB2 subsystem. The named modules failing agent execution block (EB), and all associated Agent
are not required for DB2 execution. EBs, are traced from the point of error and displayed in order
of invocation.
DSNW053I VRA DIAGNOSTIC INFORMATION REPORT The format of this report is as follows:
Explanation: All DB2 diagnostic information in the Variable Save Area Identification
Recording Area (VRA) at the time of the error is extracted and The address and contents of each save area is displayed and
displayed in this report. identified by the invoking module.
The address of the SDWA, the contents of SDWARA, and Module-name Service-level-identifier
SDWARA’s hexadecimal offset into SDWA are also displayed.
Individual diagnostic entries are identified by a hexadecimal SA .... WD1 .... HSA .... LSA ....
VRA 'key', followed by the length of the subsequent data. RET .... EPA .... R ....
Data fields are displayed in hexadecimal and EBCDIC formats. R1 .... R2 .... R3 ....
If you suspect an error in DB2, refer to Section 3 of DB2 Diag- R4 .... R5 .... R6 ....
nosis Guide and Reference for information on identifying and R7 .... R8 .... R9 ....
reporting the problem. R1 .... R11 .... R12 ....
mode Agent EB MVS execution mode: Problem Determination: Register 6 does not contain the
current EB address or a prior EB address.
TCB Task Control Mode
SRB Supervisory Request Mode Refer to the abend reason and completion codes associated
with the original error to determine the use of register 6 prior to
Register Save Area Contents for Agent EBs the failure.
The contents of the register save area chains for the current
failing Agent EB, and all suspended Agent EBs at the time of DSNW063I name (address) ASID (asid) NOT FOUND IN
error, are displayed using the save area (SA) format. DUMP
REGISTERS IN (CB-name) AT TIME OF Explanation: During dump formatter processing of the save
execution-status area trace report (DSNW060I), a control block or save area
CB-name Identifies the name of the control block from which was not found in the dump data set.
the registers for the current Agent EB were Since the dump formatter utilizes the DB2 and MVS control
obtained: blocks defined under the 'name' field of this message to
SDWA MVS System Diagnostic Workarea locate individual register save areas, subsequent save areas
(Failure). located via the 'named' control block or save area will not be
TCB MVS Task Control Block (Suspend). displayed in the report.
STSV MVS SRB Status Save Area (Suspend). name Identifies the name of the control block or save area
execution-status that was not found in the dump data set:
Indicates the current execution status of the Agent SA Indicates a Save Area
EB at the time of error: ASCE DB2 Address Space Control Element
Failure Failing execution EB. EB DB2 Execution Block
Suspend Suspended execution EB. TCB MVS Task Control Block
RB MVS Request Block
Change of Primary Address Space
XSB MVS Extended Status Block
Since all register data references refer to the primary address PSA MVS Prefix Save Area
space associated with the currently active execution EB, the SDWA MVS System Diagnostic Work Area
following information is displayed each time the primary STSV MVS SRB Status Save Area
address changed during execution: STKE MVS Cross Memory Stack Element
CHANGE OF ADDRESS SPACE, NEW PASID=pasid address The address of the 'named' control block or save
pasid Indicates the new primary address space identifier area.
associated with the save areas that follow. asid The address space identifier associated with the
System Action: save area trace format processing continues control block or save area.
for the failing agent EB, and all associated agent EBs. System Action: Register save area trace format processing
System Programmer Response: See the Problem Determi- for the current save area chains is terminated. Subsequent
nation section. save area processing will vary depending on the specific
control block or save area that was available, and the DB2
Problem Determination: This report may be used to deter- Agent execution environments at the time of the error.
mine the register contents, module invocation sequence, and
execution environments leading up to the point of error. System Programmer Response: Due to the execution struc-
tures and environmental restrictions of selected DB2 and MVS
control structures, some control blocks and save areas associ-
ated with these execution environments will not be included in
the dump data set.
Problem Determination: During MVS/RTM recovery proc- currently active. Refer to DB2 Command Reference for details
essing, IFC Dump Services attempts to include all control about valid classes.
blocks (both DB2 and MVS), and the pertinent DB2 save areas
Problem Determination: Obtain a copy of the system or ter-
in the dump data set, regardless of the type of error. Control
minal log to verify command entry.
blocks and save areas associated with the following address
spaces at time of error will be included in the dump data set:
DSNW122I THE KEYWORD keyword IS NOT VALID FOR
Primary, Secondary, and Home address spaces. type TRACE
DB2 System Services and Database Services address Explanation: A trace command has been entered, but
spaces. 'keyword' is not valid for the trace type specified.
System Action: Processing for the TRACE command is ter-
DSNW108I UNABLE TO AUTOMATICALLY START type
minated.
TRACE
Operator Response: Either the named keyword must be
Explanation: System parameters indicated that a DB2 trace
omitted from the command, or a different type of trace must be
should be started automatically during DB2 subsystem initial-
specified. Refer to DB2 Command Reference for details about
ization, but the DB2 subsystem was unable to start the trace. A
valid combinations of keywords and trace types.
nonzero return code was received from the -START TRACE
command. Problem Determination: Obtain a copy of the system or ter-
minal log to verify command entry.
System Action: Subsystem initialization continues.
Operator Response: Start the trace via the -START TRACE DSNW123I csect-name TRACE RECORDING HAS BEEN
command after DB2 subsystem initialization is complete. RESUMED ON dest
Explanation: 'dest' destination resumes acceptance of trace
DSNW109I TRACE INITIALIZATION PARAMETERS UNA-
data after a failure.
VAILABLE, DEFAULTS ASSUMED
System Action: Data recording is resumed.
Explanation: The trace function was unable to access the
trace initialization parameters defined by the DSN6SYSP
macro. Default values as defined by that macro are assumed DSNW124I csect-name type TRACE TERMINATED
for trace parameters. RC=code RMID=nn
System Action: Subsystem initialization continues. Explanation: During processing 'type' trace, processing
abended due to an error. A trace type of blank indicates all
Operator Response: Determine if the system parameters tracing has stopped. 'RMID', displayed in decimal, identifies
module DSNZPARM is missing or inaccessible. If not, deter- the resource manager. 'RC', displayed in hexadecimal, speci-
mine if the CSECT DSN6SYSP is missing. Trace can be fies the return/reason/abend code associated with the action.
started with the -START TRACE command.
Further collection of the named trace is stopped. If it is neces-
sary to resume collection of the trace, a -START TRACE
DSNW120I A SPECIFIED keyword VALUE IS INVALID
command may be issued. However if another failure is experi-
FOR type TRACE
enced, the problem should be resolved before starting the
Explanation: A trace command has been entered, but a trace collection again.
specified keyword value is not valid for the trace type
System Action: Processing for the named trace type is
requested.
stopped. The message is not externalized by the functional
System Action: Processing for the TRACE command is ter- recovery routine, but is outputted whenever a IFC event is
minated. driven at a later time. A trace type of blank indicates all tracing
has stopped.
Operator Response: If a -START TRACE command was
entered, specify a valid destination for the trace. Otherwise, User Response: Investigate the reasons for the failure.
issue a -DISPLAY TRACE command to determine what traces
Operator Response: If necessary to collect the named trace,
are currently active. Refer to DB2 Command Reference for
issue a -START TRACE command to resume processing.
detailsabout valid destinations.
Problem Determination: Obtain a copy of the system or ter-
Problem Determination: Obtain a copy of the system or ter-
minal log. If a dump was produced, have it printed. Print a
minal log to verify command entry.
copy of the contents of the SYS1.LOGREC for the time period
involved. Forward these items along with a copy of the system
DSNW121I A SPECIFIED CLASS VALUE IS INVALID FOR log to the system programmer.
type TRACE
Explanation: A trace command has been entered, but a DSNW125I MULTIPLE ENTRIES NOT ALLOWED FOR
specified class value is not valid for the trace type requested. keyword AND keyword
System Action: Processing for the TRACE command is ter- Explanation: The following matrix shows keywords which can
minated. have multiple entries and the valid combinations. If the row
keyword has multiple values then the column keyword can
Operator Response: If a -START TRACE command was
have multiple (M) entries or a maximum of one (1).
entered, specify a valid class for the trace. Otherwise, issue a
-DISPLAY TRACE command to determine what options are Certain keywords are not allowed with some commands. Refer
to DB2 Command Reference for additional information.
Authorization
Class Dest Plan ID RMID IFCID Loca DSNW129I tno type class dest qual
TNO
Class M M M M M M M Explanation: This message is issued for -DISPLAY TRACE
Dest M M M M M M M responses. The message indicates the trace number that is
Plan M M 1 M 1 M 1
active, the type of trace, the class within type, and the destina-
Authori- M M 1 M 1 M 1
zation ID tion specified for the active trace entries. Whether the trace is
RMID M M M M M M M qualified is also displayed. If QUAL=YES, the trace is qualified
TNO M M 1 1 M M 1 by authorization ID, plan, RMID, or location. If QUAL=NO, the
IFCID M M M M M M M trace is not qualified. Qualification information may be
Loca M M 1 1 M 1 M requested by specifying DETAIL(2) on -DISPLAY TRACE.
Refer to messages DSNW143I, DSNW144I, and DSNW145I
System Action: Processing for the TRACE command is ter- for trace qualification information.
minated.
The message follows message number DSNW128I or
Operator Response: Reenter the command omitting the DSNW129I. If more information is available than can be dis-
invalid keyword. played on one line, subsequent lines of information are dis-
played. The message number is not displayed to save space
Problem Determination: Obtain a copy of the system or ter-
on the message line.
minal log to verify command entry.
Authorization
DSNW142I SPECIFIED BUFSIZE IS INCOMPATIBLE WITH Class Dest Plan ID RMID Loca
TNO
ASSIGNED BUFFER Class M M M M M M
Problem Determination: The problem may be caused by System Action: Processing for the TRACE command is ter-
one application program attempting to start a trace to a desti- minated.
nation owned by another program. This is a site problem and Operator Response: Omit the invalid keyword and reenter
can be solved by having application programs start traces to the command.
an OPX destination rather than a specific OPn destination. If
only one application program is starting traces, then the Problem Determination: Obtain a copy of the system or ter-
program should either specify the same BUFSIZE for all minal log to verify command entry.
requests or should not specify BUFSIZE.
DSNW147I ***END OF DISPLAY TRACE SUMMARY
DSNW143I CURRENT TRACE QUALIFICATIONS ARE - DATA***
Explanation: This message is issued before -DISPLAY Explanation: This message is produced when all summary
TRACE responses when DETAIL(2) or DETAIL(*) is specified. information for the -DISPLAY TRACE command has been
Message DSNW143I is followed by the DSNW144I message, written. Summary information is written when the DETAIL
one or more DSNW145I messages, and the DSNW148I keyword is specified as '1', '*', or not specified at all.
message. Message DSNW147I follows one or more DSNW129I mes-
sages. The message number is not displayed to save space
on the message line.
DSNW144I TNO AUTHID PLAN RMID LOCATION
System Programmer Response: If you suspect an error in
Explanation: This message is issued before -DISPLAY DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
TRACE responses when DETAIL(2) is specified. The title indi- for information on identifying and reporting the problem.
cates the trace number that is active, the authorization ID, the
plan, the RMID, and the location specified for the active trace Problem Determination: Collect the following diagnostic
entries. The message follows message DSNW143I. The items listed in Appendix B, “Problem determination” on
message number is not displayed to save space on the page 1051: 1, 2, 5.
message line.
DSNW148I ***END OF DISPLAY TRACE QUALIFICATION
DSNW145I tno authid plan rmid location DATA***
Explanation: This message is issued for -DISPLAY TRACE Explanation: This message is produced when all qualification
responses when DETAIL(2) is specified. The message indi- data for the -DISPLAY TRACE command has been written.
cates the trace number that is active, the authorization ID, the Qualification data is written when the DETAIL keyword of the
plan, the RMID, and the location specified for the active trace -DISPLAY TRACE command is specified as '2', or '*'.
entries. Message DSNW148I follows one or more DSNW145I mes-
sages. The message number is not displayed to save space
The message follows messages DSNW143I or DSNW144I. If on the message line.
more information is available than can be displayed on one
line, subsequent lines of information are displayed. The System Programmer Response: If you suspect an error in
message number is not displayed to save space on the DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
message line. for information on identifying and reporting the problem.
Problem Determination: Collect the following diagnostic
DSNW146I MULTIPLE ENTRIES NOT ALLOWED FOR items listed in Appendix B, “Problem determination” on
keyword, keyword AND keyword page 1051: 1, 2, 5.
DSNX... Messages
plan-id Name of the application plan specified in
DSNX100I bind-type SQL WARNING USING
the BIND subcommand. If the application
authorization-id AUTHORITY PLAN=plan-id
plan is not specified, this field is blank.
DBRM=dbrm name STATEMENT=statement
number object name IS NOT DEFINED dbrm name Name of the DBRM that contains the
unauthorized operation.
Explanation: The indicated object is not defined in the DB2
catalog. statement number Statement number of the SQL statement
containing the unauthorized operation.
bind-type Type of BIND subcommand that caused
the warning: BIND, REBIND System Action: A valid plan is created if no errors are
detected and VALIDATE(RUN) is in effect.
authorization-id Authorization ID used during the BIND
process: for a BIND subcommand, indi- System Programmer Response: You must take one of the
cates the authorization ID of the plan following actions before the statement can be executed. Other-
owner; for a REBIND subcommand, indi- wise, the execution of the statement results in an error.
cates the authorization ID of the owner
Ensure that the appropriate authority is granted to the
specified by the subcommand, or the
invoker of the latest BIND subcommand against this appli-
latest owner of the plan. If this is a remote
cation plan
rebind, and the OWNER was not specified
in the subcommand, then “REMOTE Invoke the BIND subcommand again using an authori-
OWNER” will be output. zation ID with authority to perform all the operations in this
application plan.
plan-id Name of the application plan specified in
the BIND subcommand, blank if the appli- This statement is bound dynamically on each execution of the
cation plan is not specified. statement. For better performance, rebind the application
program after the appropriate authority is granted to the
dbrm name Name of the DBRM that contains the ref-
invoker of the BIND subcommand against this application plan.
erence to the indicated object.
statement number Statement number of the SQL statement DSNX102I bind-type SQL WARNING USING
referencing the name of the object. authorization-id AUTHORITY PLAN=plan-id
object name Name of the object that is not defined in DBRM=dbrm name STATEMENT=statement
the DB2 catalog. number THE REQUIRED INDEX HAS NOT
BEEN CREATED ON TABLE table name IN
System Action: A valid plan is created if no errors are
PARTITIONED TABLESPACE table space
detected and VALIDATE(RUN) is in effect.
name
System Programmer Response: Ensure that the indicated
Explanation: There was an attempt to reference the table in
table is created before the statement is executed. Otherwise,
the table space (both specified in the message) when the
execution of this statement results in an error.
required index was not yet created.
This statement is bound dynamically on each execution of the
bind-type Type of BIND subcommand that caused
statement. For better performance, REBIND the application
the warning: BIND or REBIND
program after the indicated object is created.
authorization-id Authorization ID used during the bind
process. For a BIND subcommand, it is
DSNX101I bind-type SQL WARNING USING
the authorization ID of the plan owner. For
authorization-id AUTHORITY PLAN=plan-id
a REBIND subcommand, it is the authori-
DBRM=dbrm name STATEMENT=statement
zation ID of the owner specified by the
number THE SPECIFIED AUTHORIZATION-ID
subcommand, or the latest owner of the
DOES NOT HAVE THE PRIVILEGE TO
plan. If this is a remote operation, and the
PERFORM OPERATION op name ON OBJECT
OWNER was not specified in the subcom-
object name
mand, then REMOTE OWNER is output.
Explanation: The identified authorization ID does not have a
plan-id Name of the application plan specified in
privilege required for application plan execution.
the BIND subcommand. If the application
bind-type Type of BIND subcommand that caused plan is not specified, this field is blank.
the warning: BIND or REBIND
dbrm name Name of the DBRM that contains the ref-
authorization-id Authorization ID used during the bind erence to the indicated table.
process. For a BIND subcommand, it is
statement number Statement number of the SQL statement
the authorization ID of the plan owner. For
referencing the indicated table.
a REBIND subcommand, it is the authori-
zation ID of the owner specified by the System Action: A valid plan is created if no errors are
subcommand, or the latest owner of the detected and VALIDATE(RUN) is in effect.
plan. If this is a remote operation, and the
System Programmer Response: Ensure that the required
OWNER was not specified in the subcom-
index on the indicated table in the partitioned table space is
mand, then REMOTE OWNER is output.
created before the statement is executed. Otherwise, execution
of this statement results in an error. This statement is bound OWNER was not specified in the subcom-
dynamically on each execution of the statement. For better mand, then REMOTE OWNER is output.
performance, rebind the application program after the required
plan-id Name of the application plan specified in
index is created.
the BIND subcommand. If the application
plan is not specified, this field is blank.
DSNX103I bind-type SQL WARNING USING
dbrm name Name of the DBRM that contains the ref-
authorization-id AUTHORITY PLAN=plan-id
erence to the indicated table.
DBRM=dbrm name STATEMENT=statement
number BIND ISOLATION LEVEL RR CON- statement number Statement number of the SQL statement
FLICTS WITH TABLESPACE LOCKSIZE PAGE referencing the indicated table.
OR LOCKSIZE ROW
System Action: A valid plan is created if no errors are
Explanation: Because of the possible inconsistency between detected.
the isolation level of the application and the LOCKSIZE of the
table space, table space locking is used to protect the integrity DSNX105I bind-type SQL WARNING USING
of the application. authorization-id AUTHORITY PLAN=plan-id
bind-type Type of BIND subcommand that caused DBRM=dbrm name STATEMENT=statement
the warning: BIND or REBIND number SQLCODE=sqlcode
SQLSTATE=sqlstateTOKENS=token list
authorization-id Authorization ID used during the bind
process. For a BIND subcommand, it is Explanation: An SQL warning code was generated while
the authorization ID of the plan owner. For processing an SQL statement.
a REBIND subcommand, it is the authori- bind-type The type of subcommand that caused the
zation ID of the owner specified by the warning: BIND or REBIND
subcommand, or the latest owner of the
plan. If this is a remote operation, and the authorization-id Indicates the authorization ID used during
OWNER was not specified in the subcom- the bind process. For a BIND subcom-
mand, then REMOTE OWNER is output. mand, it is the authorization ID of the plan
owner. For a REBIND subcommand, it is
plan-id Name of the application plan specified in the authorization ID of the owner specified
the BIND subcommand. If the application by the subcommand, or the latest owner
plan is not specified, this field is blank. of the plan. If this is a remote operation,
dbrm name Name of the DBRM that contains the ref- and the OWNER was not specified in the
erence to the indicated table. subcommand, then REMOTE OWNER is
output.
statement number Statement number of the SQL statement
referencing the indicated table. plan-id Name of the application plan specified in
the BIND subcommand. If the application
System Action: A valid plan is created if no errors are
plan is not specified, this field is blank.
detected. Table space locking is used. RR isolation level is
preserved. sqlcode A product specific code which identifies
the particular SQL warning condition. The
System Programmer Response: If you do not want table
value and semantics of the code are the
space locking, use isolation level UR, CS or RS.
same as the SQL return codes docu-
mented in “Section 2. SQL Return Codes”
DSNX104I bind-type SQL WARNING USING on page 17.
authorization-id AUTHORITY PLAN=plan-id
sqlstate A common code which identifies the par-
DBRM=dbrm name STATEMENT=statement
ticular SQL warning condition.
number THE RESULT OF DECIMAL MULTIPLI-
CATION MAY CAUSE OVERFLOW dbrm name Name of the DBRM that contains the
problem.
Explanation: An arithmetic expression contains a decimal
multiplication that might cause an overflow condition when the statement number Statement number of the SQL statement
statement is executed. The problem can be corrected by containing the problem.
restructuring the arithmetic expression so that decimal multipli-
token list Sequence of one or more tokens sepa-
cation precedes decimal division or by changing the precision
rated by blanks. Refer to “Section 2. SQL
and scale of the operands in the arithmetic expression. Refer
Return Codes” on page 17 for an expla-
to Chapter 3 of DB2 SQL Reference for the precision and
nation of tokens.
scale of the decimal multiplication and division results.
System Action: A valid plan is created if no errors are
bind-type Type of BIND subcommand that caused
detected.
the warning: BIND or REBIND
System Programmer Response: Refer to “Section 2. SQL
authorization-id Authorization ID used during the bind
Return Codes” on page 17, for the particular SQL return code
process. For a BIND subcommand, it is
given in this message. If the reason code is negative, this
the authorization ID of the plan owner. For
statement is bound dynamically on each execution of the state-
a REBIND subcommand, it is the authori-
ment. For better performance, rebind the application program
zation ID of the owner specified by the
after correcting this statement or after the required object is
subcommand, or the latest owner of the
created or altered.
plan. If this is a remote operation, and the
specified, DB2 will be unable to execute the date and time members of the DB2 data sharing group. See Section 2 of
functions required by the exit routine that failed to load. DB2 Installation Guide for information about defining data defi-
nition control objects and attributes in DSNZPARM.
System Action: The load failed. DB2 startup will continue.
Operator Response: Notify the system programmer.
# DSNX206I LOAD OF THE ACCESS CONTROL AUTHORI-
System Programmer Response: When DB2 is stopped, the # ZATION INSTALLATION REPLACEABLE EXIT
date and time exit routine must be link-edited correctly. For # ROUTINE module-name FAILED WITH MVS
more information, refer to Appendix B (Volume 2) of DB2 # ABEND CODE = abend-code AND REASON
Administration Guide . # CODE = reason-code DB2 STARTUP WILL
# CONTINUE
DSNX204I csect-name ERROR LOADING THE DB2 # Explanation: During DB2 startup, the Relational Data System
CATALOG, REASON reason: DB2 STARTED # subcomponent loads the Access Control Authorization
ACCESS(MAINT) # (DSNX@XAC) exit routine. During the load of EXIT ROUTINE
Explanation: The internal structure (DBD) for the catalog # module-name, MVS issued the abend code and reason code
database (DSNDB06) was either not found or inconsistent # that indicates abnormal termination of the task. However, the
when DB2 was started. See the appropriate reason for a more # abend was suppressed. DB2 will not use the Access Control
detailed description of the problem. # Authorization (DSNX@XAC) exit to perform authorization
# checking. DB2 authorization checking will be performed.
The reason is one of the following:
# System Action: The load failed. DB2 startup will continue.
0 An error occured reading the DBD01 table space.
Check the Console for messages and # Operator Response: Notify the system programmer.
SYS1.LOGREC for abends. # System Programmer Response: After DB2 has stopped,
1 The expected level of the DBD for DSNDB06 is the # you must properly link-edit the Access Control Authorization
previous release, but objects exist in the DBD for a # exit routine. For more information, refer to Appendix B (Volume
current or later release. # 2) of DB2 Administration Guide.
System Action: The SQL CALL statement fails, and the SQL
application is forced to roll back.
| DSNX908I csect-name PROCEDURE OR FUNCTION name
| WITH LOAD MODULE module EXCEEDED CPU
System Programmer Response: Correct the cause of the | RESOURCE LIMIT SSN= ssn PROC=
abnormal termination. If the correction requires the stored pro- | jclprocASID= asid WLM_ENV= wlmenv
cedure to be linkedited again, then it might be necessary to
Explanation: A stored procedure or function consumed more
cause the corrected MVS load module to be reloaded. Different
CPU service units than allowed by the ASUTIME column of the
commands must be used to cause this reloading depending on
ALTER PROCEDURES catalog table. The stored procedure
the environment in which the stored procedure was executed.
might be in a loop.
If it was run in a WLM-established stored procedures address
space, issue the MVS VARY
| name The name of the stored procedure or function being
WLM,APPLENV=name,REFRESH command.
| processed
module The MVS load module associated with the stored
If it was run in the DB2-established stored procedures address
procedure
space, issue the -START PROCEDURE command.
ssn The name of the DB2 subsystem that called the
Problem Determination: Collect the following diagnostic
stored procedure.
items listed in Appendix B, “Problem determination” on
page 1051: 1, 4, 5. jclproc The name of the JCL PROC used to start this
stored procedures address space.
| DSNX906I csect-name PROCEDURE OR FUNCTION name asid The MVS ASID of the address space where the
| TERMINATED ABNORMALLY. THE PROCE- stored procedure executed.
| DURE HAS BEEN STOPPED. ASID= asid
wlmenv The name of the WLM application environment
| WLM_ENV= wlmenv
where the stored procedure executed. If it executed
Explanation: A stored procedure terminated abnormally while in the DB2-established stored procedures address
attempting to satisfy an SQL CALL statement for an SQL appli- space, this field will contain blanks.
cation.
System Action: DB2 detaches the TCB associated with the
| name The name of the stored procedure or function that stored procedure, which causes abnormal termination of the
| terminated abnormally stored procedure.
asid The MVS ASID of the address space where the Operator Response: Contact the system programmer.
stored procedure executed.
System Programmer Response: If the stored procedure is
wlmenv The name of the WLM application environment looping, correct the stored procedure.
where the stored procedure executed. If it executed
If the stored procedure is performing correctly, increase the
in the DB2-established stored procedures address
ASUTIME value in the CREATE PROCEDURES row associ-
space, this field will contain blanks.
ated with the stored procedure.
System Action: The SQL CALL statement fails, and the SQL
Problem Determination: Collect the following diagnostic
application is forced to roll back.
items listed in Appendix B, “Problem determination” on
The abnormal termination count for procedure procname was page 1051: 1, 4, 5.
reached. The procedure is stopped and further requests for
the procedure are rejected.
| DSNX921I csect-name SOME SQL CALL STATEMENTS
System Programmer Response: Correct the cause of the | CANNOT BE PROCESSED, BECAUSE
abnormal termination. If the correction requires the stored pro- | REQUIRED RESOURCES ARE NOT AVAIL-
cedure to be linkedited again, then it might be necessary to | ABLE REASON=reason TYPE=type
cause the corrected MVS load module to be reloaded. Different | NAME=name
commands must be used to cause this reloading depending on
Explanation: DB2 was unable to validate the attributes of the
the environment in which the stored procedure was executed.
SYSIBM.SYSROUTINES catalog table and related objects
If it was run in a WLM-established stored procedures address because of an unavailable resource.
space, issue the MVS VARY
reason The DB2 reason code describing the unavailable
WLM,APPLENV=name,REFRESH command.
resource
If it was run in the DB2-established stored procedures address
type The resource type
space, issue the -START PROCEDURE command.
name The name of the resource
After the appropriate command has been issued to refresh the
stored procedure load module,use the -START PROCEDURE System Action: SQL CALL statements are rejected.
command to activate the stored procedure. System Programmer Response: Resolve the unavailable
Problem Determination: Collect the following diagnostic resource problem. Then use the -START PROCEDURE(*)
items listed in Appendix B, “Problem determination” on command to cause DB2 to accept SQL CALL statements.
page 1051: 1, 4, 5. Operator Response: Note the reason code, the type code,
and the name. See the Problem Determination section for an
explanation of the collected data.
Problem Determination: The reason code tells why the
resource is unavailable. Reason codes are described in "Part
4. Reason Codes". Use the table defined for message
DSNX922I csect-name BEGINNING DISCONNECTION OF Explanation: This message lists the DISPLAY PROCEDURE
STORED PROCEDURE ADDRESS SPACES information for a given stored procedure. The definitions of the
columns are:
Explanation: This message is produced during -STOP DB2
processing. It indicates that DB2 SQL processing has been procedure The name of the stored procedure.
quiesced, and DB2 is now beginning the termination process module The MVS load module associated with the stored
for the stored procedures address spaces. procedure.
If the module column contains blanks, the request
DSNX923I csect-name ALL STORED PROCEDURE for the procedure is in a state in which the MVS
ADDRESS SPACES ARE NOW DISCON- load module name cannot yet be determined.
NECTED.
status The status of the stored procedure. The status can
Explanation: This message is produced during -STOP DB2 be any of the following values:
processing. It indicates that all of the stored procedure address
spaces are now disconnected from DB2 and the stop of DB2 STARTED The stored procedure is able to
will continue. accept SQL CALL requests.
WLM-established stored procedure address spaces are termi- STOPABN The stored procedure was stopped
nated by WLM after the disconnection from DB2. because of the previous abnormal
termination of the stored procedure
application. SQL CALL requests for
DSNX940I csect-name - DISPLAY PROCEDURE REPORT the stored procedure are rejected.
FOLLOWS-
The -START PROCEDURE
Explanation: This message is the title for the report output command can be used to place the
from the DISPLAY PROCEDURE command. It precedes mes- stored procedure in STARTED
sages DSNX941I and DSNX942I. Message DSNX943I might status.
also be displayed. The final message for the report is
DSNX945I. STOPQUE The stored procedure was stopped.
SQL CALL requests for the stored
System Action: The DISPLAY PROCEDURE command procedure are queued until the
processing continues. stored procedure is started or the
installation-defined timeout interval
| DSNX941I PROCEDURE MODULE STATUS ACTIVE expires.
| QUEUED MAXQUE TIMEOUT WLM_ENV The -START PROCEDURE
Explanation: This message displays the column headings for command can be used to place the
the list of stored procedures generated by the DISPLAY PRO- stored procedure in STARTED
CEDURE command. The definitions are: status.
PROCEDURE The name of the stored procedure STOPREJ The stored procedure was placed
in this status by the STOP PRO-
STATUS The status of the stored procedure
CEDURE ACTION(REJECT)
ACTIVE The number of DB2 agents that are cur- command. SQL CALL requests for
rently running this stored procedure the stored procedure are rejected.
QUEUED The number of DB2 agents that are cur- The -START PROCEDURE
rently waiting for this stored procedure to command can be used to place the
be scheduled stored procedure in STARTED
status.
MAXQUE The maximum number of DB2 agents
that have waited for this stored proce- active The number of DB2 agents that are currently
dure to be scheduled since DB2 was running this stored procedure.
started
maxact The maximum number of DB2 agents that have run
TIMEOUT The number of times a request for this this stored procedure concurrently since DB2 was
procedure timed out while waiting to be started.
scheduled since DB2 was started
queued The number of DB2 agents that are currently
| WLM_ENV The MVS Workload Manager environ- waiting for this stored procedure to be scheduled.
| ment name for this stored procedure
maxque The maximum number of DB2 agents that have
System Action: The DISPLAY PROCEDURE command waited for this stored procedure to be scheduled
processing continues. since DB2 was started.
timeout The number of times an SQL CALL statement timed
out while waiting for a stored procedure to be
scheduled since DB2 was started.
An SQL CALL statement can time out for several
reasons:
System Action: The attempt to connect to DB2 is rejected. | System Action: The START, STOP, or DISPLAY command
| continues.
DSNX953E csect-name STORED PROCEDURE JOBNAME
OR STARTED TASK NAME DOES NOT MATCH | DSNX960E csect-name SOME SQL CALL STATEMENTS
ZPARM | CANNOT BE PROCESSED, BECAUSE THE
Explanation: An MVS address space attempted to identify
| Language Environment ROUTINE CEEPIPI
itself to DB2 as the DB2-established stored procedure address
| CANNOT BE LOADED SSN= ssn PROC= jclproc
space,but the JOBNAME or started task name of the address
| ASID= asid WLM_ENV= wlmenv
space did not match the stored procedure's MVS procedure | Explanation: To execute an SQL CALL statment, DB2 must
name recorded in the DB2 DSNZPARM module. | load the Language Environment interface module (CEEPIPI). If
System Action: The attempt to connect to DB2 is rejected.
| the CEEPIPI module is not included in an accessible data set
| such as STEPLIB data sets, JOBLIB data sets, or the LPA
System Programmer Response: If you want to start the | library, DB2 is unable to call Language Environment to process
DB2-established stored procedure address space fromthe MVS | stored procedure or function requests.
console, you must use an MVS procedure name that matches
the value in the DB2 DSNZPARM module.
| ssn The name of the DB2 subsystem to which the
| stored procedures address space was connected.
DSNX954I csect-name ATTEMPT TO START | ssn The name of the JCL PROC used to start this
DB2-Established STORED PROCEDURE | stored procedures address space.
ADDRESS SPACE PROC= jclproc FAILED | asid The MVS ASID of the address space where the
Explanation: DB2 attempted to start the DB2-established | load was issued.
stored procedure address space using the JCL proc name | wlmenv The name of the WLM application environment
specified in the DB2 DSNZPARM module. MVS failed the | where the load was issued. If it executed in the
request. | DB2-established stored procedures address space,
Possible causes for the start failing include: | this field will contain blanks.
JCL proc not found | System Action: The address space attempting to process
| stored procedures or functions terminates.
JCL error in the proc
System Programmer Response: Change the STEPLIB DD
jclproc The name of the JCL PROC used to start the statement in the JCL used to start the stored procedure
stored procedures address space. address space, or install the CEEPIPI module in one of the
System Action: The DB2-established stored procedures libraries already accessible to the address space.
address space will not be available. After the CEEPIPI module is accessible, use one of the fol-
System Programmer Response: Correct the error and use lowing techniques to restart the failing stored procedure
the -START PROCEDURE(*) command to start the address space:
DB2-established stored procedure address space. If the error was in a WLM-established stored procedures
address space, use the MVS VARY
| DSNX955I WLM,APPLENV=name,RESUME command.
| Explanation: A blank line that appears in the DISPLAY PRO- If the error was in the DB2-established stored procedures
| CEDURE or DISPLAY FUNCTION command. address space, use the -START PROCEDURE(*)
command.
| System Action: The DISPLAY command processing con-
| tinues. Problem Determination: Collect the following diagnostic
items listed in Appendix B, “Problem determination” on
page 1051: 1.
| DSNX956I ------ SCHEMA = schema
| Explanation: This message reports the schema name # DSNX961I csect-name ATTEMPT TO PERFORM JNI
| requested on the DISPLAY PROCEDURE or DISPLAY FUNC- # FUNCTION function FAILED FOR STORED
| TION command. # PROCEDURE procedure-name SSN=ssn
| schema The schema name for the stored procedure or func- # PROC=jclproc ASID=asid CLASS=class-name
| tion. # METHOD=method-name ERROR INFO= error-
# information
| System Action: The DISPLAY command processing con-
| tinues. # Explanation: A WLM-established stored procedures address
# space was unable to perform a Java Native Interface (JNI)
| DSNX957I csect-name INSUFFICIENT AUTHORITY FOR
# function.
| OBJECT object # function
| Explanation: This message is issued when a START, STOP, # The JNI function that failed. Possible values are:
| or DISPLAY command is issued for a stored procedure or # GET_DEFAULTS JNI_GetDefaultJavaVMInitArgs
| user-defined function that the user is not authorized to START,
| STOP, or DISPLAY. # CREATE_VM JNI_CreateJavaVM
| timeout The number of times an SQL statement timed out | Explanation: The output from the DISPLAY FUNCTION SPE-
| while waiting for a function to be scheduled since | CIFIC command is complete. This message follows DSNX975I,
| the last START SPECIFIC FUNCTION command | DSN969I, and any DSNX970I messages.
| was issued for this function. An SQL statement can | System Action: The DISPLAY FUNCTION SPECIFIC
| time out because the function can be stopped by | command processing continues.
| the STOP SPECIFIC FUNCTION ACTION(QUEUE)
| command, causing requests for the function to be
| DSNX974I csect-name STOP FUNCTION SPECIFIC
| queued until the installation-defined time interval
| SUCESSFUL FOR token
| expires.
| Explanation: The function name supplied on the STOP
| wlm_env The MVS Workload Manager environment name for
| FUNCTION SPECIFIC command completed sucessfully.
| this function.
| token The function name supplied on the STOP FUNC-
| System Action: The DISPLAY SPECIFIC FUNCTION
| TION SPECIFIC command.
| command processing continues.
| System Action: The STOP FUNCTION SPECIFIC command
| DSNX970I FUNCTION STATUS ACTIVE QUEUED
| processing continues.
| MAXQUE TIMEOUT WLM_ENV
| DSNX975I csect-name - DISPLAY FUNCTION SPECIFIC
| Explanation: This message displays the column headings for
| REPORT FOLLOWS-
| the list of external functions generated by the DISPLAY SPE-
| CIFIC FUNCTION command. The definitions are: | Explanation: This message is the title for the report output
| from the DISPLAY FUNCTION SPECIFIC command. It pre-
| cedes messages DSNX969I and DSNX970I. Message
| FUNCTION The name of the external function.
| DSNX971I might also be displayed. The final message for the
| STATUS The status of the function. | report is DSNX972I.
| ACTIVE The number of DB2 agents that are currently | System Action: The DISPLAY FUNCTION SPECIFIC
| running this function. | command processing continues.
| QUEUED The number of DB2 agents that are currently
| waiting for this function to be scheduled.
System Action: The stored procedures service task that # func The dub setting used by USS BPX1SDD callable
encountered the error terminates. If this is the last service task # service. This can be DUBPROCESS or
in that address space, then that address space terminates. # DUBTHREAD.
System Programmer Response: If you suspect an error in # rv The return value given by USS BPX1SDD callable
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference # service.
for information on identifying and reporting the problem.
# rc The return code given by USS BPX1SDD callable
Problem Determination: # service.
Collect the following diagnostic items listed in Appendix B, # rsn The reason code given by USS BPX1SDD callable
“Problem determination” on page 1051: 1, 4, 5. # service.
# ssn The name of the DB2 subsystem to which this
DSNX983I csect-neme DB2 STORED PROCEDURE # stored procedure address space was connected.
SUPPORT CODE AND SUBSYSTEM CODE
ARE NOT AT THE SAME LEVEL SSN= ssn
# proc The name of the JCL PROC used to start this
PROC = jclproc
# stored procedures address space.
# System Action: The stored procedure address space initial- # execname The name of the REXX executable.
# ization continues. # function The TSO or REXX function call that failed. It can be
# one of three values: IKJTSOEV, IRXINIT, or
# DSNX991I csect-name IMS ODBA INITIALIZATION COM- # IRXEXEC. For more information regarding the
# PLETED # IKJTSOEV function, refer to OS/390 TSO/E Pro-
# gramming Services. For information regarding
# Explanation: The initialization of the IMS ODBA callable
# IRXINIT and IRXEXEC, refer to OS/390 TSO/E
# interface has completed. Stored procedure applications may
# REXX Reference.
# use DL/I calls to access IMS databases.
# rc The return code for the specific function, provided
# System Action: The stored procedure address space initial-
# by TSO or REXX. For return code explanations,
# ization continues.
# refer to OS/390 TSO/E Programming Services and
# OS/390 TSO/E REXX Reference.
# DSNX992E csect-name IMS ODBA INITIALIZATION
# reason The reason code for the specified function, provided
# FAILURE, AIB RC = rc
# by TSO or REXX. For reason code explanations,
# Explanation: The initialization of the IMS ODBA callable # refer to OS/390 TSO/E Programming Services and
# interface has failed. Stored procedure applications cannot use # OS/390 TSO/E REXX Reference.
# DL/I calls to access IMS databases.
# System Action: The stored procedure address space initial-
# rc The AIB return code provided by IMS for the CIMS # ization continues.
# INIT call. Refer to the section on DL/I Return and
# Problem Determination: View the file associated with the
# Reason Codes in IMS/ESA Application
# SYSTSPRT DD card in the Stored Procedure Address Space
# Programming: Database Manager for more informa-
# start-up procedure. This file contains diagnostic messages
# tion regarding the failure.
# issued by TSO regarding the failing function. Refer to OS/390
# TSO/E Messages for any messages found in the SYSTSPRT.
DSNY... Messages
System Programmer Response: Verify that all installation
DSNY001I SUBSYSTEM STARTING
and maintenance activities against DB2 were executed using
Explanation: The -START DB2 command is accepted. This SMP, that the JCLIN for SMP includes the correct AMODE and
message is issued to the MVS console that issued the -START RMODE control statements, and that the Linkage Editor pro-
command. The DSN9022I message is sent when the DB2 sub- vided with the Data Facility Product (DFP) was invoked by
system startup process has completed. Refer to the DSN9022I SMP for the link edits. Correct the procedure or JCL that
message for additional information. caused the error and rerun the necessary SMP jobs.
System Action: DB2 startup processing begins. Problem Determination: A DB2 dump was requested to an
MVS SYS1.DUMP data set. The MVS service aid AMBLIST
DSNY002I SUBSYSTEM STOPPING provides Linkage Editor module attributes in the summary
section of the LISTLOAD function output.
Explanation: The -STOP DB2 command is accepted. The
DSN9022I message is issued when the DB2 subsystem shut-
down process has completed. The message is issued either to DSNY007I LOAD MODULE DSNHDECP DOES NOT HAVE
the origin of the -STOP DB2 command (for MVS MCS console) RMODE(24) ATTRIBUTE
or to the MVS console from which the -START DB2 command Explanation: The named load module was not link-edited
was received. Refer to the DSN9022I message for additional with the required RMODE(24) attribute.
information.
System Action: DB2 startup is abended with reason code
System Action: DB2 subsystem shutdown is initiated. 00E80160.
Operator Response: Notify the system programmer.
DSNY003I SUBSYSTEM IS ALREADY ACTIVE
System Programmer Response: Verify that all installation
Explanation: The -START DB2 command has not been and maintenance activities against DSNHDECP were executed
accepted, because the DB2 subsystem is active. The using SMP. JCLIN for SMP must have included the correct
DSN9023I message is issued after this message. Refer to the AMODE and RMODE control statements. The Linkage Editor,
DSN9023I message for additional information. provided with the Data Facility Product (DFP), was invoked by
SMP for the link-edits. Correct the procedure or JCL that
DSNY004I SUBSYSTEM IS ALREADY STOPPING caused the error and rerun the necessary SMP jobs.
Explanation: The -STOP DB2 command has not been Problem Determination: The MVS service aid AMBLIST pro-
accepted either because the DB2 subsystem shutdown is in vides Linkage Editor module attributes in the summary section
progress for the specified option (QUIESCE or FORCE), or of the LISTLOAD function output.
because the QUIESCE option was specified after a FORCE
option had been previously accepted. The DSN9023I message DSNY008I SUBSYSTEM SHUTDOWN REQUEST NOT
is issued after this message. Refer to the DSN9023I message ACCEPTED
for additional information.
Explanation: The -STOP DB2 command has not been
System Action: DB2 subsystem shutdown is continued. accepted because a subsystem startup has not completed to
the point where shutdown can occur. The DSN9023I message
DSNY005I SUBSYSTEM STARTUP TERMINATED, is issued after this message. Refer to the DSN9023I message
INVALID START COMMAND for additional information.
Explanation: The DB2 subsystem can be started only by a System Action: DB2 startup continues and the -STOP DB2
-START DB2 command. command is ignored.
System Action: DB2 subsystem startup is terminated. User Response: Reissue the -STOP DB2 command after
subsystem startup has completed.
Operator Response: Start the DB2 subsystem via the
-START DB2 command, and reenter the rejected command.
DSNY010I LOAD MODULE module name IS NOT AT THE
CORRECT RELEASE/VERSION LEVEL
DSNY006I csect-name INVALID AMODE OR RMODE
ATTRIBUTE FOUND FOR LOAD MODULE Explanation: The named load module is not at the correct
module name release/version level for the version of DB2 that was being
started.
Explanation: The Initialization Procedures subcomponent
detected that a module had an invalid AMODE or RMODE System Action: DB2 startup is abended with reason code
attribute when it was loaded. In the error message, 'module 00E80161.
name' is the name of the load module with an invalid Operator Response: Notify the system programmer.
addressing or residency mode.
System Programmer Response: Verify that the correct load
System Action: DB2 subsystem startup is terminated. libraries are being used. Also verify that the application of
Operator Response: Notify the system programmer of the maintenance did not result in modules being link edited into the
failure. wrong load libraries.
DSNZ... Messages
The correct load libraries are being used to load the
DSNZ002I src DSNZINIT SUBSYSTEM ssnm SYSTEM
system parameters load module.
PARAMETERS LOAD MODULE NAME IS
dsnzparm-name If these are correct, then reassemble and relink-edit your
system parameters load module.
Explanation: DB2 subsystem 'ssnm' is being started with
the 'dsnzparm-name' DSNZPARM load module. This
message is written to the MVS console which entered the DSNZ004I csect-name DSNZINIT INCORRECT LEVEL
-START DB2 command. The message will also appear in the wrong-level FOUND IN parm-csect SYSTEM
JES SYSLOG and on the JES job log of ssnmMSTR. The PARAMETERS. LEVEL correct-level IS
message contains the name of the DSNZPARM load module REQUIRED.
entered by the operator or the default name (DSNZPARM) if Explanation: The system parameters load module CSECT
no name was entered. parm-csect contains an incorrect level identifier. The CSECT
System Action: DB2 startup processing continues. contains a level identifier of wrong-level and the DB2 that is
starting requires a level identifier of correct-level.
DSNZ003I csect-name DSNZINIT CSECT parm-csect NOT This error can occur if the system parameters load module
FOUND IN SYSTEM PARAMETERS. specified is for a different release of DB2. This error can also
occur if the system parameters load module is missing some
Explanation: The named parm-csect was not found in the
maintenance. In this case the parm-csect is down level and
system parameters (ZPARM) specified when starting DB2. This
must be reassembled.
CSECT is required to start DB2. The name of the system
parameters load module that is missing this CSECT is identi- System Action: DB2 subsystem startup processing stops.
fied in previously issued message DSNZ002I.
Operator Response: Verify that the correct system parame-
This error can occur if the system parameters load module ters name was specified. If the correct name was specified,
specified is for a different release of DB2. then notify the system programmer.
System Action: DB2 subsystem startup processing stops. System Programmer Response: Verify that:
Operator Response: Verify that the correct system parame- The system parameters load module is for the release of
ters name was specified. If the correct name was specified, DB2 being started.
notify the system programmer.
The correct load libraries are being used to load the
System Programmer Response: Verify that: system parameters load module.
The system parameters load module is for the release of If these are correct, then reassemble and relink-edit your
DB2 being started. system parameters load module.
DSN1... Messages
The messages in this section apply to DSN1113E VALUE FOR KEYWORD xxxxxxxx INVALID
DSN1LOGP, DSN1COPY, DSN1COMP, Explanation: The SYSIN input contains the keyword
DSN1PRNT, and DSN1CHKR. 'xxxxxxxx'. The value specified for that keyword is not of the
form '( value )'.
The value shown for 'severity' is the value Severity: 8 (error)
returned as the job-stepcondition code from the System Action: Processing is terminated.
job step in which the message is issued. If addi-
User Response: Resubmit the job with the correct form of
tional messages having higher severity values are the keyword. The problem might be that the closing paren-
issued during the same job step, the higher value thesis ')' is missing or that an extra blank exists in the value.
is reflected as the job-step condition code.
DSN1114E RBASTART MULTIPLY DEFINED
Severity values have the following meanings: Explanation: The RBASTART parameter can be specified
only once for a given job.
0 An informational message. No error
occurred. Severity: 8 (error)
4 A warning message. A condition was System Action: Processing is terminated.
detected of which the user should be aware. User Response: Resubmit the job using a single RBASTART
The user might need to take further action. value.
8 An error message. An error situation was
detected and processing could not continue. DSN1115E csect-name KEYWORD keyword ALLOWS
ONLY number HEX CHARACTERS
12 A severe error message. A severe error situ-
ation was detected and processing could not Explanation: The value given for keyword is too long.
continue. Severity: 8 (error)
System Action: Processing is terminated.
User Response: Resubmit the job providing no more than
DSN1110E LIMIT OF 50 STATEMENTS EXCEEDED the maximum number of characters allowed for the keyword.
Explanation: DSN1LOGP allows a total of 50 statements for
a given job. DSN1116E csect-name keyword IS USED MORE THAN
Severity: 8 (error) ONCE.
System Action: Processing is terminated. Explanation: The keyword can be used only once in a single
job.
User Response: Resubmit the job using no more than 50
statements. Severity: 8 (error)
System Action: Processing is terminated.
DSN1111E LIMIT OF 80 TOKENS EXCEEDED User Response: Resubmit the job providing a single
Explanation: DSN1LOGP allows a total of 80 keywords and keyword.
corresponding value specifications. A keyword with its value is
considered two tokens. DSN1117E csect-name keyword SPECIFIED WITH NO
Severity: 8 (error) VALUE OR INCORRECT VALUE
System Action: Processing is terminated. Explanation: The keyword must be followed by a correct
value.
User Response: Resubmit the job using no more than 80
keywords. Severity: 8 (error)
System Action: Processing is terminated.
DSN1112E TOKEN xx..xx EXCEEDS 64 HEXADECIMAL User Response: Resubmit the job providing a correct value
CHARACTERS for the keyword.
Explanation: The SYSIN input contains the character string
'xx..xx'. This string is invalid.
Severity: 8 (error)
System Action: Processing is terminated.
User Response: Resubmit the job with the specified token
being no more than 64 hexadecimal characters in length.
DSN1118E RBAEND > 12 HEX CHARACTERS DSN1124E OBID > 4 HEX CHARACTERS
Explanation: The maximum size of a log RBA in DB2 is 6 Explanation: An OBID is 2 bytes in length (hence, 4 charac-
bytes (hence, 12 characters). ters maximum).
Severity: 8 (error) Severity: 8 (error)
System Action: Processing is terminated. System Action: Processing is terminated.
User Response: Resubmit the job providing an RBAEND User Response: Resubmit the job providing an OBID which
value that is no more than 12 hexadecimal characters. is no longer than 4 hexadecimal characters.
DSN1131E OFFSET/VALUE PAIR NUMBER xx CONTAINS DSN1137I csect-name FIRST PAGE SET CONTROL
INVALID HEX DATA RECORD AFTER RESTART LOG seq
nnnnnnnnnnnn
Explanation: A hexadecimal specification is required. The
value for offset/value pair number 'xx' contains an invalid Explanation: This message shows the log sequence number
hexadecimal character. of a record that serves as an implicit indication that a restart
occurred just prior to this point.
Severity: 8 (error)
seq RBA or LRSN
System Action: Processing is terminated.
nnnnnnnnnnnn The log sequence number
User Response: Resubmit the job providing a correct
hexadecimal value specification. Severity: 0 (informational)
System Action: Processing continues.
DSN1132E URID SPECIFIED WITH NO VALUE
Explanation: The URID keyword specifies the hexadecimal DSN1138E csect-name keyword AND keyword CANNOT
unit of recovery identifier. URID must be followed by a value. BOTH BE SPECIFIED
Severity: 8 (error) Explanation: You cannot specify both keywords in one job.
System Action: Processing is terminated. Severity: 8 (error)
User Response: Resubmit the job providing an associated System Action: Processing is terminated.
value for the URID parameter.
User Response: Resubmit the job specifying only one of the
keywords.
DSN1133E URID > 12 HEX CHARACTERS
Explanation: The maximum size of a URID in DB2 is 6 bytes DSN1139E RID SPECIFIED WITH NO VALUE
(hence, 12 characters).
Explanation: The RID keyword specifies a 4-byte
Severity: 8 (error) hexadecimal number, with the first 3 bytes representing the
page number and the last byte representing the record ID. A
System Action: Processing is terminated.
value must be associated with the RID.
User Response: Resubmit the job providing a valid URID
Severity: 8 (error)
value of no more than 12 hexadecimal characters.
System Action: Processing is terminated.
DSN1134E csect-name LIMIT OF number keywordS IS User Response: Resubmit the job providing a RID (value).
EXCEEDED
Explanation: The keyword was specified more than the DSN1140E RID > 8 HEX CHARACTERS
maximum number of times allowed in any given job.
Explanation: The maximum size of a RID in DB2 is 4 bytes
Severity: 8 (error) (hence, 8 characters).
System Action: Processing is terminated. Severity: 8 (error)
User Response: Resubmit the job specifying this keyword no System Action: Processing is terminated.
more than the maximum number of times.
User Response: Resubmit the job providing a valid RID
value of no more than 8 hexadecimal characters.
DSN1135E SUMMARY MULTIPLY DEFINED
Explanation: The SUMMARY option can be specified only DSN1141E RID WITHOUT DBID OBID
once.
Explanation: The DBID and OBID associated with the given
Severity: 8 (error) RID value must be specified.
System Action: Processing is terminated. Severity: 8 (error)
User Response: Resubmit the job using a singe SUMMARY System Action: Processing is terminated.
specification.
User Response: Resubmit the job providing the associated
DBID (value) and OBID (value) that correspond to the given
RID value.
dbname Database name corresponding to the dbid System Action: Processing continues.
DSN1164E INVALID xxxx FOUND AT RBA = DSN1174E OFFSET SPECIFIED WITH NO SUBTYPE
yyyyyyyyyyyy
Explanation: The given OFFSET has no corresponding
Explanation: While processing the SUMMARY option, an SUBTYPE.
invalid checkpoint record (either URE or RURE identified by
This message is issued by the following CSECT: DSN1LPAR
'xxxx') was encountered in the log.
Severity: 12 (severe error)
Severity: 0 (informational)
System Action: Processing terminates.
System Action: Processing continues.
User Response: Provide a valid SUBTYPE for the given
User Response: If the checkpoint record identified in the
OFFSET and resubmit the job.
message is used to restart DB2, the restart will fail because
DB2 will not be able to process the unit of recovery presented
by the invalid URE or RURE. DB2 must be restarted from a DSN1175E OFFSET SPECIFIED WITH NO VALUE OR
previous checkpoint to correctly process all units of recovery. INCORRECT VALUE
The print log map (DSNJU004) utility can be used to list the Explanation: The given OFFSET has no corresponding
checkpoint records in the BSDS, and the CHKPTRBA param- VALUE given or an incorrect VALUE is specified, such as
eter of the change log inventory (DSNJU003) utility can be specifying another keyword in place of a value.
used to direct the DB2 restart to use a particular checkpoint.
Severity: 12 (severe error)
Explanation: The SUBTYPE parameter can be specified only User Response: Provide a valid VALUE for the given
once for any given job. OFFSET and resubmit the job.
Explanation: The SUBTYPE parameter specifies a decimal User Response: Provide an OFFSET with a maximum of 8
set subtype. The SUBTYPE must be followed by a value, i.e. characters and resubmit the job.
SUBTYPE(value).
Severity: 12 (severe error) DSN1177E LIMIT OF 10 OFFSET, VALUE PAIRS
EXCEEDED
System Action: Processing terminates.
Explanation: A maximum of 10 OFFSET, VALUE pairs can
User Response: Provide a SUBTYPE value and resubmit the be specified for a given log record SUBTYPE.
job.
Severity: 12 (severe error)
Explanation: The maximum size of a SUBTYPE is 2 decimal User Response: Provide a maximum of 10 OFFSET, VALUE
characters. pairs for a given SUBTYPE and resubmit the job.
Explanation: The specified keyword value is not valid. User Response: Provide an associated VALUE (value) for
the given OFFSET and resubmit the job.
Severity: 12 (severe error)
System Action: Processing terminates.
User Response: Refer to DB2 Utility Guide and Reference
for a list of valid values. Provide a valid value and resubmit the
job.
DSN1179E VALUE SPECIFIED WITH NO CORRE- DSN1184E FILTER KEYWORD MULTIPLY DEFINED
SPONDING OFFSET OR SUBTYPE PARAM-
Explanation: The FILTER keyword was specified more than
ETER
once.
Explanation: The given VALUE has either no corresponding
Severity: 8 (error)
OFFSET or SUBTYPE parameter specified.
System Action: DSN1LOGP processing is terminated.
Severity: 12 (severe error)
User Response: Correct the input to provide only one
System Action: Processing terminates.
FILTER keyword and resubmit the job.
User Response: Provide an associated OFFSET or
SUBTYPE for the given VALUE and resubmit the job. DSN1185E FILTER KEYWORD SPECIFIED WITHOUT
SUMMARY KEYWORD
DSN1180E VALUE SPECIFIED WITH NO VALUE OR
Explanation: The FILTER keyword was specified without an
INCORRECT VALUE
associated SUMMARY keyword.
Explanation: The given VALUE has no corresponding value
Severity: 8 (error)
given, an incorrect value is specified, such as specifying a
keyword in place of a value, or an uneven number of charac- System Action: DSN1LOGP processing is terminated.
ters were specified. User Response: Correct the input to include the SUMMARY
Severity: 12 (severe error) keyword and resubmit the job.
System Action: Processing terminates.
DSN1210E DSNJSLR ERROR RETCODE=xxxxxxxx
User Response: Provide a valid value for the given VALUE REASON CODE =yyyyyyyy
and resubmit the job.
Explanation: The stand-alone log read function detected an
error. The return code (RETCODE) is explained in Appendix C
DSN1181E VALUE SPECIFIED WITH NO CORRE-
(Volume 2) of DB2 Administration Guide. The reason code is
SPONDING OFFSET
explained in “Section 4. DB2 Codes” on page 577.
Explanation: The given VALUE has no corresponding
Severity: 8 (error)
OFFSET specified.
System Action: Processing is terminated.
Severity: 12 (severe error)
System Action: Processing terminates. DSN1211E DSNJSLR RETURNED BAD LOG RBA
User Response: Provide a valid OFFSET for the given Explanation: One of the three problems listed below exists.
VALUE and resubmit the job.
1. The recovery log data set is damaged.
DSN1182E LIMIT OF 10 LUWIDs EXCEEDED 2. You identified a data set that isn't a recovery log data set.
Explanation: A maximum of 10 LUWID keywords can be 3. The stand-alone log read service has a problem.
specified in any given job. Severity: 0 (informational)
Severity: 8 (error) System Action: Processing continues.
System Action: DSN1LOGP processing is terminated. User Response: Determine if the problem is your error by
User Response: Resubmit the job providing no more than 10 dumping the data set and determining if it is a log data set.
LUWID keywords. Problem Determination: A common error is to specify the
first data set on an archive tape (the 'Bxxxxxxx' data set) as a
DSN1183E LUWID SPECIFIED WITH INCORRECT VALUE log data set; it is actually a BSDS.
OR NO VALUE
Explanation: The LUWID consists of an LU network name, DSN1212I csect-name FIRST LOG seq ENCOUNTERED
an LUW instance number, and a commit sequence number. nnnnnnnnnnnn
The LU network name consists of a 1 to 8 character network Explanation: This message identifies the sequence number
ID, a period, and a 1 to 8 character network LU name. The of the first log record that was read.
LUW instance number consists of a period followed by 12
hexadecimal characters. The LUW sequence number consists seq RBA or LRSN
of a period followed by 4 hexadecimal characters. Severity: 0 (informational)
Severity: 8 (error) System Action: Processing continues.
System Action: DSN1LOGP processing is terminated.
User Response: Resubmit the job providing a valid LUWID DSN1213I csect-name LAST LOG seq ENCOUNTERED
value. nnnnnnnnnnnn
Explanation: This message identifies the sequence number
of the last log record that was read.
seq RBA or LRSN
Severity: 0 (informational)
System Action: Processing continues. Previous log record can be found with same member ID.
mbn MEMBER=membername, where membername
DSN1215I NO LOG RECORDS WERE READ is the member of a data sharing group. This is
printed only for a data sharing record.
Explanation: DSN1LOGP read no log records.
seq RBA or LRSN
Severity: 0 (informational)
Severity: 0 (informational)
System Action: Processing continues. Possible explanations:
System Action: Processing continues.
An error prevents DSN1LOGP from continuing, so no log
records have yet been processed. If this is the case, an Problem Determination: The reason code identifies the
error message should precede this message. nature of the error and is explained in “Section 4. DB2 Codes”
on page 577. The return code is explained in Appendix C
You specified the active log data sets or archive log data
(Volume 2) of DB2 Administration Guide .
sets out of RBA sequence.
You specified a STARTRBA that is greater than any RBA DSN1218I NUMBER OF LOG ERROR MESSAGES
in the active and/or archive data sets available. nnnnnnnnnnnnnnnn
Explanation: DSN1LOGP distinguishes three classes of
DSN1216E csect-name DSNJSLR ERROR RETCODE =
errors:
xxxxxxxx REASON CODE = yyyyyyyy seq =
nnnnnnnnnnnn 1. Code problems existing in the DB2 or system code used
for DSN1LOGP. In the event of a SYSABEND dump, a
Explanation: The stand-alone log read function returned an
user abend code of U0153 will be issued, and DSN1LOGP
error indicating that either the log has an error in one of the
will be terminated.
control intervals (CI) or a data set containing the requested
sequence number cannot be located. The sequence number 2. Incorrect invocation of DSN1LOGP caused, perhaps, by
shown in the message indicates where the error was detected. your having used an incorrect keyword or missed a DD
statement. Under these circumstances, DSN1LOGP will
seq RBA or LRSN
issue appropriate error messages, and the program will be
The sequence number points: terminated.
To the start of the CI, if there is a problem with the log 3. Failure by a given log CI under the scrutiny of DSN1LOGP.
control interval definition (LCID), or with any of the general Such scrutiny is performed before any of the records within
control information within a CI. the CI are processed. Failure is an indication of logical
damage, and error messages are issued by the Log
To the log record in the CI, if there is a problem with a log
Extractor. The CI or failing log record is printed, and
record header (LRH).
DSN1LOGP continues to the next CI or log record.
If this is the first log record read during this execution of
The count 'nnnnnnnnnnnnnnnn' provided summarizes the
DSN1LOGP, and if there is a problem with the LCID, the
number (in decimal) of errors DSN1LOGP detected while
sequence number is all zeros.
accessing the log.
Before returning any records, DSN1LOGP checks the control
Severity: 0 (informational)
information (LCID) at the end of a CI, and analyzes the LRH to
ensure that all records are properly chained together within the System Action: Processing continues.
CI. If an error is detected while performing this process,
DSN1LOGP issues this message before dumping the entire CI. DSN1219E SYSSUMRY DD STATEMENT MISSING
It will not format individual records within the CI, but will, if pos-
sible, continue processing by reading the next CI. Explanation: You requested the SUMMARY option, but failed
to include the SYSSUMRY DD statement in your JCL invoca-
Severity: 0 (informational) tion.
System Action: Processing continues. Severity: 8 (error)
Problem Determination: The reason code identifies the System Action: Processing terminates.
nature of the error and is explained in “Section 4. DB2 Codes”
on page 577. The return code is explained in Appendix C User Response: Resubmit the job with a SYSSUMRY DD
(Volume 2) of DB2 Administration Guide . statement included in the JCL invocation.
DSN1220E ARCHIVE LOG TRUNCATED AT xxxxxxxx - DSN1300E csect-name RBA RANGE CANNOT BE USED
INVALID LOG RECORDS WERE READ TO PRINT LOG RECORDS FROM MULTIPLE
DB2 SYSTEMS
Explanation: At a restart of DB2, an archive log was trun-
cated. This archive log data set could not be physically altered Explanation: RBASTART and RBAEND cannot be used to
to reflect this truncation, and invalid log records therefore still define the range when selecting log records from multiple DB2
exist. DSN1LOGP has already reported this information in the systems. LRSNSTART and LRSNEND should be used instead.
summary report, and cannot retract it. Nor can it disregard the
System Action: Processing terminates.
invalid log information already read in order adequately to sum-
marize what has occurred. Therefore, all information up to this User Response: Resubmit the job with either RBA values
point in the log will be summarized, and a new summary report only or LRSN values only.
initiated. Consequently, the same UR may be reported twice
with different dispositions and different page sets modified. To DSN1303E csect-name INCOMPATIBLE DD STATEMENTS
avoid this condition, use the BSDS DD statement instead of WERE SPECIFIED FOR LOG PROCESSING
the ARCHIVE DD statement.
Explanation: Either MxxACTn or MxxARCHV was erro-
Severity: 0 (informational) neously specified in conjunction with MxxBSDS to locate the
System Action: Processing continues. log data sets of a member of a DB2 data sharing group for a
DSN1LOGP job.
DSN1221E DSNJSLR ERROR RETCODE=xxxxxxxx System Action: Processing terminates.
REASON CODE=yyyyyyyy VSAM RETURN User Response: Correct the DD statement and resubmit the
CODE=aaaa ERROR CODE=bbbb job.
Explanation: The stand-alone log read function resulted in a
VSAM error. The DSNJSLR return code 'xxxxxxxx', and DSN1309E csect-name SPECIFIED END RANGE IS LESS
reason code 'yyyyyyyy', included in the message are docu- THAN START RANGE
mented in Appendixes (Volume 2) of DB2 Administration
Guide. Explanation: The value specified for ENDLRSN or ENDRBA
is less than the value of STARTLRSN or STARTRBA for a
The VSAM return code (aaaa), and error code (bbbb), identify DSN1LOGP job.
the nature of the VSAM error. Refer to the appropriate VSAM
publication for an explanation of these codes. System Action: Processing terminates.
Severity: 0 (informational) User Response: Resubmit the job with correct start and end
values.
System Action: Processing continues.
DSN1703E KEYWORD xxxxxxxx UNKNOWN DSN1708E TOO MANY SELECT CRITERIA VALUES
Explanation: DSN1SDMP does not recognize the keyword Explanation: DSN1SDMP allows a maximum of eight
'xxxxxxxx'. SELECT criteria values.
Severity: 8 (error) Severity: 8 (error)
System Action: Processing is terminated. System Action: Processing is terminated.
User Response: Make sure that all keywords are valid and User Response: Use no more than eight SELECT criteria
then resubmit the job. values and then resubmit the job.
User Response: Use no more than 50 statements when you Severity: 0 (informational)
resubmit the job. System Action: Processing continues.
Severity: 0 (informational) Explanation: All requested IFC selective dump actions fin-
ished. All trace records have been written to the specified
System Action: Processing continues. destination(s). If an abend action was requested, all abends
User Response: Possible reasons for lost trace records are: have taken place.
The OP buffer is not large enough. Specify a larger Severity: 0 (informational)
BUFSIZE on the START TRACE command and then System Action: DSN1SDMP stops the trace that it started
resubmit the job. and completes processing.
The trace data is too voluminous and buffer is overflowing
before the data can be read. Specify a more granular DSN1720I READA ERROR, REASON=xxxxxxxx
selectivity on the START TRACE command and then
resubmit the job. Explanation: An error resulted when DSN1SDMP issued a
instrumentation facility interface (IFI) READA call in an attempt
to obtain DB2 trace records. Reason code 'xxxxxxxx' is the
DSN1715E UNABLE TO OBTAIN WORK SPACE IFI reason code returned in IFCARC2.
Explanation: An error resulted when DSN1SDMP attempted Severity: 8 (error)
to obtain work area storage.
System Action: Processing is terminated.
Severity: 8 (error)
User Response: One possible reason code is:
System Action: Processing is terminated.
00E60824 The user does not have correct monitor authority.
User Response: Specify a larger region size in the job Obtain the correct monitor authority (MONITOR1 or
control language and then resubmit the job. MONITOR2) and resubmit the job.
DSN1716E UNABLE TO OPEN SDMPIN DSN1800I START OF DSN1CHKR FOR JOB job-name
Explanation: An error resulted when DSN1SDMP attempted step-name
to open the SDMPIN data set. Explanation: This message indicates that DSN1CHKR
Severity: 8 (error) started processing.
System Action: Processing is terminated. Severity: 0 (informational)
User Response: Ensure that the SDMPIN DD statement in System Action: DSN1CHKR starts processing.
the job control language is valid and resubmit the job.
Problem Determination: Contact your IBM Support Center Problem Determination: Contact your IBM Support Center
for assistance. for assistance.
DSN1809I OVERFLOW RECORD IN ERROR - OVERFLOW DSN1814I UNEXPECTED END OF DATA AT PAGE page-
RID = ovf-rid, HAS NO POINTER RECORD number
Explanation: This message indicates no pointer record points Explanation: The END-OF-DATA condition was reached
to the overflow record with record id 'ovf-rid'. before expected at page 'page-number'.
Severity: 4 (warning) Severity: 8 (error)
System Action: The page is marked for output if the System Action: Processing terminates.
FORMAT/DUMP option is in effect. Processing continues.
Problem Determination: Examine previous diagnostic and
Problem Determination: Contact your IBM Support Center system messages, correct problem and rerun job.
for assistance.
DSN1815I DSN1CHKR COMPLETED SUCCESSFULLY,
DSN1810I INPUT DATA SET INVALID, NOT A pg-cnt PAGES PROCESSED
CHECKABLE SYSTEM TABLESPACE
Explanation: This message indicates the DSN1CHKR suc-
Explanation: This message indicates that the data set cessfully completed processing; all checks completed. The
defined by SYSUT1 is not a checkable table space and there- 'pg-cnt' represents the number of pages read during check
fore cannot be analyzed. processing, not the number of pages in the table space.
Severity: 8 (error) Severity: 0 (informational)
System Action: Processing terminates. System Action: Processing terminates.
System Programmer Response: Correct the SYSUT1 DD
statement and rerun the job. DSN1816I DSN1CHKR TERMINATED WITH ERRORS,
pg-cnt PAGES PROCESSED
Problem Determination: Checkable system table spaces
must be referenced by a hashed entry or contain links. Single- Explanation: This message indicates the DSN1CHKR did not
record table spaces referenced by an index are not checkable. successfully complete processing. The 'pg-cnt' represents
If you suspect an error in DB2, refer to Section 3 of DB2 Diag- the number of pages read during check processing, not the
nosis Guide and Reference for information on identifying and number of pages in the table space.
reporting the problem. Severity: 4 (warning) or 8 (error)
System Action: Processing terminates.
DSN1811I ANCHOR POINT PAGE page IS OUT OF
RANGE — VALUE IS LESS THAN 2 OR Problem Determination: Examine previous diagnostic mes-
GREATER THAN 'E'X sages, correct problems if possible and rerun job. Otherwise
contact your IBM Support Center for assistance.
Explanation: The ANCHOR function has an incorrect page
value for the page-slot argument. Anchor points can be found
only on pages 2 through 14 (E in hexadecimal). Any anchor DSN1817I ARGUMENT arg-val OF THE MAP COMMAND
point page specified beyond that range is invalid. IS INVALID
System Action: Processing continues. Problem Determination: Examine previous diagnostic and
system messages, correct problem if possible and rerun the
job. Otherwise, contact your IBM Support Center for assist-
DSN1830I INVALID NUMBERS OF VALUES SPECIFIED ance.
FOR func-name
Explanation: This message indicates that either: DSN1940I csect-name COMPRESSION REPORT
No value was specified. noncmpbytes KB WITHOUT COMPRESSION
An odd number of values was specified for a function that cmpbytes KB WITH COMPRESSION
requires an even number of values. percsave PERCENT OF THE BYTES WOULD BE
SAVED
Severity: 8 (error) numdictrows ROWS SCANNED TO BUILD DIC-
System Action: Processing terminates. TIONARY
numscanrows ROWS SCANNED TO PROVIDE COM-
Problem Determination: Refer to DB2 Utility Guide and Ref-
PRESSION ESTIMATE
erence for the parameter specifications. Correct the parmlist
numdictents DICTIONARY ENTRIES
and rerun the job.
auncmprowlen BYTES FOR AVERAGE UNCOM-
PRESSED ROW LENGTH
DSN1831I END OF DATE REACHED, PAGE = page- avgcmprowlen BYTES FOR AVERAGE COMPRESSED
number IS OUT OF RANGE ROW LENGTH
Explanation: This message indicates that page 'page-no', dictpages DICTIONARY PAGES REQUIRED
specified as a parameter of the MAP option, caused the noncmppages PAGES REQUIRED WITHOUT COM-
END-OF-DATA condition to be reached. The page number is PRESSION
invalid for the table space being mapped. cmppages PAGES REQUIRED WITH COM-
PRESSION
Severity: 4 (warning) pctpgsave PERCENT OF THE DB2 DATA PAGES
System Action: Processing continues with the next set of WOULD BE SAVED
parameters. Explanation: DSN1COMP completed successfully. This
Problem Determination: Correct the page parameter of the report contains the compression savings estimate based on the
MAP option and rerun the job. input data set. For a sample of the report, see the DSN1COMP
utility in DB2 Utility Guide and Reference.
Explanation: The anchor point to be mapped has a value of noncmpbytes The total number of uncompressed KB
0, which means that it is not in use. Therefore, no links are (where KB = 1024 bytes) for the data rows
checked. (including the row prefix). This number was
rounded to the nearest KB.
Severity: 4 (warning)
cmpbytes The total number of compressed KB for the
System Action: Processing continues with the next set of data rows (including the row prefix). This
parameters. number was rounded to the nearest KB.
percsave The percentage of bytes that would be
DSN1834I GETMAIN FOR BUFFERS FAILED. NO MORE
saved if the rows were compressed.
AVAILABLE STORAGE IN ADDRESS SPACE.
The values above reflect only the number of bytes for the data
Explanation: The GETMAIN for page buffers failed. There is
row and the associated row prefix (6 bytes). DB2 page and
no more virtual storage available in the address space. The
dictionary page overhead is not included.
table space being checked is too large to be processed with
the current system configuration. numdictrows The number of data rows that were used to
build the dictionary.
Severity: 8 (error)
numscanrows The number of data rows that were proc-
System Action: Processing terminates.
essed using the dictionary to produce the
Problem Determination: Make changes to the system con- compression savings estimate.
figuration, if possible, to allow more virtual storage to be avail-
numdictents The number of entries contained in the
able in the address space.
compression dictionary.
| Explanation: This message is issued in the following User Response: Correct the output data set name if
| situations: FULLCOPY or INCRCOPY were specified. If a page range is
being printed, correct the input data set name. Refer to Section
| The program tried to determine the page size from the first 2 (Volume 1) of DB2 Administration Guide for a discussion of
| page of the data set, but the first page is not a header DB2 data set naming conventions.
| page, or
| The first page is a LOB header page and the LOB param- DSN1959I BOTH FULLCOPY AND INCRCOPY PARAME-
| eter is missing. TERS CANNOT BE SPECIFIED.
| This message is issued by the following CSECTs: Explanation: DSN1COPY cannot apply to both full images
| DSN1COPY, DSN1PRNT. copies and incremental image copies in the same execution.
| Severity: 8 (error) The full image copies are applied first. Each incremental image
copy must then be applied in separate steps, starting with the
| System Action: Processing terminates.
oldest incremental copy.
| User Response: If the input data set is not a LOB table
This message is issued by the following CSECT: DSN1SDEF
| space, specify the PAGESIZE parameter. If the input data set
| is a LOB table space, specify the LOB or PAGESIZE param- Severity: 8 (error)
| eter or both, as appropriate. System Action: Processing will terminate.
User Response: Omit either FULLCOPY or INCRCOPY.
DSN1960I csect-name input/output DATA SET ALLO- DSN1964I NO VALUE HAS BEEN SPECIFIED FOR THE
CATION ERROR. ERROR FIELD IS ERRFIELD NUMBER OF PARTITIONS.
value1. INFORMATION FIELD IS INFFIELD
Explanation: No value was given for the number of partitions.
value2.
This value should follow the 'NUMPARTS' parameter.
Explanation: The allocation of an input or output data set
Severity: 8 (error)
failed. The ERRFIELD value1 contains the error number; the
INFFIELD value2 contains the information number. See SVC99 System Action: Processing will terminate.
# error codes in OS/390 MVS Diagnosis: Reference or OS/390 User Response: Look in SYSIBM.SYSTABLESPACE for the
# MVS Programming: Authorized Assembler Services Guide for correct number of partitions for this page. Specify the correct
help in determining the cause of the error. number of partitions and resubmit the job. If the page is not
Severity: 8 (error) partitioned, then either omit the NUMPARTS parameter or
specify NUMPARTS as zero.
System Action: Processing terminates.
User Response: Correct the cause of the allocation error and DSN1965I THE PARTITION NUMBER VALUE IS INVALID.
resubmit the job.
Explanation: The partition number value following the
'NUMPARTS' parameter is not between 1 and 64.
DSN1961I PIECE NUMBER value IS INVALID.
Severity: 8 (error)
Explanation: A page was retrieved that has a piece number
greater than NUMPARTS for partitioned table spaces or System Action: Processing will terminate.
greater than the default of 32 for linear table spaces. User Response: Look in SYSIBM.SYSTABLESPACE for the
'DPIECNUM value' is the piece number for the retrieved correct number of partitions for this page.
page. For page range printing, this message is issued if the
starting page number has an invalid piece number as deter-
mined from calculations involving NUMPARTS and the page DSN1966I OUTPUT DATA SET odsname NOT FOUND
size. Explanation: DB2 cannot find 'odsname' because it has not
Severity: 8 (error) yet been defined.
User Response: Look in SYSIBM.SYSTABLESPACE for the System Action: Processing is terminated.
correct number of partitions for this page. Correct NUMPARTS User Response: Use access method services to define
or 32KB if they were specified incorrectly, resubmit the job with 'odsname' and any other VSAM data sets that have not yet
a valid image copy, or correct the starting page number for been defined.
page range printing.
DSN1967I THE OBID ARRAYS ARE FULL
DSN1962I OUTPUT DATA SETS MUST BE VSAM WHEN
IMAGE COPY DATA SETS ARE USED AS Explanation: More than 500 records of OBIDs were specified
INPUT TO DSN1COPY. in the SYSXLAT file.
Explanation: If image copy data sets are used as input to Severity: 8 (error)
DSN1COPY, the output data sets must be VSAM. QSAM data System Action: Processing stops.
sets cannot be used for output.
Problem Determination: DSN1COPY cannot be used for
Severity: 8 (error) table spaces containing more than 500 tables.
System Action: Processing will terminate.
DSN1968I OBIDS SHOULD NOT BE DUPLICATED
User Response: Change the output data set to VSAM, or
remove the FULLCOPY and NUMPARTS parameters. Explanation: There should not be any repeated source
OBIDs or target OBIDs within the SYSXLAT file.
DSN1963I ZERO PAGES ARE INVALID WHEN IMAGE Severity: 8 (error)
COPY DATA SETS ARE USED AS INPUT TO
System Action: Processing is terminated.
STAND ALONE UTILITIES.
User Response: Change the SYSXLAT file.
Explanation: A page in an IMAGE COPY data set has a zero
header. Pages with zero headers are illegal if image copy data
sets are used as input to stand-alone utilities. DSN1969I SYSXLAT FILE CAN NOT BE OPENED
Severity: 4 (warning) Explanation: The QSAM OPEN for the SYSXLAT file failed
because no DD statement was provided.
System Action: Processing continues.
Severity: 8 (error)
User Response: If the image copy data set name was
invalid, look in SYSIBM.SYSCOPY for valid names. Resubmit System Action: Processing is terminated.
the valid IMAGE COPY data set to the stand-alone utility. If the User Response: Notify system programmer.
IMAGE COPY data set had a valid name, use the REPAIR
utility to replace the zero pages with valid data pages. System Programmer Response: Provide a SYSXLAT DD
statement if OBID translate is to be done. Otherwise, remove
the SYSXLAT parameter and rerun.
Severity: 8 (error) User Response: Provide the SYSXLAT file with an OBID
value that matches the OBID value of the target system.
System Action: Processing is terminated.
User Response: Provide the second record of the SYSXLAT DSN1979I csect-name SOURCE & TARGET VALUES
file with the correct PSID value. MUST BE WITHIN THE RANGE OF 1 TO 65535.
Explanation: The SOURCE and TARGET values of the
DSN1973I SOURCE DBID IS MISSING SYSXLAT file must be between 1 and 65535.
Explanation: The first record of the SYSXLAT file contains Severity: 8 (error)
no DBID value.
System Action: Processing is terminated.
Severity: 8 (error)
User Response: Provide the SYSXLAT file with values that
System Action: Processing is terminated. are between 1 and 65535.
User Response: Provide the first record of the SYSXLAT file
with a pair of source and target DBID values which match the DSN1980I BROKEN PAGE BIT SET, WILL RESET AND
DBID values of the source and target systems. RETRY BROKEN PAGE TEST
Explanation: This message indicates that a broken page was
detected. If message DSN1990I is issued following this
message, determine the cause of the broken page. If message
DSN1990I is not issued, reset the broken page bit with the
REPAIR utility to correct the problem. If you suspect an error in
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
for information on identifying and reporting the problem.
Severity: 4 (warning)
System Action: Processing continues. System Programmer Response: Determine the failing envi-
ronment. Refer to Section 3 of DB2 Diagnosis Guide and Ref-
Operator Response: Notify the system programmer.
erence for information on identifying and reporting the problem.
System Programmer Response: Use either the RECOVER
Problem Determination: The REASON identifies the nature
or REPAIR utility to correct the broken page. If you suspect an
of the error. The REASON is used for diagnostic purposes by
error in DB2, refer to Section 3 of DB2 Diagnosis Guide and
the IBM Support Center.
Reference for information on identifying and reporting the
problem.
DSN1984I UNEXPECTED PAGE NUMBER, EXPECTING:
Problem determination should have been done when the dump
expected-page-number
associated with the setting of the broken page bit was
requested. Explanation: This message indicates that an unexpected
page number was encountered. This message may be
received if the input data set is an image copy but the
DSN1981I INVALID PARAMETER FIELD: bad-parameter
FULLCOPY or INCRCOPY parameters were not specified. The
Explanation: An invalid input parameter was detected on the 'expected page number' that is displayed (in hexadecimal) is
EXEC statement. The parameter is either not a valid keyword the page number that was expected, not the one that was
or it has invalid subparameters associated with it. encountered.
Examples of invalid subparameters are: Severity: 8 (error)
The NUMPARTS subparameter was other than '(nn)'. System Action: Processing is terminated.
'nn' is a decimal number.
User Response: Notify the system programmer.
The NUMPARTS subparameter was missing either a left or
System Programmer Response: Use DSN1PRNT to dump
right parenthesis.
the table space or index space. If you suspect an error in DB2,
The PRINT subparameter was missing either a left or right refer to Section 3 of DB2 Diagnosis Guide and Reference for
parenthesis. information on identifying and reporting the problem.
The PRINT subparameter specified a digit in a page
number which was not hexadecimal. DSN1985I ZERO PAGES ENCOUNTERED. FIRST PAGE =
first-zero-page-number, LAST PAGE = last-
The PRINT subparameter contained a starting page
zero-page-number
number that is larger than the ending page number.
Explanation: One or more pages zero pages were encount-
The PRINT subparameter contains a page number larger
ered with valid data pages after them. A zero page is a page
than six hexadecimal digits.
of all zeros or a page with only the page-synchronization bit on
Severity: 8 (error) in the first and last byte of the page. The 'first zero page
System Action: Processing terminates. number' and the 'last zero page number' displayed in
hexadecimal are the pages where zeros were first encountered
User Response: Correct the indicated parameter on the and last encountered. In most cases, this is not an error condi-
EXEC DD statement, and resubmit the job. tion. This is a normal condition for segmented table spaces
Problem Determination: Refer to DSN1COPY, DSN1PRNT, and also for index spaces created with a FREEPAGE param-
or DSN1COMP documentation for parameter requirements. eter not equal to zero. In addition, it is also normal for nonseg-
mented table spaces to contain zero pages after certain update
scenarios terminated abnormally and data rollback was
DSN1982I NO BLANKS ARE ALLOWED WITHIN THE
required.
PARAMETER LIST
Severity: 4 (warning)
Explanation: There is a space or spaces between one or
more parameters in the utility list. System Action: Processing continues.
System Action: Processing is terminated. System Programmer Response: If the zero page is the
result of segmenting, no action is necessary. Similarly, if the
User Response: Check the parameter list and make sure
zero page is a valid zero page that was introduced by DB2, no
that there are no spaces between any of the parameters.
action is necessary as this page is free space and is used by
DB2 when needed. If the zero page is a valid zero page and
DSN1983I csect-name DICTIONARY IS INVALID, you want to remove it from the table space, run the REORG
REASON= X'nnnn' utility.
Explanation: The dictionary found in the data set is invalid. A To help determine if the zero page was validly introduced by
DB2 internal error occurred during the validation of the expan- DB2, run the CHECK INDEX utility. This assumes that at least
sion dictionary. one index is defined on the affected table space.
Severity: 8 (error) If the zero page is determined to be invalid, you need to run
the RECOVER utility.
System Action: Processing terminates.
User Response: Verify that the correct data set is specified.
You can delete the EXPAND option and resubmit the job.
Severity: 0 (informational)
DSN1986I NEITHER FULLCOPY NOR INCRCOPY
PARAMETERS MAY BE SPECIFIED WITH THE System Action: Processing continues.
SEGMENT PARAMETER. User Response: Make sure that the parameters are correct.
Explanation: The parameters SEGMENT, FULLCOPY, and Not specifying the parameters correctly can give unpredictable
INCRCOPY describe the type of input that SYSUT1 refer- results.
ences. SEGMENT is only relevant when a table space or index
space is the input. FULLCOPY and INCRCOPY are only rele- DSN1990I csect-name BROKEN PAGE. PAGE NUMBER =
vant when a image copy is the input. If the input data set is a broken-page-number. REASON: comment,
segmented table space, then the FULLCOPY or INCRCOPY SERVICE INFO: CODE = c1, d1 = v1 ... dn = vn
parameters should not be specified. If the input data set is a
full or incremental image copy, then SEGMENT should not be Explanation: During page checking, the page was detected
specified. as broken for the reason given in the message. The page
number is displayed in hexadecimal format.
Severity: 8 (error)
Severity: 4 (warning)
System Action: Processing will terminate.
System Action: Processing continues.
User Response: Omit the incorrect parameter.
Operator Response: Notify the system programmer.
DSN1987I csect-name INDEX PAGE CONTAINING OBID id System Programmer Response: Use either the RECOVER
HAS NO MATCHING VALUE IN THE SYSXLAT or REPAIR utility to correct the broken page.
FILE. Problem Determination: If you suspect an error in DB2, refer
Explanation: This message is issued when the OBID on the to Section 3 of DB2 Diagnosis Guide and Reference for infor-
page does not find a matching value in the input source OBID mation on identifying and reporting the problem.
list. This message can also be issued when the input does not Service information is used for diagnostic purposes by the IBM
have enough OBID values. Support Center.
Severity: 8 (error)
System Action: Processing terminates with a dump of the DSN1991I UNCLUSTERED DATA DETECTED. RID:
page on which the OBID does not find a match in the source 'xxxxxxxx'X TABLE: tablename INDEX KEY:
list. index-key
User Response: Resubmit the job with correct input OBID Explanation: Data is not broken. Only the arrangement of
values. data on one of the following DB2 Catalog table spaces:
SYSDBASE, SYSPLAN, and SYSVIEWS has been affected.
Normally, data on these pages is arranged to minimize locking
DSN1988I csect-name EXPAND KEYWORD IS SPECIFIED contention. DSN1COPY found that the arrangement of data
BUT DICTIONARY IS NOT FOUND no longer minimizes locking contention for the objects named
Explanation: DSN1PRNT issues this message when the by the INDEX KEY for the given TABLE. Therefore, an
EXPAND option is specified. The dictionary was not found in increase in the number of deadlocks and timeouts may be
the data set. An incorrect data set piece is specified or an seen on SYSDBASE, SYSPLAN, and SYSVIEWS.
incorrect data set number is specified for a multi-piece linear System Action: If you suspect an error in DB2, refer to
data set. Section 3 of DB2 Diagnosis Guide and Reference for informa-
Severity: 8 (error) tion on identifying and reporting the problem.
System Action: Processing terminates. Problem Determination: Contact your IBM Support Center
for assistance. Collect the following diagnostic items listed in
User Response: Resubmit the job specifying the correct
Appendix B, “Problem determination” on page 1051: 1, 2, 5,
keyword or the correct data set name.
64.
DSN2... Messages
There are two versions of the CICS attachment DSN2004I THE PLAN NAME IS NOT FOUND IN THE RCT
facility: Explanation: This message is the response to a DSNC
The version shipped with DB2 requires CICS DISPLAY or DSNC DISCONNECT command. The plan speci-
fied in the command was not found in the resource control
Version 3 Release 3 or an earlier release. table (RCT).
This attachment facility issues DSNCxxx mes-
System Action: The CICS attachment facility command is
sages. not processed.
The version shipped with CICS requires a Operator Response: Reenter the command with the correct
CICS release later than Version 3 Release 3. plan name.
This attachment facility issues DSN2xxx mes-
DSN2005I THE TRANSACTION NAME IS NOT FOUND IN
sages.
THE RCT
Explanation: This message is the response to a DSNC
DISPLAY or DSNC MODIFY command. The transaction speci-
DSN2001I CICS UR INDOUBT RESOLUTION IS INCOM-
fied in the command was not found in the resource control
PLETE FOR ssid
table (RCT).
Explanation: CICS cannot resolve the disposition of the units
System Action: The CICS attachment facility command is
of recovery that DB2 holds indoubt from the previous con-
not processed.
nection because CICS was cold started.
Operator Response: Reenter the command with the correct
System Action: The CICS attachment facility continues the
transaction name.
startup process.
Operator Response: Notify the CICS system programmer.
DSN2006I THE dest DESTINATION ID IS INVALID
System Programmer Response: You must resolve the
Explanation: This message is the response to a CICS
indoubt units of recovery manually by issuing the DB2
attachment facility command. The destination ID dest specified
-DISPLAY THREAD and -RECOVER INDOUBT commands.
in the command was not found in the CICS destination control
table (DCT) or the resource control table (RCT).
DSN2002I csect-name DSN2CTxx MODULE NOT FOUND
System Action: The CICS attachment facility command is
Explanation: The resource control table DSN2CT with suffix not processed.
xx could not be loaded.
Operator Response: Reenter the command with the correct
System Action: The CICS attachment facility initialization ter- destination ID.
minates.
User Response: Reenter the start command with the correct DSN2007I THE COMMAND VERB IS MISSING OR
suffix. Ensure that the resource control table DSN2CT is in the INVALID
correct application program library, which is concatenated in
Explanation: The CICS attachment facility does not recog-
the JOBLIB or STEPLIB statement of your CICS startup JCL.
nize the ACTION keyword on the entered command.
If DSN2CT is not in your application program library, ensure
System Action: The command is not processed.
that you are using the correct version of the DSNCRCT macro
to assemble DSN2CT. For CICS versions later than Version 3 Operator Response: Reenter the command with the correct
Release 3, the correct DSNCRCT macro is in the CICS macro syntax.
library rather than in the DB2 macro library.
DSN2008I KEYWORD IS MISSING OR INVALID
DSN2003I THE ATTACHMENT FACILITY IS ALREADY Explanation: A CICS attachment facility command contains
ACTIVE an unknown positional keyword or a keyword is missing.
Explanation: The CICS attachment facility is already active System Action: The command is not processed.
and enabled to CICS.
Operator Response: Reenter the command with the correct
System Action: The CICS attachment facility initialization is syntax.
terminated.
Operator Response: Only one CICS attachment facility is
permitted.
DSN2009I THE VALUE IN THE COMMAND IS INVALID DSN2013I DISPLAY REPORT FOLLOWS
Explanation: The numeric value in the DSNC MODIFY Explanation: A CICS attachment facility display was
command might be invalid. Otherwise, the error is caused by requested and follows this message.
one of the following:
System Action: Processing continues.
The value in the command is greater than the value speci-
fied for the THRDM parameter in the resource control table DSN2014I STATISTICS REPORT FOR rct-name FOLLOWS
(RCT).
Explanation: A CICS attachment facility statistics display was
If the POOL RCT entry is being changed, the active thread requested and follows this message. The name of the resource
count cannot be set to less than 3. control table (RCT) that is currently in use is rct-name.
System Action: The command is not processed. The following information is displayed for each entry in the
Operator Response: Reenter the command with a valid RCT:
value. TRAN CICS transaction name.
System Programmer Response: If the number of threads PLAN DB2 plan name.
required is more than the number allowed in the resource
control table (RCT), specify a larger number of threads in the CALLS Total number of SQL statements in this con-
THRDM parameter and regenerate the table. nection.
AUTHS Total number of sign-on invocations for trans-
DSN2011I tran TRANSACTION ABENDED BECAUSE actions associated with this entry. A sign-on
THREADS ARE UNAVAILABLE does not indicate whether a new thread is
created or an existing thread is reused. If the
Explanation: The transaction with CICS transaction ID tran
thread is reused and TOKENE=NO, a sign-on
was abnormally terminated because a thread connection to
occurs only if the authorization ID or trans-
DB2 was not available for the transaction. This error message
action ID has changed.
can occur when:
W/P Number of times all available threads for this
TWAIT of the transaction entry in the resource control table
entry were busy and the transaction had to
is NO.
wait or the thread request was diverted to the
TWAIT of the transaction entry is POOL, TWAIT in the POOL.
pool entry is NO, and all threads in the POOL are active.
HIGH Maximum number of concurrent threads
System Action: The indicated transaction is abended. No required by transactions associated with this
other action is taken by the CICS attachment facility entry at any time since the CICS attachment
facility was started.
Operator Response: Notify the CICS system programmer.
ABORTS Total number of units of recovery that were
System Programmer Response: Determine which of the fol-
rolled back.
lowing actions will correct the problem:
COMMITS One of the following two fields is incremented
If more threads are available with the current generation of
each time a DB2 transaction associated with
the resource control table (RCT), tell the master terminal
this entry has an explicit or implicit (such as
operator to make more threads active by using the DSNC
EOT) sync point.
MODIFY command.
1-PHASE The total number of single phase commits for
Regenerate the RCT and make more threads available to
transactions associated with this entry.
the transaction that failed. Stop and then restart the CICS
attachment facility to make the new RCT active. 2-PHASE The total number of two phase commits for
transactions associated with this entry.
DSN2012I THE ATTACHMENT FACILITY STOP QUIESCE For a more detailed explanation of the fields in the statistics
IS PROCEEDING report, refer to "Controlling CICS Connections" in Section 4
Explanation: A DSNC STOP command entered by the (Volume 1) of DB2 Administration Guide.
master terminal operator is being processed. System Action: Processing continues normally.
System Action: The CICS attachment facility releases the
terminal entering the command and proceeds with the quiesce DSN2015E csect THE ATTACHMENT FACILITY FOR name
process. IS IN STANDBY
Operator Response: If the quiesce is not completed within Explanation: The CICS attachment facility has dropped into
the required time period, you can enter a DB2 -STOP FORCE standby mode because DB2 has stopped and
command. STANDBY=SQLCODE was specified in the RCT.
System Action: The CICS attachment facility will issue nega-
tive SQLCODEs for all SQL requests.
Operator Response: Restart the attachment after DB2 is
restarted.
DSN2016I csect-name THE CONNECTION OF CICS WITH DSN2022I THE ATTACHMENT FACILITY STOP FORCE IS
name FAILED, 'reason-code' PROCEEDING
Explanation: The CICS attachment facility is terminating Explanation: A DSNC STOP FORCE command entered by
abnormally because an error occurred while connecting with the master terminal operator is being processed.
DB2. The error is indicated by reason-code, and the specific
System Action: The CICS attachment facility releases the
DB2 subsystem is indicated by name.
terminal entering the command and proceeds with the STOP
System Action: The CICS attachment facility terminates with FORCE processing.
abend completion code X'04E'. If the initial identify fails
because of an authorization error, DSN2042I is issued and no DSN2023I THE ATTACHMENT FACILITY HAS CON-
dump is requested. NECTED TO name USING rct-name
Operator Response: Notify the system programmer. Explanation: The DSNC STRT command successfully com-
System Programmer Response: Look up reason-code to pleted. Subsystem name is now available to CICS. The name
determine the specific failure that caused the termination. of the resource control table (RCT) that was specified for this
start of the CICS attachment facility is rct-name.
DSN2017I ATTACHMENT OF A THREAD SUBTASK System Action: The DSNC STRT command completes proc-
FAILED essing. The CICS attachment facility is active.
Explanation: The CICS attachment facility continues proc-
essing but is unable to start as many thread subtasks as are DSN2024I dest CANNOT BE LOCATED IN THE DCT
allowed in a resource control table (RCT) entry. Explanation: The destination shown in the message cannot
System Action: The CICS attachment facility attempted to be located in the CICS destination control table (DCT).
terminate all subtasks that are currently unused, but none System Action: The CICS attachment facility startup process
could be terminated. If other subtasks are not active to process continues. The destination entry in the resource control table
the current transaction, CICS is requested to abend the trans- (RCT) is set to '*' for potential modification by the CICS
action. attachment facility.
Operator Response: Notify the system programmer. Operator Response: Notify the system programmer. Use the
System Programmer Response: The error might be caused DSNC MODIFY command to set the error destination to the
by one of the following: correct identification characters.
There is a shortage of storage in the local storage queue System Programmer Response: Correct either the RCT or
area (LSQA). the DCT to synchronize the error destinations.
The maximum number of thread subtasks allowed was
reached. The maximum is specified in the THRDMAX DSN2025I THE ATTACHMENT FACILITY IS INACTIVE
parameter of RCT. The DSNC DISPLAY STATISTICS Explanation: This is the final message issued by the CICS
command is useful in analyzing the current thread usage. attachment facility to inform the resource control table error
destinations that the CICS attachment facility completed the
DSN2018I name IS NOT ACTIVE shutdown process.
Explanation: The DSNC STRT command cannot proceed System Action: The CICS attachment facility is terminated.
because subsystem name is not active.
System Action: The DSNC STRT command processing ends DSN2026I DSN2STOP FAILED TO DISABLE THE name
without starting the CICS attachment facility. RMI EXIT
Operator Response: Reenter the CICS attachment facility Explanation: The CICS attachment facility failed to disable
command after DB2 is started. the named resource manager interface (RMI) exit. Either the
exit was in use at the time DSN2STOP tried to disable it, or an
abend occurred in the RMI exit code while the 'in use' flag
DSN2019I THE MODIFY COMMAND IS COMPLETE
was on. The CICS system must be stopped and restarted
Explanation: The DSNC MODIFY command completed suc- before the CICS attachment facility can be restarted.
cessfully.
System Action: The CICS attachment facility continues ter-
mination processing after dumping the CICS trace, the
DSN2020I THE DISPLAY COMMAND IS COMPLETE resource control table (RCT), and the connection control table
Explanation: The DSNC DISPLAY command completed suc- (CCT).
cessfully. Operator Response: Notify the CICS attachment facility
system programmer. CICS must be stopped and restarted
DSN2021I THE DISCONNECT COMMAND IS COMPLETE before restarting the CICS attachment facility.
Explanation: The DSNC DISCONNECT command completed System Programmer Response: This could be a problem in
successfully. the CICS 'task-related user exit'. Analyze the trace and any
dumps associated with this execution to determine the source
of the error.
DSN2027I SHUTDOWN IS IN PROGRESS. transaction DSN2031I THE COMMAND IS INVALID. THE ATTACH-
COMMANDS MAY NOT BE ENTERED MENT FACILITY IS INACTIVE
Explanation: The CICS attachment facility does not accept Explanation: STRT is the only valid command when the
commands directed to DB2 during or after the termination of CICS attachment facility is inactive. No other commands to
the CICS attachment facility. the CICS attachment facility are accepted.
System Action: The command is rejected. System Action: The command is rejected.
User Response: Notify the CICS attachment facility system
programmer. DSN2032I transaction COMMAND ALTERNATE DESTINA-
TION OUTPUT COMPLETE
DSN2028I USER IS NOT AUTHORIZED FOR transaction Explanation: The DB2 command identified in the message
COMMANDS as transaction is complete. The resulting output should be
available at the requested device.
Explanation: DB2 rejected the command request during the
sign-on of the user. Therefore, the user is assumed to be System Action: Processing continues normally.
unauthorized for the requested function in the command.
System Action: The command is rejected. DSN2033I TERMINAL termid IS NOT SUPPORTED BY
BMS OR IS INVALID
Operator Response: Notify the CICS attachment facility
system programmer. Explanation: This message is issued in response to a CICS
attachment facility or DB2 command that requested an alter-
System Programmer Response: The authorization ID used
nate destination for the response. CICS basic mapping support
is described in the generation procedures of the resource
(BMS) encountered an error while routing to the requested ter-
control table (RCT). If this user should be allowed access to
minal named termid.
the command, use the GRANT statement to grant authori-
zation. System Action: The output from the command might be sup-
pressed.
DSN2029I transaction COMMAND FAILED, REASON Operator Response: Ensure that the terminal ID was cor-
CODE rc rectly entered. Otherwise, notify the system programmer.
Explanation: The DB2 command, identified in the message System Programmer Response: Verify that the terminal ID
as transaction, failed to return a response message indicating is valid. This message might occur if the destination device is
the action taken by the command. DB2 returned reason code not supported by BMS or if it is not defined to CICS. If termid
rc. is CSMT, this message might also follow message DSN2030E.
The attachment facility unconditionally routes output to terminal
System Action: The results of the command are unknown.
CSMT following a transient data destination error.
Operator Response: Notify the CICS attachment facility
system programmer.
DSN2034I INDOUBT RESOLUTION FOR ur-id IS INCOR-
System Programmer Response: Check the master console RECT
for any messages indicating why the command failed. Refer to
Explanation: CICS indicates recovery is required for the
the explanation of the reason code returned by DB2 in “Section
ur-id, but the unit of recovery is not indoubt to DB2.
4. DB2 Codes” on page 577.
System Action: The CICS attachment facility continues the
startup process.
DSN2030E AN ERROR HAS OCCURRED WRITING TO
THE TRANSIENT DATA OUTPUT DESTINA- Operator Response: Notify the CICS system programmer.
TION destination
System Programmer Response: CICS tried to recover a unit
Explanation: The CICS attachment facility encountered an of recovery using an identifier that was not in the resolution
error while writing to the indicated destination. request list from DB2. Use the DB2 -DISPLAY THREAD and
-RECOVER INDOUBT commands to ensure that all indoubt
System Action: The CICS attachment facility continues oper-
units of recovery are resolved.
ation.
You must identify the reason for the inconsistency. A DB2 cold
Operator Response: Notify the system programmer. If the
start, for example, might cause the problem.
destination is one of the resource control table error destina-
tions, use the CICS MODIFY command to change the destina-
tion code to another destination, if one is available. DSN2035I INDOUBT RESOLUTION FOR ur-id IS INCOM-
PLETE
System Programmer Response: Follow CICS procedures to
correct the error. Refer to CICS/ESA Problem Determination Explanation: CICS indicates recovery should not be required
Guide for additional information. for the ur-id, but DB2 is indoubt.
System Action: The CICS attachment facility continues the
startup process.
Operator Response: Notify the CICS system programmer.
System Programmer Response: CICS cannot recover a unit
of recovery using an identifier that was in the resolution
request list from DB2. Use the DB2 -DISPLAY THREAD and
-RECOVER INDOUBT commands to ensure that all indoubt System Programmer Response: Check the CICS
units of recovery are resolved. JOBLIB/STEPLIB libraries and ensure that the CICS
SDFHAUTH and the DB2 SDSNLOAD libraries are defined
You must identify the cause of the error. A CICS cold start
there.
could cause this problem.
Explanation: The command entered cannot be processed System Action: If the recovery routine is not successful,
while the CICS attachment facility is waiting for the DB2 sub- program DSN2STOP terminates with a CICS transaction
system to start. The name of the DB2 subsystem that is not dump. If the recovery routine is successful, the CICS attach-
yet operational is subsystem name. ment facility is terminated normally.
System Action: The command is rejected. Operator Response: Notify the system programmer.
System Programmer Response: Analyze any abend dumps
DSN2039I THE ERROR DESTINATIONS ARE: d1 d2 d3 associated with this message to determine the cause of the
failure.
Explanation: This message is the response to the DSNC
MODIFY DESTINATION command that lists the currently
active message destinations known to the CICS attachment DSN2044I DSNCRCT ENTRY HAS BEEN CORRUPTED
facility. Null entries that show as '****' can be modified so OR OVERLAID
they identify actual destinations. Explanation: The CICS attachment facility detected that a
resource control table (RCT) entry was corrupted or overlaid
DSN2040I MODULE name COULD NOT BE FOUND since the CICS attachment facility was last started.
Explanation: During the CICS attachment facility initialization, System Action: The CICS task is abended with reason code
an attempt was made to locate and load the named module, 00C30011. No other action is taken by the CICS attachment
but it was not found in any of the libraries accessible to MVS facility.
through the MVS LOAD macro. Operator Response: Notify the system programmer.
System Action: The CICS attachment facility initialization is System Programmer Response: Analyze the abend dumps
terminated. associated with this message to determine which CICS trans-
Operator Response: Notify the CICS attachment facility action and RCT entry was corrupted. Restart the CICS attach-
system programmer. ment facility to obtain a valid copy of the RCT.
DSN2054I DYNAMIC PLAN PROGRAM LINK FAILED FOR DSN2060I csect-name INITPARM IS IGNORED BECAUSE
TRANSACTION 'transaction'. EIBRESP WAS FORMAT IS INVALID.
'eibresp'.
Explanation: The DSN2STRT INITPARM specified on the
Explanation: The attachment facility was unable to link to the CICS initialization job is incorrect. The format of the
dynamic plan exit program specified in DSNCRCT. The reason INITPARM should be:
code provided by CICS in the EIBRESP field of the EIB is INITPARM=(DSN2STRT='xx,yyyy')
given in this message.
where xx is the suffix of the RCT and yyyy is the DB2 sub-
System Action: The transaction is abended with a DSNC system id. The RCT suffix cannot be greater than 2 characters,
abend. and the subsystem ID cannot be greater than 4 characters.
User Response: Look up the eibresp value in CICS for To specify an RCT suffix only, use the format:
MVS/ESA Application Programming Reference. This value was
returned from CICS after the attachment facility attempted to INITPARM=(DSN2STRT='xx')
link to the dynamic plan exit. Take appropriate action based on To specify a subsystem ID override only, use the format:
the eibresp. For example, if eibresp was PGMIDERR, check
INITPARM=(DSN2STRT=',yyyy')
your RCT entry for transaction transaction to ensure that the
dynamic plan exit program name (PLNPGME or PLNPGMI) is System Action: The attachment facility attempts to initialize
the name of a valid program known to CICS. with the subsystem ID specified in the DSNC STRT command.
If no subsystem ID is provided there, it attempts to initialize
with the subsystem ID specified in the resource control table.
DSN2055I SINGLE PHASE COMMIT FAILED FOR TRANS-
ACTION 'transaction'. EIBTASKN WAS 'task User Response: If you want to override the subsystem ID,
number'. restart the attachment facility using the DSNC STRT command
with the correct SSID. Alternatively, you can correct the
Explanation: CICS requested a single phase commit from
DSN2STRT INITPARM and reinitialize CICS.
DB2, but DB2 was unable to comply.
System Action: The transaction is abended with a DSNC
DSN2061I csect-name INITPARM IS INVALID. ATTACH-
abend.
MENT FACILITY NOT STARTED.
User Response: Contact the IBM Support Center for assist-
Explanation: No resource control table suffix was specified
ance.
on the DSNC STRT command, and the format of the
DSN2STRT INITPARM on the CICS initialization job is incor-
DSN2056I csect-name CICS RELEASE release IS DOWN rect. The format of the INITPARM should be:
LEVEL FOR THIS ATTACHMENT FACILITY
INITPARM=(DSN2STRT='xx,yyyy')
Explanation: The attachment facility that you are using
where xx is the suffix of the RCT and yyyy is the DB2 sub-
requires a CICS release later than Version 3 Release 3. You
system id. The RCT suffix cannot be greater than 2 characters,
are using CICS Version 3 Release 3 or an earlier release. For
and the subsystem ID cannot be greater than 4 characters.
this release of CICS, you must use the attachment facility
shipped with DB2. To specify an RCT suffix only, use the format:
System Action: The attachment facility does not initialize. INITPARM=(DSN2STRT='xx')
User Response: Ensure that the CSD definition of the DSNC To specify a subsystem ID override only, use the format:
transaction specifies program DSNCCOM1. If you are initial- INITPARM=(DSN2STRT=',yyyy')
izing the attachment facility using CICS program list table
(PLT) processing, ensure that your CICS PLTPI table uses System Action: The attachment facility does not initialize.
program DSNCCOM0 to initialize the attach. User Response: To start the attachment facility, use the
DSNC STRT command and specify a resource control table
DSN2059I csect-name CICS ATTACHMENT FACILITY MIS- suffix on the command. Alternatively, you can correct the
MATCH WITH RESOURCE CONTROL TABLE DSN2STRT INITPARM and reinitialize CICS.
rct-name
Explanation: The wrong macro library was used to assemble DSN2063I csect-name NOT AUTHORIZED TO START
DSN2CT, the resource control table. TRANSACTION transaction. ATTACHMENT
FACILITY NOT STARTED
There are two versions of the CICS attachment facility. The
version shipped with DB2 requires CICS Version 3 Release 3 Explanation: The user was not authorized to start transaction
or an earlier release; the one shipped with CICS requires a transaction.
CICS release later than Version 3 Release 3. This error The CICS-DB2 attachment facility starts transaction during
message indicates CICS is using the attachment facility initialization. Before it starts transaction, it checks external
shipped with CICS, but the RCT was assembled using the DB2 security (such as RACF) using CICS's QUERY SECURITY
macro libraries. command. When CICS returns the value NOTREADABLE for
System Action: The CICS attachment facility initialization ter- transaction, the attachment facility produces this message.
minates. System Action: The attachment facility does not initialize.
User Response: Reassemble DSN2CT using the DSNCRCT System Programmer Response: Identify the authorization ID
macro shipped in the CICS macro libraries. of the user who started the attachment facility. Use your
external security product to authorize that user to start trans-
action.
DSN3... Messages
DSN3001I csect-name ABNORMAL DISCONNECT FROM DSN3004I DESCRIPTOR GET FAILURE RC=X xxxxxxxx,
SUBSYSTEM INTERFACE REASON=X xxxxxxxx
Explanation: This message indicates that 'csect-name' Explanation: The parameter list required to create the DB2
detected that an online routine was still supporting SSI calls agents under which IEFSSREQ calls are processed could not
(IEFSSREQ) even though DB2 was nearly done terminating or be obtained from the subsystem support subcomponent direc-
no longer executing. This occurs with 'csect-name' tory of internal parameters (DSN3DIR1). The RC indicates the
DSN3RS0Xwhen the service address space has reached end- return code received from the system parameter manager and
of-memory and neither normal termination nor online error REASON indicates the reason code (from register 0).
recovery routines have successfully completed termination of
The return code is always 4 when this message is presented,
the DB2 subsystem. This occurs with 'csect-name'
indicating that the IEFSSREQ descriptor was not found in the
DSN3SSTM when this condition is discovered during online
subsystem support subcomponent directory. This is a system
termination.
error and results in termination of the DB2 subsystem. The
System Action: The connection is terminated. All IEFSSREQ reason code is always 0.
requests are handled by the DB2 ERLY code until DB2 is
System Action: Subsystem initialization is discontinued. Ter-
restarted.
mination occurs.
Problem Determination: An SVC dump is requested. This
System Programmer Response: Repair the master directory
SVC dump and associated SYS1.LOGREC entries provide
(DSNZPARM) and/or the DB2 program libraries, and restart
information to determine which resource managers had not
the DB2 subsystem.
removed their support of particular SSI function codes.
Problem Determination: If the problem persists, use any
For dumps requested by DSN3RS0X,all pertinent control
dumps and the console log to diagnose the problem. If you
blocks and stack storage are dumped. The primary control
suspect an error in DB2, refer to Section 3 of DB2 Diagnosis
block of interest is the SSVT for DB2.
Guide and Reference for information on identifying and
For DSN3SSTM, the DB2 'standard dump' facility is used to reporting the problem.
dump the information necessary for problem diagnosis. The
primary control blocks of interest are the 'active' CONN DSN3006I xxxx SSI FUNCTION WAS ALREADY ACTIVE
blocks. WHEN ACTIVATE WAS ATTEMPTED
Explanation: An initialization sequence error has occurred.
DSN3002I RECOVERY INCOMPLETE FOR connection-
The subsystem support for SSI services resource manager
name
(SSSS) has discovered during its initialization that another
Explanation: At least one DB2 unit of recovery (UR), related resource manager ('xxxx') has already activated the EOM or
to an identified subsystem ('connection-name'), is still FEOT SSI call by calling DSN3AC0X. If this occurs, the error is
'indoubt' after restart synchronization has taken place. a serious one.
('Indoubt' URs are those for which commit has been voted by
System Action: Subsystem initialization is discontinued. DB2
DB2 but which have not been acknowledged by
termination occurs.
'connection-name'.)
System Programmer Response: Ensure that all mainte-
This message may appear if the 'connection-name' sub-
nance has been applied to the DB2 program libraries, and then
system has begun to do new work before having resolved all
restart the DB2 subsystem.
indoubt URs. The 'connection-name' subsystem may be in
the process of resolving the indoubt URs. Problem Determination: If the problem persists, use any
dumps and the console log to diagnose the problem. If you
System Action: Resources held (locked) by these 'indoubt'
suspect an error in DB2, refer to Section 3 of DB2 Diagnosis
URs are unavailable to any other work units until their status is
Guide and Reference for information on identifying and
resolved.
reporting the problem.
System Programmer Response: The system programmer
and/or system administrator must determine the correct DSN3007I xxxx SSI FUNCTION WAS ALREADY INAC-
recovery action to resolve the 'indoubt' situations. This TIVE WHEN DEACTIVATE WAS ATTEMPTED
involves either 'ensure-commit' or 'backout' decisions for all
'indoubt' URs. Explanation: A termination sequence error has occurred. The
subsystem support for SSI services resource manager (SSSS)
The -DISPLAY THREAD command should be used to see the has discovered during its termination that another resource
URs still indoubt. It may show that all indoubt URs have manager ('xxxx') has already deactivated the EOM or FEOT
already been resolved. The -RECOVER INDOUBT command SSI call by calling DSN3AC0X. If this occurs, the error is a
should be used, either from an MVS console or through an serious one.
attachment facility, to resolve the indoubt URs and to release
the resources they hold. System Action: Termination continues.
Problem Determination: This error is probably caused by a System Programmer Response: Ensure that all mainte-
cold start after an abnormal termination of either subsystem or nance has been applied to the DB2 program libraries.
by offline alterations of the logs of either subsystem. Problem Determination: If the problem persists, use any
dumps and the console log to diagnose the problem. If you
suspect an error in DB2, refer to Section 3 of DB2 Diagnosis System Action: Processing continues.
Guide and Reference for information on identifying and
System Programmer Response: Contact the database
reporting the problem.
administrator.
Database Administrator Action: DB2 is a participant with one
DSN3008I csect-name ABNORMAL DISCONNECT FOR
or more indoubt threads. The coordinator is OS/390 RRS.
PROGRAM REQUEST HANDLER(S)
OS/390 RRS has lost knowledge of the indoubt DB2 threads.
Explanation: This message indicates that 'csect-name' has A list of indoubt threads where OS/390 RRS is the coordinator
discovered that one or more resource managers are still sup- can be displayed using the DISPLAY THREAD command for
porting application program calls through their program request indoubt type threads by specifying RRSAF as the connection
handler, even though DB2 was almost done terminating or was name. A DSNV408I message with coordinator = RRSAF identi-
no longer executing. This occurs when the system services fies a thread of this type. The DSNV449I message in the
address space has gone to end of memory and neither normal DISPLAY THREAD report that follows contains the OS/390
termination nor online error recovery routines have successfully RRS unit of recovery ID (URID) that identifies the OS/390 RRS
completed termination of the DB2 subsystem. unit of recovery in the NID field.
System Action: The program request handler (PRH) con- The heuristic decision (that is, to commit or abort the logical
nection is terminated. All application program support requests unit of work) should be coordinated with any other participant
are rejected with an indication that DB2 is not up. OS/390 RRS Recoverable Resource Managers. The existence
System Programmer Response: See the Problem Determi- of other participants might not be easy to determine. The infor-
nation section of this message. mation might be available in the MVS/RRS recovery log even
though information has been lost.
Problem Determination: An SVC dump is requested. This
SVC dump and associated SYS1.LOGREC entries provide At this DB2, all indoubt threads coordinated by the OS/390
information to determine which resource managers were still RRS must be resolved with the RECOVER INDOUBT
supporting application program support calls. All pertinent command. Locked data remains unavailable until resolution.
control blocks and stack storage are dumped. The primary Threads that were already resolved with this command are dis-
control block of interest is the program request handler block carded. Threads not yet resolved are discarded after resolution
(PRHB). with the command.
The commit or abort decision provided using the RECOVER
DSN3010I csect-name PARTICIPANT OS/390 RRS IS INDOUBT command for a logical unit of work are propagated
COLD STARTING AND HAS LOST ITS LOG. to all downstream participants, if any.
OTHER RECOVERABLE RESOURCE MAN-
AGERS MIGHT HAVE INDOUBT UNITS OF DSN3012I csect-name DB2 WAS RESTARTED ON THE
RECOVERY. WRONG SYSTEM AND CANNOT CONNECT TO
Explanation: DB2 has coordinator responsibility for indoubt RRS. THERE ARE UNRESOLVED UNITS OF
units of recovery and OS/390 RRS has a participant role in the RECOVERY WHERE DB2 IS THE COORDI-
unit of recovery. OS/390 RRS has cold started and has lost NATOR.
knowledge of indoubt units of recovery. There might be Explanation: DB2 is the commit coordinator for one or more
damage at OS/390 RRS Recoverable Resource Managers that indoubt units of recovery. DB2 is unable to connect to OS/390
also participated in the unit of recovery. RRS to resolve these indoubt units of recovery.
System Action: Processing continues. System Action: Processing continues.
System Programmer Response: Contact the database Operator Response: Use the OS/390 RRS IPCS interface to
administrator. determine the correct system and restart DB2 on that system.
Database Administrator Action: DB2 is the coordinator for
one or more indoubt units of recovery at other OS/390 RRS DSN3013I csect-name DB2 WAS RESTARTED ON THE
recoverable resource managers. OS/390 RRS has lost all WRONG SYSTEM AND CANNOT CONNECT TO
knowledge of these units of recovery. The participant OS/390 RRS. THERE ARE UNRESOLVED UNITS OF
RRS Recoverable Resource Managers might still have indoubt RECOVERY WHERE DB2 IS A PARTICIPANT.
units of recovery. DB2 has no knowledge of other OS/390 RRS
Explanation: DB2 has one or more indoubt threads and is
Recoverable Resource Manager except for the OS/390 RRS
unable to connect to OS/390 RRS to resolve these indoubt
unit of recover ID (URID) that identifies such a unit of recovery.
units of recovery.
Subsequent DSN3017I, DSN3018I or DSN3019I messages
describe the status of each unit of recovery and contain the System Action: Processing continues.
OS/390 RRS URID for each. Operator Response: Use the OS/390 RRS IPCS interface to
determine the correct system and restart DB2 on that system.
DSN3011I csect-name COORDINATOR OS/390 RRS IS
COLD STARTING AND HAS LOST ITS LOG.
INDOUBT DB2 THREADS NEED MANUAL
RESOLUTION.
Explanation: DB2 has participant responsibility for indoubt
threads. OS/390 RRS, the commit coordinator, has informed
DB2 that it lost all knowledge of DB2 indoubt threads. The
indoubt threads at this DB2 must be manually resolved with
the RECOVER INDOUBT command.
DSN3015I csect-name DB2 HAS NO KNOWLEDGE OF Operator Response: Notify the database administrator.
RRS URID=rrs_urid. THE RRS UR IS INDOUBT. Database Administrator Action: This message might indicate
THE DB2 URID RECORDED BY RRS=db2_urid. a DB2 or OS/390 RRS problem, or it might be produced
Explanation: DB2 is restarting with OS/390 RRS where DB2 normally because of one of the following:
is the coordinator and OS/390 RRS is the participant. OS/390 An OS/390 RRS cold start was performed that resulted in
RRS has a unit of recovery that DB2 should be the coordinator the loss of the OS/390 RRS log. In this case, message
of, but DB2 has no knowledge of the OS/390 RRS unit of DSN3010I should have been produced.
recovery. The OS/390 RRS unit of recovery ID is 'rrs_urid'.
OS/390 RRS has recorded the DB2 unit of recovery ID as OS/390 RRS might have had a partial loss of log data
'db2_urid'. during restart. In this case, message DSN3016I should
have been produced.
System Action: Restart with OS/390 RRS continues.
The OS/390 RRS ISPF interface might have been used to
Operator Response: Notify the database administrator. heuristically commit or roll back the UR.
Database Administrator Action: This message might indicate If any of the above are true, the message can be ignored. If
a DB2 or OS/390 RRS problem, or it might be produced not, there might be a DB2 or an OS/390 RRS problem.
normally because a DB2 conditional restart was performed that
resulted in the loss of part or all of the DB2 log. This condi- Problem Determination: If you suspect an error in DB2, refer
tional restart might have happened at any time in the past. to Section 3 of DB2 Diagnosis Guide and Reference for infor-
mation on identifying and reporting the problem.
If the 'db2_urid' appears to be a valid log RBA, use the
DSN1LOGP utility with the SUMMARY option and URID Collect the following diagnostic items listed in Appendix B,
“Problem determination” on page 1051: 1, 6, 33. 72.
System Action: Restart with OS/390 RRS continues. Explanation: DB2 is restarting with OS/390 RRS and has a
unit of recovery (UR) DB2 URID=db2_urid that is indoubt. DB2
Operator Response: Notify the database administrator. is the commit coordinator for the UR and OS/390 RRS is a
Database Administrator Action: This message might indicate participant. OS/390 RRS has committed the same UR. The
a DB2 or OS/390 RRS problem, or it might be produced OS/390 RRS URID=rrs_urid.
normally because of one of the following: System Action: Restart with OS/390 RRS continues.
An OS/390 RRS cold start was performed that resulted in Operator Response: Notify the database administrator.
the loss of the OS/390 RRS log. In this case, message
DSN3010I should have been produced. Database Administrator Action: If possible, insure that the
DB2 UR is resolved to commit. If this is done, there will be no
OS/390 RRS might have had a partial loss of log data heuristic damage. If the DB2 UR is resolved to abort, heuristic
during restart. In this case, message DSN3016I should damage will have occurred since OS/390 RRS committed the
have been produced. same UR.
The OS/390 RRS ISPF interface might have been used to
heuristically commit or roll back the UR. DSN3021I csect-name POSSIBLE HEURISTIC DAMAGE.
If any of the above are true, the message can be ignored. If RRS HAS ROLLED BACK THE UR WITH RRS.
not, there might be a DB2 or an OS/390 RRS problem. URID=rrs_urid. THE DB2 UR WITH DB2
URID=db2_urid IS INDOUBT.
Problem Determination: If you suspect an error in DB2, refer
to Section 3 of DB2 Diagnosis Guide and Reference for infor- Explanation: DB2 is restarting with OS/390 RRS and has a
mation on identifying and reporting the problem. unit of recovery (UR) DB2 URID=db2_urid that is indoubt. DB2
is the commit coordinator for the UR and OS/390 RRS is a
Collect the following diagnostic items listed in Appendix B, participant. OS/390 RRS has rolled back the same UR. The
“Problem determination” on page 1051: 1, 6, 33. 72. OS/390 RRS URID=rrs_urid.
System Action: Restart with OS/390 RRS continues.
DSN3019I csect-name RRS HAS NO KNOWLEDGE OF
DB2 URID=db2_urid. THE DB2 UR WAS Operator Response: Notify the database administrator.
ROLLED BACK. THE RRS URID RECORDED Database Administrator Action: If possible, insure that the
BY DB2=rrs_urid. DB2 UR is resolved to abort. If this is done, there will be no
Explanation: DB2 is restarting with OS/390 RRS where DB2 heuristic damage. If the DB2 UR is resolved to commit,
is the coordinator and OS/390 RRS is a participant. DB2 has a heuristic damage will have occurred since OS/390 RRS rolled
unit of recovery that OS/390 RRS should be a participant in, back the same UR.
but OS/390 RRS has no knowledge of the DB2 unit of
recovery. The DB2 unit of recovery ID is 'db2_urid'. DB2 has DSN3022I csect-name HEURISTIC DAMAGE HAS
recorded the OS/390 RRS unit of recovery ID as 'rrs_urid'. OCCURRED. RRS HAS COMMITTED THE UR
System Action: Restart with OS/390 RRS continues. WITH RRS URID=rrs_urid, AND DB2 HAS
ROLLED BACK THE SAME UR. THE DB2
Operator Response: Notify the database administrator. URID=db2_urid
Database Administrator Action: This message might indicate Explanation: DB2 is restarting with OS/390 RRS and has a
a DB2 or OS/390 RRS problem, or it might be produced unit of recovery (UR) with DB2 URID=db2_urid that was rolled
normally because of one of the following: back. DB2 is the commit coordinator for the UR and OS/390
An OS/390 RRS cold start was performed that resulted in RRS is a participant. OS/390 RRS has committed the same
the loss of the OS/390 RRS log. In this case, message UR. The OS/390 RRS URID=rrs_urid.
DSN3010I should have been produced. System Action: Restart with OS/390 RRS continues.
OS/390 RRS might have had a partial loss of log data Operator Response: Notify the database administrator.
during restart. In this case, message DSN3016I should
have been produced. Database Administrator Action: Heuristic damage has
occurred since DB2 rolled back the UR and OS/390 RRS has
The OS/390 RRS ISPF interface might have been used to committed the same UR. Correct the damage. This is not an
heuristically commit or roll back the UR. easy task. Knowledge of the application is required to deter-
If any of the above are true, the message can be ignored. If mine which Recoverable Resource Managers are involved in
not, there might be a DB2 or an OS/390 RRS problem. the UR. Since the time of the heuristic action, the data that
was updated might have been used by many applications -
read and/or write. Correcting the damage might involve
reversing the effects of these applications as well. Tools avail- Since the time of the heuristic action, the data that was
able are: updated might have been used by many applications - read
and/or write. Correcting the damage might involve reversing
The OS/390 RRS ISPF functions can provide assistance in
the effects of these applications as well. Tools available are:
determining the set of resource managers involved and
what action they took. The OS/390 RRS ISPF functions can provide assistance in
determining the set of resource managers involved and
The DB2 DSN1LOGP utility provides a summary report
what action they took.
that identifies the table spaces modified by the unit of
recovery. The DB2 DSN1LOGP utility provides a summary report
that identifies the table spaces modified by the unit of
Contact your IBM Support Center for further assistance.
recovery.
DSN3023I csect-name HEURISTIC DAMAGE HAS Contact your IBM Support Center for further assistance.
OCCURRED. RRS HAS ROLLED BACK THE
UR WITH RRS URID=rrs_urid, AND DB2 HAS DSN3025I csect-name HEURISTIC DAMAGE HAS
COMMITTED THE SAME UR. THE DB2 OCCURRED. COORDINATOR DB2 HAS
URID=db2_urid ROLLED BACK THE UR WITH DB2
URID=db2_urid, AND RRS HAS INDICATED
Explanation: DB2 is restarting with OS/390 RRS and has a
THE OUTCOME WAS MIXED. THE RRS
unit of recovery (UR) with DB2 URID=db2_urid that was com-
URID=rrs_urid.
mitted. DB2 is the commit coordinator for the UR and OS/390
RRS is a participant. OS/390 RRS has rolled back the same Explanation: DB2 is the commit coordinator and OS/390
UR. The OS/390 RRS URID=rrs_urid. RRS is a participant. DB2 rolled back the UR with URID =
db2_urid and OS/390 RRS has indicated that one or more
System Action: Restart with OS/390 RRS continues.
Recoverable Resource Managers that participated in the
Operator Response: Notify the database administrator. OS/390 RRS UR with URID = rrs_urid has committed the
Database Administrator Action: Heuristic damage has same UR.
occurred since DB2 committed the UR and OS/390 RRS has System Action: Processing continues.
rolled back the same UR. Correct the damage. This is not an
Operator Response: Notify the database administrator.
easy task. Knowledge of the application is required to deter-
mine which Recoverable Resource Managers are involved in Database Administrator Action: Heuristic damage has
the UR. Since the time of the heuristic action, the data that occurred since DB2 rolled back the UR and at least one
was updated might have been used by many applications - OS/390 RRS Recoverable Resource manager has committed
read and/or write. Correcting the damage might involve the same UR. Correct the damage. This is not an easy task.
reversing the effects of these applications as well. Tools avail- Knowledge of the application is required to determine which
able are: Recoverable Resource Managers are involved in the UR.
Since the time of the heuristic action, the data that was
The OS/390 RRS ISPF functions can provide assistance in
updated might have been used by many applications - read
determining the set of resource managers involved and
and/or write. Correcting the damage might involve reversing
what action they took.
the effects of these applications as well. Tools available are:
The DB2 DSN1LOGP utility provides a summary report
The OS/390 RRS ISPF functions can provide assistance in
that identifies the table spaces modified by the unit of
determining the set of resource managers involved and
recovery.
what action they took.
Contact your IBM Support Center for further assistance.
The DB2 DSN1LOGP utility provides a summary report
that identifies the table spaces modified by the unit of
DSN3024I csect_name HEURISTIC DAMAGE HAS recovery.
OCCURRED. COORDINATOR DB2 HAS COM-
MITTED THE UR WITH DB2 URID=db2_urid, Contact your IBM Support Center for further assistance.
AND RRS HAS INDICATED THAT THE
OUTCOME WAS MIXED. THE RRS DSN3026I csect-name POSSIBLE HEURISTIC DAMAGE.
URID=rrs_urid. COORDINATOR DB2 HAS COMMITTED THE
UR WITH DB2 URID=db2_urid, AND RRS HAS
Explanation: DB2 is the commit coordinator and OS/390
INDICATED THAT THE OUTCOME IS
RRS is a participant. DB2 committed the UR with URID =
PENDING. THE RRS URID=rrs_urid.
db2_urid and OS/390 RRS has indicated that one or more
Recoverable Resource Managers that participated in the Explanation: DB2 is the commit coordinator for the DB2 UR
OS/390 RRS UR with URID = rrs_urid has rolled back the with URID=db2_urid and OS/390 RRS is a participant. OS/390
same UR. RRS has also committed the UR but has indicated that at least
one OS/390 RRS Recoverable Resource manager has not
System Action: Processing continues.
completed commit processing for the OS/390 RRS UR with
Operator Response: Notify the database administrator. URID=rrs_urid.
Database Administrator Action: Heuristic damage has System Action: Processing continues.
occurred since DB2 committed the UR and at least one
Operator Response: Notify the database administrator.
OS/390 RRS Recoverable Resource manager has rolled back
the same UR. Correct the damage. This is not an easy task. Database Administrator Action: If possible, insure that the
Knowledge of the application is required to determine which OS/390 RRS Recoverable Resource Manager commits the
Recoverable Resource Managers are involved in the UR. OS/390 RRS UR. If this is done, there will be no heuristic
damage. If the OS/390 RRS UR is rolled back by the OS/390 re-IPL MVS. Refer to Section 2 of DB2 Installation Guide for
RRS Recoverable Resource manager, heuristic damage will the format of an IEFSSNxx record which defines a DB2 sub-
have occurred since DB2 committed the same UR. system.
DSN3027I csect-name POSSIBLE HEURISTIC DAMAGE. DSN3102I csect-name INVALID SUBSYSTEM RECOGNI-
COORDINATOR DB2 HAS ROLLED BACK THE TION CHARACTER IN PARMLIB RECORD.
UR WITH DB2 URID=db2_urid, AND RRS HAS ssnm IS NOT AVAILABLE
INDICATED THAT THE OUTCOME IS
Explanation: CSECT DSN3UR00 detected that the sub-
PENDING. THE RRS URID=rrs_urid.
system recognition character is invalid; it must be nonblank.
Explanation: DB2 is the commit coordinator for the DB2 UR The subsystem recognition character is the last field of the
with URID=db2_urid and OS/390 RRS is a participant. OS/390 parameter string passed to DB2 IPL initialization. It is obtained
RRS has also rolled back the UR but has indicated that at from a record for the named subsystem in member IEFSSNxx
least one OS/390 RRS Recoverable Resource manager has of SYS1.PARMLIB.
not completed roll back processing for the OS/390 RRS UR
The subsystem recognition character is not inserted in this
with URID=rrs_urid
message as it cannot be determined. 'ssnm' is the name of
System Action: Processing continues. the DB2 subsystem undergoing IPL-time initialization.
Operator Response: Notify the database administrator. System Action: The DB2 subsystem with the indicated name
is not available for this IPL of MVS.
Database Administrator Action: If possible, insure that the
OS/390 RRS Recoverable Resource Manager rolls back the Operator Response: Notify the system programmer. Correct
OS/390 RRS UR. If this is done, there will be no heuristic the parameter fields in the SYS1.PARMLIB record of member
damage. If the OS/390 RRS UR is committed by the OS/390 IEFSSNxx, and re-IPL MVS. Refer to Section 2 of DB2 Instal-
RRS Recoverable Resource manager, heuristic damage will lation Guide for the format of an IEFSSNxx record which
have occurred since DB2 rolled back the same UR. defines a DB2 subsystem.
DSN3100I csect-name SUBSYSTEM ssnm READY FOR DSN3103I csect-name - UNABLE TO LOAD EARLY PROC-
START COMMAND ESSING MODULE SPECIFIED IN PARMLIB
RECORD. ssnm IS NOT AVAILABLE
Explanation: This message is issued by CSECT DSN3RRSR
when DB2 subsystem initialization is complete. The 'ssnm' in Explanation: CSECT DSN3UR00 is unable to load the early
the message is the name of the subsystem that issued the processing load module named in the first parameter passed to
message. This occurs during MVS IPL processing. The DB2 subsystem IPL initialization. 'ssnm' is the name of the
message is also issued by CSECT DSN3EC0Xafter termi- DB2 subsystem undergoing IPL-time initialization.
nation of the previous execution of DB2 is complete. Message
Either the load module name was specified incorrectly or the
DSN3104I is also issued during this processing.
load module does not reside in a library included in the MVS
Operator Response: Issue the -START command when DB2 linklist.
execution is desired.
System Action: DSN3UR00 abends with code X'04E' and
reason code X'00F30103'. The DB2 subsystem with the indi-
DSN3101I csect-name INVALID EARLY PROCESSING cated name is not available for this IPL of MVS.
MODULE NAME IN PARMLIB RECORD. ssnm
Operator Response: Notify the system programmer.
IS NOT AVAILABLE
System Programmer Response: Identify the cause of the
Explanation: CSECT DSN3UR00 has discovered that a
error. Either correct the early processing load module or take
parameter passed to DB2 subsystem initialization is in error.
the necessary steps to include the module in a link-listed
Either the Early processing load module name is not between
library. Re-IPL MVS. Refer to Section 2 of DB2 Installation
1 and 8 characters long, or there are syntax errors in the
Guide for the format of an IEFSSNxx record that defines a
parameter string. The entire parameter string must be between
DB2 subsystem. Refer to the appropriate MVS publication for
3 and 10 characters long, and the next to the last character
MVS linklist requirements.
must be a ','. The parameters were obtained from the param-
eter fields of a record defining a DB2 subsystem in member Problem Determination: An entry is made to
IEFSSNxx of SYS1.PARMLIB. SYS1.LOGREC. No SVC dump is taken.
The subsystem recognition character is not inserted in this
message as it is not yet known. 'ssnm' is the name of the DSN3104I csect-name - TERMINATION COMPLETE
DB2 subsystem undergoing IPL-time initialization. Explanation: This message indicates that a DB2 subsystem
System Action: The DB2 subsystem with the indicated name has terminated. The actual MVS termination of the DB2
is not available for this IPL of MVS. address space(s) may have completed earlier. This message is
presented for every termination, normal or abnormal.
Operator Response: Notify the system programmer.
Operator Response: Issue a DISPLAY ACTIVE command to
System Programmer Response: Correct the parameter
see if MVS has completed termination processing of the
fields in the record of SYS1.PARMLIB member IEFSSNxx, and
address space(s).
DSN3105I csect-name - UNABLE TO LOAD EARLY PROC- DSN3108I csect-name COMMAND REJECTED.
ESSING MODULE 'DSN3EPX' ssnm IS NOT COMMAND FACILITY PATH UNAVAILABLE
AVAILABLE
Explanation: CSECT DSN3EC0X has discovered that the
Explanation: CSECT DSN3UR00 is unable to load the early path from MVS consoles to the DB2 command processor is
processing module DSN3EPX required for MVS. The name of unavailable. It may still be possible to enter commands through
the DB2 subsystem undergoing IPL-time initialization is one of the attachment facilities.
'ssnm'. Either the load module has been inadvertently
System Action: The command is not processed. This
deleted, or does not reside in a library included in the MVS
message is delivered to the console that entered the
linklist.
command.
System Action: DSN3UR00 abends with code X'04E' and
System Programmer Response: The console command
reason code X'00F30105'. DB2 subsystem 'ssnm' is not
facility is available again the next time DB2 is started. If it is
available for this IPL of MVS.
necessary to regain this facility immediately, DB2 should be
Operator Response: Notify the system programmer. canceled and restarted.
System Programmer Response: Identify the cause of the
error. Either correct the early processing load module or take DSN3109I csect-name - UNABLE TO OBTAIN SUB-
the necessary steps to include the module in a link-listed SYSTEM AFFINITY TABLE INDEX FOR SUB-
library. Re-IPL MVS. SYSTEM ssnm. IEFSSREQ RC = nn
If you suspect an error in DB2, refer to Section 3 of DB2 Diag- Explanation: CSECT DSN3UR00 was unable to obtain a
nosis Guide and Reference for information on identifying and subsystem affinity table index for the named subsystem. MVS
reporting the problem. did not recognize the named subsystem name as a known
subsystem. If this message is issued, a serious error has
Problem Determination: An entry is made in
occurred in MVS or DB2.
SYS1.LOGREC. No SVC dump is taken. Refer to MVS linklist
requirements in MVS/ESA JES2 Initialization and Tuning In the message, 'nn' is the return code from the IEFSSREQ
Guide. MVS service. 'ssnm' is the name of the DB2 subsystem
undergoing IPL-time initialization.
Collect the following diagnostic items listed in Appendix B,
“Problem determination” on page 1051: 1, 5. System Action: DSN3UR00 abends with completion code
X'04E' and reason code X'00F30104'. The DB2 subsystem
with the indicated name is not available for this IPL of MVS.
DSN3106I csect-name SUBSYSTEM STOPPED. THIS
COMMAND NOT PROCESSED: command-text Operator Response: Notify the system programmer.
Explanation: A command has been received which cannot System Programmer Response: Try to re-IPL. If the
be processed due to one of the following: problem persists, follow standard DB2 problem reporting proce-
dures.
The DB2 subsystem has not been started.
Problem Determination: A record is written to
The command was queued for processing while DB2 was
SYS1.LOGREC. No SVC dump is taken. Return codes from
starting, but startup terminated with an error.
IEFSSREQ are documented under control block SSOB in the
DB2 terminated before the command could be processed. appropriate MVS publication.
System Action: The command is not processed.
DSN3111I csect-name LOAD MODULE module-name
Operator Response: Start the DB2 subsystem, then reenter
DOES NOT HAVE AMODE(31) ATTRIBUTE.
the command.
ssnm IS NOT AVAILABLE
DSN3107I csect-name COMMAND REJECTED. Explanation: The DB2 program which establishes DB2 as an
REQUESTER NOT AUTHORIZED MVS subsystem during Master Scheduler initialization has
determined that either its own load module or a load module
Explanation: CSECT DSN3EC0X has discovered that the loaded by it does not have the linkage editor attributes
source of the command was a console that does not have AMODE(31) and RMODE(ANY). Most DB2 load modules must
'system' authority. be capable of running in the 31-bit addressing mode.
System Action: The command is not processed. This In the message, 'csect-name' is the name of the program
message is sent to the console that entered the command. detecting the error, 'module-name' is the name of the first
Operator Response: Enter the command from another load module found with an invalid AMODE attribute, and
console that has 'system' authority. 'ssnm' is the name of the DB2 subsystem undergoing
IPL-time initialization.
System Programmer Response: Verify that this console
should be used for entering DB2 commands. If so, authorize it System Action: Program DSN3UR00 abends with a code of
for 'system' commands by using MVS services. X'04E' and a reason code of X'00F30111'. The DB2 sub-
system named 'ssnm' is not initialized. The subsystem will not
be available until the error is corrected and MVS is re-IPLed.
Operator Response: Notify the system programmer of the
failure.
System Programmer Response: Verify that all of the fol-
lowing were done:
Explanation: DB2 is unable to register the installation- System Action: This DB2 subsystem is not available.
specified command prefix with MVS. The command prefix is System Programmer Response: Refer to MVS documenta-
specified in the subsystem definition parameter. xx is the tion about the Name/Token macro service to determine the
hexadecimal return code, and yy is the hexadecimal reason reason for the xx return codes.
code from the CPF MVS service. Subsystem ssnm is not avail-
able.
DSN3116I csect-name THE VERSION OF THE DB2 EARLY
System Action: This DB2 subsystem is not available. CODE IS INCOMPATIBLE WITH THIS VERSION
System Programmer Response: Refer to the MVS doc- OF MVS. ssnm IS NOT AVAILABLE
umentation on the CPF macro service to determine the reason Explanation: This version of DB2 early code requires
for the xx and yy codes. Ensure that the specified command MVS/ESA 4.2.0. Subsystem ssnm is not available.
prefix is not already registered, or is not a substring or super-
System Programmer Response: The version of the DB2
string of an already registered command prefix. Use the MVS
early code that was loaded from the LINKLIST library is not
DISPLAY OPDATA command, if necessary, to see command
compatible with the release of MVS that you are using.
prefixes registered with MVS.
Change the concatenation order of the LINKLIST library so that
a compatible release of DB2 early code is used.
DSN3113I csect-name INVALID SUBSYSTEM DEFINITION
PARAMETER IN PARMLIB RECORD. ssnm IS
DSN3201I ABNORMAL EOT IN PROGRESS FOR
NOT AVAILABLE.
USER=xxxxxxxx CONNECTION-ID=yyyyyyyy
Explanation: DB2 detected an error in the subsystem defi- CORRELATION-ID=zzzzzzzzzzzz
nition parameter, which is obtained from the IEFSSNxx JOBNAME=aaaaaaaa TCB=99999999
member of SYS1.PARMLIB. Some possible causes for this
Explanation: Abnormal termination started for the agent with
error are:
the values shown for USER, CONNECTION-ID,
The early processing load module name is not between 1 CORRELATION-ID, JOBNAME and TCB address. These
and 8 characters long. values are the last known set of identifiers for the terminating
The command prefix is not between 1 and 8 characters agent.
long. The abnormal termination could be the result of a failure in the
The command prefix scope is not 1 character long. allied agent's address space or the result of an operator cancel
command.
The command prefix scope is not X, S, or M.
The value for the USER and/or CORRELATION-ID might be
The group attach name is not between 1 and 4 characters blank. If the terminating agent is connected to DB2 at the
long. IDENTIFY level and was not previously signed on, or was not
The command prefix is not inserted into this message because previously authorized to a plan at the time of the failure, then
it is unknown. The name of the subsystem attempting to ini- no CORRELATION-ID is associated with the agent. Other-
tialize is ssnm. wise, the values for the USER, CONNECTION-ID,
CORRELATION-ID, and JOBNAME are the last values estab-
System Action: The DB2 subsystem is not available. lished to DB2 for this connection. They might represent the
System Programmer Response: Correct the subsystem current activity of the agent. The TCB value is the address of
definition parameter and re-IPL MVS. Refer to DB2 Installation the TCB that is terminating. Previous DB2 work by this agent
Guide for the format of the subsystem definition parameter that might have completed successfully. Correlation IDs beginning
defines a DB2 subsystem. with '0nn', where nn is a number from 01 to 28, identify
system agents.
DSN7... Messages
MEMBER Name of the DB2 data sharing member.
DSN7000I csect-name REQUIRED CSECT DSN6GRP
COULD NOT BE FOUND IN SYSTEM PARAME- ID Internally assigned ID for each data sharing
TERS LOAD MODULE. member.
Explanation: The required CSECT DSN6GRP was not found SUBSYS Subsystem name of the data sharing member.
in the system parameters load module.
CMDPREF Command prefix of the data sharing member.
System Action: The DB2 subsystem terminates with reason
STATUS State of the data sharing member which can
code 00F70001.
be 'ACTIVE', 'FAILED', 'QUIESCED', 'QI',
Operator Response: Restart DB2 with the correct system 'QR', 'QC', 'QIC', 'QIR', or 'QICR'
parameters load module. where:
System Programmer Response: Reassemble the system Active status means the member is cur-
parameters load module and include the DSN6GRP macro. rently up and running.
Failed status means the member has ter-
DSN7001I csect-name DATA SHARING SPECIFIED IN minated abnormally.
SYSTEM PARAMETERS, BUT NOT RUNNING Quiesced status means the member is
ON A MVS SYSTEM LEVEL WHICH IS down normally.
REQUIRED FOR DATA SHARING. QI status means the member is down with
indoubt URs.
Explanation: A DB2 subsystem was started with the data QR status means the member is down
sharing option, but MVS is not at the required level. DB2 data with resynchronization responsibility.
sharing requires MVS Version 5 Release 1.0 or a later release. QC status means the member is down
System Action: The DB2 subsystem terminates with reason with group buffer pool castout responsi-
code 00F70002. bility.
QICR is a possible combination of the
Operator Response: Restart DB2 on MVS Version 5 above quiesced states.
Release 1.0 or a later release.
SYSTEM NAME Name of the MVS system on which the data
sharing member runs.
DSN7100I csect-name
LVL String of three numeric characters as follows:
Explanation: This message indicates the beginning of the
output from a DISPLAY GROUP command. It is the first line of DB2 Version
a multi-line message response. DB2 Release
DB2 Modification level
DSN7101I *** BEGIN DISPLAY OF GROUP(group-name) IRLM SUBSYS The accompanied IRLM's subsystem name for
GROUP LEVEL(group-level) this DB2.
Explanation: This message is a line of output from a IRLMPROC The accompanied IRLM's startup procedure
DISPLAY GROUP command. name.
group-name is the name of the data sharing group.
DSN7105I -------- --- ---- -------- -------- --- -------- ---- --------
group-level is a string of three numeric characters:
Explanation: This message is a line of output from a
Version DISPLAY GROUP command.
Release
Modification level
DSN7106I member-name subsystem-name command-prefix
group-level is the highest release with which any DB2 in the member-status mvs-system-name irlm-
data sharing group has ever been started. subsystem-name irlm-procedure-name
Explanation: This message is a line of output from a
DSN7102I ----------------------------- DISPLAY GROUP command. The member-status can be
Explanation: This message is a line of output from a ACTIVE, QUIESCED, or FAILED.
DISPLAY GROUP command. QUIESCED This is a normal quiesced state, as the result
of a normal STOP DB2 command.
DSN7103I DB2 DB2 SYSTEM IRLM
Q The member is quiesced, but with additional
Explanation: This message is a line of output from a conditions. Q (quiesced) can be paired with
DISPLAY GROUP command. one or more of the following letters:
I Indoubt units of recovery (URs) are out-
DSN7104I MEMBER ID SUBSYS CMDPREF STATUS standing. This means retained locks are
LVL NAME SUBSYS IRLMPROC held.
Explanation: This message is a line of output from a
DISPLAY GROUP command.
C There was a castout error. The last OS SCA rebuild connect complete function started.
updated of the page set or partition
RS SCA rebuild resource manager invocation started.
could not write from the coupling facility
to DASD. RC SCA rebuild resource manager invocation com-
pleted.
Make sure there is connectivity from the
coupling facility to DASD before OC SCA rebuild connect complete function completed.
restarting DB2. LS SCA rebuild cleanup function started.
R There is retained information needed for US SCA rebuild resource manager invocation started.
DB2 to perform resynchronization with
one or more remote locations. UC SCA rebuild resource manager invocation com-
pleted.
When DB2 is restarted, this resynchroni-
zation occurs. LC SCA rebuild cleanup function completed.
| ACTIVE This is a normal active state without condi- PS SCA rebuild process complete function started.
| tions PC SCA rebuild process complete function completed.
| A The member is active, but with the addtional SS SCA rebuild stop function started.
| conditions. A (active) can be paired with the
| following letter: SC SCA rebuild stop function completed.
| I Indoubt or postponed abort units of ES SCA rebuild stop complete function started.
| recovery (URs) are outstanding. This EC SCA rebuild stop complete function completed.
| means retained locks are held.
VS SCA volatility change function started.
The subsystem-name, command-prefix, irlm-subsystem-name,
VC SCA volatility change function completed.
and irlm-procedure-name show '****' if this information is
unknown. TE SCA is in termination phase.
DSN7107I GROUP ATTACH NAME(group-attach) DSN7110I LOCK1 STRUCTURE SIZE: nnnnnnn KB,
LOCK1 IN USE: < nnn %
Explanation: This message is a line of output from a
DISPLAY GROUP command. Explanation: This line of output from a DISPLAY GROUP
command shows the size and the % in use value of the
group-attach is the group attach name for the data sharing
LOCK1 coupling facility structure.
group.
If the % value is > 0 but < 1, then a "<" character is shown
DSN7108I NUMBER LOCK ENTRIES: nnnnnnnnnnn before the 1 % value, e.g. "< 1 %". This can happen if the
LOCK1 structure is vary large or only a small number of
Explanation: This line of output from a DISPLAY GROUP LOCK1 entries are in use. The % value shown is based on the
command shows information about the LOCK1 coupling facility largest value of either "lock entries in use" or "list entries in
structure. The maximum number of lock table entries is dis- use".
played.
IN SCA is in initialization phase. Explanation: This message is the last line of output from a
DISPLAY GROUP command.
AC SCA is active.
DS SCA loss of connectivity, delayed action started. DSN7113I DISPLAY TERMINATED DUE TO INSUFFI-
DC SCA loss of connectivity, delayed action completed. CIENT MESSAGE SPACE.
QS SCA rebuild quiesce function started. Explanation: There is not enough storage available to store
the required information from this command.
QC SCA rebuild quiesce function completed.
System Action: The DB2 subsystem displays the group infor-
CS SCA rebuild connect function started. mation, but some information is missing.
CC SCA rebuild connect function completed.
System Programmer Response: Reassemble the system Operator Response: Issue an MVS DISPLAY XCF,GROUP
parameters load module. Make sure that the group name and command to ensure that XCF is functional. Then try to restart
the member name match the values in the DB2 start-up proce- the DB2 subsystem again.
dure, or correct the parameters on the DB2 start-up procedure. System Programmer Response: Refer to MVS/ESA
Programming: Sysplex Services Reference for an explanation
DSN7403I csect-name MEMBER(member-name) IS of the IXCQUERY return and reason codes.
ALREADY ACTIVE ON SYSTEM(mvs-system-
name).
Explanation: The started DB2 subsystem is already active on
another MVS system.
System Action: The DB2 subsystem terminates with reason
code 00F70003.
Operator Response: If you want the DB2 subsystem to run
DSN7407I csect-name AUTOMATIC RESTART MANAGER DSN7502I csect-name SCA STRUCTURE sca-structure-
function FAILED. MVS IXCARM RETURN name FAILURE, ATTEMPT TO REBUILD IS IN
CODE = xxxxxxxx, MVS IXCARM REASON PROGRESS.
CODE = yyyyyyyy.
Explanation: The specified DB2 member detected the shared
Explanation: DB2 encountered an error using the specified communications area (SCA) structure failure.
MVS automatic restart manager (ARM) function.
System Action: DB2 tries to rebuild the SCA structure on a
System Action: DB2 continues. However, if DB2 abnormally coupling facility in the preference list for the coupling facility.
terminates, the MVS ARM cannot automatically restart DB2.
Operator Response: Wait for message DSN7503I or
System Programmer Response: Refer to MVS/ESA DSN7504A.
Programming: Sysplex Services Reference for the function,
return code, and reason code from the IXCARM request. DSN7503I csect-name SCA STRUCTURE sca-structure-
name REBUILD SUCCESSFUL.
DSN7408I csect-name ARM EVENT EXIT FAILED. DB2
Explanation: This member successfully connected to a
SUBSYSTEM ssnm NOT RESTARTED. MVS
shared communications area (SCA) structure on the same or
IEFSSI RETURN CODE = xxxxxxxx, MVS
an alternate coupling facility and completed restoration of its
IEFSSI REASON CODE = yyyyyyyy.
information in the shared communications area (SCA).
Explanation: The DB2 ARM event exit encountered an error
System Action: DB2 processing continues.
while attempting to define the DB2 subsystem to MVS.
System Action: The automatic restart of the DB2 subsystem DSN7504I csect-name SCA STRUCTURE sca-structure-
is stopped. name REBUILD UNSUCCESSFUL. REASON
System Programmer Response: Refer to MVS/ESA CODE = xx.
Programming: Assembler Services Reference for return and Explanation: This member has not successfully connected to
reason codes from the IEFSSI request. If the IEFSSI return a shared communication area (SCA) structure on an alternate
code and reason code are 0, look in the console log for pre- coupling facility and completed restoration of its information in
vious messages that indicate why the definition of the DB2 the shared communications area (SCA). This message follows
subsystem failed. You can manually start DB2 by using the message DSN7502I.
-START DB2 command on any system where the DB2 sub-
system is defined. 04 An operator requested to stop the rebuild process.
08 A DB2 resource manager requested to stop the rebuild
DSN7409I csect-name MEMBER(member-name) UNABLE process.
TO QUIESCE FROM DATA SHARING 12 The new SCA structure failed during the rebuild process.
GROUP(group-name), MVS IXCQUIES RETURN
CODE=xxxxxxxx, MVS IXCQUIES REASON 16 A DB2 member lost connectivity to the new SCA in the
CODE=yyyyyyyy. rebuild process.
Explanation: An unexpected error occurred when the data 20 An MVS service used during the rebuild process failed. A
sharing DB2 member attempted to place itself in an MVS message was issued from the failed MVS service.
cross-system coupling facility (XCF) quiesced state. System Action: This DB2 member terminates with reason
System Action: The DB2 subsystem termination continues. code 00F70601. Other members can continue processing.
Operator Response: Inform your system programmer. System Programmer Response: See the termination code
for more details.
System Programmer Response: Refer to MVS/ESA
Programming: Sysplex Services Reference for an explanation
of the IXCQUIES return and reason codes. DSN7505A csect-name THERE IS A SHORTAGE OF FREE
STORAGE IN SCA STRUCTURE sca-structure-
name
DSN7501A csect-name SCA STRUCTURE sca-structure-
name CONNECTIVITY FAILURE. Explanation: The amount of free storage in the shared com-
munications area (SCA) coupling facility structure is low. The
Explanation: The specified DB2 member lost connectivity to SCA is 75 percent full. Because SCA storage space is required
the shared communication area (SCA) structure. by some DB2 commands and processes, the availability of
System Action: The specified DB2 disconnects from the those processes might be affected. Completely running out of
SCA and terminates with reason code 00F70600. SCA storage can cause DB2 subsystem outages.
Operator Response: Notify the system programmer. This message stays on the MVS console and is highlighted.
System Programmer Response: Find out why the link from System Action: DB2 processing continues.
this central processor complex (CPC) to the SCA structure was This message might remain highlighted and might not be auto-
lost. After fixing it, restart DB2. matically deleted in a pre SP5.2.1-JES3 environment.
Operator Response: If the message remains highlighted
after the error situation is cleared up, manually delete the
message from the console.
DSN7507I csect-name SCA STRUCTURE sca-structure- System Programmer Response: DB2 uses the MVS
name IS ALLOCATED IN A VOLATILE STRUC- IXLREBLD service during the SCA structure rebuild. Refer to
TURE. MVS/ESA Programming: Sysplex Services Reference for return
and reason codes from the IXLREBLD request.
Explanation: The shared communications area (SCA) struc-
ture is volatile.
DSN7512A csect-name THERE IS A CRITICAL SHORTAGE
System Action: DB2 processing continues. OF FREE STORAGE IN SCA STRUCTURE sca-
System Programmer Response: One DB2 issues this structure-name
message whenever the structure has the volatile attribute. Explanation: The amount of free storage in the shared com-
DB2 detects this either on the first connection to the SCA or on munications area (SCA) coupling facility structure is critically
the attribute changes later. DB2 always requests a nonvolatile low. The SCA is 90 percent full.
SCA. If this is not what you want, change the MVS CFRM
This message stays on the MVS console and is highlighted.
administrative policy and request a rebuild of the SCA with the
MVS SETXCF START,REBUILD command. System Action: DB2 processing continues. However, DB2
limits use of SCA to critical information. Some utilities or com-
DSN7508I csect-name ACCESS TO THE SCA STRUC- mands that cannot be completed can cause one or more
TURE sca-structure-name FAILED. MVS members of the group to come down.
IXLLIST RETURN CODE = xxxxxxxx, MVS This message might remain highlighted and might not be auto-
IXLLIST REASON CODE = yyyyyyyy. matically deleted in a pre SP5.2.1-JES3 environment.
Explanation: DB2 encountered an error in accessing the Operator Response: If the message remains highlighted
shared communications area (SCA) structure. after the error situation is cleared up, manually delete the
System Action: DB2 terminates with reason code 00F70603. message from the console.
System Programmer Response: DB2 uses the MVS System Programmer Response: You can monitor the
IXLLIST service to access the SCA structure. Refer to amount of SCA storage in use with the DISPLAY GROUP
MVS/ESA Programming: Sysplex Services Reference for return command.
and reason codes from the IXLLIST request. You can free SCA storage by removing exception conditions.
Another thing you can do is issue START DATABASE com-
DSN7509I csect-name SCA STRUCTURE sca-structure- mands with the SPACENAM option or use the RECOVER
name IS ALLOCATED IN A NONVOLATILE utility to remove pages from the logical page list (LPL). Then
STRUCTURE. restart any failed DB2s.
Explanation: The SCA structure is now contained in a non- If your actions do not free up enough space, or if the problem
volatile coupling facility structure. continues to occur, you have the following options, depending
on what level of MVS and the coupling facility control code you
System Action: DB2 processing continues. are running with:
If all members of the group are running with MVS Version
5 Release 2 and with a coupling facility control code level
greater than 0, issue the SETXCF START,ALTER
command to increase the size of the SCA. The size you
specify must be less than or equal to the maximum size System Action: DB2 processing continues.
defined the CFRM policy for the SCA structure.
If the maximum size (SIZE in the CFRM policy) is still not DSN7514I csect-name RESPONSE TO AN MVS REBUILD
big enough, take the actions described below for MVS RELATED EVENT FOR THE SCA STRUCTURE
Version 5 Release 1 systems. sca-structure-name FAILED. MVS IXLEERSP
RETURN CODE = xxxxxxxx, MVS IXLEERSP
If any or all members of the group are running with MVS
REASON CODE = yyyyyyyy.
Version 5 Release 1 or with a coupling facility control code
level of 0, increase the storage for the SCA in the CFRM Explanation: DB2 encountered an error during the rebuild of
policy. Then issue the MVS SETXCF START,REBUILD the shared communications area (SCA) structure.
command to rebuild the structure. System Action: DB2 terminates.
Refer to DB2 Data Sharing: Planning and Administration for System Programmer Response: DB2 uses the MVS
more detailed recovery information. IXLEERSP service to respond to SCA structure rebuild. Refer
to MVS/ESA Programming: Sysplex Services Reference for
DSN7513I csect-name SCA STRUCTURE sca-structure- return and reason codes from the IXLEERSP request.
name HAS ADEQUATE FREE STORAGE
Explanation: The shared communications area (SCA) cou-
pling facility structure has adequate free storage to function
properly.
This message is shown in the following circumstances:
After the SCA was rebuilt.
After the SCA usage goes below 67%, after its usage was
up to 75% or higher.
DSN8... Messages
Problem Determination: List the contents of the employee
DSN8000I REQUEST IS: request
view, VEMP, and the department view, VDEPT.
Explanation: The input statement is listed as received.
This message is issued by the following CSECTs: DSN8BD3, DSN8007E csect EMPLOYEE DOES NOT EXIST, UPDATE
DSN8BF3 NOT DONE
System Action: The request is listed. Explanation: The update requested was not performed. The
employee number requested was not present in the table.
User Response: See if the input request is what you want.
System Action: No employee data is updated.
DSN8001I csect EMPLOYEE NOT FOUND User Response: Verify that the correct search criteria and
Explanation: The 'l' or 'list' request found no employee data were entered.
data that match your request. Problem Determination: List the contents of the employee
System Action: No employees are listed. table (VPHONE, VEMPLP, or EMP) and see if the employee
number to be updated is in the table. Correct the update
User Response: If no employee data was expected to be request or the table.
found, continue.
Problem Determination: If the error is unexpected, list the DSN8008I csect NO EMPLOYEE FOUND IN TABLE
contents of the employee and department views VEMP and
Explanation: No employees match the selection criteria.
VDEPT to determine why the entry is missing.
System Action: No employee data is listed.
DSN8002I csect EMPLOYEE SUCCESSFULLY ADDED User Response: If no employee data was expected, continue
Explanation: Employee data was added as requested. processing.
System Action: The request was executed successfully. Problem Determination: List the contents of the VPHONE
view and the underlying tables.
System Action: The request was executed successfully. System Action: No departments are listed.
User Response: If no departments are expected to be found,
DSN8004I csect EMPLOYEE SUCCESSFULLY UPDATED continue.
Explanation: Data for an employee was updated as Problem Determination: If the error is unexpected, list the
requested. contents of the department views VDEPT and VDEPMG1 and
their underlying tables to determine why the entry is missing.
System Action: The request was executed successfully.
Explanation: A request was made to add data for a new System Action: The request was executed successfully.
employee, but the employee number already exists.
System Action: No employee data is added. DSN8013I csect DEPARTMENT SUCCESSFULLY
ERASED
User Response: Display the existing employee data. If this is
the desired employee, update the employee entry. Otherwise, Explanation: Data for a department was erased as
choose a new employee number. requested.
Problem Determination: List the contents of the employee System Action: The request was executed successfully.
view, VEMP, and the department view, VDEPT.
DSN8014I csect DEPARTMENT SUCCESSFULLY
DSN8006E csect EMPLOYEE DOES NOT EXIST, ERASE UPDATED
NOT DONE Explanation: Data for a department was updated as
Explanation: The erase requested was not performed. The requested.
employee number requested was not present in the table. System Action: The request was executed successfully.
System Action: No employee data is erased.
User Response: Determine if the employee data to be
erased should exist. Verify that the correct search criteria and
data were entered. If appropriate, correct the entries and con-
tinue processing.
DSN8016E csect DEPARTMENT DOES NOT EXIST, DSN8022I csect ACTIVITY SUCCESSFULLY ADDED
ERASE NOT DONE Explanation: An activity was added as requested.
Explanation: The erase request found no departments which System Action: The request was executed successfully.
match your request.
System Action: No department data is erased. DSN8023I csect ACTIVITY SUCCESSFULLY ERASED
User Response: See if the department data to be erased Explanation: An activity was erased as requested.
should exist. Did you enter the correct combination of search
System Action: The request was executed successfully.
criteria and data? If not, correct the entries and continue.
Problem Determination: If the error is unexpected, list the
DSN8024I csect ACTIVITY SUCCESSFULLY UPDATED
contents of the department views VDEPT and VDEPMG1 and
their underlying tables to determine why the entry is missing. Explanation: An activity was updated as requested.
System Action: The request was executed successfully.
DSN8017E csect DEPARTMENT DOES NOT EXIST,
UPDATE NOT DONE
DSN8025E csect ACTIVITY EXISTS ALREADY, ADD NOT
Explanation: The update request found no department data DONE
which matches your request.
Explanation: The addition requested was not performed. The
System Action: No department data is updated. activity requested was already present.
User Response: See if the department data to be updated System Action: No activity is added.
should exist. If you did not enter the correct combination of
User Response: If the activity was expected to already exist,
search criteria and data, correct the entries and continue.
continue processing.
Problem Determination: If the error is unexpected, list the
Problem Determination: List the contents of the activity
contents of the department views VDEPT and VDEPMG1 and
views VPROJRE1, VACT, and VPROJACT and their under-
their underlying tables to determine why the entry is missing.
lying tables.
DSN8041I csect STAFFING NOT FOUND DSN8047E csect STAFFING DOES NOT EXIST, UPDATE
NOT DONE
Explanation: No project staffing matches the selection cri-
teria. Explanation: The update was not performed because the
project staffing requested was not found.
System Action: No project staffing is listed.
System Action: No project staffing is updated.
User Response: If no project staffing was expected to be
found, continue processing. User Response: Determine if the project staffing to be
updated should exist. Verify that the correct search criteria and
Problem Determination: List the contents of the project
data were entered. If appropriate, correct the entries and con-
activity views VPROJRE1, VEMPPROJACT, VACT, and VEMP
tinue processing.
and their underlying tables.
Problem Determination: List the contents of the project
DSN8042I csect STAFFING SUCCESSFULLY ADDED activity views VPROJRE1, VEMPPROJACT, VACT, and VEMP
and their underlying tables.
Explanation: A project staffing was added as requested.
System Action: The request was executed successfully. DSN8051I csect PROGRAM ENDED
Explanation: The application program finished.
DSN8043I csect STAFFING SUCCESSFULLY ERASED
Explanation: A project staffing was erased as requested. DSN8053I csect ROLLBACK SUCCESSFUL, ALL
System Action: The request was executed successfully. UPDATES REMOVED
Explanation: After any SQLWARNING or SQLERROR, all
DSN8044I csect STAFFING SUCCESSFULLY UPDATED updates are removed via a ROLLBACK statement to prevent
invalid updates.
Explanation: A project staffing was updated as requested.
System Action: The ROLLBACK was executed successfully.
System Action: The request was executed successfully.
User Response: Correct the prior error.
Explanation: A request was made to add a project staffing, Explanation: The last page of data has been displayed.
but the project staffing already exists. System Action: No more data is shown on screen.
System Action: No project staffing is added. User Response: If you expect no more data to be displayed,
User Response: Display the existing project staffing. If this is continue.
the desired project staffing, update it. Otherwise, choose a new Problem Determination: If more displayed data is expected,
project staffing. list the contents of the view and the underlying tables to see if
Problem Determination: List the contents of the project the data differs from what is expected.
activity views VPROJRE1, VEMPPROJACT, VACT, and VEMP
and their underlying tables. DSN8057I csect FURTHER ENTRIES IN TABLE - UPDATE
POSSIBLE
DSN8046E csect STAFFING DOES NOT EXIST, ERASE Explanation: More data exists beyond that shown on the
NOT DONE screen.
Explanation: The project staffing was not erased as System Action: No more data is shown on screen.
requested.
User Response: Update entries as needed.
System Action: No project staffing is erased.
User Response: Determine if the project staffing to be DSN8058I csect PRESS PA1 FOR NEXT PAGE / ENTER
erased should exist. Verify that the correct search criteria and FOR SELECTION MENU
data were entered. If appropriate, correct the entries and con-
Explanation: Press the PA1 key to see the data on the next
tinue processing.
page or press the ENTER key to return to the selection menu.
Problem Determination: List the contents of the project
User Response: Press the PA1 key or the ENTER key
activity views VPROJRE1, VEMPPROJACT, VACT, and VEMP
depending on the function you want to perform.
and their underlying tables.
the application program caused the error and see if it is repro- view and the underlying tables to see if the data differs from
ducible. Follow the diagnosis approach suggested for the what is expected. If after checking the view and the underlying
sqlcode. tables, you find the search criteria values you entered should
provide valid selections, the error is in the sample program.
DSN8061E csect ROLLBACK FAILED, RETURN CODE IS: Report the error.
sqlcode
DSN8068E csect INVALID REQUEST SHOULD BE 'L' OR
Explanation: The SQL ROLLBACK statement was not exe-
'U'
cuted correctly.
Explanation: The input must begin with 'L' or 'U'.
System Action: The request was not executed successfully.
System Action: The request is ignored.
User Response: Refer to “Section 2. SQL Return Codes” on
page 17. User Response: Correct the input request.
Problem Determination: Determine which SQL statement in
the application program caused the error and see if it is repro- DSN8069E csect NO VALID SELECTIONS QUALIFY FOR
ducible. Follow the diagnosis approach suggested for the THIS REQUEST
sqlcode. Explanation: You entered a search criteria value and a data
values that do not find any selections.
DSN8062E csect AN OBJECT WAS NOT SELECTED
System Action: The request was not executed successfully.
Explanation: You did not specify an object code on the input
User Response: Enter new search criteria values.
line.
Problem Determination: If the criteria values you entered
User Response: Select one of the object codes listed on the
are expected to provide valid selections, check the contents of
panel.
the view and the underlying tables to see if the data differs
from what is expected. If after checking the view and the
DSN8064E csect INVALID DL/I STC-CODE ON GU MSG: underlying tables, you find the search criteria values you
status-code entered should provide valid selections, the error is in the
Explanation: In attempting to get a message from IMS, an sample program. Report the error.
unexpected status-code was received.
DSN8070E csect VITAL DATA IS MISSING IN TABLE
System Action: The application program is terminated.
TOPTVAL
Problem Determination: Refer to the messages and codes
Explanation: No valid entries exist in the table that contains
manual for IMS/VS to determine the reason for the unexpected
possible valid entries.
status code.
System Action: The request was not executed successfully.
DSN8065E csect INVALID DL/I STC-CODE ON ISRT MSG: User Response: There is no valid entry you can enter.
status-code Report the error in the sample program.
Explanation: In attempting to insert a message for IMS, an
unexpected status-code was received. DSN8072E csect INVALID SELECTION ON SECONDARY
SCREEN
System Action: The application program is terminated.
Explanation: You gave an invalid line number.
Problem Determination: Refer to the messages and codes
manual for IMS/VS to determine the reason for the unexpected System Action: The request was not executed successfully.
status code.
User Response: You entered a number that is not in the list
on the left under the heading NO for line number. Enter a valid
DSN8066E csect UNSUPPORTED PFK OR LOGIC ERROR number.
Explanation: The sample application found an unsupported Problem Determination: If the line number you entered is in
program function key or logic error while trying to execute a the list on the left under the heading NO for line number, then
request. the error is in the sample program.
System Action: The request was not executed successfully.
DSN8073E csect SPECIFIED LINE-NUMBER NOT FOUND
User Response: Report the error in the application program.
IN PREVIOUS SCREEN
DSN8067E csect UNSUPPORTED SEARCH CRITERIA FOR Explanation: You gave an invalid line number.
OBJECT System Action: The request was not executed successfully.
Explanation: You entered a search criteria value and an User Response: You entered a number that is not in the list
object value that do not find any selections. on the left under the heading NO for line number. Enter a valid
System Action: The request was not executed successfully. number. If the line number is in the previous screen, then this
is an error in the sample program. Report the error.
User Response: Enter new search criteria values.
Problem Determination: If the values you entered are
expected to provide valid selections, check the contents of the
DSN8074E csect DATA IS TOO LONG FOR SEARCH CRI- DSN8081E RESULTS FROM THE CALL ATTACH TRANS-
TERIA LATE SERVICE
Explanation: You entered a data value that has too many Explanation: The call attachment facility OPEN service that
characters for the type of search criterion you selected. For was requested from the application program did not execute
example, department ids have a maximum of 3 characters and successfully. The TRANSLATE service was requested to
most other ids have a maximum of 6 characters. provide information about the OPEN failure.
System Action: The request was not executed successfully. System Action: The requested OPEN service was not exe-
cuted.
User Response: Enter a data value with the correct number
of characters. User Response: Refer to “Section 2. SQL Return Codes” on
page 17.
DSN8075E csect MESSAGE FORMAT ROUTINE ERROR, Problem Determination: Refer to “Section 2. SQL Return
RETURN CODE IS: sqlcode Codes” on page 17 for more information about the error.
Explanation: There is an error in the parameters passed to
the SQLCA formatting routine, DSNTIAR. DSN8082E THE DISCONNECT TERMINATED WITH
REASON CODE reason-code
System Action: The SQLCA could not be formatted properly.
Explanation: The call attachment facility DISCONNECT
User Response: This is an error in the program. Check the
service requested by the application program did not execute
return code listing of DSNTIAR in Section 3 of DB2 Application
successfully.
Programming and SQL Guide. Report the error.
System Action: The requested DISCONNECT service is not
DSN8076E csect VITAL DATA IS MISSING IN TABLE executed.
'TDSPTXT' User Response: Notify the system programmer.
Explanation: No valid entries exist in the table that contains System Programmer Response: Check the call attachment
possible valid entries. facility reason code.
System Action: The request was not executed successfully. Problem Determination: Follow the failure analysis proce-
User Response: There is no valid entry you can enter. dures for the call attachment facility reason code.
Report the error in the application program.
DSN8083E AN UNKNOWN SERVICE service WAS
DSN8079E CONNECTION TO DB2 NOT ESTABLISHED REQUESTED
Explanation: Sample programs DSN8SC3, DSN8SP3, and Explanation: The user is requesting an invalid service.
DSN8HC3 cannot be called directly from TSO. Instead, they This message is issued by the following CSECTs: DSN8SCM,
must be called from the ISPF sample connection manager, DSN8SPM
DSN8SCM or DSN8SPM.
System Action: The requested service was not executed.
System Action: The program ends.
User Response: Notify the system programmer.
User Response: Call the desired program through the con-
System Programmer Response: The service request must
nection manager, DSN8SCM or DSN8SPM.
be a valid call attachment facility service. Ensure that the
request is one of the services supported by the call attachment
DSN8080E APPLICATION TERMINATED WITH CALL facility.
ATTACH REASON CODE reason-code
Problem Determination: There is an error in the Sample
Explanation: The call attachment facility service requested by Application Program.
the application program did not execute successfully.
This message is issued by the following CSECTs: DSN8SCM, DSN8200E csect INVALID DEPARTMENT NUMBER,
DSN8SPM EMPLOYEE NOT ADDED
System Action: The requested service is not executed. Explanation: The employee number that is to be added
User Response: Notify the system programmer. refers to a department number that is not contained in the
table DEPT.
System Programmer Response: Check the call attachment
facility reason code. System Action: The employee number is not added.
Problem Determination: Follow the failure analysis proce- User Response: Ensure that the correct department number
dures for the call attachment facility reason code. was entered.
Problem Determination: List the contents of the department
table DEPT.
DSN8202E csect EMPLOYEE NUMBER HAS DEPENDENT DSN8214E csect INVALID MANAGER ID, DEPARTMENT
ROWS, NOT ERASED NOT UPDATED
Explanation: The employee number to be erased is the Explanation: The department that is to be updated has a
same as a responsible employee number in the table PROJ or manager number that is not contained in the table EMP. The
an employee number in the table EMPPROJACT. The update cannot be completed.
employee number cannot be erased from the table EMP.
System Action: No department data is updated.
System Action: No employee data is erased.
User Response: Ensure that the correct manager number
User Response: Ensure that the correct employee number was entered.
was entered.
Problem Determination: List the contents of the employee
Problem Determination: List the contents of the PROJ and table EMP.
EMPPROJACT tables.
DSN8215E csect INVALID ADMIN DEPT ID, DEPARTMENT
DSN8203E csect INVALID WORK DEPT, EMPLOYEE NOT NOT UPDATED
UPDATED
Explanation: The department that is to be updated has a
Explanation: The employee that is to be updated has a administrative department number that is not in the table
department number that is not contained in the table DEPT. DEPT. The update cannot be completed.
The update cannot be completed.
System Action: No department data is updated.
System Action: No employee data is updated.
User Response: Ensure that the correct department number
User Response: Ensure that the correct department number was entered.
was entered.
Problem Determination: List the contents of the employee
Problem Determination: List the contents of the employee table DEPT.
table DEPT.
DSN8216E csect DEPT NOT AT SPECIFIED LOCATION,
DSN8210I csect INVALID MGRNO, DEPARTMENT NOT EMPLOYEE NOT ADDED
ADDED
Explanation: The employee number that is to be added
Explanation: The department that is to be added has a refers to a department number whose LOCATION field in the
manager number that is not contained in the table EMP. The DEPT table is different from that specified for the employee.
add cannot be completed. The add cannot be completed.
System Action: No department is added. System Action: No employee is added.
User Response: Ensure that the correct manager number User Response: Ensure that the correct department number
was entered. was entered.
Problem Determination: List the contents of the employee Problem Determination: List the contents of the department
table EMP. table DEPT.
DSN8212E csect DEPARTMENT NUMBER HAS DSN8217E csect DEPT NOT AT SPECIFIED LOCATION,
DEPENDENT ROWS, NOT ERASED EMP NOT UPDATED
Explanation: The department number that is to be erased is Explanation: The employee number that is to be updated
the same as a project department number in table PROJ. The refers to a department number whose LOCATION field in the
department cannot be erased. DEPT table is different from that specified for the employee.
The update cannot be completed.
System Action: No department data is erased.
System Action: No employee data is updated.
User Response: Ensure that the correct department number
was entered. User Response: Ensure that the correct department number
was entered.
Problem Determination: List the contents of the project table
PROJ. Problem Determination: List the contents of the department
table DEPT.
DSN8213E csect INVALID ADMIN DEPT ID, DEPARTMENT
NOT ADDED DSN8220E csect INVALID PROJECT NUMBER, ACTIVITY
NOT ADDED
Explanation: The department that is to be added has a
department number that is not contained in the table DEPT. Explanation: The activity that is to be added contains a
The add cannot be completed. project number that is not contained in the table PROJ. The
add cannot be completed.
System Action: No department is added.
System Action: The activity is not added.
User Response: Ensure that the correct department number
was entered. User Response: Ensure that the correct project number was
entered.
Problem Determination: List the contents of the employee
table DEPT. Problem Determination: List the contents of the project table
PROJ.
DSN8222E csect ACTIVITY HAS DEPENDENT ROWS, NOT DSN8235E csect INVALID MAJOR PROJECT ID, PROJECT
ERASED NOT ADDED
Explanation: The activity that is to be erased from table Explanation: The project that is to be added contains a major
PROJACT is the same as the corresponding activity in the project ID that is not contained in the table PROJ. The add
table EMPPROJACT. The activity cannot be erased from the cannot be completed.
table PROJACT.
System Action: No project is added.
System Action: No activity data is erased.
User Response: Ensure that the correct major project
User Response: Ensure that the correct activity was entered. number was entered.
Problem Determination: List the contents of the PROJACT Problem Determination: List the contents of the project table
and EMPPROJACT tables. PROJ.
DSN8223E csect ACTIVITY HAS DEPENDENT ROWS, NOT DSN8236E csect INVALID ASSOCIATE DEPT ID,
UPDATED PROJECT NOT UPDATED
Explanation: A start date in table PROJACT is to be Explanation: The project that is to be updated has a depart-
updated, but there is a project staffing for this activity in table ment number that is not contained in the table DEPT. The
EMPPROJACT. The start date in table PROJACT cannot be update cannot be completed.
updated.
System Action: No project data is updated.
System Action: No activity data is updated.
User Response: Ensure that the correct department number
User Response: Ensure that the correct start date was was entered.
entered.
Problem Determination: List the contents of the department
Problem Determination: List the contents of the project- table DEPT.
activity-staffing table EMPPROJACT and project-activity table
PROJACT. DSN8237E csect INVALID RESPONSIBLE ID, PROJECT
NOT UPDATED
DSN8230E csect INVALID DEPARTMENT NUMBER,
Explanation: The project that is to be updated has a
PROJECT NOT ADDED
employee number that is not contained in the table EMP. The
Explanation: The project that is to be added contains a update cannot be completed.
department number that is not present in the table DEPT. The
System Action: No project data is updated.
add cannot be completed.
User Response: Ensure that the correct employee number
System Action: No project is added.
was entered.
User Response: Ensure that the correct department number
Problem Determination: List the contents of the employee
was entered.
table EMP.
Problem Determination: List the contents of the department
table DEPT. DSN8238E csect INVALID MAJOR PROJECT ID, PROJECT
NOT UPDATED
DSN8231E csect INVALID RESPONSIBLE ID, PROJECT
Explanation: The project that is to be updated has a major
NOT ADDED
project number that is not contained in the table PROJ. The
Explanation: The project that is to be added contains an update cannot be completed.
employee number that is not contained in the table EMP. The
System Action: No project data is updated.
add cannot be completed.
User Response: Ensure that the correct project number was
System Action: No project is added.
entered.
User Response: Ensure that the correct employee number
Problem Determination: List the contents of the project table
was entered.
PROJ.
Problem Determination: List the contents of the employee
table EMP. DSN8240E csect INVALID EMPLOYEE NUMBER,
STAFFING NOT ADDED
DSN8233E csect PROJECT NUMBER HAS DEPENDENT
Explanation: The staffing that is to be added refers to an
ROWS, NOT ERASED
employee number that is not present in table EMP. The add
Explanation: A project number in table PROJ is to be cannot be completed.
erased, but it is the same as a project number in table
System Action: No staffing is added.
PROJACT. The project cannot be erased from table PROJ.
User Response: Ensure that the correct employee number
System Action: No project is erased.
was entered.
User Response: Ensure that correct project number was
Problem Determination: List the contents of employee table
entered.
EMP.
Problem Determination: List the contents of the PROJ and
PROJACT tables.
DSN8242E csect INVALID PROJECT ACTIVITY DATA, DSN8243E csect INVALID START DATE, STAFFING NOT
STAFFING NOT ADDED UPDATED
Explanation: The staffing that is to be added refers to a Explanation: The start date given is not currently in the
project number, activity number, and start date that is not project-activity table PROJACT. The update cannot be com-
present in table PROJACT. The add cannot be completed. pleted.
System Action: No staffing is added. System Action: No staffing data is updated.
User Response: Ensure that the correct project number, User Response: Ensure that the correct start date was
activity number, and start date were entered. entered.
Problem Determination: List the contents of the project table Problem Determination: List the contents of the project-
PROJACT. activity table PROJACT and the project-activity-staffing table
EMPPROJACT.
DSN9... Messages
DSN9000I KEYWORD keyword-name APPEARS MORE DSN9004I KEYWORD keyword-name RANGE (c) INCOR-
THAN ONCE RECTLY SPECIFIED
Explanation: The same keyword (specified in the messages Explanation: The range for a keyword (specified in the
as 'keyword-name') appears more than once in the command. message as 'keyword-name') was incorrectly specified using
This message will be issued for each occurrence of the the syntax character specified in the message as 'c'. The
keyword after the first. standard syntax character used to denote a range is a colon
(:). Either the ending limit of the range was omitted or a subset
System Action: Processing for the command is terminated.
was specified within the range.
System Programmer Response: Correct the command by
Examples of this error are LINE(1:) and GROUP(A*:B*).
using the keyword only once, and reenter the command.
Examples of a correctly specified range are LINE(1:3) and
Problem Determination: Obtain a copy of the system or ter-
GROUP(A:B).
minal log to verify the command entry.
System Action: Processing for the command is terminated.
DSN9001I KEYWORD keyword-name IS INVALID System Programmer Response: Refer to DB2 Command
Explanation: The keyword (specified in the message as Reference to verify that the command you are using allows a
'keyword-name') is unknown or undefined. The keyword may range for the given keyword. Correct the error, and reissue the
be misspelled, or the keyword may not be applicable to the command.
command being processed. Problem Determination: Obtain a copy of the system or ter-
System Action: Processing for the command is terminated. minal log to verify the command entry.
specify PRIORITY(21) or PRIORITY(006), the value you have Problem Determination: Obtain a copy of the system or ter-
entered exceeds the limit of one character. minal log to verify the command entry.
System Action: Processing for the command is terminated.
DSN9017I FAILURE WHILE PROCESSING verb-name pkw-
System Programmer Response: Refer to DB2 Command
name COMMAND, PROCESSING TERMINATED
Reference for a list of acceptable parameters. Correct the
error, and reissue the command. Explanation: The DB2 command processor has abended
while processing the command (specified in the message as
Problem Determination: Obtain a copy of the system or ter-
'verb-name pkw-name'). The error is been recorded in
minal log to verify the command entry.
SYS1.LOGREC, and an SVC dump is requested. The
command may have partially completed. Refer to any prior
DSN9014I KEYWORD keyword-name LIMIT OF nn response messages to determine what has been done.
PARAMETER(S) EXCEEDED
System Action: Processing for the command is terminated.
Explanation: Too many parameters have been specified for
Operator Response: If a dump was produced, have it
the keyword that is specified in the message. The command
printed. Print a copy of the contents of the SYS1.LOGREC
processor does not accept more than the limit (specified in the
data set for the time period involved. Forward these items with
message as 'nn') of parameters. This error is probably
a copy of the system log to the system programmer.
caused by entering too many parameters. It could also be
caused by a missing close parenthesis that has not yet been System Programmer Response: Reissue the command. If a
detected. second failure occurs, consult your supervisor.
System Action: Processing for the command is terminated. Problem Determination: Obtain a copy of the system or ter-
minal log to verify command entry. Contact the system oper-
System Programmer Response: Reissue the command, and
ator to make sure that diagnostic information is forwarded to
enter no more than the specified limit of parameters for the
you.
given keyword. If necessary, issue the command more than
once to process all the desired parameter values. Refer to DB2
Command Reference for further details. DSN9018I csect-name ABORTING verb-name PROC-
ESSING DUE TO INSUFFICIENT STORAGE
Problem Determination: Obtain a copy of the system or ter-
AVAILABLE
minal log to verify the command entry.
Explanation: The command processor was unable to obtain
sufficient storage to complete processing of any response mes-
DSN9015I PARAMETER parameter-value IS UNACCEPT-
sages generated by the invoked command.
ABLE FOR KEYWORD keyword-name
System Action: Processing for the command is terminated
Explanation: The parameter value specified in the message
abnormally.
is not an acceptable value for the named keyword.
Operator Response: Notify the system programmer before
As an example, consider a keyword called PRINT that can
attempting to reissue the command.
have parameters of YES or NO. Specification of PRINT(YES)
or PRINT(NO) is valid. However, specification of System Programmer Response: Determine the reason for
PRINT(MAYBE) is unacceptable. insufficient storage available to the command. If a cursory
examination of the system indicates that the region sizes for
System Action: Processing for the command is terminated.
DB2 are sufficient, and the current workload does not seem
System Programmer Response: Refer to DB2 Command excessive, then a MVS Console dump (MVS DUMP command)
Reference for a list of acceptable parameters. Correct and may be required.
reissue the command.
Insure that any retry steps defined by the command are per-
Problem Determination: Obtain a copy of the system or ter- formed prior to reissuing the command.
minal log to verify the command entry.
Problem Determination: The invoked command had com-
pleted processing and returned to the Command Preprocessor
DSN9016I verb-name COMMAND REJECTED, UNAU- when an attempt was made to obtain storage from the address
THORIZED REQUEST space from which the command was entered. Since sufficient
Explanation: The command specified in the message (as storage was unavailable, no response messages from the
'verb-name') requires that you have proper authorization in invoked command are available.
order to use the command. You do not have the required
authorization. DSN9019I VERB verb-name IS NOT A KNOWN
System Action: The command is not executed. Processing is COMMAND
terminated. Explanation: The command represented by the verb speci-
Operator Response: If the command must be executed on fied in the message is not known to the system; it is an unde-
behalf of the user and your installation operating procedures fined command. A possible cause for this error is that you
permit it, enter the command on request. made a spelling error while entering the command.
System Programmer Response: Contact the system pro- System Action: Processing for the command is terminated.
grammer responsible for system security, and request that this System Programmer Response: Refer to DB2 Command
person grant you authorization to use the command. Other- Reference for the correct command format.
wise, you must have someone who is authorized issue the
Problem Determination: Obtain a copy of the system or ter-
command for you. If necessary, request the system operator to
minal log to verify the command entry.
enter the command for you.
DSN9020I ONLY ONE OF THE FOLLOWING KEYWORDS DSN9024I KEYWORD keyword-name PARAMETER MAY
MAY BE SPECIFIED ON THIS COMMAND, NOT SPECIFY A RANGE OF VALUES
keyword1 keyword2 keyword3 keyword4
Explanation: The parameter of the keyword specified in the
keyword5 keyword6 keyword7 keyword8
message specifies a range using the colon operator, (for
Explanation: Only one of the identified keywords can be instance, 1:3), but a range of values is not allowed.
specified at the same time on this command.
As an example, consider a keyword called CLASS. You might
System Action: Processing for the command is terminated. enter CLASS(1,2,3) to specify classes 1, 2, and 3, or you
might enter CLASS(1:3). However, not all commands allow you
System Programmer Response: Identify the appropriate
to specify a range of values.
keyword from the list, include only that keyword, and reissue
the command. Refer to DB2 Command Reference for System Action: Processing for the command is terminated.
descriptions of the keywords.
System Programmer Response: Correct the keyword
Problem Determination: Obtain a copy of the system or ter- parameter, and reenter the command.
minal log to verify the command entry.
Problem Determination: Obtain a copy of the system or ter-
minal log to verify command entry.
DSN9021I VERB verb-name REQUIRED KEYWORD IS
MISSING
DSN9025I csect-name verb-name pkw-name NORMAL
Explanation: The command specified in the message (as COMPLETION FOR SYNCHRONOUS PHASE,
'verb-name') was entered, but at least one required keyword AND IN PROGRESS FOR ASYNCHRONOUS
is missing. The command processor was unable to determine PHASE.
which keyword or keywords were missing.
Explanation: All synchronous processing for the command
System Action: Processing for the command is terminated. specified as 'verb-name pkw-name' in this message com-
pleted successfully. Any tasks executing asynchronously for
System Programmer Response: Refer to DB2 Command
the specified command might still be executing when this
Reference for the proper format of the named command, and
message is displayed.
then reenter the command.
System Action: Synchronous processing for the specified
Problem Determination: Obtain a copy of the system or ter-
command is complete. Subsequent system actions defined by
minal log to verify command entry. If a failure is suspected,
the command that can occur during the asynchronous phase of
take a storage dump.
command processing are documented in DB2 Command Ref-
erence.
DSN9022I csect-name verb-name pkw-name NORMAL
COMPLETION
DSN9026I KEYWORD keyword-name PARAMETER(S)
Explanation: All synchronous processing for the command MUST BE ALPHABETIC
specified in the message as 'verb-name pkw-name' com- DSN9027I KEYWORD keyword-name PARAMETER(S)
pleted successfully. Any tasks executing asynchronously for MUST BE ALPHAMERIC
the specified command might still be executing when this DSN9028I KEYWORD keyword-name PARAMETER(S)
message is displayed. MUST BE NUMERIC
System Action: Synchronous processing for the specified Explanation: Parameter values for the keyword (specified on
command is complete. Subsequent system actions defined by these messages) must be of a specific type, such as all
the command are documented in DB2 Command Reference . ALPHABETIC or all ALPHAMERIC / NATIONAL characters, or
all NUMERIC values.
DSN9023I csect-name verb-name pkw-name ABNORMAL As an example of this type of error, consider the keyword
COMPLETION NAME, where you are expected to enter a person’s last name.
Explanation: The command specified in the message as If you enter NAME(Jones) it is acceptable, but if you enter
'verb-name pkw-name' completed unsuccessfully. The NAME(Jon4s), it is not acceptable.
command issued one or more error messages before this As a second example, consider a keyword WEIGHT that speci-
message. The name of the CSECT that issued the message is fies a numeric weight. Entering WEIGHT(47) is acceptable, but
shown at the beginning of the message as a diagnostic aid. entering WEIGHT(4u) is not.
System Action: Processing for the command ended. System Action: Processing for the command is terminated.
System Programmer Response: Proceed as indicated by System Programmer Response: Reissue the command but
previous error messages. ensure that the parameters for the named keyword are of the
required type.
Problem Determination: Obtain a copy of the system or ter-
minal log to verify the command entry.
Problem Determination: Obtain a copy of the system or ter- System Action: The requested function is not performed.
minal log to verify command entry. Contact the system oper- User Response: Determine what function was requested. Do
ator to make sure that diagnostic information is forwarded to not invoke this function until DB2 is reinstalled and DDF is
the system programmer. selected.
Problem Determination: Look at the console log to deter-
DSN9030I KEYWORD keyword-name PARAMETER MAY mine which command caused the error.
NOT SPECIFY A SUBSET OF VALUES
| Explanation: The parameter for the keyword specified in the DSN9033I KEYWORD name1 REQUIRES KEYWORD
| message identifies a subset using the asterisk operator (for name2
| instance, ABC*, *ABC, or *ABC*DEF*), but using a subset is
| not allowed for this command. Explanation: When keyword 'name1' is specified, keyword
'name2' must also be specified.
| As an example, consider a keyword called NAME, for which
| you can specify people's names. You might specify System Action: Processing for the command terminates.
| NAME(ROBERT ROBERTS ROBERTSON) to enter three User Response: Resubmit the command with the missing
| names, or you might specify NAME(ROB*) to indicate all keyword.
| names that begin with the characters ROB. NAME(*BERT*)
Problem Determination: Obtain a copy of the system or ter-
| could also be specified to indicate all names that contain the
minal log to verify the command entry.
| characters BERT within the name. However, not all commands
| allow you to specify a subset of values in this way.
DSN9034I THE TOTAL LENGTH OF COMMAND
System Action: Processing for the command is terminated.
RESPONSE MESSAGES EXCEEDED ITS
System Programmer Response: Correct the keyword LIMIT. DISPLAY IS TERMINATED.
parameter, and reenter the command.
Explanation: The total length of all response messages
Problem Determination: Obtain a copy of the system or ter- returned from a single DB2 command exceeded the internal
minal log to verify command entry. limit set by the system. The message chain was truncated.
This message was appended at the end of the chain to inform
DSN9031I SYNTAX ERROR DETECTED FOLLOWING the user of the termination of the report.
KEYWORD keyword-name
Explanation: The text that follows the named keyword con-
tains invalid syntax.
As an example, consider specification of CLASS==A. The
double equal signs do not conform to the rules of syntax and
make the keyword meaningless. This is just one example of
invalid syntax. It is not practical to try to illustrate every pos-
X'C1......' Codes
00C10002 00C10201
Explanation: The DB2 call attachment facility control block Explanation: The application program passed two CONNECT
(the CAB) indicated that a thread was present when it should calls to the call attachment facility (CAF) from the same TCB.
not have been present. The first CONNECT could have been either implicit or explicit.
This abend reason code is issued by the following CSECT: This abend reason code is issued by the following CSECT:
DSNACA00 DSNACA00
User Response: Notify your system programmer. User Response: You can continue processing with a cor-
rected request.
System Programmer Response: Collect a DSNTRACE trace
stream and request a SYSABEND or SYSUDUMP dump. Problem Determination: See the Explanation above.
Problem Determination: This is probably a call attachment
facility error. 00C10202
Explanation: The application program passed two OPEN
00C10003 commands to the call attachment facility (CAF) from the same
TCB. The first OPEN could have been either implicit or explicit.
Explanation: The DB2 call attachment facility received
control after a nonstandard entry that did not use the call This abend reason code is issued by the following CSECT:
attachment facility language interface. DSNACA00.
This abend reason code is issued by the following CSECT: User Response: You can continue processing with a cor-
DSNACA00 rected request.
User Response: Modify or repair your application so that Problem Determination: See the Explanation above.
DSNACA00, the main call attachment facility code will receive
control only through the language interface. 00C10203
Problem Determination: This is probably a user error. Explanation: A CLOSE command was issued when there
was no active OPEN.
00C10004
This abend reason code is issued by the following CSECT:
Explanation: The call attachment facility encountered an DSNACA00
error retrieving a trace message during processing of a call
User Response: You can continue processing with a cor-
attachment facility request.
rected request.
This abend reason code is issued by the following CSECT:
Problem Determination: See the Explanation above.
DSNACA00
User Response: Notify your system programmer. 00C10204
System Programmer Response: Collect a DSNTRACE trace Explanation: A DISCONNECT command was issued when
stream and request a SYSABEND or SYSUDUMP dump. there was no active CONNECT.
Problem Determination: This is probably a call attachment This abend reason code is issued by the following CSECT:
facility error. DSNACA00
User Response: You can continue processing with a cor-
00C10005
rected request.
Explanation: The application program passed an ECB
Problem Determination: See the Explanation above.
address of 0 to the call attachment facility on a CONNECT call.
The trace message preceding the abend indicates whether the
ECB was a start-up or termination ECB. 00C10205
This abend reason code is issued by the following CSECT: Explanation: A TRANSLATE command was issued when the
DSNACA00 DB2 subsystem was not connected to the call attachment
facility (CAF).
User Response: Correct the application program that makes
the CONNECT call to DSNALI. Ensure that the CONNECT call This abend reason code is issued by the following CSECT:
uses a valid ECB address. DSNACA00
Problem Determination: See the Explanation above. User Response: You can continue processing with a cor-
rected request.
Problem Determination: See the Explanation above.
00C10206 00C10831
Explanation: One of the following conditions exists: Explanation: The call attachment facility (CAF) has detected
a release level incompatibility between itself and DB2. Either
The wrong number of parameters were issued.
the current CAF or DB2 release levels do not support coexist-
The end-of-list bit was off.
ence, or the SPE level of the lower level release does not
This abend reason code is issued by the following CSECT: meet the compatibility requirements for coexistence between
DSNACA00 the two releases.
User Response: You can continue processing with a cor- This reason code is issued by the following CSECT:
rected request. DSNACA70
Problem Determination: See the Explanation above. System Action: The connection is not successful.
User Response: If you used JCL or a TSO logon procedure
00C10207 to invoke CAF, check to insure the correct DB2 libraries are
Explanation: The application program passed an unrecog- defined in your JOBLIB and STEPLIB allocations. See your
nized function parameter to the call attachment facility (CAF). system programmer if you invoke CAF using procedures sup-
plied by your system programmer.
This abend reason code is issued by the following CSECT:
DSNACA00 Problem Determination: If CAF trace (DSNTRACE) is active,
message DSNA831E will indicate the release levels of CAF
User Response: You can continue processing with a cor- and the DB2 subsystem.
rected request.
Problem Determination: See the Explanation above. 00C12001
Explanation: The DB2 RRSAF attachment facility function
00C10208 AUTH SIGNON was invoked by a program that was not APF
Explanation: The call attachment facility (CAF) received authorized. This condition can indicate a security violation.
requests from the same TCB to CONNECT to the DB2 sub- System Action: The application is abended.
system and to another subsystem.
User Response: The AUTH SIGNON function can only be
This abend reason code is issued by the following CSECT: invoked from an APF authorized program. Either modify your
DSNACA00 program to use the RRSAF attachment facility function
User Response: You can continue processing with a cor- SIGNON which may be invoked from a non-authorized
rected request. program, or contact your security administrator to make the
changes required to make your program an APF authorized
Problem Determination: See the Explanation above. program.
Problem Determination: This is a user error.
00C10209
This abend reason code is issued by the following CSECT:
Explanation: The call attachment facility (CAF) received an
DSNARA00
explicit call to DSNALI from a DB2 stored procedure. This is
not allowed.
00C12002
This abend reason code is issued by the following CSECT:
DSNACA00 Explanation: An abend has occurred during an attempt to
access the caller-provided subsystem name parameter while
User Response: You can continue processing with a cor- executing in the PSW key of the caller. This is probably the
rected request. result of a logic error in the requesting program.
System Action: The application is abended.
00C10824
User Response: A dump should be taken for problem anal-
Explanation: The CAB is reset and a new connection may be
ysis.
made.
Problem Determination: This reason code is placed in reg-
This abend reason code is issued by the following CSECT:
ister 15 during any access to caller-provided information. When
DSNACA70
any abend occurs, this register indicates which parameter
User Response: You can continue processing. caused the error.
Problem Determination: See the Explanation associated This abend reason code is issued by the following CSECT:
with message DSNA824I. DSNARA00
Collect the following diagnostic items listed in Appendix B,
“Problem determination” on page 1051: 1, 5, 49.
00C12010 00C12013
Explanation: An abend has occurred during an attempt to Explanation: An abend has occurred during an attempt to
access the caller-provided accounting interval parameter while access the caller-provided ACEE parameter while executing in
executing in the PSW key of the caller. This is probably the the PSW key of the caller. This is probably the result of a logic
result of a logic error in the requesting program. error in the requesting program.
System Action: The application is abended. System Action: The application is abended.
User Response: A dump should be taken for problem anal- User Response: A dump should be taken for problem anal-
ysis. ysis.
Problem Determination: This reason code is placed in reg- Problem Determination: This reason code is placed in reg-
ister 15 during any access to caller-provided information. When ister 15 during any access to caller-provided information. When
any abend occurs, this register indicates which parameter any abend occurs, this register indicates which parameter
caused the error. caused the error.
This abend reason code is issued by the following CSECT: This abend reason code is issued by the following CSECT:
DSNARA00 DSNARA00
Collect the following diagnostic items listed in Appendix B, Collect the following diagnostic items listed in Appendix B,
“Problem determination” on page 1051: 1, 5, 49. “Problem determination” on page 1051: 1, 5, 49.
00C12011 00C12014
Explanation: An abend has occurred during an attempt to Explanation: An abend has occurred during an attempt to
access the caller-provided authid parameter while executing in access the caller-provided plan name parameter while exe-
the PSW key of the caller. This is probably the result of a logic cuting in the PSW key of the caller. This is probably the result
error in the requesting program. of a logic error in the requesting program.
System Action: The application is abended. System Action: The application is abended.
User Response: A dump should be taken for problem anal- User Response: A dump should be taken for problem anal-
ysis. ysis.
Problem Determination: This reason code is placed in reg- Problem Determination: This reason code is placed in reg-
ister 15 during any access to caller-provided information. When ister 15 during any access to caller-provided information. When
any abend occurs, this register indicates which parameter any abend occurs, this register indicates which parameter
caused the error. caused the error.
This abend reason code is issued by the following CSECT: This abend reason code is issued by the following CSECT:
DSNARA00 DSNARA00
Collect the following diagnostic items listed in Appendix B, Collect the following diagnostic items listed in Appendix B,
“Problem determination” on page 1051: 1, 5, 49. “Problem determination” on page 1051: 1, 5, 49.
00C12012 00C12015
Explanation: An abend has occurred during an attempt to Explanation: An abend has occurred during an attempt to
access the caller-provided secondary authid parameter while access the caller-provided collection parameter while executing
executing in the PSW key of the caller. This is probably the in the PSW key of the caller. This is probably the result of a
result of a logic error in the requesting program. logic error in the requesting program.
System Action: The application is abended. System Action: The application is abended.
User Response: A dump should be taken for problem anal- User Response: A dump should be taken for problem anal-
ysis. ysis.
Problem Determination: This reason code is placed in reg- Problem Determination: This reason code is placed in reg-
ister 15 during any access to caller-provided information. When ister 15 during any access to caller-provided information. When
any abend occurs, this register indicates which parameter any abend occurs, this register indicates which parameter
caused the error. caused the error.
This abend reason code is issued by the following CSECT: This abend reason code is issued by the following CSECT:
DSNARA00 DSNARA00
Collect the following diagnostic items listed in Appendix B, Collect the following diagnostic items listed in Appendix B,
“Problem determination” on page 1051: 1, 5, 49. “Problem determination” on page 1051: 1, 5, 49.
00C12016 # 00C12021
Explanation: An abend has occurred during an attempt to # Explanation: An abnormal termination has occurred during
access the caller-provided reuse parameter while executing in # an attempt to access the caller-provided xid parameter while
the PSW key of the caller. This is probably the result of a logic # executing in the PSW key of the caller. This is probably the
error in the requesting program. # result of a logic error in the requesting program.
System Action: The application is abended. # System Action: The application is abnormally terminated.
User Response: A dump should be taken for problem anal- # User Response: Correct the problem and submit your job
ysis. # again.
Problem Determination: This reason code is placed in reg- # Problem Determination: This reason code is placed in reg-
ister 15 during any access to caller-provided information. When # ister 15 during any access to caller-provided information. Reg-
any abend occurs, this register indicates which parameter # ister 15 indicates which parameter caused the error when any
caused the error. # abnormal termination occurs.
This abend reason code is issued by the following CSECT:
DSNARA00 00C12201
Collect the following diagnostic items listed in Appendix B, Explanation: The application program invoked IDENTIFY
“Problem determination” on page 1051: 1, 5, 49. while it was already connected to DB2.
User Response: You can continue processing with a cor-
00C12018 rected request.
Explanation: An abend has occurred during an attempt to Problem Determination: This reason code is issued by the
access the caller-provided user-id parameter while executing in following CSECT: DSNARA00
the PSW key of the caller. This is probably the result of a logic
error in the requesting program. 00C12202
System Action: The application is abended. Explanation: The application program invoked the CREATE
User Response: A dump should be taken for problem anal- THREAD function request while there was already a thread
ysis. created.
Problem Determination: This reason code is placed in reg- User Response: You can continue processing with a cor-
ister 15 during any access to caller-provided information. When rected request.
any abend occurs, this register indicates which parameter Problem Determination: This reason code is issued by the
caused the error. following CSECT: DSNARA00
00C12019 00C12203
Explanation: An abend has occurred during an attempt to Explanation: A TERMINATE THREAD command was issued
access the caller-provided applname parameter while exe- when there was no active thread.
cuting in the PSW key of the caller. This is probably the result
of a logic error in the requesting program. User Response: You can continue processing with a cor-
rected request.
System Action: The application is abended.
Problem Determination: This reason code is issued by the
User Response: A dump should be taken for problem anal- following CSECT: DSNARA00
ysis.
Problem Determination: This reason code is placed in reg- 00C12204
ister 15 during any access to caller-provided information. When
any abend occurs, this register indicates which parameter Explanation: The application issued a function request other
caused the error. than IDENTIFY when no connection with DB2 existed. Only
IDENTIFY may be issued when a connection does not exist.
User Response: A dump should be taken for problem anal- | Explanation: The task that invoked the DB2 RRSAF attach-
ysis. | ment facility function SWITCH TO has not yet identified to the
| DB2 subsystem specified in the request.
Problem Determination: This reason code is placed in reg-
ister 15 during any access to caller-provided information. When | System Action: The SWITCH TO function is performed.
any abend occurs, this register indicates which parameter | User Response: Use IDENTIFY to connect to a DB2 sub-
caused the error. | system before attempting to invoke any other function at the
| specified subsystem.
User Response: Modify or repair your application to pass a Problem Determination: This reason code is issued by the
valid function request to RRSAF. following CSECT: DSNARA00
System Action: The IDENTIFY request is rejected. Problem Determination: This reason code is issued by the
following CSECT: DSNARA00
User Response: You can continue processing with a cor-
rected request.
00C12218
Problem Determination: This reason code is issued by the
following CSECT: DSNARA00 Explanation: The application program issued an SQL or IFI
function request without completing SIGNON and CREATE
THREAD processing. SQL or IFI requests cannot be issued
00C12209 until SIGNON and CREATE THREAD processing is complete.
Explanation: The application program issued an IDENTIFY User Response: You can continue processing with a cor-
function request but omitted the eibptr parameter from the rected request.
parameter list. An eibptr parameter is a required parameter on
an IDENTIFY request. Problem Determination: This reason code is issued by the
following CSECT: DSNARA00
System Action: The IDENTIFY request is rejected.
User Response: You can continue processing with a cor- 00C12219
rected request.
Explanation: The application program issued an SQL or IFI
Problem Determination: This reason code is issued by the function request without completing CREATE THREAD proc-
following CSECT: DSNARA00 essing. SQL or IFI requests cannot be issued until CREATE
THREAD processing is complete.
00C12212 User Response: You can continue processing with a cor-
Explanation: The application program issued a CREATE rected request.
THREAD function request and did not specify a plan name and Problem Determination: This reason code is issued by the
also did not specify a collection name. If a plan name is not following CSECT: DSNARA00
provided, then a collection name must be supplied.
User Response: You can continue processing with a cor-
rected request.
Problem Determination: This reason code is issued by the
following CSECT: DSNARA00
00C12822 00C12825
Explanation: The RRSAF received an explicit call to DSNRLI Explanation: An attempt was made to terminate a stored pro-
from a DB2 stored procedure. This is not allowed. cedure for a task, but no stored procedure exists. This is not
allowed.
User Response: You can continue processing with a cor-
rected request. User Response: You can continue processing with a cor-
rected request.
Problem Determination: This reason code is issued by the
following CSECT: DSNARA00 Problem Determination: This reason code is issued by the
following CSECT: DSNARA00
00C12823
00C12831
Explanation: An attempt was made to initiate a stored proce-
dure for a task, but one already exists. This is not allowed. Explanation: The release of the RRSAF code is not compat-
ible with the earlier release of the DB2 program.
User Response: You can continue processing with a cor-
rected request. System Action: The connection is not made.
Problem Determination: This reason code is issued by the User Response: Ensure that the release of the RRSAF
following CSECT: DSNARA00 library is not later than the release of DB2 to which you are
attempting to connect.
00C12824 Problem Determination: This problem can be caused by
Explanation: The previous connection to DB2 has been ter- improper DB2 data set allocation in a LOGON procedure or
minated. Cleanup processing was performed and the RRSAF CLIST.
is now ready to process additional IDENTIFY requests. This reason code is issued by the following CSECT:
User Response: You can continue processing, and issue an DSNARA70
IDENTIFY request.
Problem Determination: This reason code is issued by the
following CSECT: DSNARA00
X'C2......' Codes
System Programmer Response: Use the DB2 DISPLAY DB
00C20021
CLAIMERS command to find the indoubt threads. If the
Explanation: A member of a DB2 data sharing group was threads have been left indoubt because DB2 or a transaction
unable to perform a global drain because a physical close manager was unable to automatically resolve the indoubts, you
failure occurred in a peer DB2 due to an exceptional state or can use the DB2 RECOVER INDOUBT command to resolve
CASTOUT process failure. DSNT501I is sent to the console to the indoubt thread and remove the indoubt claimer on the
report the condition. object (the DB2 RECOVER INDOUBT command should only
System Action: A 'resource not available' return code, be used when automatic resolution does not work).
reason code, and object name are sent back to the requesting If DSNB350I or DSNB351I messages were issued, then after
function. you resolve the indoubt threads, recover the GRECP objects
This returned reason code is issued by the following CSECT: as indicated in the "System Programmer Response" for
DSNB1LDA DSNB350I or DSNB351I.
00C20031 00C200A1
Explanation: An attempt to acquire a page latch in either Explanation: This is a DB2 internal error. The caller of the
shared mode or exclusive mode was rejected due to a time-out buffer manager (BM) is trying to release a page latch that is
on the agent's wait time. not currently held.
System Action: A 'resource not available' return code, This abend reason code is issued by the following CSECTs:
reason code, and object name are sent back to the requesting DSNB1REL DSNB1RWI DSNIB DSNICLAP
function. DSNICUMW DSNICUR DSNIDILS DSNIDLEO
DSNIFFRE DSNIFNP DSNIGLOK DSNILGBW
System Programmer Response: A diagnostic dump with DSNILREP DSNILSMG DSNIMSCU DSNIMS1W
reason code 00C2010F should follow 00C20031. DSNIOSL2 DSNIOW DSNIPOCI DSNIRELS
DSNIRELU DSNIREPR DSNIRFNX DSNISEGD
This reason code is issued by the following CSECTs: DSNISEGF DSNISFS DSNISFXL DSNISGAU
DSNISGFO DSNISGNS DSNISGRT DSNISGSU
DSNB1LTX, DSNB1LTS DSNISMFO DSNISMRT DSNISMSU DSNIUPPR
DSNIUSME DSNI1OP
00C20069 .
System Action: The requesting application process is
Explanation: DB2 is unable to perform the drain function on abended.
an object (a table space, an index space, or a partition)
because a DB2 member in the data sharing group was in the Operator Response: Notify the system programmer, print the
process of restarting. SYS1.LOGREC, and request the SVC dump.
System Action: If the problem was encountered by DB2 System Programmer Response: Refer to Section 3 of DB2
when trying to automatically recover a group buffer pool Diagnosis Guide and Reference for information on identifying
recovery pending (GRECP) object following the failure of a and reporting the problem.
group buffer pool (GBP), then DB2 issues message DSNB350I Problem Determination: Collect the following diagnostic
or DSNB351I to the console with this reason code indicating items listed in Appendix B, “Problem determination” on
that the object cannot be automatically recovered. page 1051: 1, 2, 5.
Otherwise, a 'resource not available' return code, reason
code and object name are sent back to the requesting function. 00C200A2
DSNT501I is sent to the console to report the condition.
Explanation: This is a DB2 internal error. The caller of the
System Programmer Response: If DSNB350I or DSNB351I buffer manager (BM) is trying to get a page latch that is cur-
messages were issued, wait for the failed DB2 member to rently held on the requesting page.
complete its restart processing and then recover the GRECP
This abend reason code is issued by the following CSECTs:
objects as indicated in the "System Programmer Response" for
DSNB350I or DSNB351I. DSNB1GET DSNB1SWS DSNB1GNV DSNBLTCH
DSNIB DSNICLAP DSNICUMW DSNICUR
DSNIDEFR DSNIFFRE DSNIFNP DSNIGLOK
00C2006A DSNILSMG DSNILSMU DSNIMS1W DSNIRELS
DSNIRELU DSNIREPR DSNIRFNX DSNIRNXT
Explanation: DB2 was unable to perform the drain function DSNISEGF DSNISFS DSNISFXL DSNISGAU
on an object (table space, index space, or partition) because DSNISGFO DSNISGNS DSNISGRT DSNISMRT
DSNIUSME DSNI1OP
the object was held by one or more indoubt threads.
System Action: If the problem was encountered by DB2 System Action: The requesting application process is
when trying to automatically recover a group buffer pool abended.
recovery pending (GRECP) object following the failure of a
Operator Response: Notify the system programmer, print the
group buffer pool (GBP), then DB2 issues message DSNB350I
SYS1.LOGREC, and request the SVC dump.
or DSNB351I to the console with this reason code indicating
that the object cannot be automatically recovered. System Programmer Response: Refer to Section 3 of DB2
Diagnosis Guide and Reference for information on identifying
and reporting the problem.
DSNB1CMS DSNB5COM DSNB5RAP System Action: The execution unit driving this function pro-
ceeds normally. The abend status is recorded in
System Action: The affected asynchronous function is termi- SYS1.LOGREC.
nated. If the affected function is the deferred write processor
(DSNB1CMS), DB2 is abended with the abend code Operator Response: Notify the system programmer and print
'00C200D3'. the SYS1.LOGREC.
Operator Response: Notify the system programmer, print the System Programmer Response: If you suspect an error in
SYS1.LOGREC, and request the SVC dump. Start DB2 if it is DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
abended. for information on identifying and reporting the problem.
Restart DB2.
System Programmer Response: Refer to Section 3 of DB2
Diagnosis Guide and Reference for information on identifying Problem Determination: The unexpected reason code
and reporting the problem. returned by the drain functionin register 8 might help determine
the cause of the problem. If the problem is caused by an una-
Problem Determination: Collect the following diagnostic vailable DB2 resource, message DSNT500I might also be
items listed in Appendix B, “Problem determination” on issued.
page 1051: 1, 2, 5.
Collect the following diagnostic items listed in Appendix B,
“Problem determination” on page 1051: 1, 5.
00C200A4
Explanation: This code usually indicates a problem internal 00C200A6
to DB2; however, the problem can result from errors in other
products. An unexpected reason code was returned by the Explanation: This is a DB2/MVS internal error. The execution
media manager function when it was invoked to process a unit scheduled by the buffer manager (BM) subcomponent of
database I/O request. DB2 to drive the page set cleanup function has been canceled.
System Action: The requesting execution unit is abended. This abend reason code is issued by the following CSECT:
DSNB1CFC
User Response: Notify the system programmer and rerun the
application. System Action: DB2 is abended.
Operator Response: Notify the system programmer, print the Operator Response: Notify the system programmer, print the
SYS1.LOGREC, and request the SVC dump. SYS1.LOGREC, and request the SVC dump. Restart DB2.
Problem Determination: If you suspect an error in DB2, refer System Programmer Response: Refer to Section 3 of DB2
to Section 3 of DB2 Diagnosis Guide and Reference for infor- Diagnosis Guide and Reference for information on identifying
mation on identifying and reporting the problem. and reporting the problem.
The unexpected media manager reason code is saved in reg- Problem Determination: Refer to similar reason code
ister 8. '00E50013'.
Check the MVS console log for an IOS error message indi- Collect the following diagnostic items listed in Appendix B,
cating the type of I/O error that occurred. If an IOS message “Problem determination” on page 1051: 1, 2, 5.
was issued, follow the problem determination directions for that
message. 00C200A8
Collect the following diagnostic items listed in Appendix B, Explanation: An error code other than timeout, insufficient
“Problem determination” on page 1051: 1, 2, 5, 10, 12. storage, or an MVS system error was returned by the IRLM
LOCK request invoked by DB2 to acquire any of the following
This abend reason code is issued by the following CSECTs:
locks:
DSNB5COM DSNB5FOR DSNB5RAP DSNB5RDP
DSNB5PCO
SYSLGRNG or SYSLGRNXrecording lock on a table space
Group buffer pool-dependent conversion lock on a page
set or partition
Group buffer pool start or stop lock
ALTER BUFFERPOOL lock
This is a DB2 or IRLM internal error.
System Action: The requesting execution unit abends.
00C200AA 00C200AE
Explanation: This is a DB2 internal error. The caller of the Explanation: This is a DB2 internal error. The caller of the
buffer manager (BM) is trying to change a page latch type, but buffer manager (BM) is trying to get a page latch on a page for
the requesting agent already holds this latch type on this page. which there are latch waiters, but no latch holders.
This abend reason code is issued by the following CSECT: This abend reason code is issued by the following CSECTs:
DSNBCLTH DSNB1LTS DSNB1LTX
System Action: The requesting application process is System Action: The requesting application process is
abended. abended.
Operator Response: Notify the system programmer, print the Operator Response: Notify the system programmer, print the
SYS1.LOGREC, and request the SVC dump. SYS1.LOGREC, and request the SVC dump.
System Programmer Response: Refer to Section 3 of DB2 System Programmer Response: Refer to Section 3 of DB2
Diagnosis Guide and Reference for information on identifying Diagnosis Guide and Reference for information on identifying
and reporting the problem. and reporting the problem.
Problem Determination: Collect the following diagnostic Problem Determination: Collect the following diagnostic
items listed in Appendix B, “Problem determination” on items listed in Appendix B, “Problem determination” on
page 1051: 1, 2, 5. page 1051: 1, 2, 5.
00C200B4
00C200B1
Explanation: This is a DB2 internal error. The buffer
Explanation: This is a DB2 internal error. Either the buffer
manager (BM) subcomponent of DB2 is unable to open a page
manager (BM) subcomponent of DB2 is unable to locate the
set required by the requesting function. The highest page set
requesting page in the buffer pool or the invoker of the buffer
piece number passed by the buffer manager invoker exceeds
manager is attempting to decrease the buffer use count which
the maximum value allowed. The maximum number of data
is already 0.
sets that can be defined for a given page set is dependent on
This abend reason code is issued by the following CSECTs: the page set piece size. This error was detected during open
page set processing.
DSNB1REL DSNB1RWI DSNB1SWS
This abend reason code is issued by the following CSECT:
System Action: The requesting execution unit is abended. DSNB1OPS
System Action: The requesting execution unit is abended.
00C200BB 00C200BE
Explanation: This is a DB2 internal error to indicate that an Explanation: This is a DB2 internal error. The buffer
invalid buffer pool ID is specified. manager (BM) is trying to dequeue a page latch waiter from
the wait queue, but there are no waiters.
This abend reason code is issued by the following CSECT:
DSNBRBPA This abend reason code is issued by the following CSECTs:
DSNB1CLT DSNB1ULT
System Action: The requesting application process is
abended. System Action: The requesting application process is
abended.
Operator Response: Notify the system programmer, print the
SYS1.LOGREC, and request the SVC dump. Operator Response: Notify the system programmer, print the
SYS1.LOGREC, and request the SVC dump.
System Programmer Response: Refer to Section 3 of DB2
Diagnosis Guide and Reference for information on identifying System Programmer Response: Refer to Section 3 of DB2
and reporting the problem. Diagnosis Guide and Reference for information on identifying
and reporting the problem.
Problem Determination: Collect the following diagnostic
items listed in Appendix B, “Problem determination” on Problem Determination: Collect the following diagnostic
page 1051: 1, 2, 5. items listed in Appendix B, “Problem determination” on
page 1051: 1, 2, 5.
00C200BC
00C200C0
Explanation: This is a DB2 internal error. The Buffer
Manager (BM) subcomponent of DB2 has discovered that the Explanation: DB2 is unable to perform I/O processing for the
BM invoker is attempting to release the page which does not requesting function. An error code (other than a permanent I/O
belong to the work file database. error) was returned by the media manager during the I/O
backend processing.
This abend reason code is issued by the following CSECT:
DSNB1REL System Action: The requesting execution unit is abended.
System Action: The requesting execution unit is abnormally Operator Response: Notify the system programmer, print the
terminated. SYS1.LOGREC, and request the SVC dump.
Operator Response: Notify the system programmer, and System Programmer Response: If you suspect an error in
print the SYS1.LOGREC and the SVC dump. DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
for information on identifying and reporting the problem.
System Programmer Response: Refer to Section 3 of DB2
Diagnosis Guide and Reference for information on identifying Problem Determination: The unexpected media manager
and reporting the problem. reason code is saved in register 8. It might help determine the
cause of the failure.
Problem Determination: Collect the following diagnostic
items listed in Appendix B, “Problem determination” on Check the MVS console log for an IOS error message indi-
page 1051: 1, 5. cating the type of I/O error that occurred. If an IOS message
was issued, follow the problem determination directions for that
00C200BD message.
Explanation: This is a DB2 internal error. The caller of the Collect the following diagnostic items listed in Appendix B,
buffer manager (BM) is still holding a page latch on the page “Problem determination” on page 1051: 1, 2, 5, 10, 12.
which is currently being released by the application. This abend reason code is issued by the following CSECTs:
This abend reason code is issued by the following CSECT: DSNB5COM DSNB5FOR DSNB5RAP DSNB5PCO
DSNB1REL DSNB5RDP
TOD clock values are out of synch between systems in a Problem Determination: Collect the following diagnostic
Parallel Sysplex. items listed in Appendix B, “Problem determination” on
page 1051: 1, 2, 5, 13, 19, 33.
System Action: The requesting execution unit is abended. If
DSNB1SWS issues the ABEND, then it is preceded by a
DSNT500I message indicating which page is in error and a 00C200C3
DSNI004I message indicating the page set is put in STOPE Explanation: This is a DB2 internal error. The buffer
mode. manager (BM) subcomponent of DB2 discovered that the BM
Operator Response: Notify the system programmer, print the invoker is attempting to set the page’s write intent count (WIC),
SYS1.LOGREC, and request the SVC dump. but the invoker has no read intent request outstanding.
User Response: One of the following: This abend reason code is issued by the following CSECT:
DSNB1SWS
If the data set was copied from another DB2 subsystem,
run DSN1COPY with the RESET option to set the log System Action: The BM does not increase the page’s WIC
RBAs in each page to 0. as requested, and the execution unit driving this function is
abended. An SVC dump is requested and the abend status is
If a table space was created with the wrong VCAT catalog
recorded in the SYS1.LOGREC.
name, drop the object and create it again.
Operator Response: Notify the system programmer, print the
If DB2 was conditionally started with an invalid RBA range,
SYS1.LOGREC, and request the SVC dump.
correct the RBA range and restart DB2 with conditions
again. System Programmer Response: Refer to Section 3 of DB2
Diagnosis Guide and Reference for information on identifying
If the page was damaged by the REPAIR utility, restore it
and reporting the problem.
with the RECOVER utility using the PAGE option.
Problem Determination: Collect the following diagnostic
If you are running data sharing, check the connectivity of
items listed in Appendix B, “Problem determination” on
the systems to the sysplex timers. The TOD clock values
page 1051: 1, 2, 5, 19, 33.
of all systems in the sysplex should all be within one
microsecond. TOD clock values will not drift more than one
microsecond apart unless a sysplex timer is malfunc- 00C200C5
tioning. Explanation: This is a DB2 internal error. The buffer
Otherwise, inform your system programmer that you manager (BM) subcomponent of DB2 discovered that its
suspect an error. invoker was attempting to decrease the write dependency
count (WDC) for a buffer. However, the buffer contains data-
Problem Determination: If you suspect an error in DB2, refer base updates that have not yet been written back to DASD.
to Section 3 of DB2 Diagnosis Guide and Reference for infor- The buffer manager makes the buffer available for reassign-
mation on identifying and reporting the problem. ment.
The following general purpose registers (GPRs) contain the This abend reason code is issued by the following CSECTs:
indicated diagnostic information: DSNB1REL DSNB1RWI
GPR Content System Action: The buffer manager does not decrease the
7 Address of the page buffer WDC as requested, and the execution unit driving this function
8 Address of the page set block (PB) proceeds normally. An SVC dump is requested and the abend
Collect the following diagnostic items listed in Appendix B, status is recorded in SYS1.LOGREC.
“Problem determination” on page 1051: 1, 2, 5, 13, 33. Operator Response: Notify the system programmer, print the
This abend reason code is issued by the following CSECT: SYS1.LOGREC, and request the SVC dump.
DSNB1SWS. System Programmer Response: Refer to Section 3 of DB2
Diagnosis Guide and Reference for information on identifying
00C200C2 and reporting the problem.
Explanation: This is a DB2 internal error. The buffer Problem Determination: Collect the following diagnostic
manager (BM) subcomponent of DB2 has discovered that the items listed in Appendix B, “Problem determination” on
BM invoker is attempting to decrease the page’s write intent page 1051: 1, 2, 5, 13, 19, 33.
count (WIC), but the invoker has no write intent request out-
standing. 00C200C6
This abend reason code is issued by the following CSECT: Explanation: This is a DB2 internal error. The buffer
DSNB1RWI manager (BM) subcomponent of DB2 has discovered that the
System Action: The BM does not decrease the page’s WIC BM invoker is attempting to release a page that was not held
as requested, and the execution unit driving this function is by the invoker or the page has an unbalanced write intent (for
abended. An SVC dump is requested and the abend status is example, reset write intent has not yet been issued prior to
recorded in the SYS1.LOGREC. releasing the page).
Operator Response: Notify the system programmer, print the This abend reason code is issued by the following CSECTs:
SYS1.LOGREC, and request the SVC dump. DSNB1REL DSNB1RWI
System Programmer Response: Refer to Section 3 of DB2 System Action: The BM does not release the page as
Diagnosis Guide and Reference for information on identifying requested, and the execution unit driving this function termi-
and reporting the problem.
00C200CD 00C200D1
Explanation: This usually indicates a problem internal to Explanation: The buffer manager (BM) subcomponent of
DB2. However, the problem can result from errors in other pro- DB2 is unable to perform I/O processing for the requesting
ducts. An unexpected reason code was returned by the Asyn- function. A prior abend has occurred in the buffer manager I/O
chronous Data Mover Facility when it was called to move a set termination exit routine. An attempt to retry and to continue
of pages between the virtual buffer pool and the hiperpool. main line processing (after completion of processing of this
prior abend) resulted in recursion to the I/O termination exit
This abend reason code is issued by the following CSECT:
routine’s functional recovery routine (FRR).
DSNB1GHP
This abend reason code is issued by the following CSECT:
System Action: The page-move operation is terminated. An
DSNB5UTX
SVC dump is requested and the abend status is recorded in
SYS1.LOGREC. System Action: DB2 is abended.
Operator Response: Notify the system programmer, print the Operator Response: Notify the system programmer, print the
SYS1.LOGREC, and request the SVC dump. SYS1.LOGREC, and request the SVC dump. Restart DB2.
System Programmer Response: If you suspect an error in Problem Determination: The FRR parameter list was
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference recorded in the SDWA variable recording area (VRA) when the
for information on identifying and reporting the problem. original abend occurred. Examine the VRA to determine
whether the media manager request block (MMRB) is properly
Problem Determination: The unexpected Asynchronous
passed by the media manager.
Data Mover Facility reason code is saved in register 8. It might
help determine the cause of the error. If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
nosis Guide and Reference for information on identifying and
Collect the following diagnostic items listed in Appendix B,
reporting the problem.
“Problem determination” on page 1051: 1, 2, 5.
Collect the following diagnostic items listed in Appendix B,
00C200CF “Problem determination” on page 1051: 1, 2, 5.
This abend reason code is issued by the following CSECT: System Programmer Response: If you suspect an error in
DSNB5UTX DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
for information on identifying and reporting the problem.
System Action: DB2 is abended.
Problem Determination: See the Problem Determination
Operator Response: Notify the system programmer, print the section of the original abend code.
SYS1.LOGREC, and request the SVC dump. Restart DB2. If
you suspect an error in DB2, refer to Section 3 of DB2 Diag- Collect the following diagnostic items listed in Appendix B,
nosis Guide and Reference for information on identifying and “Problem determination” on page 1051: 1, 2, 5.
reporting the problem.
00C200D8
Problem Determination: The functional recovery routine
(FRR) parameter list was recorded in the SDWA variable Explanation: This is a DB2 internal error. The buffer
recording area (VRA) when the original abend occurred. manager (BM) subcomponent of DB2 discovered that some
Examine the VRA to determine whether the media manager buffer manager resources are inconsistent.
request block (MMRB) is properly passed by the media
This abend reason code is issued by the following CSECTs:
manager. If you suspect an error in DB2, refer to Section 3 of
DSNB5COM DSNB1CMS
DB2 Diagnosis Guide and Reference for information on identi-
fying and reporting the problem. System Action: DB2 is abended.
Collect the following diagnostic items listed in Appendix B, Operator Response: Notify the system programmer, print the
“Problem determination” on page 1051: 1, 2, 5. SYS1.LOGREC, and request the SVC dump. Restart DB2.
System Programmer Response: Refer to Section 3 of DB2
Diagnosis Guide and Reference for information on identifying
and reporting the problem.
Problem Determination: Collect the following diagnostic
items listed in Appendix B, “Problem determination” on
page 1051: 1, 2, 5.
Explanation: A buffer could not be assigned in the virtual System Action: A 'resource not available' return code,
buffer pool (indicated in the SQLCA) because all buffers in the reason code, and object name are sent back to the requesting
virtual buffer pool are in a nondisplaceable state. (Buffers are function.
in a nondisplaceable state when they contain actively refer- System Programmer Response: Use the DISPLAY DATA-
enced pages or updated pages for which writes are pending.) BASE command with the LOCKS option to display the member
Message DSNB601I was issued to inform the operator of the names owning the retained locks. You must restart those sub-
error. This reason code and the buffer pool ID are recorded in systems to remove the 'resource unavailable' condition.
the cursor table (CT) and made available to the user in the Problem Determination: This reason code is issued by the
SQLCA or in messages. following CSECT: DSNB1DRA
This abend reason code is issued by the following CSECTs:
DSNB1GWB DSNIBMOC DSNIWKFD 00C200EC
System Action: An SQLCODE -904 (resource not available) Explanation: A member of a DB2 data sharing group was
is returned to the user. The SVC dump and the unable to perform a global drain request on an object (a table
SYS1.LOGREC recording are not requested. space, an index space, or a partition). One or more peer DB2s
in the group failed to drain the object because some error
Operator Response: Notify the system programmer.
occurred. Both the DB2 running the request and the peer DB2
System Programmer Response: Reduce concurrent activity send DB2 message DSNT500I to the console to report the
by reducing the number of DB2 threads, or, if necessary, problem.
increase the size of the failing virtual buffer pool by using the
System Action: A 'resource not available' return code,
ALTER BUFFERPOOL command.
reason code and object name are sent back to the requesting
function.
Operator Response: Notify the system programmer.
System Programmer Response: Retrieve the DSNT501I
messages from the console and analyze the corresponding
reason and error codes.
Problem Determination: This reason code is issued by the negotiation on this member, receives a resource not available
following CSECT: DSNB1DRA code of 00C20252, and its P-lock request is denied.
Problem Determination: If you suspect an error in DB2, refer
00C200ED to Section 3 of DB2 Diagnosis Guide and Reference for infor-
Explanation: DB2, in a data sharing environment, detected mation on identifying and reporting the problem.
that the requested use of a type 1 index with a SUBPAGES This abend reason code is issued by the following CSECT:
value greater than 1 would have caused the index to become DSNB5SCM
group buffer pool dependent. DB2 does not allow type 1
indexes with a SUBPAGES value greater than 1 to become
00C200F1
group buffer pool dependent.
Explanation: The buffer manager (BM) subcomponent of
System Action: The use of the index is not allowed.
DB2 is unable to unallocate a DB2 data set. An error was
User Response: If the index is to be used in group buffer returned by the dynamic unallocation function that was invoked
pool dependent mode, then either the index should be con- to unallocate a data set. This reason code and the data set
verted to a type 2 index or it should be converted to a type 1 name are recorded in the cursor table (CT) and made available
index with SUBPAGES 1. to the user in the SQLCA or in messages.
This abend reason code is issued by the following CSECT:
| 00C200EE DSNB1CST
| Explanation: A VPTYPE(DATASPACE) buffer could not be System Action: A 'resource not available' code is returned
| accessed for a virtual buffer pool (indicated in the SQLCA) to the user. The SVC dump and the SYS1.LOGREC recording
| because DB2 did not have sufficient internal ssnmDBM1 are requested.
| address space working storage to access the buffer.
Operator Response: Notify the system programmer.
| System Action: An SQLCODE -904 (resource not available)
System Programmer Response: If you suspect an error in
| is returned to the user. The SVC dump and the
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
| SYS1.LOGREC recording are requested. This reason code
for information on identifying and reporting the problem.
| and the buffer pool ID are made available to the user in the
| SQLCA. Problem Determination: The unexpected dynamic unallo-
cation reason code is saved in register 8. It may help deter-
| User Response: Notify the system programmer.
mine the cause of the failure. Refer to the appropriate MVS
| System Programmer Response: Refer to Section 3 of DB2 publication for an explanation of the error code.
| Diagnosis Guide and Referencefor information on identifying
Collect the following diagnostic items listed in Appendix B,
| and reporting the problem.
“Problem determination” on page 1051: 1, 2, 5, 10, 12.
| Reduce concurrent activity by reducing the number of DB2
| threads, or, if other VPTYPE(PRIMARY) virtual buffer pools
00C200F2
| exist, convert these to VPTYPE(DATASPACE) to free up
| somessnmDBM1 address space storage. Explanation: The buffer manager (BM) subcomponent of
DB2 is unable to close a DB2 data set. An error was returned
| Problem Determination: refer to Section 3 of DB2 Diagnosis
by the media manager DISCONNECT function that was
| Guide and Referencefor information on identifying and
invoked to close a data set. This reason code and the data set
| reporting the problem.
name are recorded in the cursor table (CT) and in the SQLCA
or in messages.
# 00C200EF
This abend reason code is issued by the following CSECT:
# Explanation: DB2 is unable to open a necessary data set. DSNB1CST
# The data set attributes stored in the DB2 catalog are not sup-
System Action: A 'resource not available' code is returned
# ported by the version of DFSMS that is currently running.
to the user. The SVC dump and the SYS1.LOGREC recording
# This reason code and the data set name are recorded in the are requested.
# SQLCA or in messages.
Operator Response: Notify the system programmer.
# System Action: A 'resource not available' code is returned
System Programmer Response: If you suspect an error in
# to the user.
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
# System Programmer Response: This data set cannot be for information on identifying and reporting the problem.
# opened unless this DB2 is running with DFSMS Version 1
Problem Determination: The unexpected media manager
# Release 5 or a subsequent release. The data set must also be
disconnect reason code is saved in register 8 and may help
# associated with an extended addressability data class.
determine the cause of the failure. Locate the corresponding
IEC161I message in the operator console sheet, and refer to
00C200F0 the appropriate MVS publication for assistance in determining
Explanation: DB2 encountered an error on an IXLCACHE the cause of the error.
request while trying to write a page to the group buffer pool Collect the following diagnostic items listed in Appendix B,
during physical lock (P-lock) negotiation. “Problem determination” on page 1051: 1, 2, 5, 10, 12.
System Action: The requesting execution unit abends. The
error is recorded to SYS1.LOGREC, but the dump is sup-
pressed and the abend is retried in the functional recovery.
Another group member, requesting the P-lock that caused the
User Response: After the data set has been restored, rerun
00C200F3
the application program, transaction, or query. If necessary,
Explanation: DB2 is unable to obtain one of the following contact the operator to find out the status of the migrated data
locks: set.
SYSLGRNG or SYSLGRNXrecording lock on a table space
00C200F7
Group buffer pool dependent conversion lock on a page
set or partition Explanation: The page found in the buffer is not the page
requested by the buffer manager. The buffer manager
Group buffer pool start or stop lock
detected the error by comparing the page number of the page
ALTER BUFFERPOOL lock returned with the requested page number. This error may be
caused by one of the following:
The IRLM LOCK request detected a timeout error.
Either the VTOC or VVDS is damaged, causing multiple
System Action: A 'resource not available' code is returned
data sets to occupy the same extents on DASD.
to the user. This reason code and the data set name are
The page was altered incorrectly by a non-DB2 facility or a
recorded in the cursor table (CT) and are available to the user
DB2 service aid.
in the SQLCA or in messages.
An internal DB2 error damaged the page. The recovery log
User Response: Resubmit the failing application. will be required for problem determination.
Problem Determination: This abend reason code is issued This abend reason code is issued by the following CSECT:
by the following CSECTs: DSNB1SCR, DSNB1DLK. DSNB1GET
System Action: The requesting execution unit is abended.
00C200F4
Operator Response: Notify the system programmer, print the
Explanation: DB2 is unable to obtain one of the following SYS1.LOGREC, and request the SVC dump.
locks:
System Programmer Response: If you suspect an error in
SYSLGRNG or SYSLGRNXrecording lock on a table space DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
Group buffer pool dependent conversion lock on a page for information on identifying and reporting the problem.
set or partition Problem Determination: The following general purpose reg-
Group buffer pool start or stop lock isters (GPRs) contain the indicated diagnostic information:
This reason code and the data set name are recorded in the If the I/O is a write operation, or if the I/O is a read operation
cursor table (CT) and made available to the user in the SQLCA performed during restart or rollback, then the error page range
or in messages. The data set name and the reason code indi- of the data set is updated. A DSNU086E message is issued
cated are the last migrated data set requested. Other migrated indicating the data set name and its corresponding I/O error
data sets within the table space may exist. For each one that page range, unless it has already been issued 10 times for the
exists, a DSNT500I message containing the data set name data set.
and reason code has been sent to the console. User Response: Notify the system programmer. Invoke the
This abend reason code is issued by the following CSECT: application after the system programmer has corrected the
DSNB1RST error.
System Action: A 'resource not available' code is returned Operator Response: Use the -DISPLAY DB command to
to the user. A DSNT500I message is sent to the console. obtain the error page range. Notify the system programmer.
System Programmer Response: The error page range can
be located from the console sheet or with the -DISPLAY DB
command. Correct the error pages with the recovery utility, and User Response: Resubmit the failing application.
notify the user to invoke the application again. If you suspect
an error in DB2, refer to Section 3 of DB2 Diagnosis Guide 00C200FC
and Reference for information on identifying and reporting the
problem. Explanation: The buffer manager (BM) subcomponent of
DB2 is unable to obtain an open lock to perform a physical
Problem Determination: Collect the following diagnostic open or close of a page set. A system error was detected by
items listed in Appendix B, “Problem determination” on the IRLM LOCK request. The reason code and the database
page 1051: 1, 10, 12. and page set names are recorded in the cursor table (CT).
Check the MVS console log for an IOS error message indi- They are made available to the user in the SQLCA or in mes-
cating the type of I/O error that occurred. If an IOS message sages.
was issued, follow the problem determination directions for that This abend reason code is issued by the following CSECT:
message. DSNB1LCK
System Action: A 'resource not available' code is returned
00C200F9
to the user.
Explanation: DB2 is unable to open a data set that the
User Response: Resubmit the failing application.
requesting function must access. The data set was migrated by
HSM and must be recalled before being accessed. DB2's
attempt to initiate a recall of the migrated data set was unsuc- 00C200FD
cessful. Explanation: The buffer manager is unable to perform the I/O
This reason code and the data set name are recorded in the operation on a data set due to an error on page's parity flag
cursor table (CT) and made available to the user in the SQLCA detected by the buffer manager's I/O function.
or in messages. The data set name and the reason code indi- This abend reason code is issued by the following CSECT:
cated are the last requested migrated data set. Other migrated DSNB1GET
data sets might exist. For each existing data set, message
DSNT500I containing the data set name and reason code was System Action: A 'resource not available' return code is
sent to the console. returned to the user. The related reason code 00C200FD, the
page number, the page set name, and the data base name in
System Action: A 'resource not available' code is returned question are recorded in the cursor table (CT) and made avail-
to the user. A DSNT500I message is sent to the console. able to the user in the SQLCA.
User Response: Issue the HSM command (HRECALL) to Operator Response: Notify the system programmer.
restore the migrated data set. Rerun your application program,
transaction, or query after the data set is restored. System Programmer Response: The error page can be
found via SQLCA. Correct the error pages with the recovery
Problem Determination: This abend reason code is issued utility, and notify the user to invoke the application again.
by the following CSECT: DSNB1OST
If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
nosis Guide and Reference for failure for information on identi-
00C200FA fying and reporting the problem.
Explanation: The buffer manager (BM) subcomponent of Problem Determination: Collect the following diagnostic
DB2 is unable to obtain an open lock to perform a physical items listed in Appendix B, “Problem determination” on
open or close of a page set. A timeout error was detected by page 1051: 1, 10, 12.
the IRLM LOCK request. The reason code and the database
and page set names are recorded in the cursor table (CT).
They are made available to the user in the SQLCA or in mes- 00C200FE
sages. Explanation: DB2 is unable to open a data set that the
This abend reason code is issued by the following CSECT: requesting function must access. The data set was migrated by
DSNB1LCK DFHSM and must be recalled before being accessed. Since
the RECALL(no) option was selected by the installation, recall
System Action: A 'resource not available' code is returned for the migrated data set was not initiated.
to the user.
This reason code and the data set name are recorded in the
User Response: Resubmit the failing application. cursor table (CT) and made available to the user in the SQLCA
or in messages. The data set name and the reason code indi-
00C200FB cated are the last migrated data set requested. Other migrated
data sets within the table space might exist. For each existing
Explanation: The buffer manager (BM) subcomponent of
data set, message DSNT500I containing the data set name
DB2 is unable to obtain an open lock to perform a physical
and reason code has been sent to the console.
open or close of a page set. An out-of-storage condition was
detected by the IRLM LOCK request. The reason code and the System Action: A 'resource not available' code is returned
database and page set names are recorded in the cursor table to the user. A DSNT500I message is sent to the console.
(CT). They are available to the user in the SQLCA or in mes- User Response: Notify the system programmer. After the
sages. data set is restored, rerun the application program, transaction,
This abend reason code is issued by the following CSECT: or query.
DSNB1LCK System Programmer Response: Issue the DFHSM
System Action: A 'resource not available' code is returned command (HRECALL) to restore the migrated data set.
to the user.
Problem Determination: This abend reason code is issued Problem Determination: Collect the following diagnostic
by the following CSECT: DSNB1OST items listed in Appendix B, “Problem determination” on
page 1051: 1.
00C200FF
00C20102
Explanation: An attempted open of a page set failed
because DB2 has reached the MVS limit on concurrent open Explanation: A read-only system attempted to access an
data sets. inconsistent data set. This reason code and the data set name
are made available to the user in the SQLCA or in messages.
This reason code is issued by the following CSECT:
DSNB1OST This reason code is issued by the following CSECT:
DSNB1OPP
System Action: A 'resource not available' (SQLCODE -904)
is returned to the user and the requested open is not per- System Action: A “resource not available” code is returned
formed. This reason code and the data set name are recorded to the user.
in the cursor table (CT) and made available to the user in the
User Response: Notify the system programmer.
SQLCA. A DSNB207I message is displayed on the operator
console. The SVC dump and the SYS1.LOGREC recording are System Programmer Response: On the system in which the
not requested. database is defined as ROSHARE OWNER, perform the fol-
lowing tasks:
Operator Response: Notify the system programmer.
Use the -DISPLAY DATABASE command to insure there is
System Programmer Response: Reduce the number of
no exceptional state for this table space or index.
page sets that must be kept open by DB2 by limiting the
amount of concurrent activity. Issue the -STOP DATABASE command with the
SPACENAM parameter to stop this table space or index.
Problem Determination: Collect the following diagnostic item
from Appendix B, “Problem determination” on page 1051: 1. Problem Determination: Collect the following diagnostic
items listed in Appendix B, “Problem determination” on
page 1051: 1.
00C20101
Explanation: The sharing attribute is inconsistent between
00C20103
the header page of a data set and the DBD. This reason code
and the data set name are made available to the user in the Explanation: DB2 is unable to access a data set because its
SQLCA or in messages. system page is inaccessible. This reason code and the data
set name are available to the user in the SQLCA or in mes-
This reason code is issued by the following CSECT:
sages.
DSNB1OPP
This reason code is issued by the following CSECT:
System Action: A “resource not available” code is returned
DSNB1OPP
to the user.
System Action: A "resource not available" code is returned
User Response: Notify the system programmer.
to the user.
System Programmer Response: First determine whether the
User Response: Notify the system programmer.
database is shared, and whether it is owned by this system.
This can be achieved by issuing a SELECT on the System Programmer Response: Determine why the system
SYSIBM.SYSDATABASE catalog table, where the database page is inaccessible by examining any error messages that
name is the database you are checking, and by examining the appeared on the console at the time of the error, or by issuing
ROSHARE column. a -DISPLAY DATABASE command. Take the appropriate
action to correct the situation.
If the DB2 catalog indicates that it is a ROSHARE OWNER
database, the problem can be corrected by the REPAIR utility Problem Determination: Collect the following diagnostic
or the -STOP DATABASE command. The -STOP DATABASE items listed in Appendix B, “Problem determination” on
command will reformat the header page and make it consistent page 1051: 1.
with the DBD.
If the database is ROSHARE READ on this system, then 00C20104
check the definition of the database on the owning system. If, Explanation: DB2 is unable to access a shared data set
on the owning system, the database is no longer defined as because it was down leveled by a DSN1COPY job, or a
ROSHARE OWNER, then the table space or index should be REPAIR utility with REPLACE RESET specified. This reason
dropped on the system on which the error was detected, since code and the data set name are made available to the user in
the database has been altered to nonshared by the owning the SQLCA or in messages.
system. However, if the database is defined as ROSHARE
OWNER on the owning system, then issue a -STOP DATA- This reason code is issued by the following CSECT:
BASE with the SPACENAM parameter from the owning DSNB1OPP
system, which will make the header page consistent with the System Action: A “resource not available” code is returned
owner's DBD, and force this change to DASD, making it avail- to the user.
able to other systems.
User Response: Notify the system programmer.
If it is a nonshared database, then the sharing attribute can
only be corrected via the REPAIR utility. System Programmer Response: On the system in which the
database is defined as ROSHARE OWNER, perform the fol-
lowing tasks:
Use the -DISPLAY DATABASE command to insure there is User Response: An update operation is not allowed in this
no exceptional state for this table space or index. database. Check to insure that the target of the update was
correct, and also that the database is defined as ROSHARE
Issue the -STOP DATABASE command with the
READ. If the update should occur, then it should be issued on
SPACENAM parameter to stop this table space or index.
the system in which the database was defined as ROSHARE
Problem Determination: Collect the following diagnostic OWNER.
items listed in Appendix B, “Problem determination” on
Problem Determination: Collect the following diagnostic
page 1051: 1.
items listed in Appendix B, “Problem determination” on
page 1051: 1,
00C20105
Explanation: The page set creation timestamp is inconsistent 00C20107
between the header page and the DBD. This reason code and
Explanation: An update was attempted in a ROSHARE
the data set name are made available to the user in the
OWNER database, but the data set was opened in RO mode.
SQLCA or in messages.
This reason code and the data set name are made available to
This reason code is issued by the following CSECT: the user in the SQLCA or in messages.
DSNB1OPP
This reason code is issued by the following CSECTs:
System Action: A “resource not available” is returned to the DSNB1SWS DSNB5FOR.
user.
System Action: A “resource not available” code is returned
User Response: Notify the system programmer. to the user.
System Programmer Response: First determine whether the User Response: Notify the system programmer.
database is shared, and whether it is owned by this system.
System Programmer Response: Issue the -STOP DATA-
This can be achieved by issuing a SELECT on the
BASE command with the SPACENAM parameter to explicitly
SYSIBM.SYSDATABASE catalog table, where the database
stop this table space/index space and then issue the -START
name is the database you are checking, and examining the
DATABASE ACCESS(RW) command.
ROSHARE column.
Problem Determination: Collect the following diagnostic
For a data set in a ROSHARE OWNER database, if the failure
items listed in Appendix B, “Problem determination” on
occurs on a CREATE TABLESPACE or CREATE INDEX, the
page 1051: 1.
timestamp mismatch indicates that the table space or index
was previously dropped, but DB2 was unable to delete the
data set. In this case, the data set must be deleted using AMS 00C20108
DELETE CLUSTER before the CREATE can take place. Explanation: An object in a ROSHARE OWNER database
For a data set in a ROSHARE OWNER database at any time cannot be accessed. At least one system with the database
other than CREATE TABLESPACE or CREATE INDEX, the defined as ROSHARE READ is still accessing it. This reason
inconsistent timestamp can be corrected by first stopping the code and the data set name are made available to the user in
table space or index via the -STOP DATABASE command with the SQLCA or in messages.
the SPACENAM parameter, and then issuing the -START This reason code is issued by the following CSECT:
DATABASE command to start it. The -STOP DATABASE DSNB1OST
command will reformat the header page using the information
retrieved from the DBD. System Action: A “resource not available” code is returned
to the user.
For a data set in a ROSHARE READ database, a timestamp
mismatch indicates that the table space or index has been User Response: Notify the system programmer.
dropped and re-created on the owning system, and must also System Programmer Response: Insure that there are no
be dropped and re-created on this system. systems on which the database is defined as ROSHARE
For a data set in a nonshared database, the timestamp value READ that are still accessing the database. Issue the -STOP
in the header page can only be corrected via the REPAIR DATABASE command with the SPACENAM parameter on the
utility. ROSHARE READ systems that are accessing the database.
Problem Determination: Collect the following diagnostic Problem Determination: Collect the following diagnostic
items listed in Appendix B, “Problem determination” on items listed in Appendix B, “Problem determination” on
page 1051: 1. page 1051: 1.
00C20106 00C20109
Explanation: An update was attempted on a database Explanation: An object in a ROSHARE READ database
defined as ROSHARE READ. This reason code and the data cannot be accessed. The system with the database defined as
set name are made available to the user in the SQLCA or in ROSHARE OWNER still has RW access. This reason code
messages. and the data set name are made available to the user in the
SQLCA or in messages.
This reason code is issued by the following CSECTs:
DSNB1SWS DSNB5FOR. This reason code is issued by the following CSECT:
DSNB1OST
System Action: A “resource not available” code is returned
to the user. System Action: A “resource not available” code is returned
to the user.
00C20205 00C20206
Explanation: DB2 is unable to access a group buffer pool Explanation: An attempt was made to access a page which
because of a damage assessment pending (DAP) status is currently in the logical page list (LPL). LPL pages are una-
against the group buffer pool. vailable until recovery on the affected page set completes.
System Action: The action DB2 takes depends on the situ- System Action: SQLCODE -904 (resource not available) is
ation, as follows: returned to the user with this reason code. The resource name
is also given.
If DB2 tries to read a page from the group buffer pool and
finds that the group buffer pool is in DAP status, the fol- User Response: Contact the system programmer.
lowing actions are taken:
System Programmer Response: For those page sets in the
– SQLCODE -904 (resource not available) is returned to LPL, use the RECOVER utility or the -START DATABASE
the user with this reason code. The name of the group command.
buffer pool is also returned.
Problem Determination: This reason code is issued by the
If DB2 tries to read a page from the group buffer pool for following CSECTs: DSNB1LPL DSNB1GET DSNB1SWS
rollback, backout, or restart and finds that the group buffer
pool is in DAP status, the following actions are taken: 00C20207
– The page is added to the logical page list (LPL) for the Explanation: DB2 is unable to connect to a group buffer pool
page set. because of a DB2 system error during connect processing.
– Message DSNB250E is issued to the console with this This is an internal DB2 problem.
reason code. System Action: A SYS1.LOGREC entry is produced and an
If DB2 tries to write a page to the group buffer pool and SVC dump is requested for the original abend which caused
finds that the group buffer pool is in DAP status, the fol- this condition. After doing resource and latch recovery, DB2
lowing actions are taken: retries the abend if retry is allowed. SQLCODE -904 (resource
not available) is returned to the user with this reason code and
– The page is added to the logical page list (LPL) for the
the group buffer pool name. Unless already issued, message
page set.
DSNB301E, which contains this reason code, is issued to the
– Message DSNB250E is issued to the console with this console.
reason code.
Problem Determination: Refer to Section 3 of DB2 Diag-
If DB2 detects DAP status when it tries to connect the nosis Guide and Reference for information on identifying and
group buffer pool, or if DB2 detects a group buffer pool reporting the problem.
version ID mismatch after a successful connection, the fol-
This reason code is issued by the following CSECT:
lowing actions are taken:
DSNB1GC1
– The damage assessment process is triggered for this
group buffer pool. 00C20208
– SQLCODE -904 (resource not available) is returned to Explanation: The user attempted to access a group-buffer-
the user with this reason code. The name of the group pool-dependent page set or partition. However, the DB2
buffer pool is also returned. member was unable to connect to the group buffer pool
– Unless already issued, message DSNB301E, which because there was not enough hardware system area (HSA)
contains this reason code, is issued to the console. storage in which to allocate the local cache vector (LCV).
User Response: Contact the system programmer. System Action: DB2 disconnects from the group buffer pool
and issues message DSNB301E with this reason code, if it has
System Programmer Response: Message DSNB304I is
not yet been issued. DSNB301E is usually preceded by a
issued when the group buffer pool is entered into DAP state
DSNB306I message.
and message DSNB305I is issued when the DAP status is
cleared. During the damage assessment process, DB2 must SQLCODE -904 is returned to the user with this reason code.
determine which page sets or partitions might have had User Response: Contact the system programmer.
changed pages in the failed coupling facility structure and thus
need to be recovered. Each page set/partition fitting this cri- System Programmer Response: Refer to message
teria is entered into 'group buffer pool REBUILD pending DSNB306I.
(GRECP)' status. A page set/partition in GRECP status Problem Determination:
remains unavailable for read or update until it is recovered.
Collect the following diagnostic items listed in Appendix B,
Problem Determination: This reason code is issued by the “Problem determination” on page 1051: 1,
following CSECT: DSNB1GC0
This reason code is issued by the following CSECT:
DSNB1GC1
00C20210 00C20221
Explanation: An attempt was made to access a page set or Explanation: While accessing a group buffer pool, DB2
partition which is currently in group buffer pool recovery received an unexpected error from MVS, which detected an
pending (GRECP) status. invalid parameter on an IXLCACHE request from DB2. This
code usually indicates a DB2 internal problem. However, the
System Action: SQLCODE -904 (resource not available) is
problem can result from errors in other products.
returned with this reason code. The resource name is also
given. GRECP page sets or partitions remain unavailable until System Action: The requesting execution unit abends.
recovery against the affected page set or partition is complete.
Problem Determination: The IXLCACHE reason code saved
User Response: Contact the system programmer to deter- in register 8 can help determine the cause of the error. Refer
mine when the resource will be available for use. to MVS/ESA Programming: Sysplex Services Reference for the
MVS IXLCACHE reason code.
System Programmer Response: Use the START DATA-
BASE command with the ACCESS RW option to recover the If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
page set or partition and remove the GRECP status. In nosis Guide and Reference for information on identifying and
extreme or unusual circumstances, you can also remove reporting the problem.
GRECP status as follows:
This abend reason code is issued by the following CSECTs:
RECOVER, either to currency, or to a prior point in time
DSNB5BPL DSNB5GGP DSNB5PCO DSNB5SCM
REPAIR SET with NORCVRPEND
DSNB5SCO
LOAD REPLACE
START DATABASE with ACCESS FORCE (Not recom-
mended. Specifying this option can result in inconsistent 00C20222
data.) Explanation: While accessing a page in a buffer pool, DB2
Problem Determination: This reason code is issued by the received an unexpected error from MVS, which detected an
following CSECT: DSNB1OPP invalid parameter on an IXLVECTR request from DB2. This
code usually indicates a DB2 internal problem. However, the
problem can result from errors in other products.
00C20211
System Action: The requesting execution unit abends.
Explanation: DB2 is unable to access a group buffer pool
because the group buffer pool is rebuilding, and the attempt to Problem Determination: See the IXLVECTR return code in
access the group buffer pool timed out waiting for the rebuild register 8 to help determine the cause of the error. Refer to
to complete. MVS/ESA Programming: Sysplex Services Reference for the
MVS IXLVECTR reason code.
System Action: 'Resource not available' return and reason
codes are sent back to the requesting function. If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
nosis Guide and Reference for information on identifying and
User Response: Resubmit the request.
reporting the problem.
System Programmer Response: Use the DB2 DISPLAY
This abend reason code is issued by the following CSECTs:
GROUPBUFFERPOOL command or the MVS D XCF,STR
command to monitor the status of the rebuild. Also, monitor the DSNB1LTS DSNB1LTX DSNB1RSS
status messages that the DB2 members issue as the rebuild
progresses (refer to messages DSNB331I, DSNB332I, and
00C20223
DSNB338I). If the rebuild is not progressing satisfactorally, you
can use the MVS command SETXCF,STOP,REBUILD to stop Explanation: DB2 encountered an error while invoking the
the rebuild. IXLCACHE macro.
System Action: The requesting execution unit abends. DB2
00C20220 terminates abnormally causing MVS to reset the castout locks.
Explanation: While DB2 was accessing a group buffer pool, Problem Determination: If you suspect an error in DB2, refer
MVS detected an environmental error during an IXLCACHE to Section 3 of DB2 Diagnosis Guide and Reference for infor-
request from DB2. mation on identifying and reporting the problem.
System Action: The requesting execution unit abends. This abend reason code is issued by the following CSECT:
DSNB5PCO
Problem Determination: The IXLCACHE reason code saved
in register 8 can help determine the cause of the error. Refer
to MVS/ESA Programming: Sysplex Services Reference for the | 00C20224
MVS IXLCACHE reason code. | Explanation: DB2 received an unexpected return and reason
If you suspect an error in DB2, refer to Section 3 of DB2 Diag- | code from the MVS IXLFCOMP macro for a group buffer pool.
nosis Guide and Reference for information on identifying and | System Action: DB2 abends the agent and requests a dump.
reporting the problem. | If the group buffer pool is in duplex mode, then DB2 may stop
This abend reason code is issued by the following CSECTs: | duplexing for the group buffer pool in response to this error.
| desired. If DUPLEX(ENABLED) is specified in the active CFRM | pool. The group buffer pool is entered back into simplex mode.
| policy for the group buffer pool, then the system attempts to | Message DSNB743I is issued indicating the reason code as
| automatically reestablish duplexing for the structure. | the reason why the process to establish duplexing was
| Problem Determination: See MVS/ESA Programming:
| stopped. If DUPLEX(AUTO) is specified for the group buffer
| Sysplex Services Reference for an explanation of the MVS
| pool in the active CFRM policy, then duplexing is automatically
| IXLREBLD reason code.
| reinitiated.
This abend reason code is issued by the following CSECT: Problem Determination: This reason code is issued by the
DSNB1BSD, DSNB1GIO, DSNB1PM2, DSNB1PMT following CSECT: DSNB5PCO
00C20260 00C20264
Explanation: This is a DB2 internal error. Castout was Explanation: DB2 is unable to acquire or upgrade a physical
unsuccessful because DB2 lost connectivity to the group buffer lock (P-lock) because at least one other DB2 subsystem in the
pool. data sharing group is holding an incompatible retained lock.
The amount of time this DB2 can wait for a locked resource
System Action: A 'resource not available' code is returned
was exceeded. This reason code is only issued if the
to the user.
RETLWAIT installation parameter in DSN6SPRM is set to
User Response: Notify the system programmer. 'YES'. If RETLWAIT is set to 'NO' (this is the default), then any
System Programmer Response: Establish this DB2's IRLM lock that conflicts with a retained lock will not wait, but
connectivity to the group buffer pool before allowing operations instead will be immediately rejected (see reason code
that reference this group buffer pool. 00C20254).
Problem Determination: Refer to Section 3 of DB2 Diag- System Action: An SQLCODE -904, -911 , -913 or -923 is
nosis Guide and Reference for information on identifying and issued, and message DSNT501I is issued. Also, message
reporting the problem. DSNT378I is issued.
This reason code is issued by the following CSECT: System Programmer Response: Refer to the 'System Pro-
DSNB5PCO grammer Response' in message DSNT378I.
Problem Determination: This reason code is issued by the
00C20261 following CSECT: DSNB1PER
System Action: A 'resource not available' code is returned | Explanation: DB2 is unable to recover GRECP status for a
to the user. | table space or index because one or more sharing group
| members could not perform a global drain request on the
User Response: Notify the system programmer. | object.
System Programmer Response: Establish this DB2's | System Action: A DB2 message of DSNB350 or DSNB351
connectivity to the group buffer pool before allowing operations | is issued.
that reference this group buffer pool.
| User Response: Issue a START DB command to explicitly
Problem Determination: Refer to Section 3 of DB2 Diag- | recover the page set from GRECP/LPL status.
nosis Guide and Reference for information on identifying and
reporting the problem. | System Programmer Response: Refer to the 'System Pro-
| grammer Response' in message DSNB350 or DSNB351.
This reason code is issued by the following CSECT:
DSNB5PCO
| 00C20268
System Programmer Response: Refer to Section 3 of DB2 | User Response: Issue a START DB command to explicitly
Diagnosis Guide and Reference for information on identifying | recover the page set from GRECP/LPL status.
and reporting the problem. | System Programmer Response: Refer to the 'System Pro-
Problem Determination: This reason code is issued by the | grammer Response' in message DSNB350 or DSNB351.
following CSECT: DSNB5PCO
00C202A1
00C20263 Explanation: DB2 encountered an unexpected error while
Explanation: This is a DB2 internal error. Castout was trying to read from or write to the shared communications area
unsuccessful due to an unexpected error. (SCA).
System Action: A 'resource not available' code is returned System Action: The requesting execution unit abends. A
to the user. An SVC dump and the SYS1.LOGREC recording SYS1.LOGREC entry is written and an SVC dump is
were requested. requested.
User Response: Notify the system programmer. Problem Determination: Refer to Section 3 of DB2 Diag-
nosis Guide and Reference for information on identifying and
System Programmer Response: Refer to Section 3 of DB2 reporting the problem.
Diagnosis Guide and Reference for information on identifying
and reporting the problem.
Explanation: MVS returned an unexpected error from an System Action: A SYS1.LOGREC entry is written. The
IXLDISC request to disconnect a group buffer pool. newly-connected group buffer pool is disconnected. If this is a
non-rebuild connect then message DSNB301E, which contains
System Action: The requesting execution unit abends. A this reason code, is issued to the console (unless it has
SYS1.LOGREC entry is written and an SVC dump is already been issued). In the message this reason code and the
requested. The IXLDISC reason code is saved in register 8 for group buffer pool name are returned to the user in the SQLCA.
SYS1.LOGREC recording and the SVC dump. If this is a rebuild connect, then message DSNB330E, which
System Programmer Response: Refer to MVS/ESA contains this reason code, is issued to the console and this
Programming: Sysplex Services Reference for the MVS reason code is used to stop the rebuild.
IXLDISC reason code. Problem Determination: Check the SYS1.LOGREC variable
Problem Determination: If you suspect an error in DB2, refer recording area (VRA) for the following information:
to Section 3 of DB2 Diagnosis Guide and Reference for infor- VRARRK30 - Error mask, set as follows:
mation on identifying and reporting the problem.
– If bit X'40' is set, DB2 specified a structure disposition
This abend reason code is issued by the following CSECT: of KEEP, but the structure was not allocated this way.
DSNB1GD1 – If bit X'20' is set, the data element size was not allo-
cated as DB2 requested. VRARRK31 contains the
00C202A3 requested data element size, and VRARRK32 contains
the allocated data element size.
Explanation: MVS returned an unexpected error from an
– If bit X'10' is set, the allocated vector was not long
IXLFORCE request to deallocate a group buffer pool.
enough to cover the corresponding buffer pool.
System Action: A SYS1.LOGREC entry is written and an VRARRK31 contains the requested vector length, and
SVC dump is requested. The IXLFORCE reason code is saved VRARRK32 contains the allocated vector length.
in register 8 for SYS1.LOGREC recording and the SVC dump.
This abend reason code is issued by the following CSECT:
System Programmer Response: Refer to MVS/ESA DSNB1GC1
Programming: Sysplex Services Reference for the MVS
IXLFORCE reason code. 00C202A6
Problem Determination: If you suspect an error in DB2, refer Explanation: This is a DB2 internal error. Unless already
to Section 3 of DB2 Diagnosis Guide and Reference for infor- issued, message DSNB301E, which contains this reason code,
mation on identifying and reporting the problem. is issued to the console.
This abend reason code is issued by the following CSECT: System Action: A SYS1.LOGREC entry is written and an
DSNB1GD1 SVC dump is requested. The newly-connected group buffer
pool is disconnected. This reason code and the group buffer
00C202A4 pool name are returned to the user in the SQLCA.
Explanation: MVS detected an error on an IXLCONN request Problem Determination: Refer to Section 3 of DB2 Diag-
from DB2. nosis Guide and Reference for information on identifying and
reporting the problem.
System Action: A SYS1.LOGREC entry is written and an
SVC dump is requested. Unless already issued, message This abend reason code is issued by the following CSECT:
DSNB301E, which contains this reason code, is issued to the DSNB1GC1
console. The IXLCONN reason code is saved in register 8 for
SYS1.LOGREC recording and the SVC dump. This reason 00C202A7
code and the group buffer pool name are returned to the user
in the SQLCA. Explanation: While processing an ALTER
GROUPBUFFERPOOL command request, DB2 encountered
System Programmer Response: Refer to MVS/ESA an unexpected return code from the MVS IXCQUERY service.
Programming: Sysplex Services Reference for the MVS
IXLCONN reason code. System Action: The requesting execution unit abends. A
SYS1.LOGREC entry is written. An SVC dump is requested if
Problem Determination: If you suspect an error in DB2, refer it appears to be a DB2 problem (return code 8 from
to Section 3 of DB2 Diagnosis Guide and Reference for infor- IXCQUERY). Command processing is terminated.
mation on identifying and reporting the problem.
Problem Determination: If you suspect an error in DB2, refer
This abend reason code is issued by the following CSECT: to Section 3 of DB2 Diagnosis Guide and Reference for infor-
DSNB1GC1 mation on identifying and reporting the problem.
This abend reason code is issued by the following CSECT:
DSNB1AGB
Problem Determination: This abend reason code is issued VRARRK33 records information from the RLPPL (mapped by
by the following CSECT: DSNB5PCO DXRRLPPL) and is mapped as follows:
RLPHSTAT (1 byte): Current held state of the P-lock by
00C202AE this DB2
Explanation: IRLM returned an invalid cached state on a RLPCCSTA (1 byte): New cached state of the P-lock for
physical lock (P-lock) request from DB2. This is an internal this DB2
error. RLPRSTAT (1 byte): Requested state of the P-lock by the
other DB2 that is in conflict with the state held by this DB2
System Action: SQLCODE -904 is issued. A record is written Unused (1 byte)
to SYS1.LOGREC and an SVC dump is requested. RLPWUID (8 bytes): Owning work unit
System Programmer Response: Examine SYS1.LOGREC This abend reason code is issued by the following CSECT:
for a preceding error related to IRLM. DSNB1PPP
Problem Determination: Refer to Section 3 of DB2 Diag-
nosis Guide and Reference for information on identifying and 00C202B0
reporting the problem.
Explanation: This is a DB2 internal error.
SYS1.LOGREC contains information in the variable recording
System Action: An SVC dump and SYS1.LOGREC
area (VRA) of the system diagnostic work area (SDWA). Sig-
recording are requested. A 'resource unavailable' condition is
nificant fields in the VRA for this code are: VRARRK13,
returned to the physical lock (P-lock) requester that caused the
VRARRK14, VRARRK15, VRARRK30, and VRARRK33.
conflict and the subsequent negotiation.
The information recorded with VRARRK30 is mapped as
User Response: Resubmit the failing application.
follows:
System Programmer Response: Request the
IRLM return code (4 bytes)
SYS1.LOGREC and the SVC dump.
IRLM reason code (4 bytes)
IRLM function code (1 byte) Problem Determination: Refer to Section 3 of DB2 Diag-
Lock state (1 byte) nosis Guide and Reference for information on identifying and
Flags from RLPLFLG1 (1 byte) reporting the problem.
Flags from RLPLFLG4 (1 byte)
SYS1.LOGREC contains information in the variable recording
Returned cached state (1 byte)
area (VRA) of the system diagnostic work area (SDWA). Sig-
Unused (1 byte)
nificant fields in the VRA for this code are: VRARRK13,
P-lock exit reason code (2 bytes)
VRARRK14, VRARRK15, and VRARRK33.
VRARRK33 records information from the RLPPL (mapped by
VRARRK33 records information from the RLPPL (mapped by
DXRRLPPL) and is mapped as follows:
DXRRLPPL) and is mapped as follows:
RLPHSTAT (1 byte): Current held state of the P-lock by
RLPHSTAT (1 byte): Current held state of the P-lock by
this DB2
this DB2
RLPCCSTA (1 byte): New cached state of the P-lock for
RLPCCSTA (1 byte): New cached state of the P-lock for
this DB2
this DB2
RLPRSTAT (1 byte): Requested state of the P-lock by the
RLPRSTAT (1 byte): Requested state of the P-lock by the
other DB2 that is in conflict with the state held by this DB2
other DB2 that is in conflict with the state held by this DB2
Unused (1 byte)
Unused (1 byte)
RLPWUID (8 bytes): Owning work unit
RLPWUID (8 bytes): Owning work unit
This abend reason code is issued by the following CSECT:
This abend reason code is issued by the following CSECT:
DSNB1PLK
DSNB1PPP
00C202AF
00C202B1
Explanation: There was an incompatible physical lock
Explanation: An error occurred during physical (P-lock) nego-
(P-lock) held. This is a DB2 internal error.
tiation. This is a DB2 internal error.
System Action: An SVC dump and SYS1.LOGREC
System Action: An SQLCODE -904 is issued. A record is
recording are requested. A 'resource unavailable' condition is
written to SYS1.LOGREC and an SVC dump is requested.
returned to the P-lock requester that caused the conflict and
This reason code and the resource name are returned in the
the subsequent negotiation.
SQLCA.
System Programmer Response: Request the
System Programmer Response: Examine SYS1.LOGREC
SYS1.LOGREC and the SVC dump.
for a previous error related to IRLM.
Problem Determination: Refer to Section 3 of DB2 Diag-
Problem Determination: Refer to Section 3 of DB2 Diag-
nosis Guide and Reference for information on identifying and
nosis Guide and Reference for information on identifying and
reporting the problem.
reporting the problem.
SYS1.LOGREC contains information in the variable recording
SYS1.LOGREC contains information in the variable recording
area (VRA) of the system diagnostic work area (SDWA). Sig-
area (VRA) of the system diagnostic work area (SDWA). Sig-
nificant fields in the VRA for this code are: VRARRK13,
nificant fields in the VRA for this code are: VRARRK13,
VRARRK14, VRARRK15, and VRARRK33.
VRARRK14, VRARRK15, VRARRK30, and VRARRK33.
This abend reason code is issued by the following CSECT: Operator Response: Notify the system programmer, print the
DSNB1PER SYS1.LOGREC, and request the SVC dump.
System Programmer Response: Refer to Section 3 of DB2
00C202B2 Diagnosis Guide and Reference for information on identifying
and reporting the problem.
Explanation: DB2 could not obtain a page set or partition
physical lock (P-lock). Problem Determination: This reason code is issued by the
following CSECTs: DSNB1GC0, DSNB1GC1
System Action: A 'resource unavailable' condition is
returned to the user. This reason code and the resource name
are returned in the cursor table (CT) and made available to the 00C202B6
user in the SQLCA. Explanation: This is a DB2 internal error. The execution unit
System Programmer Response: This problem might be received an error return code while trying to translate the DB2
caused by having multiple DB2 release levels in the DB2 data member name to a member ID.
sharing group. System Action: The requesting execution unit is abended.
Problem Determination: If you suspect an error in DB2, refer Operator Response: Notify the system programmer, print the
to Section 3 of DB2 Diagnosis Guide and Reference for infor- SYS1.LOGREC, and request the SVC dump.
mation on identifying and reporting the problem.
System Programmer Response: Refer to Section 3 of DB2
This abend reason code is issued by the following CSECTs: Diagnosis Guide and Reference for information on identifying
DSNB1PPP, DSNB1PPG. and reporting the problem.
Problem Determination: This reason code is issued by the
00C202B3 following CSECTs: DSNB1DA2
Explanation: This is a DB2 internal error. The execution unit
encountered an error while doing damage assessment for a 00C202B7
group buffer pool.
Explanation: This is a DB2 internal error. An unexpected
System Action: The requesting execution unit is abended. error occurred during recovery processing from a group buffer
Operator Response: Notify the system programmer, print the pool link failure.
SYS1.LOGREC, and request the SVC dump. System Action: The requesting execution unit abends. A
System Programmer Response: Refer to Section 3 of DB2 SYS1.LOGREC entry is written and an SVC dump is
Diagnosis Guide and Reference for information on identifying requested.
and reporting the problem. System Programmer Response: Refer to Section 3 of DB2
Problem Determination: This reason code is issued by the Diagnosis Guide and Reference for information on identifying
following CSECTs: DSNB1DAO and reporting the problem.
Problem Determination: This abend reason code is issued
by the following CSECT: DSNB1LNK
00C202C0 00C202C3
Explanation: DB2 timed out waiting for the use count on a Explanation: DB2 received an unexpected return and reason
group buffer pool to reach zero during rebuild quiesce proc- code from the MVS IXLEERSP macro during rebuild proc-
essing for the group buffer pool. This is a DB2 internal essing for a group buffer pool.
problem.
System Action: The DB2 system agent that is processing the
System Action: The DB2 system agent that is processing the rebuild abends and takes a dump. The rebuild is stopped.
rebuild abends and takes a dump. The rebuild is stopped. Message DSNB340I is issued indicating that the IXLEERSP
Message DSNB335I is issued indicating this reason code as request failed and message DSNB335I is issued indicating this
the reason why the rebuild stopped. reason code as the reason why the rebuild stopped.
Problem Determination: Refer to Section 3 of DB2 Diag- Problem Determination: See MVS/ESA Programming:
nosis Guide and Reference for information on identifying and Sysplex Services Reference for an explanation of the MVS
reporting the problem. IXLEERSP reason code.
This abend reason code is issued by the following CSECT: Refer to Section 3 of DB2 Diagnosis Guide and Reference for
DSNB1xxx information on identifying and reporting the problem.
This abend reason code is issued by the following CSECT:
00C202C1 DSNB1xxx
Explanation: DB2 encountered a problem trying to connect to
the new group buffer pool coupling facility structure while trying 00C202C4
to rebuild the group buffer pool.
Explanation: DB2 detected that the number of changed
System Action: A dump may or may not be taken depending pages in the new structure is greater than the number of
on the nature of the error. The rebuild is stopped. Message changed pages in the original structure at the time that the
DSNB335I is issued indicating this reason code as the reason rebuild of the group buffer pool was about to be completed.
why the rebuild stopped.
System Action: DB2 abends and takes a dump. The rebuild
Problem Determination: Check the console log for previous is stopped. Message DSNB335I is issued indicating this reason
error messages (for example, DSNB330E or DSNB306I) to code as the reason why the rebuild stopped.
determine why DB2 could not connect to the new group buffer
Problem Determination: Refer to Section 3 of DB2 Diag-
pool structure.
nosis Guide and Reference for information on identifying and
Refer to Section 3 of DB2 Diagnosis Guide and Reference for reporting the problem.
information on identifying and reporting the problem.
This abend reason code is issued by the following CSECT:
This abend reason code is issued by the following CSECT: DSNB1xxx
DSNB1RBC
00C202D0
00C202C2
Explanation: DB2 is unable to respond to an event that was
Explanation: DB2 received an unexpected return and reason reported by MVS. This is a DB2 internal error.
code from the MVS IXLREBLD macro during rebuild proc-
System Action: DB2 terminates abnormally.
essing for a group buffer pool.
Operator Response: Notify the system programmer, print the
System Action: The DB2 system agent that is processing the
SYS1.LOGREC, and request the SVC dump. Restart DB2.
rebuild abends and takes a dump. The rebuild is stopped.
Message DSNB340I will be issued indicating that the Problem Determination: Refer to Section 3 of DB2 Diag-
IXLREBLD request failed and message DSNB335I is issued nosis Guide and Reference for information on identifying and
indicating this reason code as the reason why the rebuild reporting the problem.
stopped. This abend reason code is issued by the following CSECT:
Problem Determination: See MVS/ESA Programming: DSNB5REE
Sysplex Services Reference for an explanation of the MVS
IXLREBLD reason code. 00C202D1
Refer to Section 3 of DB2 Diagnosis Guide and Reference for Explanation: This is a DB2 internal error. DB2 encountered
information on identifying and reporting the problem. an unrecoverable error while trying to add a page to the logical
This abend reason code is issued by the following CSECT: page list (LPL).
DSNB1xxx System Action: The DB2 subsystem is abnormally termi-
nated.
Operator Response: Notify the system programmer, print
SYS1.LOGREC, and request an SVC dump.
Problem Determination: Refer to Section 3 of DB2 Diag-
nosis Guide and Reference for information on identifying and
reporting the problem.
This reason code is issued by the following CSECT:
DSNB1LPL
X'C3......' Codes
For information about the CICS transaction control block by scanning the CCT for the FRB character string
eye catcher. The FRB contains two fields, FRBRC1 and
abend/dump code DSNC, refer to Appendix A,
FRBRC2, which contain the return code and reason code from
“CICS Transaction Abend/Dump Code” on the IDENTIFY to the DB2 subsystem.
page 1049.
00C30003
Explanation: The CICS attachment facility could not com-
00C30001 plete a recover indoubt call because of the return and reason
Explanation: The CICS attachment facility terminated codes from DB2.
because of errors that cannot be corrected. The attachment This abend reason code is issued by the following CSECTs:
facility task-related user exit detected one of the following DSNCMSUB DSN2MSUB
conditions:
System Action: The CICS attachment facility terminates. The
The life of task block (LOT) is invalid. unit of recovery (UR) is not resolved and remains indoubt.
The LOT and connection control table (CCT) element were Operator Response: Notify the system programmer.
disconnected before the end of a unit of recovery
Problem Determination: The return code from the recover
The previous application program support (APS) call failed indoubt process does not allow the CICS attachment facility to
and a commit call is being attempted complete the unit of recovery (UR). If the UR included in the
These symptoms might be caused by an overlay of the LOT error is valid, an attempt should be made to resolve the UR
and/or the CCT. manually, using the DB2 -RECOVER command.
This abend reason code is issued by the following CSECTs: A subtask dump (system abend X'04E' with abend reason
DSNCMSUB DSN2MSUB code 00C30003) is requested. Register 7 contains the address
of the resource control table. Location CRCTCCTA in load
System Action: The CICS attachment facility terminates.
module DSNCRCTx or DSN2CTxx contains the address of the
Operator Response: Notify the system programmer. connection control table (CCT) in subpool 99.
System Programmer Response: Analyze the dumps and The CCT contains the FRB control block, which can be located
system console messages for storage violations. by scanning the CCT for the FRB character string eye catcher.
FRBRC1 and FRBRC2 contain the return code and reason
Problem Determination: One or more control blocks do not
code from DB2.
pass validity checks. The most probable cause is that they
were overlaid by some user application. A CICS dump (DSNC) A nonzero return code indicates problems specified by the
and a subtask dump (system abend X'04E' with abend reason code. Higher return codes (4, 8, and 12) indicate
reason code 00C30001) were requested. Register 9 in the higher severity.
CICS transaction dump contains the address of the LOT.
Examine the MVS console for DB2 messages that might indi-
If the LOT is valid, CLOTCCTE contains the CCT element cate any related errors. If an SVC dump was also taken, print it
address, and CCCTLOT contains the LOT address. Use these as well as the SYS1.LOGREC to obtain further diagnostic
pointers (CLOTCCTE and CCCTLOT) to verify the validity of information. The CICS SYSTEM LOG might help to determine
the LOT and the CCT element. Both control blocks should the final disposition of the indoubt unit of work.
contain seven character eye catchers (DSNCLOT and
Register 6 in the subtask abend dump plus X'20' contains the
DSNCCCT or DSN2LOT and DSN2CCT). If they are in error,
address of a 16-byte area that contains the network id (NID).
check the application program for possible storage violations.
The last 8 bytes of the NID contain the store clock value that
was passed to DB2 by CICS to identify the logical unit of work
00C30002 (LUW). This value can be used to correlate the DB2 unit of
Explanation: The CICS attachment facility was not able to recovery with the CICS logical unit of work.
start.
00C30004
This abend reason code is issued by the following CSECTs:
DSNCMSUB DSN2MSUB Explanation: A thread subtask failed because of a validity
check failure of a transaction-related life of task block (LOT).
System Action: The CICS attachment facility terminates.
This abend reason code is issued by the following CSECTs:
Operator Response: Notify the system programmer.
DSNCEXT3 DSN2EXT3
Problem Determination: A subtask dump (system abend
System Action: The CICS attachment facility continues oper-
X'04E' with abend reason code 00C30002) is requested
ation; however, the one subtask is abended and a subtask
unless FRBRC2 equals 00F30013 or 00F30058. Within the
dump (system abend X'04E' with abend reason code
dump, register 7 contains the address of the resource control
00C30004) is requested.
table load module. In this load module, location CRCTCCTA
contains the address of the connection control table (CCT) in Because the LOT contains an ECB on which the CICS applica-
subpool 99. The CCT contains the FRB control block for the tion is waiting and this error indicates the LOT was overlaid,
IDENTIFY to DB2. The FRB control block begins at CCCTFRB the effect on the CICS application is unpredictable.
within the CCT. You can also locate the FRB with the CCT
Explanation: An IDENTIFY call to DB2 from a CICS attach- Problem Determination: Unless PCTEROP=N906, this error
ment facility connection subtask failed, indicating that DB2 is reason code is preceded by a DSNC transaction dump, which
no longer active. provides diagnostic information about the create thread failure.
The SQLCA also contains the SQL return code identifying the
This abend reason code is issued by the following CSECTs: create thread error.
DSNCEXT3 DSN2EXT3
System Action: A subtask dump is requested for the failing 00C30021
task thread, and the automatic STOP of the CICS attachment
Explanation: The CICS attachment facility detected an appli-
facility is initiated.
cation which is using the instrumentation facility interface (IFI)
Operator Response: Notify the system programmer. and is link-edited with a back level version of the CICS attach-
Problem Determination: Some other error, which is the ment facility language interface module DSNCLI.
source of the failure, probably occurred prior to this action. Use This abend reason code is issued by the following CSECTs:
the subtask dump, SYS1.LOGREC, MVS console listing, and DSNCEXT1 DSN2EXT1
any SVC dumps that might have been requested if DB2 failed.
System Action: The transaction is abended with a DSNC
abend. The life of task block (LOT) contains reason code
00C30021.
X'C5......' Codes
For these codes, the standard documentation to 00C50002
be collected is a SYSUDUMP and a printout of the Explanation: This is probably a DB2 subsystem error.
DSNTRACE data set. The standard SPUFI doc- DSNESM32 has detected an illegal value in the YTYPE portion
umentation is a SYSUDUMP and a printout of the of the SQLTYPE field of the SQLDA. This suggests that an
ISPF log for this session. A SYSUDUMP data set illegal value was in the SQLTYPE field of the SQLDA.
must be allocated in advance to collect your This abend reason code is issued by the following CSECT:
dump. A DSNTRACE data set must be allocated DSNESM32
in advance to collect your DSN trace stream User Response: If the problem persists, notify the system
programmer.
unless you are running in the background, in
which case the SYSTSPRT data set contains the System Programmer Response: The standard SPUFI doc-
umentation should be collected. Refer to “X'C5......' Codes” for
DSNTRACE output. ISPF normally runs with an
information about obtaining dumps and displaying message
active log data set. ISPF suppresses dumps IDs.
unless it is invoked with the TEST parameter. If Problem Determination: An illegal value was detected in the
you suspect an error in DB2, refer to Section 3 of YTYPE of the SQLDA. This may have been caused by this
DB2 Diagnosis Guide and Reference for informa- field being overlaid in error. Analyze the SQLDA in the storage
tion on identifying and reporting the problem. dump to determine the source of the error.
Collect the following diagnostic items listed in Appendix B,
In the TSO attachment facility, the user can “Problem determination” on page 1051: 4, 21.
control whether or not message IDs are displayed.
To see them, type PROFILE MSGID. To suppress 00C50003
them, type PROFILE NOMSGID. Explanation: This could be either a user or a system error.
SPUFI was unable to obtain the required storage via
GETMAIN.
The following abends can occur in the TSO
attachment facility. This abend reason code is issued by the following CSECTs:
DSNESM10, DSNESM20
System Action: SPUFI task abends. User returns to ISPF
00C50001 main menu.
Explanation: This is probably a DB2 subsystem error. User Response: If the problem persists, notify the system
DSNESM30 has detected an illegal value in the YTYPE portion programmer. You may have to specify a larger machine size at
of the SQLTYPE field of the SQLDA. logon time.
This abend reason code is issued by the following CSECT: System Programmer Response: If the problem persists, the
DSNESM30 standard SPUFI documentation should be collected. Refer to
“X'C5......' Codes” for information about obtaining dumps and
User Response: If the problem persists, notify the system displaying message IDs.
programmer.
Problem Determination: Register 2 contains the amount of
System Programmer Response: The standard SPUFI doc- storage that was requested. Message DSNE392E, in the ISPF
umentation should be collected. Refer to “X'C5......' Codes” for log data set, gives the name of the module that issued this
information about obtaining dumps and displaying message abend.
IDs.
Collect the following diagnostic items listed in Appendix B,
Problem Determination: An illegal value was detected in the “Problem determination” on page 1051: 4, 21.
SQLTYPE field of the SQLDA. This may have been caused by
this field being overlaid in error. To determine the source of the
00C50005
error, analyze the SQLDA in the storage dump.
Explanation: This could be either a user or a system error.
Collect the following diagnostic items listed in Appendix B,
The DYNALLOC SVC returned an unexpected return code
“Problem determination” on page 1051: 4, 21.
when attempting to allocate a data set.
This abend reason code is issued by the following CSECT:
DSNESM55
System Action: The contents of the field are written to the
ISPF log.
User Response: If the problem persists, notify the system
programmer.
System Programmer Response: The standard SPUFI doc-
umentation should be collected. Refer to “X'C5......' Codes” for
User Response: If the problem persists, notify the system 4 More data was available than could fit into the message
programmer. area provided.
8 The LRECL was not within the limits: 72 ≥ LRECL ≤
System Programmer Response: The standard SPUFI doc- 240
umentation should be collected. Refer to “X'C5......' Codes” on 12 The message area was not large enough. Message
page 623 for information about obtaining dumps and dis- length ≥ 240
playing message IDs. 16 Error in message routine (IKJEFF02).
Problem Determination: Message DSNE383A, in the ISPF Collect the following diagnostic items listed in Appendix B,
log data set, gives the record format of the output data set that “Problem determination” on page 1051: 4, 21.
was determined to be in error. The output data set record
format must be one of the following: F, FB, FBA, V, VB, or
00C50100
VBA.
Explanation: This is probably caused by an error in the DSN
Collect the following diagnostic items listed in Appendix B,
command processor code. Module DSNECP66 (in the DSN
“Problem determination” on page 1051: 4, 21.
command processor) called module DSNTIAR to format an
error message to explain an unexpected SQL return code
00C50008 received by DCLGEN. DSNTIAR failed.
Explanation: This could be either a user or a system error. This abend reason code is issued by the following CSECT:
The DYNALLOC SVC returned an unexpected return code DSNECP66
when attempting to deallocate a data set.
User Response: If the problem persists, notify the system
This abend reason code is issued by the following CSECT: programmer.
DSNESM55
System Programmer Response: The standard documenta-
System Action: The contents of the field are written to the tion should be collected, including a DSN trace stream. Refer
ISPF log to “X'C5......' Codes” on page 623 for information about
User Response: If the problem persists, notify the system obtaining dumps and displaying message IDs.
programmer. Problem Determination: Message DSNE004E in the output
System Programmer Response: The standard SPUFI doc- gives the return code value returned from DSNTIAR. For an
umentation should be collected. Refer to “X'C5......' Codes” on explanation of these return codes, see abend reason code
page 623 for information about obtaining dumps and dis- '00C50009'.
playing message IDs. Collect the following diagnostic items listed in Appendix B,
Problem Determination: Message DSNE384E, in the ISPF “Problem determination” on page 1051: 4, 20.
log data set, gives the return code and reason code values
returned from the dynamic allocation request. Analyze these 00C50101
values to determine the source of the error.
Explanation: The user has entered the ABEND subcommand
Collect the following diagnostic items listed in Appendix B, of the DSN command processor. This causes a X'04E' abend
“Problem determination” on page 1051: 4, 21. and a dump to be requested. In order to retain the dump, you
must have previously allocated a SYSUDUMP or SYSADUMP
data set. The ABEND subcommand can be useful for debug-
ging.
This abend reason code is issued by the following CSECT:
DSNECP19
Explanation: An error probably occurred in DB2 while it User Response: If the problem persists, notify the system
attempted to process an IDENTIFY request from the DSN programmer.
command processor. DSN received an unexpected return code System Programmer Response: See the Problem Determi-
(FRBRC1 or FRBRC2) from DB2. nation section of this message.
This abend reason code is issued by the following CSECT: Problem Determination: Rerun the job with DSN tracing
DSNECP12 turned on. You may need a SYSUDUMP from the TSO
System Action: Immediately after writing this message, DSN address space. You probably need a DB2 dump. If you
abends with an abend code of X'04E' and an abend reason suspect an error in DB2, refer to Section 3 of DB2 Diagnosis
code of '00C50102'. Guide and Reference for information on identifying and
reporting the problem.
User Response: If the problem persists, notify the system
programmer. Collect the following diagnostic items listed in Appendix B,
“Problem determination” on page 1051: 4, 20.
System Programmer Response: See the Problem Determi-
nation section of this message.
00C50108
Problem Determination: Rerun the job with DSN tracing
Explanation: An error probably occurred in DB2 while it
turned on. You may need a SYSUDUMP from the TSO
attempted to process a BIND, REBIND, or FREE request from
address space. You probably need a DB2 dump. If you
the DSN command processor. DSN received an unexpected
suspect an error in DB2, refer to Section 3 of DB2 Diagnosis
return code (FRBRC1 or FRBRC2) from DB2.
Guide and Reference for information on identifying and
reporting the problem. This abend reason code is issued by the following CSECT:
DSNECP30
Collect the following diagnostic items listed in Appendix B,
“Problem determination” on page 1051: 4, 20. System Action: Immediately after writing this message, DSN
abends with an abend code of X'04E' and an abend reason
00C50103 code of '00C50108'.
Explanation: An error probably occurred in DB2 while it User Response: If the problem persists, notify the system
attempted to process an ESTABLISH EXIT request from the programmer.
DSN command processor. DSN received an unexpected return System Programmer Response: See the Problem Determi-
code (FRBRC1 or FRBRC2) from DB2. nation section of this message.
This abend reason code is issued by the following CSECT: Problem Determination: Rerun the job with DSN tracing
DSNECP12 turned on. You may need a SYSUDUMP from the TSO
System Action: Immediately after writing this message, DSN address space. You probably need a DB2 dump. If you
abends with an abend code of X'04E' and an abend reason suspect an error in DB2, refer to Section 3 of DB2 Diagnosis
code of '00C50103'. Guide and Reference for information on identifying and
reporting the problem.
User Response: If the problem persists, notify the system
programmer. Collect the following diagnostic items listed in Appendix B,
“Problem determination” on page 1051: 4, 20.
System Programmer Response: See the Problem Determi-
nation section of this message.
00C50109
Problem Determination: Rerun the job with DSN tracing
Explanation: An error probably occurred in DB2 while it
turned on. You may need a SYSUDUMP from the TSO
attempted to process a TERMINATE request from the DSN
address space. You probably need a DB2 dump. If you
command processor. DSN received an unexpected return code
suspect an error in DB2, refer to Section 3 of DB2 Diagnosis
(FRBRC1 or FRBRC2) from DB2.
Guide and Reference for information on identifying and
reporting the problem. This abend reason code is issued by the following CSECT:
DSNECP18
Collect the following diagnostic items listed in Appendix B,
“Problem determination” on page 1051: 4, 20. System Action: Immediately after writing this message, DSN
abends with an abend code of X'04E' and an abend reason
code of '00C50109'.
User Response: If the problem persists, notify the system
programmer.
System Action: The DSN command processor abended. Operator Response: Notify your system programmer.
User Response: If you allocated a SYSUDUMP or System Programmer Response: Modify the job to invoke
SYSABEND dump data set, collect the dump. Otherwise, allo- DSN. Initiate the application program using the RUN subcom-
cate SYSUDUMP and DSNTRACE data sets, turn on DSN mand of the DSN command processor.
tracing, and try to recreate the error. Save these data sets.
X'C6......' Code
At the time of the abend, general register zero contains the
00C60001
return code from WTO request.
Explanation: DB2 received return code X'20' when issuing
This abend reason code is issued by the following CSECT:
a WTO request to display a DB2 console message. MVS sets
DSNFWTO
this return code when there are no message buffers for either
Multiple Console Support (MCS) or JES3, or when there is a System Action: A record is written to SYS1.LOGREC. A
JES3 WTO staging area excess. The WTO request is termi- retry is requested and execution continues. DB2 resumes
nated. The current DB2 console message and all subsequent issuing console messages when the condition is corrected.
DB2 informational console messages are ignored until the
MVS problem is corrected.
X'C8......' Codes
4 Error in pointer structures.
5 Host variable information in the precompiler/parser
Abends in the precompiler are not intercepted via dictionary or in the DBRM is not consistent with
host variable information for an SQL statement.
ESTAE, so standard system abends might occur.
The error might occur when the precompiler misin-
The SYNAD exit is not used, so I/O errors cause terprets an illegal host variable declaration.
S001 or S002 abends. S04E abends are gener-
6 Unexpected value for parser option.
ated for precompiler internal errors. Following is a
7 Internal limit exceeded. A fully qualified name
list of reason codes. exceeds the maximum length of 255 characters.
8 Internal conversion error. An error occurred when
converting a timestamp version-id.
00C8901x
9 Internal stack storage exhausted.
Explanation: An internal precompiler/parser consistency
check failed. An S04E abend is generated. The error type and System Programmer Response: Obtain the SVC dump and
reason code are found in register 15 of the dump. a copy of the application program source. If the abend reason
code is 00C89015, obtain a copy of the DBRM being bound
In the reason code, x is one of the following:
(IEBCOPY).
1 Parser received a token code of 0 from a lexical
scan. A lexical scan refers to a scan of words 00C89041
rather than syntax.
Explanation: More storage is needed, but could not be
2 Error in storage suballocation control blocks. The obtained during the precompiler execution. An S04E abend
error might occur when a DB2 SQL statement limi- occurs. The error type and reason code are found in register
tation is exceeded. The SQL statement might be 15 of the dump.
referencing, creating, or declaring more columns
than the DB2 defined maximum number allowed This reason code is issued by the following CSECT:
for an SQL statement. Another possibility is that DSNHCORE
too many host variables are being referenced in System Programmer Response: The storage required for
the SQL statement. the current statement could not be acquired or exceeds the
3 Error in storage suballocation request. This error maximum (64KB) for a single request. If the region is full,
might occur because of storage constraints when determine if the region can be expanded. If it cannot be
building the DBRM entry for the SQL statement or expanded, the SQL statement is too large to be processed.
because the SQL statement exceeds the DB2
maximum statement length.
X'C9......' Codes
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
00C90060
for information on identifying and reporting the problem.
Explanation: On a READS request, the return area supplied
was not large enough to hold one log record. No log record is
00C9007E
returned, but the position is held in the log.
Explanation: The compression dictionary for the table space
System Action: The requested operation (decompression) is
or partition was not successfully retrieved. Therefore, the data
not performed.
request failed.
Problem Determination: The system returns the size of the
This abend reason code is issued by the following CSECTs:
return area that is required in field IFCABSRQ of the IFCA
DSNIRFNX, DSNIRLPG, DSNICUMR, DSNIMSMS,
return area.
DSNINXPT, DSNIRIDC, DSNIRNXT, DSNIRSET, DSNISRID,
User Response: Increase the size of the return area. DSNISFS, DSNISFX, DSNISRTI, DSNICUMW, DSNILREP,
DSNIMS1W, DSNIRELF, DSNIRELS, DSNIREDR, DSNIENSR
# 00C90063 System Action: The table space or partition is implicitly
# Explanation: On a READS request for IFCID 306, log stopped by DB2. Messages DSNT501I and DSNI004I are dis-
# records are returned, but data is not decompressed as played to inform the operator that the dictionary and the object
# requested. for which the dictionary is defined are unavailable. An
SQLCODE -904 is returned to the SQL end user.
# This reason code is issued by the following CSECT:
# DSNIDLGR Operator Response: Notify the system programmer.
# Problem Determination: See the reason code in field System Programmer Response: Correct the problem and
# QW0306DG to determine why decompression was not per- inform the user to resubmit the request. If you suspect an error
# formed. One reason code might be 00C90064, which means in DB2, refer to Section 3 of DB2 Diagnosis Guide and Refer-
# that the decompression dictionary changed since the log ence for information on identifying and reporting the problem.
# record was written.
00C9007F
# Refer to Section 3 of DB2 Diagnosis Guide and Reference for
# information on identifying and reporting problems. Explanation: The compression dictionary for the table space
or partition is invalid. Therefore, the table space or partition
# 00C90064 cannot be opened.
Explanation: The decompression dictionary changed since This abend reason code is issued by the following CSECT:
the log record was written. The log record is returned with DSNIZLDR
compressed data. System Action: The table space or partition is implicitly
This reason code is issued by the following CSECT: stopped by DB2. Messages DSNT501I and DSNI004I are dis-
DSNIDCML played to inform the operator that the dictionary and the object
for which the dictionary is defined are unavailable. An
System Action: The requested operation (decompression) is SQLCODE -904 is returned to the SQL end user.
not performed.
Operator Response: Notify the system programmer.
User Response: Specify a valid WQALLRBA value and
reissue the request. System Programmer Response: Recover and start the table
space or partition and tell the user to resubmit the request.
Problem Determination: The specified RBA/LRSN value
might be too old.
00C90080
return code in “Section 2. SQL Return Codes” on page 17 or in use, the -DISPLAY UTILITY command will indicate that no
to the description of the DSNT501I message in “DSNT... utilities are operating on that object. To access a resource that
Messages” on page 315. is reserved for a utility, use the -TERM UTILITY command. For
more information, refer to the SQL return code in “Section 2.
SYS1.LOGREC contains information in the variable recording
SQL Return Codes” on page 17, or to the description of the
area (VRA) of the system diagnostic work area (SDWA). Sig-
DSNT501I message in “DSNT... Messages” on page 315.
nificant fields for this code are: VRARRK13, VRARRK14, and
VRARRK15. SYS1.LOGREC contains information in the variable recording
area (VRA) of the system diagnostic work area (SDWA). Sig-
If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
nificant fields for this code are: VRARRK13, VRARRK14, and
nosis Guide and Reference for information on identifying and
VRARRK15.
reporting the problem.
If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
Collect the following diagnostic items listed in Appendix B,
nosis Guide and Reference for information on identifying and
“Problem determination” on page 1051: 1, 3, 5, 32.
reporting the problem.
of DB2 Diagnosis Guide and Reference for information on DSNT500I is issued. For more information, refer to the SQL
identifying and reporting the problem. return code in “Section 2. SQL Return Codes” on page 17, or
to the description of the DSNT500I message in “DSNT...
Collect the following diagnostic items listed in Appendix B,
Messages” on page 315.
“Problem determination” on page 1051: 1, 3, 5, 32.
SYS1.LOGREC contains information in the variable recording
00C90088 area (VRA) of the system diagnostic work area (SDWA). Sig-
nificant fields for this code are: VRARRK13, VRARRK14, and
Explanation: The resource identified by NAME in message VRARRK15. If you suspect an error in DB2, refer to Section 3
DSNT501I is involved in a deadlock condition. of DB2 Diagnosis Guide and Reference for information on the
This reason code is issued by the following CSECT: identifying and reporting the problem.
DSNILMCL Collect the following diagnostic items listed in Appendix B,
System Action: The requested operation is not performed. “Problem determination” on page 1051: 1, 3, 5, 32.
Problem Determination: The requested operation is not per- This reason code is issued by the following CSECTs:
formed. An SQLCODE -911, -913, or -923 is issued, and/or DSNIREDR, DSNIENSR
message DSNT501I is issued. For more information, refer to System Action: The requested operation is not performed.
the SQL return code in “Section 2. SQL Return Codes” on
User Response: Determine the reason the installation exit
page 17, or to the description of the DSNT501I message in
could not be loaded, correct the problem, and rerun the job.
“DSNT... Messages” on page 315.
Problem Determination: The requested operation is not per-
If statistics trace class 3 is active, IFCID 172 contains diag-
formed. An SQLCODE -904 is issued, and/or message
nostic information. For a discussion of the effects of locking,
DSNT500I is issued. For more information, refer to the SQL
see Section 5 (Volume 2) of DB2 Administration Guide . If you
return code in “Section 2. SQL Return Codes” on page 17, or
suspect and error in DB2, refer to Section 3 of DB2 Diagnosis
to the description of the DSNT500I message in “DSNT...
Guide and Reference for information on identifying and
Messages” on page 315.
reporting the problem.
SYS1.LOGREC contains information in the variable recording
Collect the following diagnostic items listed in Appendix B,
area (VRA) of the system diagnostic work area (SDWA). Sig-
“Problem determination” on page 1051: 1, 3, 5, 18, 32, 36, 38.
nificant fields for this code are: VRARRK13, VRARRK14, and
VRARRK15. If you suspect an error in DB2, refer to Section 3
00C90089 of DB2 Diagnosis Guide and Reference for information on the
Explanation: The environmental descriptor manager (EDM) identifying and reporting the problem.
function of the data manager subcomponent did not have Collect the following diagnostic items listed in Appendix B,
| enough storage in its pool or data space to support the “Problem determination” on page 1051: 1, 3, 5, 32.
retrieval of object with ID 'object id' (DBD ID, SKCT plan
name or SKPT package name). The object can be either a
00C9008B
database descriptor (DBD), a skeleton cursor table (SKCT) or
a skeleton package table (SKPT). Explanation: An attempt was made to create a database, but
no DBIDs are available; that is, the system limit has been
This reason code is issued by the following CSECTs:
reached.
DSNGEDLC DSNGEDST DSNGEELC DSNGEFSP
This reason code is issued by the following CSECT:
DSNGESLC DSNGEPLC
DSNGDCID
System Action: The requested operation is not performed. System Action: The create is not allowed.
User Response: Invoke the application again. If, after several User Response: DROP all unused databases, and rerun the
attempts, there is still not enough space, the following actions job.
can be taken to reduce EDM storage requirements:
Problem Determination: The requested operation is not per-
Reduce the number of concurrent users using DB2. formed. An SQLCODE -904 is issued, and/or message
Try reducing the number of SQL statements in the plan or DSNT500I is issued. For more information, refer to the SQL
package and rebind. return code in “Section 2. SQL Return Codes” on page 17, or
Try to simplify the database design—for example, reduce to the description of the DSNT500I message in “DSNT...
the number of partitions in the database. Messages” on page 315.
To increase the EDM pool size definition, on the UPDATE SYS1.LOGREC contains information in the variable recording
install panels: area (VRA) of the system diagnostic work area (SDWA). Sig-
If EDM storage shortage is a recurring problem, change nificant fields for this code are: VRARRK13, VRARRK14, and
the installation parameters that affect the size of the EDM VRARRK15. If you suspect an error in DB2, refer to Section 3
pool—that is, increase the number of concurrent users and of DB2 Diagnosis Guide and Reference for information on the
the number of currently active databases, then restart DB2. identifying and reporting the problem.
Problem Determination: The requested operation is not per- Collect the following diagnostic items listed in Appendix B,
formed. An SQLCODE -904 or -923 is issued, and/or message “Problem determination” on page 1051: 1, 3, 5, 32.
00C9008C 00C9008E
Explanation: An attempt was made to allocate or bind to a Explanation: A lock request for the resource identified by
partitioned table space for which no clustering index was NAME could not be granted, and the request waited for a
defined. period longer than the maximum specified by the installation.
This reason code is issued by the following CSECTs: This reason code is issued by the following CSECT:
DSNILMCL
DSNISPSC DSNICUBC DSNIALLC
System Action: The data manager function that detected this
System Action: The bind or allocation process is not condition returns 'resource not available' to its invoker.
allowed. Message DSNT378I might also be issued.
User Response: Define the clustering index for the parti- Problem Determination: The requested operation is not per-
tioned table space, and rerun the job. formed. An SQLCODE -904, -911, -913, or -923 is issued,
Problem Determination: The requested operation is not per- and/or message DSNT501I is issued. For more information,
formed. An SQLCODE -904 is issued, and/or message refer to the SQL return code in “Section 2. SQL Return Codes”
DSNT501I is issued. For more information, refer to the SQL on page 17, or to the description of the DSNT501I message in
return code in “Section 2. SQL Return Codes” on page 17, or “DSNT... Messages” on page 315. If a time-out occurs, see
to the description of the DSNT501I message in “DSNT... also the "System Programmer Response" in message
Messages” on page 315. DSNT376I for problem determination.
SYS1.LOGREC contains information in the variable recording SYS1.LOGREC contains information in the variable recording
area (VRA) of the system diagnostic work area (SDWA). Sig- area (VRA) of the system diagnostic work area (SDWA). Sig-
nificant fields for this code are: VRARRK13, VRARRK14, and nificant fields for this code are: VRARRK13, VRARRK14, and
VRARRK15. If you suspect an error in DB2, refer to Section 3 VRARRK15. If you suspect an error in DB2, refer to Section 3
of DB2 Diagnosis Guide and Reference for information on of DB2 Diagnosis Guide and Reference for information on
identifying and reporting the problem. identifying and reporting the problem.
Collect the following diagnostic items listed in Appendix B, Collect the following diagnostic items listed in Appendix B,
“Problem determination” on page 1051: 1, 3, 5, 15, 17, 32, 33, “Problem determination” on page 1051: 1, 3, 5, 18, 32, 36, 38.
35.
00C9008F
00C9008D Explanation: The database descriptor's size (DBD) has
Explanation: An attempt was made to bind to a table space reached the limit of 25% of the EDM Pool size.
that had an incomplete clustering definition. This reason code is issued by the following CSECT:
This reason code is issued by the following CSECTs: DSNGDCPD
DSNISPSC, DSNIPSFI System Action: The request to create/alter a database object
System Action: The bind process is not allowed. is not allowed.
User Response: Complete the clustering definition for the User Response: Create the database object in a different
table space, and rerun the job. database or drop unused database objects from the database.
If you drop an object that is an index or a table space, the
Problem Determination: The requested operation is not per-
space becomes available in the DBD as soon as the drop is
formed. An SQLCODE -904 is issued, and/or message
committed. If you drop an object that is a table, the space in
DSNT501I is issued. For more information, refer to the SQL
the DBD is made available only after all of the following:
return code in “Section 2. SQL Return Codes” on page 17, or
to the description of the DSNT501I message in “DSNT... The DROP is committed.
Messages” on page 315. The DB2 REORG is run on the table space and there is no
SYS1.LOGREC contains information in the variable recording point in time recover after the REORG.
area (VRA) of the system diagnostic work area (SDWA). Sig- MODIFY is run to delete all image copies of data that con-
nificant fields for this code are: VRARRK13, VRARRK14, and tains rows of the dropped table, that is, copies that were
VRARRK15. If you suspect an error in DB2, refer to Section 3 taken before the REORG. Note that MODIFY will reclaim
of DB2 Diagnosis Guide and Reference for information on space in the DBD only if there are SYSCOPY rows to
identifying and reporting the problem. delete.
Collect the following diagnostic items listed in Appendix B, Problem Determination: The requested operation is not per-
“Problem determination” on page 1051: 1, 3, 5, 15, 17, 32, 33, formed. An SQLCODE -904 is issued, and/or message
35. DSNT500I is issued. For more information, refer to the SQL
return code in “Section 2. SQL Return Codes” on page 17, or
to the description of the DSNT500I message in “DSNT...
Messages” on page 315.
SYS1.LOGREC contains information in the variable recording
area (VRA) of the system diagnostic work area (SDWA). Sig-
nificant fields for this code are: VRARRK13, VRARRK14, and
VRARRK15. If you suspect an error in DB2, refer to Section 3
of DB2 Diagnosis Guide and Reference for information on
identifying and reporting the problem.
Collect the following diagnostic items listed in Appendix B, Insufficient virtual storage remains to satisfy this request. Refer
“Problem determination” on page 1051: 1, 3, 5, 32. to Section 5 (Volume 2) of DB2 Administration Guide for the
IRLM procedure to determine the amount of storage space
# 00C90090 available.
# Explanation: An attempt to lock a required resource failed. The current mix of transactions caused all available storage to
be used. You can find the number of locks held by a particular
# System Action: The operation is not performed. transaction by either using the DB2 performance trace facility
# User Response: Wait for all jobs which hold a lock on the or by performing IRLM tracing. Refer to Section 5 (Volume 2)
# resource in an incompatible lock state to complete before reis- of DB2 Administration Guide for information about the DB2
# suing the failing statement. performance trace facility.
# Problem Determination: The requested operation is not per- Determine what transactions were running and the number of
# formed. locks they held. You might want to schedule some of these
transactions at a different time.
# If the resource type is table space, table, or index, then issue
# the -DISPLAY DATABASE command with the LOCKS option to You can reduce the total number of page or row locks that
# get a list of jobs which currently hold locks on the required applications concurrently hold by changing the locking protocol
# resource. on one or more table spaces. Use one of the following:
# If the resource type is a package, then wait for BIND activity ALTER TABLESPACE...LOCKSIZE ANY
# on that package to complete before reissuing the failing ALTER TABLESPACE...LOCKSIZE TABLESPACE
# request. LOCK TABLE statements
# If the problem persists after jobs which hold incompatible locks If application logic permits, reduce the number of page or row
# complete, gather diagnostic information to pursue the problem. locks concurrently held for SELECT statements by re-binding
application plans with isolation level of cursor stability instead
# SYS1.LOGREC contains information in the variable recording of repeatable read or read stability.Refer to Chapter 5 of DB2
# area (VRA) of the system diagnostic work area (SDWA). Sig- SQL Reference for further information on SELECT.
# nificant fields for this code are: VRARRK13, VRARRK14, and
# VRARRK15. If you suspect an error in DB2, refer to Section 3 | You can reduce the total number of LOB locks that applica-
# of DB2 Diagnosis Guide and Reference for information on | tions concurrently hold by changing the locking protocol on one
# identifying and reporting the problem. | or more LOB table space. Use one of the following:
# Collect the following diagnostic items listed in Appendix B, | ALTER TABLESPACE...LOCKSIZE TABLESPACE
# “Problem determination” on page 1051: 1, 3, 5, 32, 33. | LOCK TABLE statement
Problem Determination: One or more of the following might
00C90091 be issued:
Explanation: The table space or index space could not be An SQLCODE -904 or -923
started, because there is an outstanding indoubt UR that must Message DSNT501I
be resolved before the start is allowed. An abend
This reason code is issued by the following CSECT: SYS1.LOGREC contains information in the variable recording
DSNILSTS area (VRA) of the system diagnostic work area (SDWA). Sig-
nificant fields for this code are: VRARRK13, VRARRK14, and
System Action: The START operation is not performed. VRARRK15. If you suspect an error in DB2, refer to Section 3
Problem Determination: Message DSNI002I is issued. See of DB2 Diagnosis Guide and Reference for information on
the description of that message for additional information. identifying and reporting the problem.
SYS1.LOGREC contains information in the variable recording Collect the following diagnostic items listed in Appendix B,
area (VRA) of the system diagnostic work area (SDWA). Sig- “Problem determination” on page 1051: 1, 3, 5, 18, 32, 35, 36.
nificant fields for this code are: VRARRK13, VRARRK14, and
VRARRK15. If you suspect an error in DB2, refer to Section 3 00C90093
of DB2 Diagnosis Guide and Reference for information on
identifying and reporting the problem. Explanation: An error occurred in IRLM.
Collect the following diagnostic items listed in Appendix B, This reason code is issued by the following CSECT:
“Problem determination” on page 1051: 1, 3, 5, 32, 33. DSNILMCL
System Action: A record is written to SYS1.LOGREC, and
00C90092 an SVC dump is requested.
Explanation: DB2 received an out-of-storage indication from Operator Response: Notify the system programmer.
IRLM resulting from a lock, unlock, or lock change request. System Programmer Response: Examine SYS1.LOGREC
This reason code is issued by the following CSECT: for a preceding error related to IRLM.
DSNILMCL Problem Determination: One or more of the following might
System Action: A record is written to SYS1.LOGREC only be issued:
when an abend is issued. No dump is requested. An SQLCODE -904 or -923
Operator Response: Notify the system programmer. Message DSNT501I
An abend
System Programmer Response: IRLM has exhausted the
amount of virtual storage available to it to represent locks.
SYS1.LOGREC contains the same diagnostic information in When the table or index space consists of a single data set,
the variable recording area (VRA) as shown for abend reason this is specific. Otherwise, the system programmer must find
code '00C90101'. The first four bytes of CTSIWHY contain the particular data set within the table or index space.
the return code from the IRLM function. The fifth byte of
SYS1.LOGREC contains information in the variable recording
CTSIWHY contains the request code, as follows:
area (VRA) of the system diagnostic work area (SDWA). Sig-
X'02' Lock nificant fields for this code are: VRARRK13, VRARRK14, and
X'03' Unlock VRARRK15. If you suspect an error in DB2, refer to Section 3
X'04' Change of DB2 Diagnosis Guide and Reference for information on
identifying and reporting the problem.
SYS1.LOGREC contains information in the variable recording
area (VRA) of the system diagnostic work area (SDWA). Sig- Collect the following diagnostic items listed in Appendix B,
nificant fields for this code are: VRARRK13, VRARRK14, and “Problem determination” on page 1051: 1, 3, 5, 10, 32, 33, 35.
VRARRK15. If you suspect an error in DB2, refer to Section 3
of DB2 Diagnosis Guide and Reference for information on 00C90095
identifying and reporting the problem.
Explanation: An attempt was made during DB2 restart to
Collect the following diagnostic items listed in Appendix B, access a page in order to apply a log record but DB2 was
“Problem determination” on page 1051: 1, 3, 5, 18, 32, 35, 36. unable to access the page. This abend reason code appears
as the reason code in message DSNI001I.
00C90094
This abend reason code is issued by the following CSECTs:
Explanation: A data set is in a state that is different from DSNIBMOC, DSNIIMPD
what DB2 expects. Possible causes are:
System Action: The restart of the named table space, index
A data set was deleted and redefined without DB2’s know- space, or partition is deferred by the subsystem.
ledge.
Operator Response: Notify the system programmer.
A previous DB2 failure involving the data set might have
System Programmer Response: Correct the problem, and
occurred.
then use either the -START DATABASE command or the
This reason code is issued by the following CSECT: RECOVER utility to make the table space, index space, or par-
DSNIBMCL tition available.
System Action: The requested action is not performed. If the Problem Determination: Examine previous messages on the
invoker of this module (DSNIBMCL) abends, a record is written console to determine why DB2 could not access the page. One
to SYS1.LOGREC, and the invoker probably initiates a dump. possible reason is that a back-level pack was mounted. That
If the invoker does not abend, no record is written to is, the page to which the log record applies was not yet for-
SYS1.LOGREC, and no dump is requested. If this occurs, an matted by VSAM. DB2 does not extend data sets during
SQL return code is issued, and/or message DSNT500I is restart.
issued. If the invoker of DSNIBMCL is not a utility, the data set
SYS1.LOGREC contains information in the variable recording
is placed in a stopped status.
area (VRA) of the system diagnostic work area (SDWA). Sig-
User Response: If the code was received while processing a nificant fields for this code are: VRARRK13, VRARRK14, and
user table, DB2 determined that the data set is empty. A VRARRK15. If you suspect an error in DB2, refer to Section 3
DROP TABLESPACE statement followed by a CREATE of DB2 Diagnosis Guide and Reference for information on
TABLESPACE statement and a CREATE TABLE statement identifying and reporting the problem.
defines the dropped table to DB2. Use the IDCAMS LISTCAT
Collect the following diagnostic items listed in Appendix B,
for the failing DB2 dataset. Check the HI-USED-RBA for this
“Problem determination” on page 1051: 1, 3, 5, 13, 32, 33.
dataset; if HI-USED-RBA = 0, the dataset is empty.If it was
received while processing a DB2 catalog or directory, then
recover the object as specified in DB2 Administration Guide in 00C90096
the section "Recovering Catalog and Directory Objects". | Explanation: The page, row or LOB lock on the page or
Operator Response: Notify the system programmer. | subpage identified by NAME in message DSNT500I or
| DSNT501I caused the total number of page, row or LOB locks
System Programmer Response: If you do not have the | concurrently held to reach the installation maximum number of
current level of the data set, you must perform DB2 recovery to | page, row or LOB locks (NUMLKUS) allowed for a single agent
return the data set to its expected state. See the Problem | in the system.
Determination section of this message for procedures to deter-
mine the name of the data set to be corrected. Use the This reason code is issued by the following CSECT:
DISPLAY command to check the status of the data set. If the DSNILMCL
data set is stopped, use the START command before per- System Action: The operation that encountered this condi-
forming recovery. tion is not executed. If a utility job encountered this condition,
Problem Determination: For more information, refer to the the utility is stopped. Otherwise, any database updates for the
SQL return code in “Section 2. SQL Return Codes” on statement that was executing are backed out. Any database
page 17, or to the description of the DSNT500I message in reads for the statement that was executing are not executed.
“DSNT... Messages” on page 315. The position of the cursor is unpredictable.
This error is detected at a time when the specific name of the User Response: Rerun the application after correcting the
data set involved cannot be determined by DB2. However, the cause of this resource unavailable condition.
SQL return code or message DSNT500I provides the name of | Programmer Response: Reduce the total number of page,
the table space or index space in which the data set resides. | row or LOB locks that the application concurrently holds by
| changing the locking protocol on one or more of the table Execution of a MODIFY utility after all back up copies of
| spaces to table space level locking. To do this, use the ALTER the table space or data set were deleted from the
| ... LOCKSIZE TABLESPACE or LOCK TABLE statements. SYSCOPY catalog table.
| Review the application to see if a different choice of SQL state- This reason code is issued by the following CSECTs:
| ments can be used to perform the same operation with less
DSNIDBCJ DSNIDBCO DSNIDBCQ
| concurrent access to multiple tables with page, row or LOB
| locking.
System Action: The allocation process is not allowed.
| If application logic permits, reduce the number of page, row or
User Response: Run the COPY utility. However, if the table
| LOB locks concurrently held for SELECT statements by
space is to be used for read-only access, or if recoverability of
| rebinding the application plan with isolation level of cursor sta-
the data is not required, instead of taking a full image copy you
| bility instead of repeatable read or read stability, or add more
can run the REPAIR utility and request that the image copy
| frequent commits.
required condition be removed.
| System Programmer Response: If the application should
Problem Determination: The requested operation is not per-
| be able to run with the current page, row or LOB locking pro-
formed. An SQLCODE -904 and/or message DSNT501I is
| tocol and SQL statements, increase the NUMLKUS value for
issued. For more information, refer to the SQL return code in
| the installation to allow a higher limit of page, row or LOB locks
“Section 2. SQL Return Codes” on page 17 or to the
| to be concurrently held by a single application. If a utility job
description of the DSNT501I message in “DSNT... Messages”
| encountered this resource unavailable condition, the
on page 315.
| NUMLKUS value must be increased to accommodate the
| utility, because utilities are programmed to use the minimum SYS1.LOGREC contains information in the variable recording
| number of page, row or LOB locks possible. Refer to Section 5 area (VRA) of the system diagnostic work area (SDWA). Sig-
| (Volume 2) of DB2 Administration Guide for further information nificant fields for this code are: VRARRK13, VRARRK14, and
| about choosing the value for NUMLKUS. VRARRK15.
Operator Response: If a utility job encountered this resource If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
unavailable condition, terminate the utility and restart it after nosis Guide and Reference for information on identifying and
the cause of the resource unavailable condition has been cor- reporting the problem.
rected.
Collect the following diagnostic items listed in Appendix B,
Problem Determination: An SQLCODE -904 and message “Problem determination” on page 1051: 1, 3, 5, 32.
DSNT500I or DSNT501I are issued. For more information refer
to the SQL return code in “Section 2. SQL Return Codes” on 00C90098
page 17, or message DSNT500I or DSNT501I in “DSNT...
Messages” on page 315. Explanation: An attempt was made to increase read-only or
write-access counts of the utility in process beyond the
SYS1.LOGREC contains information in the variable recording maximum (255) allowed.
area (VRA) of the system diagnostic work area (SDWA). Sig-
nificant fields for this code are: VRARRK13, VRARRK14, and This abend reason code is issued by the following CSECT:
VRARRK15. DSNIDBMF.
If you suspect an error in DB2, refer to Section 3 of DB2 Diag- User Response: Use the -DISPLAY UTILITY command to
nosis Guide and Reference for information on identifying and determine how many utility jobs are currently active. If a
reporting the problem. number of utility jobs are active but not in the stopped state,
notify the system programmer. If the utility jobs are running,
Collect the following diagnostic items listed in Appendix B, resubmit your job after they complete.
“Problem determination” on page 1051: 1, 3, 5, 32.
System Programmer Response: Determine why active utili-
ties are in the stopped state. Use the -TERM UTILITY
00C90097
command to terminate utilities and reduce the UIP (utility in
Explanation: An attempt was made to allocate to a table process) counts. If no active utilities are indicated, then use
space for update operations. However, the table space was the -DISPLAY DATABASE command to show which table
marked as 'image copy' required, and updates are not spaces or partitions are in a UTRO or UTRW state.
allowed. This condition occurs as a result of any of the
Problem Determination: Message DSNT500I is issued. For
following:
more information, refer to the explanation of message
Running a REORG LOG NO or LOAD LOG NO utility on DSNT500I.
the table space without running a copy that specifies FULL
YES. 00C90099
Execution of a RECOVER utility which specifies the Explanation: An attempt was made to load data into a parti-
TORBA or TOCOPY options, without following it with the tion, but the partition is full. Based on the High Key value
required COPY utility. specified in the Index for each partition, utilities instructed Data
Execution of a -TERM UTILITY command on a COPY Manager to load a record into the proper partition. This
utility that failed during the copy phase or was active in the required Data Manager to build a new page with a page
copy phase. Until the COPY utility completes, SQL updates number one higher than the last page in the partition.
are not allowed because the the integrity of the data would However, this new page is in the next partition.
be compromised. This abend reason code is issued by the following CSECT:
DSNILPG
System Action: The requested action is not performed. Then retry the load. If it is a resume load job, reorganize the
table space before rerunning the load.
User Response: Redefine the High Key values in the Index
and retry the load. Problem Determination: For more information, refer to the
explanation of message DSNT500I in “DSNT... Messages” on
If you receive this code during a reorganization, query the
page 315.
catalog to check the PCTFREE and FREEPAGE values. You
might be able to decrease the amount of free space to allow Collect the following diagnostic items listed in Appendix B,
the REORG utility to complete successfully. “Problem determination” on page 1051: 1, 32, 37.
Operator Response: Notify the system programmer.
00C9009C
System Programmer Response: Use the -TERM UTILITY
command to terminate the load utility and reduce the UIP Explanation: An attempt was made to insert data into a parti-
(utility in process) counts. tioned table space or index space, but the partition is full. For
table space partition, the data to be inserted is based on the
Problem Determination: For more information, refer to the
high-key value specified in the cluster index. If it is an index
explanation of message DSNT500I in the Service Controller
space partition, the index entry to be inserted is also based on
Messages section of this book.
the high-key value associated with the index.
Collect the following diagnostic items listed in Appendix B,
This abend reason code is issued by the following CSECTs:
“Problem determination” on page 1051: 1, 32, 37.
DSNISMPI, DSNISMXP
System Action: A 'resource not available' code is returned
00C9009A
to the end user and the requested action is not performed. The
Explanation: An attempt was made to create a system data- SVC dump and the SYS1.LOGREC recording are not
base which, according to the DBID space map, has already requested.
been created. However, the catalog shows the database was
User Response: Notify the system programmer to redefine
not created. This discrepancy between the catalog and the
the partitions and rerun the job.
space map for DBIDs may be due to an unsuccessful
migration. System Programmer Response: Refer to Section 2 (Volume
1) of DB2 Administration Guide to redefine a partition. The par-
This abend reason code is issued by the following CSECT:
tition that must be redefined is identified in the DSNT501I
DSNGDCID
message.
System Action: Database is not created.
If you suspect an error in DB2 refer to Section 3 of DB2 Diag-
Operator Response: Notify the system programmer. nosis Guide and Reference for information on identifying and
System Programmer Response: Drop the database, then reporting the problem.
create it (using DROP and CREATE commands). If this fails to Problem Determination: For more information, refer to the
resolve the error, follow the steps in problem determination. explanation of message DSNT501I in “DSNT... Messages” on
Problem Determination: The requested operation is not per- page 315.
formed. An SQLCODE -904 is issued, and/or message Collect the following diagnostic items listed in Appendix B,
DSNT500I is issued. For more information, refer to the SQL “Problem determination” on page 1051: 1, 37.
return code in “Section 2. SQL Return Codes” on page 17, or
to the description of the DSNT500I message in “DSNT...
00C9009D
Messages” on page 315.
Explanation: An attempt was made to insert data into a
SYS1.LOGREC contains information in the variable recording
linear table space or index space, but the table space or index
area (VRA) of the system diagnostic work area (SDWA). Sig-
space is full. A linear table space or index space can contain a
nificant fields for this code are: VRARRK13, VRARRK14, and
maximum of 64GB of data.
VRARRK15. If you suspect an error in DB2, refer to Section 3
of DB2 Diagnosis Guide and Reference for information on This abend reason code is issued by the following CSECTs:
identifying and reporting the problem.
DSNISGPI DSNISMPI DSNISMXP
Collect the following diagnostic items listed in Appendix B,
“Problem determination” on page 1051: 1, 3, 5, 32, 38, 39. System Action: A 'resource not available' code is returned
to the end user and the requested action is not performed. The
00C9009B SVC dump and the SYS1.LOGREC recording are not
requested.
Explanation: An attempt was made to load data into a linear
table space, but the table space is full. A linear table space User Response: Notify the system programmer to reclaim
can contain a maximum of 64GB of data. some free space in the associated table space or index space
and rerun the job.
This abend reason code is issued by the following CSECT:
DSNILPG System Programmer Response: The table space or index
space name is identified in the DSNT501I message. If it is a
System Action: The requested action is not performed. table space, run the DB2 REORG utility to attempt to reclaim
User Response: Use the -TERM UTILITY command to termi- additional free space. If it is an index space, drop and recreate
nate the LOAD utility. Use ALTER TABLE SPACE to reduce the index with a fewer number of SUBPAGEs. If free space
the amount of free space within a page (PCTFREE) and the cannot be reclaimed, notify the database administrator to redis-
number of free pages within the table space (FREEPAGE). tribute the data into different table spaces or index spaces.
System Action: The operation is not allowed. The data Collect the following diagnostic items listed in Appendix B,
manager function that detected this condition returns 'resource “Problem determination” on page 1051: 1, 5.
not available' to its invoker.
00C900A1
Operator Response: Notify the system programmer.
Explanation: An attempt was made to allocate a table space
System Programmer Response: In order to perform the
or index that is in group recovery pending state.
operation on the object:
System Action: The use of the object is not allowed.
For non-data sharing systems a re-migration is required.
User Response: Run the RECOVER utility, LOAD utility or
For data sharing systems, insure that the operation is per-
START DATABASE command to recover the object.
formed on a member at the correct level of DB2.
Operator Response: Determine whether the RECOVER
If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
utility or START DATABASE command should be run to com-
nosis Guide and Reference for information on identifying and
plete recovery of the object.
reporting the problem.
Problem Determination: The requested operation is not per-
Problem Determination: The requested operation is not per-
formed because the table space or index might be in an incon-
formed. An SQLCODE -904 is issued. Message DSNT500I or
sistent state. An SQLCODE -904 and/or message DSNT501I is
message DSNT501I may also be issued. For more information,
issued. For more information, refer to “Section 2. SQL Return
refer to the “Section 2. SQL Return Codes” on page 17 or to
Codes” on page 17, or to the description of the DSNT501I
the description of the DSNT500I and DSNT501I messages in
message in “DSNT... Messages” on page 315.
“DSNT... Messages” on page 315.
Collect the following diagnostic items listed in Appendix B,
Collect the following diagnostic items listed in Appendix B,
“Problem determination” on page 1051: 1, 5.
“Problem determination” on page 1051: 1, 3, 5.
00C900A3
00C9009F
Explanation: A table has been referenced that has a primary
| Explanation: An attempt was made to allocate a table
key but no index exists to enforce its uniqueness. The refer-
| space, index space, or a related index space while the table
ence is usually to a parent table when attempting to verify the
| space or index space was in check pending status.
referential constraint of an insert or update operation to a This abend reason code is issued by the following CSECTs:
dependent table.
DSNIDBCI DSNIDBCJ DSNIDBCN DSNIDBCO
This abend reason code is issued by the following CSECTs: DSNIDBCP DSNIDBCQ DSNIDBET DSNIRCCA
DSNIALLC DSNICUBC DSNIKESR DSNIRELI System Action: The operation is not allowed.
System Action: The use of the table is not allowed. Operator Response: Notify the system programmer.
User Response: Create a primary index on the referenced | System Programmer Response: The check pending status
table. | needs to be resolved before the operation will be allowed.
Problem Determination: The requested operation is not per- | If the object is a table space with referential relationships, then
formed. An SQLCODE -904 or -923 is issued. For more infor- | run the CHECK DATA utility to check for referential integrity
mation, refer to “Section 2. SQL Return Codes” on page 17, or | violations.
to the description of the DSNT501I message in “DSNT... | If the object is a base table space with LOB columns, then run
Messages” on page 315. | the CHECK DATA utility to validate the auxiliary columns.
| If the object is a LOB table space, then run the CHECK LOB
| utility to validate the structure of the LOB table space.
| If the object is an index space, then run the CHECK INDEX If there was no space available on a volume(s), then clear
| utility to verify that the index keys are consistent with the data space from the volume(s) or add more volumes to the
| in the table space or table space partition. STOGROUP or redefine the VSAM data set to concatenate
more volumes.
| For more information, see Section 2 (Volume 1) of DB2 Admin-
If the maximum number of extensions has been exceeded
| istration Guide.
for the VSAM data set(s), then ALTER or delete and rede-
Problem Determination: The requested operation is not per- fine the temporary data set(s) with a larger size.
formed. An SQLCODE -904 or -923 is issued. For more infor- If all the temporary files are full, then create or define more
mation, refer to “Section 2. SQL Return Codes” on page 17, or temporary files.
to the description of the DSNT501I message in “DSNT...
Issue the -START DATABASE command to start the temporary
Messages” on page 315.
file.
System Programmer Response: An SQLCODE -904 is System Action: The operation is not allowed. The data
issued, and/or message DSNT501I is issued. The segmented manager function that detected this condition returns 'resource
table space name is identified in SQLCA and/or in the not available' to its invoker.
DSNT501I message. If the requested function is the CREATE Operator Response: Notify the system programmer.
TABLE statement, create the table in a different segmented
System Programmer Response: To perform the operation
table space. Otherwise, run the DB2 REORG utility to attempt
on the object, you must migrate the catalog to the current
to reclaim additional free space. If no free space can be
release. To do this, run DSNTIJTC. Refer to Section 2 of DB2
reclaimed, then notify the database administrator to redistribute
Installation Guide for information about this job.
the data into different table spaces.
Problem Determination: The requested operation is not per-
Problem Determination: For more information, refer to the
formed. SQLCODE -904 and message DSNT501I are issued.
explanation of message DSNT501I in “DSNT... Messages” on
For more information refer to the SQL Return Code section or
page 315.
to the description of the DSNT501I message in “DSNT...
Collect the following diagnostic items listed in Appendix B, Messages” on page 315.
“Problem determination” on page 1051: 1, 37.
00C900A7
00C900A5
Explanation: At allocation of a bound plan or a bound
Explanation: The temporary file(s) is full or the maximum package, a lock inconsistency is detected. A DB2 internal bind
number of extensions for a VSAM data set(s) has been error is probably responsible for this condition. The plan or the
exceeded for all temporary files or the volume(s) has no space package cannot be allocated.
available in which to extend.
This reason code is issued by the following CSECT:
This reason code is issued by the following CSECT: DSNIALLC
DSNIXWKF
System Action: The plan or the package is not allocated. A
System Action: The reason code appears in a DSNT501I DSNT501I message is issued and an SQLCODE -923 is
message, and the requested operation is not performed. returned to the application.
User Response: If the reason code appears in a DSNT501I System Programmer Response: Re-bind the plan or the
message, issue -DISPLAY THREAD to determine the total package.
number of concurrent users. If there were a large number of
Problem Determination: If the problem persists after the
users using temporary file(s), resubmit the job when concurrent
plan or the package is rebound, collect the following diagnostic
users are low. IDCAMS LISTCAT may be used to determine
items listed in Appendix B, “Problem determination” on
the VSAM data set(s) space allocations.
page 1051: 1, 3, 5, 32, 33.
00C900A8 00C900AA
Explanation: The table space, index, or partition could not be Explanation: The table space or index space could not be
started because of a failure to acquire the lock. Activity on the stopped because it is indoubt.
table space, index, or partition must quiesce before the START
The abend reason code is issued by the following CSECTs:
DB ACCESS(FORCE) command can acquire the necessary
DSNILSTS DSNIPDBA
lock.
System Action: The STOP operation is not performed.
The abend reason code is issued by the following CSECT:
DSNISTFO User Response: Resolve the indoubt unit of recovery (UR)
using the RECOVER INDOUBT command.
System Action: The START operation is not performed.
Problem Determination: Message DSNI003I is issued. For
User Response: Wait for all activity on the table space,
more information, refer to the description of this message. If
index, or partition to complete before reissuing the START
the problem persists after all indoubts with locks on the table
command.
space/index space are resolved, gather diagnostic information
Problem Determination: The requested operation is not per- to pursue the problem.
formed. Message DSNI002I is issued. For more information,
SYS1.LOGREC contains information in the variable recording
refer to the description of this message in “DSNI... Messages”
area (VRA) of the system diagnostic work area (SDWA). Sig-
on page 213. If the problem persists after all activity on the
nificant fields for this code are: VRARRK13, VRARRK14, and
table space, index, or partition completes, gather diagnostic
VRARRK15. If you suspect an error in DB2, refer to Section 3
information to pursue the problem.
of DB2 Diagnosis Guide and Reference for information on
SYS1.LOGREC contains information in the variable recording identifying and reporting the problem.
area (VRA) of the system diagnostic work area (SDWA). Sig-
Collect the following diagnostic items listed in Appendix B,
nificant fields for this code are: VRARRK13, VRARRK14, and
“Problem determination” on page 1051: 1, 3, 5, 32,
VRARRK15. If you suspect an error in DB2, refer to Section 3
of DB2 Diagnosis Guide and Reference for information on
identifying and reporting the problem. | 00C900AB
Collect the following diagnostic items listed in Appendix B, | Explanation: An attempt was made to access a resource that
“Problem determination” on page 1051: 1, 3, 5, 32, 33 | is in the restart pending state.
| System Action: The use of the resource is not allowed.
00C900A9 | System Programmer Response: Use the DISPLAY
Explanation: An attempt was made to allocate a resource | THREAD TYPE(POSTPONED) to determine the status of the
that is deferred. | resource.
The abend reason code is issued by the following CSECT: | Use the RECOVER POSTPONED command if recover has not
DSNIDBCN | already been started.
System Action: The allocation process is not allowed. | Problem Determination: The requested operation is not per-
| formed because the table space might be in an inconsistent
User Response: Determine the reason for which the
| state. An SQLCODE -904 is issued. For more information,
resource was deferred and take the appropriate action to
| refer to the "Section 2. SQL Return Codes" in topic A.2 or to
correct the problem. Such actions include issuing the START
| the description of the DSNT501I messages in "Section 3.
DATABASE command or running the RECOVER
| DSNT Messages" in topic A.3.
| TABLESPACE , RECOVER INDEX, RECOVER, or LOAD
REPLACE utility.
00C900AC
Problem Determination: The requested operation is not per-
formed. An SQLCODE -904 is issued, and/or message Explanation: The DB2 subsystem currently serves as a
DSNT500I or DSNT501I is issued. For more information, refer remote site tracker system. Users cannot have write access for
to the SQL return code or to the description of the DSNT500I tracker systems, and a tracker DB2 will not allow the use of
or DSNT501I message. SYS1.LOGREC contains information any SQL statement that requires write access.
in the variable recording area (VRA) of the system diagnostic System Action: DB2 cannot process the operation.
work area (SDWA). Significant fields for this code are:
VRARRK13, VRARRK14, and VRARRK15. System Programmer Response: None.
If you suspect an error in DB2, refer to Section 3 of DB2 Diag- Problem Determination: A tracker DB2 does not allow the
nosis Guide and Reference for information on identifying and use of any SQL statement that requires write access, such as
reporting the problem. DDL, GRANT/REVOKE, INSERT, DELETE, or UPDATE. DB2
issues SQL code -904 in conjunction with this message. You
Collect the following diagnostic items listed in Appendix B, can also find more information in the description for message
“Problem determination” on page 1051: 1, 3, 5, 32, 33 DSNT501I, which DB2 issues along with this reason code.
Additionally, a tracker DB2 does not allow the START DATA-
BASE command to perform LPL/GRECP recovery. If you
attempt a START DATABASE command on a tracker DB2,
DB2 will issue message DNSI005I with this reason code.
System Programmer Response: If this becomes a prevalent | refer to the “Section 2. SQL Return Codes” on page 17 or to
problem, you will need to redistribute the coupling facility lock | the description of the DSNT501I messages in “DSNT...
structure storage resource to make more room for the record | Messages” on page 315.
list. You can do this in one of two ways:
issue a rebuild, or | 00C900C5
dynamically change the lock structure size | Explanation: An attempt was made to access a table space
See Chapter 7 of DB2 Data Sharing: Planning and Adminis- | that is in the auxiliary check pending state (ACHKP).
tration for more details about these options. | System Action: The operation is not allowed. DB2 returns
| 'resource not available' to its invoker.
00C900C0 >
| System Programmer Response: Use the CHECK DATA
Explanation: A request for an internal lock could not be | utility to identify the invalid LOBs. Use the SQL UPDATE state-
granted. The request waited for a longer period than is | ment to replace the invalid LOBs or the SQL DELETE state-
allowed. | ment to remove the rows with the invalid LOBs. After rectifying
This reason code is issued by the following CSECT:
| all invalid LOBs, run CHECK DATA again to clear the ACHKP
DSNILMCL
| state from the table space.
| 00C900C4
# deactivated by a modified the system parameters.
| Explanation: An attempt was made to access a value in a | Problem Determination: The requested operation is not per-
| column with one of the LOB data types (BLOB, CLOB, | formed. An SQLCODE -904 is issued. Message DSNT500I or
| DBCLOB), but the value of the column is no longer valid. | message DSNT501I may also be issued. For more information,
| refer to the “Section 2. SQL Return Codes” on page 17 or to
| System Action: The operation is not allowed. DB2 returns | the description of the DSNT500I and DSNT501I messages in
| 'resource not available' to its invoker. | “DSNT... Messages” on page 315.
| System Programmer Response: Use the CHECK LOB utility | Collect the following diagnostic items listed in Appendix B,
| to identify the invalid LOBs. Use update to replace or delete | “Problem determination” on page 1051: 1, 3, 5.
| the invalid LOBs.
| If you suspect an error in DB2, refer to Section 3 of DB2 Diag- | 00C900D3
| nosis Guide and Reference for information on identifying and
| reporting the problem.
| Explanation: No more space in the data space is available
| for processing LOB values.
| Problem Determination: The requested operation is not per-
| formed. An SQLCODE -904 is issued. Message DSNT500I or
| This reason code is issued by the following CSECTs:
| message DSNT501I may also be issued. For more information,
| DSNOTCSO
| refer to the “Section 2. SQL Return Codes” on page 17 or to | System Action: The operation is not allowed. DB2 returns
| the description of the DSNT500I and DSNT501I messages in | 'resource not available' to its invoker.
| “DSNT... Messages” on page 315.
| System Programmer Response:
| Collect the following diagnostic items listed in Appendix B,
| If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
| “Problem determination” on page 1051: 1, 3, 5.
| nosis Guide and Reference for information on identifying and
| reporting the problem.
| Problem Determination: The requested operation is not per-
| formed. An SQLCODE -904 is issued. Message DSNT500I or
| message DSNT501I may also be issued. For more information,
| refer to the “Section 2. SQL Return Codes” on page 17 or to
| the description of the DSNT500I and DSNT501I messages in If the abend reason code was issued by a CSECT with name
| “DSNT... Messages” on page 315. DSNGxxxx, where 'xxxx' is any value, make a copy of
DSNDB01.DBD01, DSNDB01.SCT02, and
| Collect the following diagnostic items listed in Appendix B,
DSNDB01.DSNSCT02 on tape with DSN1COPY. This might
| “Problem determination” on page 1051: 1, 3, 5.
be a large copy.
00C90101
00C90102
Explanation: The data manager detected an internal error
Explanation: An inconsistent page was detected. This has
within DB2. This error may indicate inconsistent data or an
been caused by a DB2 internal error.
error in internal DB2 control structures or code.
This abend reason code is issued by the following CSECT:
This abend reason code is issued by the following CSECT:
DSNIBROK
DSNnnnnn
System Action: A record is written to SYS1.LOGREC, and
'nnnnn' is the CSECT name identifier given in VRARRK5 of
an SVC dump is requested.
the VRA in the SDWA (see the Problem Determination section
of this message). 'DSNnnnnn' is the full CSECT name given System Programmer Response: If you suspect an error in
in the dump title. DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
for information on identifying and reporting the problem.
Possible causes of this error include:
Problem Determination: SYS1.LOGREC contains informa-
Improper migration or fall back procedures,
tion in the variable recording area (VRA) of the system diag-
DB2 directory and DB2 Catalog restored to different points
nostic work area (SDWA). Significant fields for this code are:
in time,
VRARRK5, VRARRK6, VRARRK7, VRARRK8, and VRARRK9.
Table space restored improperly,
An internal DB2 failure. In addition, the following general purpose registers (GPRs)
contain the indicated diagnostic information:
System Action: A record is written to SYS1.LOGREC, and
an SVC dump is requested. GPR Content
2 Address of the page set block (PB)
User Response: Notify the system programmer.
3 Address of the log record, if any
Operator Response: Collect the console output from the 8 Address of the buffer block (BB)
system on which the job was run for the period of time span- 9 Address of the page buffer
ning the failure. Save this output for use in problem determi-
Collect the following diagnostic items listed in Appendix B,
nation.
“Problem determination” on page 1051: 1, 2, 5, 6, 13, 32.
System Programmer Response: If you suspect an error in
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
00C90103
for information on identifying and reporting the problem.
Explanation: Bad data was returned from either the edit or
Problem Determination: If this abend occurred while proc-
the validation exit.
essing data in one or more pages, message DSNI014I is
issued to identify each page involved. In general, the data in This abend reason code is issued by the following CSECTs:
these pages is fine. However, if problems are reported that DSNIREDR, DSNIENSR
repeatedly involve the same pages or if the same pages are System Action: A record is written to SYS1.LOGREC, and
reported by other abends, you may want to analyze the set of an SVC dump is requested.
pages specified.
System Programmer Response: If you suspect an error in
Run the CHECK utility to determine the extent of index incon- DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
sistency if: for information on identifying and reporting the problem.
The page type indicated in message DSNI014I is index. Problem Determination: SYS1.LOGREC contains the same
The page type indicated in message DSNI014I is data. diagnostic information in the variable recording area (VRA) as
There is an index defined on a table in the indicated page in abend reason code '00C90101'. Refer to the table accom-
set. panying that abend reason code for details.
The LOC keyword in the dump title gives the The '00C90103' abend reason code was issued because one
Load-module.CSECT:qualifier of the location where the abend of the checks described in the following list failed:
occurred. 'Qualifier' is a unique, 4-digit hexadecimal number
that identifies the place within the source module (CSECT) Save first and last byte of the input record. On return from
where the abend was issued. exit, see if either group has been modified. If so, abend.
Check length of edited data. If greater than maximum
Refer also to Table 4 in Appendix B, “Problem determination” allowed for this row, or less than one, abend.
on page 1051 for further information on DSN1COPY misuse. Store a special character in the first byte past the end of
SYS1.LOGREC contains information in the variable recording the output area (place for edit procedure to put edited or
area (VRA) of the system diagnostic work area (SDWA). Sig- (original unedited) row), to make sure the exit doesn’t
nificant fields for this abend code are: VRARRK5, VRARRK6, overrun this area. On return, check if it is still the same
VRARRK7, VRARRK8, and VRARRK9. special character. If not, abend.
Collect the following diagnostic items listed in Appendix B, SYS1.LOGREC contains information in the variable recording
“Problem determination” on page 1051: 1, 2, 5, 31, 32, 33, 40, area (VRA) of the system diagnostic work area (SDWA). Sig-
41. nificant fields for this code are: VRARRK5, VRARRK6,
VRARRK7, VRARRK8, and VRARRK9.
00C90105 00C90107
Explanation: An inconsistent page was detected. This has Explanation: At commit phase 1, a nonzero write intent count
been caused by a DB2 internal error. was detected. An error in DB2 logic is probably responsible for
this condition.
This abend reason code is issued by the following CSECT:
DSNIBROK This abend reason code is issued by the following CSECT:
DSNICMT2
System Action: A record is written to SYS1.LOGREC, an
SVC dump is requested, and the page will be scheduled for System Action: A record is written to SYS1.LOGREC, an
automatic recovery. If automatic recovery is successful, SVC dump is requested. The thread is aborted.
message DSNB215I is issued. If automatic recovery fails,
System Programmer Response: If you suspect an error in
message DSNI012I is issued, and an abend '04E' with reason
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
code 00C90102 will occur.
for information on identifying and reporting the problem.
Note: If the resource required for automatic recovery is in
Problem Determination: Collect the following diagnostic
use, automatic recovery will be delayed until the
items listed in Appendix B, “Problem determination” on
resource is available.
page 1051: 1, 2, 5, 31, 32, 33.
System Programmer Response: Refer to Section 3 of DB2
Diagnosis Guide and Reference for information on identifying 00C90108
and reporting the problem.
Explanation: At commit phase 2, a nonzero read intent count
Problem Determination: SYS1.LOGREC contains informa- or write intent count was detected. An error in DB2 logic is
tion in the variable recording area (VRA) of the system diag- probably responsible for this condition.
nostic work area (SDWA). Significant fields for this code are:
VRARRK5, VRARRK6, VRARRK7, VRARRK8, and VRARRK9. This abend reason code is issued by the following CSECT:
Exceptions to the table definitions of the VRA fields are: DSNICMT2
VRARRK5 is the name of the module that called the check System Action: A record is written to SYS1.LOGREC, and a
page routine that detected the error in the page. SVC dump is requested. The thread is committed and the
VRARRK6 identifies the error in the page. application is allowed to continue without notification of the
error.
The following general purpose registers (GPRs) contain the
indicated diagnostic information: System Programmer Response: If you suspect an error in
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
GPR Content for information on identifying and reporting the problem.
2 Address of the page set block (PB)
3 Address of the log record, if any Problem Determination: Collect the following diagnostic
8 Address of the buffer block (BB) items listed in Appendix B, “Problem determination” on
9 Address of the page buffer page 1051: 1, 2, 5, 31, 32, 33.
Collect the following diagnostic items listed in Appendix B, Explanation: At deallocate, a nonzero read intent count or
“Problem determination” on page 1051: 1, 2, 5, 6, 13, 32. write intent count was detected. An error in DB2 logic is prob-
ably responsible for this condition.
This abend reason code is issued by the following CSECT: System Programmer Response: If you suspect an error in
DSNIIMPD DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
for information on identifying and reporting the problem.
System Action: A record is written to SYS1.LOGREC, an
SVC dump is requested, and the DB2 restart is terminated. Problem Determination: Collect the following diagnostic
items listed in Appendix B, “Problem determination” on
System Programmer Response: If you suspect an error in page 1051: 1, 2, 5, 31, 32, 33.
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
for information on identifying and reporting the problem.
00C90110
Problem Determination: Collect the following diagnostic
items listed in Appendix B, “Problem determination” on Explanation: The data manager detected an inconsistent
page 1051: 1, 2, 5, 32, 33. data condition. This may be caused by an inconsistency in
either the DB2 catalog or the DB2 directory. In this case, the
OBD for the requested OBID cannot be located in the data-
base descriptor (DBD). The DBD in storage may be incon-
sistent. Specifically, the OBDDMAP(OBID) array element
should contain an offset into the DBD where the OBD should
be located. However, in this case the OBD expected was not
at the indicated offset.
To prevent further damage and possible loss of data, the Collect the following diagnostic items listed in Appendix B,
inconsistency must be corrected before any further SQL “Problem determination” on page 1051: 1, 5, 69, 70, 71, 72.
access is attempted to this database.
System Action: A record is written to SYS1.LOGREC, and 00C90112
an SVC dump is requested. Explanation: The data manager detected an inconsistent
Operator Response: Notify the system programmer. data condition. There may be more than one object with the
same OBID in the DB2 Catalog. To prevent further damage
System Programmer Response: Determine which data-
and possible loss of data, the inconsistency must be corrected
bases were being used when the error occurred. Prevent
before any further SQL access is attempted to this database.
further SQL access to the databases. If you suspect an error in
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference This abend reason code is issued by the following CSECT:
for information on identifying and reporting the problem. DSNGDCOB
Problem Determination: The DBD in use at the time of the System Action: A record is written to SYS1.LOGREC and an
abend is inconsistent in storage and may be inconsistent on SVC dump is requested.
DASD. Since the nature and extent of the damage done to the Operator Response: Notify the system programmer.
DBD is not immediately known, an analysis of the entire DBD
must be done. System Programmer Response: Determine which data-
bases were being used when the error occurred. Prevent
The inconsistency may be due to: further SQL access to the databases. If you suspect an error in
Incomplete recovery of DB2 catalog and/or DB2 directory. DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
Invalid restore of DB2 catalog and/or DB2 directory to a for information on identifying and reporting the problem.
prior point in time. Problem Determination: Since the extent of this inconsist-
A conditional restart which bypassed recovery of either the ency is not immediately known, an analysis of the entire DBD
DSNDB01.DBD01 page set or the DSNDB06.SYSDBASE must be done.
page set.
A DB2 internal error. The inconsistency may be due to:
Collect the following diagnostic items listed in Appendix B, Incomplete recovery of the DB2 Catalog and/or the DB2
“Problem determination” on page 1051: 1, 5, 69, 70, 71, 72. Directory.
Invalid restore of the DB2 Catalog and/or the DB2 Direc-
00C90111 tory to a prior point in time.
Explanation: The data manager detected an inconsistent A conditional restart which bypassed recovery of
data condition. In this case, the OBD for the requested OBID DSNDB01.DBD01 or DSNDB06.SYSDBASE page sets.
does not exist. This may be caused by an inconsistency in A DB2 internal error.
either the DB2 catalog or the DB2 directory. Specifically, the
OBDDMAP(OBID) entry is zero rather than an offset to an Collect the following diagnostic items listed in Appendix B,
OBD within the DBD. “Problem determination” on page 1051: 1, 5, 69, 70, 71, 72.
System Programmer Response: Determine which data- User Response: Notify the system programmer.
bases were being used when the error occurred. Prevent Operator Response: Collect the console output from the
further SQL access to the databases. If you suspect an error in system on which the job was run for the period of time span-
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference ning the failure. Save this output for use in problem determi-
for information on identifying and reporting the problem. nation.
Problem Determination: Since the DB2 directory does not System Programmer Response: If you suspect an error in
agree with the DB2 catalog, either of these may be incon- DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
sistent. Since the nature and extent of the inconsistency for information on identifying and reporting problems.
between the DB2 catalog the DBD is not immediately known,
an analysis of the entire DBD must be done. Problem Determination: This abend can occur in
migration/remigration when some necessary
The inconsistency may be due to: migration/remigration steps are skipped. It indicates that some
Incomplete recovery of DB2 catalog and/or DB2 directory. DB2 activity occurred or was pending after the last complete
Invalid restore of DB2 catalog and/or DB2 directory to a checkpoint on the prior system. See Section 2 of DB2 Installa-
prior point in time. tion Guide for a complete list of migration/remigration steps. If
A conditional restart which bypassed recovery of this was the cause of the problem, it can be corrected by
DSNDB01.DBD01 or DSNDB06.SYSDBASE page sets. falling back to the prior version/release long enough to bring
A DB2 internal error. DB2 up, then bring it down while conforming to all
migration/remigration steps. Pay specific attention to resolving
all indoubts and to performing a stop mode quiesce.
System Action: A record is written to SYS1.LOGREC, and involved in the inconsistency. The other pages were present at
an SVC dump is requested. the time of the abend.
User Response: Notify the system programmer. The LOC keyword in the dump title gives the
Load-module.CSECT:qualifier of the location where the abend
System Programmer Response: If you suspect an error in
occurred. 'Qualifier' is a unique, 4-digit hexadecimal number
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
that identifies the place within the source module (CSECT)
for information on identifying and reporting the problem.
where the abend was issued.
Problem Determination: Message DSNI013I is issued to
Refer also to Table 4 in Appendix B, “Problem determination”
identify the data page. It also identifies the database name and
on page 1051 for further information on DSN1COPY misuse.
table space name. This message is issued for all pages in use
at the time of the abend. Within this group of pages, at least SYS1.LOGREC contains information in the variable recording
one page is involved in the inconsistency. The other pages area (VRA) of the system diagnostic work area (SDWA). Sig-
were present at the time of the abend. nificant fields for this abend code are: VRARRK5, VRARRK6,
VRARRK7, VRARRK8, and VRARRK9.
The LOC keyword in the dump title gives the Load
module.CSECT: qualifier of the location where the abend Collect the following diagnostic items listed in Appendix B,
occurred. 'Qualifier' is a unique, 4-digit hexadecimal number “Problem determination” on page 1051: 1, 2, 5, 31, 32, 33, 42,
that identifies the place within the source module (CSECT) 44, 62.
where the abend was issued.
Refer also to Table 4 in Appendix B, “Problem determination” 00C90215
on page 1051 for further information on DSN1COPY misuse. Explanation: The data manager detected a condition of
SYS1.LOGREC contains information in the variable recording inconsistent data. The index manager subcomponent has been
area (VRA) of the system diagnostic work area (SDWA). Sig- passed a key with a key length not equal to the key length in
nificant fields for this abend code are: VRARRK5, VRARRK6, pages of the index. The index space may have been improp-
VRARRK7, VRARRK8, and VRARRK9. erly restored by using DSN1COPY or the wrong data set may
have been copied for the given index.
Collect the following diagnostic items listed in Appendix B,
“Problem determination” on page 1051: 1, 2, 5, 31, 32, 33, 42, This abend reason code is issued by the following CSECT:
62. DSNnnnnn
'nnnnn' is the CSECT name identifier given in VRARRK5 of
00C90214 the VRA in the SDWA. 'DSNnnnnn' is the full CSECT name
given in the dump title.
Explanation: The data manager detected a condition of
inconsistent data. The description of the index in the index System Action: A record is written to SYS1.LOGREC, and
OBD does not match the attributes of an index page. The an SVC dump is requested.
problems consists of one of the following conditions:
User Response: Notify the system programmer.
IPPNUNI does not equal OBDKNUNI,
System Programmer Response: If you suspect an error in
IPPTLTH does not equal OBDKLEN,
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
IPPOLTH does not equal OBDLENO, or
for information on identifying and reporting the problem.
If the page is a leaf page, the segmentation flag or number
of subpages conflict (IPPNLPG does not equal OBDINLPG A rebuild index or recover index will restore the index to a
or IPPSEGM conflicts with OBDINLPG). correct condition.
The index space may have been improperly restored by using Problem Determination: Message DSNI013I will be issued
DSN1COPY or the wrong data set may have been copied for for each index page. It identifies the database, the index name.
the given index. This message is issued for all pages in use at the time of the
abend. Within this group of pages, at least one page is
This abend reason code is issued by the following CSECT:
involved in the inconsistency. The other pages were present at
DSNnnnnn
the time of the abend.
'nnnnn' is the CSECT name identifier given in VRARRK5 of
The LOC keyword in the dump title gives the
the VRA in the SDWA. 'DSNnnnnn' is the full CSECT name
Load-module.CSECT:qualifier of the location where the abend
given in the dump title.
occurred. 'Qualifier' is a unique, 4-digit hexadecimal number
System Action: A record is written to SYS1.LOGREC, and that identifies the place within the source module (CSECT)
an SVC dump is requested. where the abend was issued.
User Response: Notify the system programmer. Refer also to Table 4 in Appendix B, “Problem determination”
on page 1051 for further information on DSN1COPY misuse.
System Programmer Response: If you suspect an error in
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference SYS1.LOGREC contains information in the variable recording
for information on identifying and reporting the problem. area (VRA) of the system diagnostic work area (SDWA). Sig-
nificant fields for this abend code are: VRARRK5, VRARRK6,
Problem Determination: Message DSNI013I will be issued
VRARRK7, VRARRK8, and VRARRK9.
for each index page. It identifies the database, and the index
name. This message is issued for all pages in use at the time Collect the following diagnostic items listed in Appendix B,
of the abend. Within this group of pages, at least one page is “Problem determination” on page 1051: 1, 2, 31, 32, 33, 42,
44, 62, 63, 64.
ning the failure. Save this output for use in problem determi-
00C9021C
nation.
Explanation: While running a utility, the data manager
System Programmer Response: If you suspect an error in
detected an inconsistent data condition. A row was encount-
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
ered that is not represented by a record OBD in the database
for information on identifying and reporting the problem.
descriptor (DBD). This abend may indicate an internal DB2
Problem Determination: Message DSNI013I is issued to error, but most likely occurs due to a user error. Possible user
identify the data page that contains the bad data record. The errors may include:
database name and table space name will also be identified.
Data from a DB2 subsystem was copied to another DB2
SYS1.LOGREC contains information in the variable recording subsystem incorrectly. This is the most common error.
area (VRA) of the system diagnostic work area (SDWA). Sig-
DSNDB01.DBD01 was regressed to a time prior to a table
nificant fields for this abend code are: VRARRK5, VRARRK6,
being created.
VRARRK7, VRARRK8, and VRARRK9.
If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
Refer also to Table 4 in Appendix B, “Problem determination”
nosis Guide and Reference for information on identifying and
on page 1051 for further information on DSN1COPY misuse.
reporting the problem.
Collect the following diagnostic items listed in Appendix B,
This abend reason code is issued by the following CSECTs:
“Problem determination” on page 1051: 1, 3, 32, 37.
DSNIRFNX, DSNISNPG
If a DB2 internal error is indicated, collect the following diag- Definitions of table spaces, tables, and indexes involved in
nostic items listed in Appendix B, “Problem determination” on the error
page 1051: 1, 2, 5, 10, 12, 31, 32, 33, 37, 43.
Listing of the entire table space
Listing of the DBD, obtained by executing UTILITY DIAG-
00C9021E
NOSE OBD.
Explanation: The data manager detected an inconsistent
data condition in a segmented table space. An invalid page
00C90220
was requested. The page number is outside the highest for-
matted RBA for the page set. Either the segment chain is Explanation: The data manager detected an inconsistent
broken, or the table space has been truncated. A truncated data condition. In this case, free index page cannot be found in
table space could be a possible user error. the index space. The problem could be caused by a problem
detected by IRLM, such as out-of-storage, or some other
This abend reason code is issued by the following CSECTs:
problem.
DSNISGSC, DSNISNPG
This abend reason code is issued by the following CSECT:
System Action: A record is written to SYS1.LOGREC, and
DSNISMXF.
an SVC dump is requested.
System Action: A record is written to SYS1.LOGREC, and
User Response: Notify the system programmer.
an SVC dump is requested.
Operator Response: Collect the console output from the
User Response: Notify the system programmer.
system on which the job was run for the period of time span-
ning the failure. Save this output for use in problem determi- Operator Response: Collect the console output from the
nation. system on which the job was run for the period of time span-
ning the failure. Save this output for use in problem determi-
System Programmer Response: If you suspect an error in
nation.
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
for information on identifying and reporting the problem. System Programmer Response: If you suspect an error in
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
Problem Determination: Collect the following diagnostic
for information on identifying and reporting the problem.
items listed in Appendix B, “Problem determination” on
page 1051: 1, 5, 3, 32, 37. Problem Determination: Message DSNI013I is issued to
identify the data pages. It identifies the database name, table
space name, and index space name. This message is issued
00C9021F
for all pages in use at the time of the abend. Within this group
Explanation: The data manager detected an inconsistent of pages, at least one page is involved in the inconsistency.
data condition in a segmented table space. A duplicate first The other pages were present at the time of the abend.
segment block for a table is found during the rebuilding of the
From the console output, determine if resource unavailable
first segment block in a segmented table space. The segment
message DSNT500I/DSNT501I was given prior to the abend. If
chain may be broken.
there is and the reason code given is 00C90092, 00C90093, or
This abend reason code is issued by the following CSECT: 00C90096, then refer to the description of the appropriate
DSNISEGR message in this book for more information. Otherwise, collect
System Action: A record is written to SYS1.LOGREC, and the following diagnostic items listed in Appendix B, “Problem
an SVC dump is requested. determination” on page 1051: 1, 2, 5, 31, 32, 33. Also collect a
DSN1COPY output of the tables and indexes before any
User Response: Notify the system programmer. recover is performed.
Operator Response: Collect the console output from the
system on which the job was run for the period of time span- 00C90221
ning the failure. Save this output for use in problem determi-
Explanation: The data manager detected an inconsistent
nation.
data condition. In this case, a nonsegmented space map page
System Programmer Response: If you suspect an error in was read for a table space that had been defined as seg-
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference mented. This problem could be caused by incorrect use of the
for information on identifying and reporting the problem. DSN1COPY service aid or a DB2 internal problem reading the
Problem Determination: Collect the following diagnostic space map page.
items: This abend reason code is issued by the following CSECT:
Console output from the system on which the job was run DSNISGAU
and a listing of SYSLOG data set for the period of time System Action: A record is written to SYS1.LOGREC, and
spanning the failure. an SVC dump is requested.
Listing of SYS1.LOGREC data set, obtained by executing User Response: Notify the system programmer.
IFCEREP1.
Operator Response: Collect the console output from the
SVC dump (or system dump), taken to SYS1.DUMPxx system on which the job was run for the period of time span-
data set, as a result of operator initiated dump command ning the failure. Save this output for use in problem determi-
or SLIP trap exit. nation.
SYSPRINT output, including JCL, for the batch job and System Programmer Response: If you suspect an error in
system messages that were issued DB2, Refer to Section 3 of DB2 Diagnosis Guide and Refer-
ence for information on identifying and reporting the problem.
Problem Determination: Collect the following diagnostic | Collect the following diagnostic items listed in Appendix B,
items listed in Appendix B, “Problem determination” on | “Problem determination” on page 1051: 1, 3, 5.
page 1051: 1, 2, 5, 32, 37.
X'D1......' Codes
For X'D1' codes, DB2 provides the following System Action: In response to the DSNJSLR FUNC=OPEN
or FUNC=GET call, DB2 places a return code of 8 in register
diagnostic information in the SYS1.LOGREC vari-
15 and a reason code of 00D10011 in register 0. No abend is
able recording area (VRA) of the SDWA for many issued by the stand-alone log services CSECT (DSNJRS01),
of the reason codes: and no information is written to SYS1.LOGREC data set.
MODID Name of module issuing the The stand-alone log services program is under the control of a
user-written program that uses the DSNJSLR macro. The user
abend program must therefore anticipate and react to a nonzero
LEVEL Change level return code and a nonzero reason code, possibly by termi-
COMPONENT Subcomponent ID nating the execution of the user program.
REGISTERS General purpose registers For additional details about the stand-alone log services,
(GPRs) 0 through 15 at time of including a sample of an application program which reacts to
nonzero return codes and nonzero reason codes, refer to
abend
Appendix C (Volume 2) of DB2 Administration Guide.
System Programmer Response: In all likelihood, the
REGION parameter on the EXEC statement for the user
00D10010
program is too small. Increase the REGION size, and resubmit
Explanation: The DB2 stand-alone log services OPEN proc- the user program.
essing macro (DSNJSLR) issues this reason code. The
RANGE parameter on the OPEN request specifies the address
00D10012
of a 12-byte area containing the log relative byte address
(RBA) range to be processed by subsequent GET requests. Explanation: The DB2 stand-alone log services OPEN proc-
However, the RBA specified in the second six bytes of the essing macro (DSNJSLR) issued this reason code. The Job
RANGE parameter (which indicates the end of the log RBA ) is Control Language (JCL) for the user program that uses the
less than or equal to the RBA specified in the first six bytes of DSNJSLR macro must specify either the use of the bootstrap
the RANGE parameter (which indicates the start of the log data set (BSDS) or, in the absence of the BSDS, the active or
RBA). archive data set(s) which is used in the processing. The
FUNC=OPEN request failed because neither BSDS nor any
This reason code is issued by the following CSECT:
log data set is allocated for the job.
DSNJRS01
This reason code is issued by the following CSECT:
System Action: In response to the DSNJSLR FUNC=OPEN
DSNJRS01
call, DB2 places a return code of 8 in register 15 and a reason
code of 00D10010 in register 0. No abend is issued by the System Action: In response to the DSNJSLR FUNC=OPEN
stand-alone log services CSECT (DSNJRS01), and no informa- call, DB2 places a return code of 8 in register 15 and a reason
tion is written to SYS1.LOGREC data set. code of 00D10012 in register 0. No abend is issued by the
stand-alone log services CSECT (DSNJRS01), and no informa-
The stand-alone log services program is under the control of a
tion is written to SYS1.LOGREC data set.
user-written program that uses the DSNJSLR macro. The user
application program must therefore anticipate and react to a The stand-alone log services program is under the control of a
nonzero return code and a nonzero reason code, possibly by user-written program that uses the DSNJSLR macro. The user
terminating the execution of the user program. program must therefore anticipate and react to a nonzero
return code and a nonzero reason code, possibly by termi-
For additional details about the stand-alone log services,
nating the execution of the user program.
including a sample of an application program which reacts to
nonzero return codes and nonzero reason codes, refer to For additional details about the stand-alone log services,
Appendix C (Volume 2) of DB2 Administration Guide. including a sample of an application program which reacts to
nonzero return codes and nonzero reason codes, refer to
System Programmer Response: Correct the RANGE RBA
Appendix C (Volume 2) of DB2 Administration Guide.
parameter input, and resubmit the request.
System Programmer Response: Correct the JCL and
resubmit the user program.
00D10011
Explanation: The DB2 stand-alone log services OPEN and
00D10013
GET processing macro (DSNJSLR) issued this reason code.
During the initial processing of a FUNC=OPEN or FUNC=GET Explanation: The DB2 stand-alone log services OPEN proc-
request, storage is obtained to contain the control blocks and essing macro (DSNJSLR) issued this reason code. A VSAM
other information required to process this request. An MVS OPEN error occurred while opening the bootstrap data set
GETMAIN failed when attempting to obtain the required (BSDS).
storage. This reason code is issued by the following CSECT:
This reason code is issued by the following CSECTs: DSNJRS04
Explanation: The DB2 stand-alone log services OPEN proc- System Programmer Response: Refer to the DFSMS/MVS:
essing macro (DSNJSLR) issued this reason code. In the job Macro Instructions for Data Sets to determine the meaning of
control language (JCL) associated with the user-written appli- the VSAM OPEN error returned in SLRFRG15, and the ACB
cation, more than one DB2 system's logs were identified. error code returned in SLRFERCD. take appropriate action,
However, on the OPEN request an RBA range was specified. and resubmit the FUNC=OPEN request.
When reading logs from more than one DB2 system, you
cannot specify an RBA range; you must specify an LRSN 00D10020
range.
Explanation: The DB2 stand-alone log services GET proc-
This reason code is issued by the following CSECT: essing macro (DSNJSLR) issued this reason code. The end of
DSNJRS06 data has been reached (end of the log, end of the user-
System Action: In response to DSNJSLR FUNC=OPEN call, specified log data set(s), or end of the log RBA range specified
DB2 places a return code of 12 in register 15 and a reason by the RANGE parameter).
code of 00D10018 in register 0. No abend is issued by the This reason code is issued by the following CSECTs:
stand-alone log services, and no information is written to DSNJRS02, DSNJRS03
SYS1.LOGREC data set.
System Action: In response to the DSNJSLR FUNC=GET
User Response: Correct the range specification on the call, DB2 places a return code of 4 in register 15 and a reason
OPEN request, and rerun the job. If range is specified when code of 00D10020 in register 0. No abend is issued by the
reading log records from multiple members, LRSN=YES must stand-alone log services CSECT (DSNJRS01), and no informa-
also be specified. Also range must be specified if GROUP DD tion is written to SYS1.LOGREC data set.
or a MxxBSDS (BSDS) DD is specified in the JCL.
The stand-alone log services program is under the control of a
For additional details about the stand-alone log services, user-written program that uses the DSNJSLR macro. The user
including a sample of an application program which reacts to program must therefore anticipate and react to a nonzero
the nonzero return codes and nonzero reason codes, refer to return code and a nonzero reason code, possibly by termi-
Appendix C (Volume 2) of DB2 Administration Guide. nating the execution of the user program.
For additional details about the stand-alone log services,
including a sample of an application program which reacts to
nonzero return codes and nonzero reason codes, refer to
Appendix C (Volume 2) of DB2 Administration Guide.
System Programmer Response: This is not an error; rather,
this reason code denotes a normal end of data condition. No
action is necessary.
The RBA range supplied in the RANGE parameter may stand-alone log services, and no information is written to
have exceeded the upper or lower bound of RBAs avail- SYS1.LOGREC data set.
able on all active log data sets and all archive log data
User Response: Correct the range specification on the
sets. This will normally occur when the user has specified
OPEN request, and rerun the job.
the bootstrap data set (BSDS) method in the JCL.
For additional details about the stand-alone log services,
The RBA range supplied in the RANGE parameter may
including a sample of an application program which reacts to
have exceeded the upper or lower bound of RBAs avail-
the nonzero return codes and nonzero reason codes, refer to
able on the active log data sets and/or archive log data
Appendix C (Volume 2) of DB2 Administration Guide.
sets supplied in the user’s JCL. This will occur when the
user has supplied log data sets using the ACTIVEn and
ARCHIVE ddnames. 00D10029
To resolve the problem, use the print log map (DSNJU004) Explanation: The DB2 stand-alone log services OPEN proc-
utility to obtain a listing of the archive and active log data sets, essing macro (DSNJSLR) issued this reason code. The BSDS
and their corresponding RBA ranges. Check the user’s JCL data set of a member named in the BSDS data set pointed to
and the user’s RANGE parameter to ensure that they are in by the GROUP DD statement cannot be allocated.
harmony with one another. Correct the JCL and RANGE This reason code is issued by the following CSECT:
parameters as necessary, and rerun the application. DSNJRS06
System Action: In response to DSNJSLR FUNC=OPEN call,
00D10027 DB2 places a return code of 12 in register 15 and a reason
Explanation: The DB2 stand-alone log services GET proc- code of 00D10029 in register 0. No abend is issued by the
essing macro (DSNJSLR) issued this reason code. A VSAM stand-alone log services, and no information is written to
error occurred while reading the bootstrap data set (BSDS). SYS1.LOGREC data set.
This reason code is issued by the following CSECT: User Response: Make sure the BSDS data set of every
DSNJRS03 member named in the BSDS data set pointed to by the
GROUP DD statement is available for allocation. If the missing
System Action: In response to the DSNJSLR FUNC=GET
BSDS data set belongs to a member that is no longer active
call, DB2 places a return code of 12 in register 15 and a
and its BSDS data set does not exist any more, then do not
reason code of 00D10027 in register 0. No abend is issued by
use GROUP DD to allocate required BSDS and log data sets.
the stand-alone log services CSECT (DSNJRS01), and no
To read log records of other active members, specify a
information is written to SYS1.LOGREC data set.
MxxBSDS DD statements for each active member. The print
Information about the results of the GET request is also log map (DSNJU004) utility can be used to find the name of
returned in the stand-alone log GET Feedback Area (SLRF). every member's BSDS data set.
The VSAM GET error return code is placed in SLRFRG15. The
For additional details about the stand-alone log services,
RPL error code (RPLERRCD) is placed in SLRFERCD.
including a sample of an application program which reacts to
The stand-alone log services program is under the control of a the nonzero return codes and nonzero reason codes, refer to
user-written program that uses the DSNJSLR macro. The user Appendix C (Volume 2) of DB2 Administration Guide.
program must therefore anticipate and react to a nonzero
return code and a nonzero reason code, possibly by termi- 00D1002A
nating the execution of the user program.
Explanation: The DB2 stand-alone log services GET proc-
For additional details about the stand-alone log services, essing macro (DSNJSLR) issued this reason code. The GET
including a sample of an application program which reacts to processing has requested an RBA in an active log data set
nonzero return codes and nonzero reason codes, refer to which was previously not opened. A VSAM OPEN error
Appendix C (Volume 2) of DB2 Administration Guide. occurred while opening the active log data set.
System Programmer Response: Refer to the DFSMS/MVS: This reason code is issued by the following CSECT:
Macro Instructions for Data Sets to determine the meaning of DSNJRS03
the VSAM GET error returned in SLRFRG15, and the RPL
error code returned in SLRFERCD. Take appropriate action to System Action: In response to the DSNJSLR FUNC=GET
correct the error. call, DB2 places a return code of 12 in register 15 and a
reason code of 00D1002A in register 0. No abend is issued by
the stand-alone log services CSECT (DSNJRS01), and no
00D10028
information is written to SYS1.LOGREC data set.
Explanation: The DB2 stand-alone log services OPEN proc-
Information about the results of the GET request is also
essing macro (DSNJSLR) issued this reason code. Both LRSN
returned in the stand-alone log GET Feedback Area (SLRF).
range and CI mode read were specified on the OPEN request
The VSAM OPEN error return code is placed in SLRFRG15.
when reading the log of a DB2 system. However, when
The ACB error code (ACBERFLG) is placed in SLRFERCD.
reading the log in CI mode, range can be specified only in
The ddname of the data set on which the activity occurred is
RBA.
placed in SLRFDDNM.
This reason code is issued by the following CSECT:
The stand-alone log services program is under the control of a
DSNJRS06
user-written program that uses the DSNJSLR macro. The user
System Action: In response to DSNJSLR FUNC=OPEN call, program must therefore anticipate and react to a nonzero
DB2 places a return code of 12 in register 15 and a reason return code and a nonzero reason code, possibly by termi-
code of 00D10028 in register 0. No abend is issued by the nating the execution of the user program.
of the data set on which the activity occurred is placed in Information about the results of the GET request is also
SLRFDDNM. returned in the stand-alone log GET Feedback Area (SLRF).
The ddname of the data set on which the activity occurred is
The stand-alone log services program is under the control of a
placed in SLRFDDNM.
user-written program that uses the DSNJSLR macro. The user
program must therefore anticipate and react to a nonzero The stand-alone log services program is under the control of a
return code and a nonzero reason code, possibly by termi- user-written program that uses the DSNJSLR macro. The user
nating the execution of the user program. program must therefore anticipate and react to a nonzero
return code and a nonzero reason code, possibly by termi-
For additional details about the stand-alone log services,
nating the execution of the user program.
including a sample of an application program which reacts to
nonzero return codes and nonzero reason codes, refer to For additional details about the stand-alone log services,
Appendix C (Volume 2) of DB2 Administration Guide. including a sample of an application program which reacts to
nonzero return codes and nonzero reason codes, refer to
System Programmer Response: Refer to the DFSMS/MVS:
Appendix C (Volume 2) of DB2 Administration Guide.
Using Advanced Services to determine the meaning of the
RDJFCB error code returned in SLRFRG15. Take the appro- System Programmer Response: Determine the cause of the
priate action to correct the error, and resubmit the application QSAM GET error, take the appropriate action to correct the
job. error, and resubmit the application job.
00D10044 00D10050
Explanation: The DB2 stand-alone log services GET proc- Explanation: The DB2 stand-alone log services GET proc-
essing macro (DSNJSLR) issued this reason code. The GET essing macro (DSNJSLR) issued this reason code. The boot-
processing has requested an RBA in an archive log data set strap data set (BSDS) was erroneously specified as one of the
which was previously not opened. The attempt to open the ARCHIVE data sets in the user’s Job Control Language (JCL).
archive log data set failed. Consequently, the GET request failed.
This reason code is issued by the following CSECT: This reason code is issued by the following CSECT:
DSNJRS03 DSNJRS03
System Action: In response to the DSNJSLR FUNC=GET System Action: In response to the DSNJSLR FUNC=GET
call, DB2 places a return code of 12 in register 15 and a call, DB2 places a return code of 8 in register 15 and a reason
reason code of 00D10044 in register 0. No abend is issued by code of 00D10050 in register 0. No abend is issued by the
the stand-alone log services CSECT (DSNJRS01), and no stand-alone log services CSECT (DSNJRS01), and no informa-
information is written to SYS1.LOGREC data set. tion is written to SYS1.LOGREC data set.
Information about the results of the GET request is also Information about the results of the GET request is also
returned in the stand-alone log GET Feedback Area (SLRF). returned in the stand-alone log GET Feedback Area (SLRF).
The ddname of the data set on which the activity occurred is The RBA of the requested log record control interval is placed
placed in SLRFDDNM. in SLRFRBA.
The stand-alone log services program is under the control of a The stand-alone log services program is under the control of a
user-written program that uses the DSNJSLR macro. The user user-written program that uses the DSNJSLR macro. The user
program must therefore anticipate and react to a nonzero program must therefore anticipate and react to a nonzero
return code and a nonzero reason code, possibly by termi- return code and a nonzero reason code, possibly by termi-
nating the execution of the user program. nating the execution of the user program.
For additional details about the stand-alone log services, For additional details about the stand-alone log services,
including a sample of an application program which reacts to including a sample of an application program which reacts to
nonzero return codes and nonzero reason codes, If you nonzero return codes and nonzero reason codes, refer to
suspect an error in DB2, refer to Section 3 of DB2 Diagnosis Appendix C (Volume 2) of DB2 Administration Guide.
Guide and Reference for information on identifying and
System Programmer Response: Examine the user’s JCL,
reporting the problem.
and remove the occurrence of the BSDS data set as one of
System Programmer Response: Determine the cause of the the concatenated ARCHIVE data sets. Resubmit the applica-
QSAM OPEN error, take the appropriate action to correct the tion job.
error, and resubmit the application job.
00D10061
00D10048
Explanation: The DB2 stand-alone log services GET proc-
Explanation: The DB2 stand-alone log services GET proc- essing macro (DSNJSLR) issued this reason code. The log
essing macro (DSNJSLR) issued this reason code. A QSAM record control interval (CI) requested by the application
GET error occurred while reading an archive log data set. program was read successfully from an active log data set or
an archive log data set. However, the physical record length
This reason code is issued by the following CSECT:
returned from reading the CI is not the expected length. The
DSNJRS03
GET function will complete, but will issue this reason code as a
System Action: In response to the DSNJSLR FUNC=GET warning.
call, DB2 places a return code of 12 in register 15 and a
The length of a log CI in an active log data set is expected to
reason code of 00D10048 in register 0. No abend is issued by
be 4089 bytes. The length of a log CI in an archive log data
the stand-alone log services CSECT (DSNJRS01), and no
set is expected to be 4096 bytes.
information is written to SYS1.LOGREC data set.
This reason code is issued by the following CSECT: nonzero return codes and nonzero reason codes, refer to
DSNJRS03 Appendix C (Volume 2) of DB2 Administration Guide.
System Action: In response to the DSNJSLR FUNC=GET System Programmer Response: Several possibilities exist
call, DB2 places a return code of 4 in register 15 and a reason for the cause of this condition:
code of 00D10061 in register 0. No abend is issued by the
The Recovery Log Manager component of DB2 did not ori-
stand-alone log services CSECT (DSNJRS01), and no informa-
ginally construct the LRH properly.
tion is written to SYS1.LOGREC data set. The GET function
will complete, but will issue this reason code as a warning. The log record header (LRH) for the log record segment
was damaged after it was written by the DB2 subsystem.
Information about the results of the GET request is also
returned in the stand-alone log GET Feedback Area (SLRF). The application program continued to process after receipt
The length and address of the CI are placed in fields of a 00D10021 reason code (gap in the log).
SLRFRCLL and SLRFFRAD, respectively. The RBA associated If the error was caused by the application program, modifica-
with the CI is placed in SLRFRBA. The 'ddname' of the data tions to the application program may be required.
set on which the activity occurred is placed in SLRFDDNM.
If the error is a suspected DB2 problem, run the log print
The stand-alone log services program is under the control of a (DSN1LOGP) utility, specifying a range of RBAs which would
user-written program that uses the DSNJSLR macro. The user encompass the problem RBA. Determine if the LRH of the log
program must therefore anticipate and react to a nonzero record segment is truly in error by looking at the record seg-
return code and a nonzero reason code, possibly by termi- ments directly preceding and after the record segment in ques-
nating the execution of the user program. tion.
For additional details about the stand-alone log services,
including a sample of an application program which reacts to 00D10063
nonzero return codes and nonzero reason codes, refer to
Appendix C (Volume 2) of DB2 Administration Guide. Explanation: The DB2 stand-alone log services GET proc-
essing macro (DSNJSLR) issued this reason code. The
System Programmer Response: The RDF/CIDF control requested record was found to be a last spanned record
information in the CI has been compromised. If the SLRFRCLL segment, but a preceding first record segment does not exist.
field indicates a value greater than expected, then the data The GET function will complete, but will issue this reason code
within the CI can still be used by the application program. If the as a warning.
SLRFRCLL field indicates a value less than expected, then the
data within the CI in all likelihood can still be used, but with This reason code is issued by the following CSECT:
caution (additional error checking routines may be required by DSNJRS02
the user program). System Action: In response to the DSNJSLR FUNC=GET
call, DB2 places a return code of 4 in register 15 and a reason
00D10062 code of 00D10063 in register 0. No abend is issued by the
stand-alone log services CSECT (DSNJRS01), and no informa-
Explanation: The DB2 stand-alone log services GET proc- tion is written to SYS1.LOGREC data set. The GET function
essing macro (DSNJSLR) issued this reason code. The will complete, but will issue this reason code as a warning.
requested record was found to be a middle spanned record
segment, but a preceding first record segment does not exist. Information about the results of the GET request is also
The GET function will complete, but will issue this reason code returned in the stand-alone log GET Feedback Area (SLRF).
as a warning. The length and address of the requested record are placed in
fields SLRFRCLL and SLRFFRAD, respectively. The RBA
This reason code is issued by the following CSECT: associated with the log record segment is placed in SLRFRBA.
DSNJRS02 The ddname of the data set on which the activity occurred is
System Action: In response to the DSNJSLR FUNC=GET placed in SLRFDDNM.
call, DB2 places a return code of 4 in register 15 and a reason The stand-alone log services program is under the control of a
code of 00D10062 in register 0. No abend is issued by the user-written program that uses the DSNJSLR macro. The user
stand-alone log services CSECT (DSNJRS01), and no informa- program must therefore anticipate and react to a nonzero
tion is written to SYS1.LOGREC data set. The GET function return code and a nonzero reason code, possibly by termi-
will complete, but will issue this reason code as a warning. nating the execution of the user program.
Information about the results of the GET request is also For additional details about the stand-alone log services,
returned in the stand-alone log GET Feedback Area (SLRF). including a sample of an application program which reacts to
The length and address of the requested record are placed in nonzero return codes and nonzero reason codes, refer to
fields SLRFRCLL and SLRFFRAD, respectively. The RBA Appendix C (Volume 2) of DB2 Administration Guide.
associated with the log record segment is placed in SLRFRBA.
The ddname of the data set on which the activity occurred is System Programmer Response: Several possibilities exist
placed in SLRFDDNM. for the cause of this condition:
The stand-alone log services program is under the control of a The Recovery Log Manager component of DB2 did not ori-
user-written program that uses the DSNJSLR macro. The user ginally construct the log record header (LRH) properly.
program must therefore anticipate and react to a nonzero The LRH for the log record segment was damaged after it
return code and a nonzero reason code, possibly by termi- was written by the DB2 subsystem.
nating the execution of the user program.
The application program continued to process after receipt
For additional details about the stand-alone log services, of a 00D10021 reason code (gap in the log).
including a sample of an application program which reacts to
00D10106 00D1010A
Explanation: DB2 failed to update an internal control record Explanation: DB2 failed to write a record for re-enable in the
in the BSDS for data sharing. shared communications area (SCA) structure.
This abend reason code is issued by the following CSECT: This abend reason code is issued by the following CSECT:
DSNJS001 DSNJS001
System Action: DB2 startup terminates. System Action: DB2 startup terminates.
Operator Response: Collect the SYS1.LOGREC and SVC Operator Response: Collect the SYS1.LOGREC and SVC
dump and contact the system programmer. dump and contact the system programmer.
System Programmer Response: Obtain the SYS1.LOGREC System Programmer Response: Obtain the SYS1.LOGREC
and SVC dump for analysis. and SVC dump for analysis.
Problem Determination: See DB2 code 00D10411 for Problem Determination: Review the DB2 system console for
problem determination. possible DSN7xxxx messages that could relate to this problem.
00D10107 00D1010B
Explanation: DB2 failed to insert an internal control record in Explanation: DB2 failed to update an internal control record
the BSDS for data sharing re-enable. in the BSDS to enable data sharing.
This abend reason code is issued by the following CSECT: This abend reason code is issued by the following CSECT:
DSNJS001 DSNJS001
System Action: DB2 startup terminates. System Action: DB2 startup terminates.
Operator Response: Collect the SYS1.LOGREC and SVC Operator Response: Collect the SYS1.LOGREC and SVC
dump and contact the system programmer. dump and contact the system programmer.
System Programmer Response: Obtain the SYS1.LOGREC System Programmer Response: Obtain the SYS1.LOGREC
and SVC dump for analysis. and SVC dump for analysis.
Problem Determination: See DB2 code 00D10412 for Problem Determination: See DB2 Code 00D10411 for
problem determination. problem determination.
00D10108 00D1010C
Explanation: DB2 failed to write an internal control record for Explanation: DB2 failed to write an internal control record in
re-enable in the shared communications area (SCA) structure. the shared communications area (SCA) to enable data sharing.
This abend reason code is issued by the following CSECT: This abend reason code is issued by the following CSECT:
DSNJS001 DSNJS001
System Action: DB2 startup terminates. System Action: DB2 startup terminates.
Operator Response: Collect the SYS1.LOGREC and SVC Operator Response: Collect the SYS1.LOGREC and SVC
dump and contact the system programmer. dump and contact the system programmer.
System Programmer Response: Obtain the SYS1.LOGREC System Programmer Response: Obtain the SYS1.LOGREC
and SVC dump for analysis. and SVC dump for analysis.
Problem Determination: See message DSN7501A for Problem Determination: Review the DB2 system console for
problem determination. possible DSN7xxxx messages that could relate to this problem.
00D10109 00D1010D
Explanation: DB2 found a shared communications area Explanation: DB2 could not find an internal control record for
(SCA) structure during the data sharing re-enable process. data sharing in the BSDS or the shared communications area
This structure should not be built at this time. (SCA).
This abend reason code is issued by the following CSECT: This abend reason code is issued by the following CSECT:
DSNJS001 DSNJS001
System Action: DB2 startup terminates. System Action: DB2 startup terminates.
Operator Response: Collect the SYS1.LOGREC and SVC Operator Response: Collect the SYS1.LOGREC and SVC
dump and contact the system programmer. dump and contact the system programmer.
System Programmer Response: Display the existing SCA System Programmer Response: Obtain the SYS1.LOGREC
structures on this MVS system. and SVC dump for analysis.
Problem Determination: If an SCA structure already exists Problem Determination: Check to be sure that this DB2
for this DB2 data sharing group, use the MVS command system is supposed to be part of a data sharing group. If this
SETXCF to delete this structure, then restart DB2 to complete DB2 is in a group, you can restart another DB2 subsystem that
the re-enable process. is in the same DB2 data sharing group first, and then restart. If
This abend reason code is issued by the following CSECT: System Action: DB2 startup terminates.
DSNJS001 Operator Response: Collect the SYS1.LOGREC and SVC
System Action: DB2 startup terminates. dump and contact the system programmer.
Operator Response: Collect the SYS1.LOGREC and SVC System Programmer Response: Obtain the SYS1.LOGREC
dump and contact the system programmer. and SVC dump for analysis. To re-enable data sharing, you
must start the surviving DB2 member first before other
System Programmer Response: Obtain the SYS1.LOGREC members can be started. If this is meant to be a re-enable
and SVC dump for analysis. attempt, check whether the surviving member was started first.
Problem Determination: Review the DB2 system console for If this re-enable is already complete, check that this is the
possible DSN7xxxx messages that could relate to this problem. correct data sharing group.
Another possibility is that the SCA is damaged. Use the MVS
00D1010F command SETXCF to rebuild the SCA.
Operator Response: Collect the SYS1.LOGREC and SVC System Action: DB2 startup terminates.
dump and contact the system programmer. Operator Response: Collect the SYS1.LOGREC and SVC
System Programmer Response: Obtain the SYS1.LOGREC dump and contact the system programmer.
and SVC dump for analysis. All members in the data sharing System Programmer Response: Obtain the SYS1.LOGREC
group must first be stopped, then this DB2 subsystem can be and SVC dump for analysis.
restarted to make this change.
Problem Determination: DB2 failed in an update to the
Problem Determination: BSDS for a data sharing generic LU or location name change.
See DB2 Code 00D10411 for problem determination.
00D10110
Explanation: DB2 failed to write an internal control record for 00D10113
a generic LU or location name change in the shared communi- Explanation: DB2 failed to update a data sharing member's
cations area (SCA) structure. information record in the BSDS to enable data sharing.
This abend reason code is issued by the following CSECT: This abend reason code is issued by the following CSECT:
DSNJS001 DSNJS001
System Action: DB2 startup terminates. System Action: DB2 startup terminates.
Operator Response: Collect the SYS1.LOGREC and SVC Operator Response: Collect the SYS1.LOGREC and SVC
dump and contact the system programmer. dump and contact the system programmer.
System Programmer Response: Obtain the SYS1.LOGREC System Programmer Response: Obtain the SYS1.LOGREC
and SVC dump for analysis. and SVC dump for analysis.
Problem Determination: DB2 failed in a write to the SCA Problem Determination: See DB2 Code 00D10411 for
structure for a data sharing restart change. Review the DB2 problem determination.
system console for possible DSN7xxxx messages that could
relate to this problem.
00D10114
Explanation: DB2 failed to write a data sharing member
information record in the shared communications area (SCA)
for a restart of data sharing.
This abend reason code is issued by the following CSECT:
DSNJS001
System Action: DB2 startup terminates.
Operator Response: Collect the SYS1.LOGREC and SVC
dump and contact the system programmer.
System Programmer Response: Obtain the SYS1.LOGREC Operator Response: Collect the SYS1.LOGREC and SVC
and SVC dump for analysis. dump. Notify the system programmer.
Problem Determination: Review the DB2 system console for System Programmer Response: Obtain the SYS1.LOGREC
possible DSN7xxxx messages that could relate to this problem. and the SVC dump. If you suspect an error in DB2, refer to
Section 3 of DB2 Diagnosis Guide and Reference for informa-
00D10115 tion on identifying and reporting the problem.
Explanation: DB2 failed to update the data sharing record in Problem Determination: RLM standard diagnostic informa-
the BSDS to reset the enable flag. tion is provided in “X'D1......' Codes” on page 657.
This abend reason code is issued by the following CSECT: Collect the following diagnostic items listed in Appendix B,
DSNJS001 “Problem determination” on page 1051: 2, 5, 16.
Explanation: DB2 failed to update an internal control record Problem Determination: This indicates that the system time
in the BSDS for non-data sharing migration or fallback with is now less than the time recorded earlier in the DB2 log data
DB2. set. Check that this DB2 subsystem is using the correct BSDS
and log data sets. Also check that the correct system time is
This abend reason code is issued by the following CSECT: being used.
DSNJS001
If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
System Action: DB2 startup terminates. nosis Guide and Reference for information on identifying and
Operator Response: Collect the SYS1.LOGREC and SVC reporting the problem.
dump and contact the system programmer.
System Programmer Response: Obtain the SYS1.LOGREC 00D10220
and SVC dump for analysis. Explanation: An unsuccessful completion of a LOG WRITE
Problem Determination: See DB2 Code 00D10411 for has occurred. An invalid write cursor ID was supplied.
problem determination. This abend reason code is issued by the following CSECT:
DSNJW001
00D10117 System Action: An execution unit writes a record to
Explanation: DB2 failed to truncate and switch to a new log SYS1.LOGREC and requests an SVC dump. The execution
for data sharing re-enable. unit then terminates abnormally.
This abend reason code is issued by the following CSECT: Operator Response: Collect the SYS1.LOGREC and SVC
DSNJS001 dump. Notify the system programmer.
System Action: DB2 startup terminates. System Programmer Response: Obtain the SYS1.LOGREC
and the SVC dump. If you suspect an error in DB2, refer to
Operator Response: Collect the SYS1.LOGREC and SVC Section 3 of DB2 Diagnosis Guide and Reference for informa-
dump and contact the system programmer. tion on identifying and reporting the problem.
System Programmer Response: Obtain the SYS1.LOGREC Problem Determination: RLM standard diagnostic informa-
and SVC dump for analysis. tion is provided in “X'D1......' Codes” on page 657.
Problem Determination: Determine why DB2 failed to trun- Collect the following diagnostic items listed in Appendix B,
cate and switch to a new log. DB2 might be using the last log. “Problem determination” on page 1051: 2, 5, 16.
If so, determine why off-load has not occurred. See DB2 mes-
sages DSNJ319I and DSNJ320I for problem determination.
00D10221
This abend reason code is issued by the following CSECT: System Action: An execution unit writes a record to
DSNJW002 SYS1.LOGREC and requests an SVC dump. The execution
unit then terminates abnormally.
System Action: An execution unit writes a record to
SYS1.LOGREC and requests an SVC dump. The execution
unit then terminates abnormally.
This abend reason code is issued by the following CSECT: Problem Determination: RLM standard diagnostic informa-
DSNJW001 tion is provided in “X'D1......' Codes” on page 657.
System Action: An execution unit writes a record Collect the following diagnostic items listed in Appendix B,
SYS1.LOGREC and requests an SVC dump. The execution “Problem determination” on page 1051: 2, 5, 16.
unit then terminates abnormally.
00D10232
Operator Response: Collect the SYS1.LOGREC and SVC
dump. Notify the system programmer. Explanation: A request was made to force an LRSN in non-
data sharing mode.
System Programmer Response: Obtain the SYS1.LOGREC
and the SVC dump. If you suspect an error in DB2, refer to System Action: DB2 issues an SVC dump and returns an
Section 3 of DB2 Diagnosis Guide and Reference for informa- error to the requesting function.
tion on identifying and reporting the problem.
Operator Response: Collect the SYS1.LOGREC and SVC
Problem Determination: RLM standard diagnostic informa- dump and contact the system programmer.
tion is provided in “X'D1......' Codes” on page 657.
System Programmer Response: Obtain the SYS1.LOGREC
Collect the following diagnostic items listed in Appendix B, and SVC dump for analysis.
“Problem determination” on page 1051: 2, 5, 16.
Problem Determination: The requesting function can be
determined from the SVC dump. It has requested a data
00D10223 sharing log manager function in non-data sharing.
Explanation: There was an attempt to modify a log data set If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
while doing a conditional restart with CSRONLY specified. nosis Guide and Reference for information on identifying and
This abend reason code is issued by the following CSECTs: reporting the problem.
DSNJB001, DSNJW001
00D10240
System Action: DB2 startup terminates.
Explanation: An unsuccessful completion of a CLOSE LOG
Operator Response: Notify the system programmer.
FOR WRITE has occurred. An invalid write cursor ID was sup-
System Programmer Response: If a complete DB2 startup plied.
is desired, remove CSRONLY from the control statement.
This abend reason code is issued by the following CSECT:
Restart DB2.
DSNJW002
Collect the following diagnostic items listed in Appendix B, If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
“Problem determination” on page 1051: 1, 2, 5, 16. nosis Guide and Reference for information on identifying and
reporting the problem.
00D10251 Collect the following diagnostic items listed in Appendix B,
“Problem determination” on page 1051: 2, 5.
Explanation: An unrecoverable error occurred in the log
buffer writer.
00D10253
This abend reason code is issued by the following CSECT:
DSNJW008 Explanation: An application program check occurred in an
MVCP instruction that attempted to move a parameter list or
System Action: An execution unit writes a record to other data from the caller’s address space to the recovery log
SYS1.LOGREC and requests an SVC dump. DB2 then termi- manager address space.
nates abnormally.
This abend reason code is issued by the following CSECTs:
Operator Response: Collect the SYS1.LOGREC and SVC
dump. Notify the system programmer. DSNJR001 DSNJW001 DSNJW002
moved.
System Action: This reason code can be issued by an active
Problem Determination: RLM standard diagnostic informa- DB2 subsystem as the log buffers are scanned before they are
tion is provided in “X'D1......' Codes” on page 657. written to the active log, or by the DB2 stand-alone log ser-
Collect the following diagnostic items listed in Appendix B, vices GET processing macro (DSNJSLR) as a CI is retrieved
“Problem determination” on page 1051: 5, 16. from a user-specified active or archive log data set.
If the reason code is issued by an active DB2 subsystem, then
00D10255 an abend is issued. A diagnostic record is written to
SYS1.LOGREC, and an SVC dump is requested.
Explanation: DSNJR008 attempted to resume the waiting
execution unit, and a failure occurred leaving the state of the If the error was detected by DSNJOFF1, then the archiving
resume indoubt. of the active log data set is terminated and the faulty active
log data set is marked 'stopped'.
This abend reason code is issued by the following CSECTs:
DSNJRE08, DSNJW206 If the error was detected by DSNJR005, then message
DSNJ012I is issued and the calling agent is terminated.
System Action: An execution unit writes a record to
SYS1.LOGREC and requests an SVC dump. The DB2 sub- If the error was detected by DSNJW009, then message
system then terminates to avoid leaving the execution unit in a DSNJ012I is issued and the DB2 subsystem is terminated.
state of indefinite suspension. If the error was detected by DSNJW107, then the DB2
Operator Response: Collect the SYS1.LOGREC and SVC subsystem is terminated.
dump. Notify the system programmer. If this reason code is issued as the result of DB2 stand-alone
System Programmer Response: If you suspect an error in log services GET processing, no abend is issued by the stand-
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference alone log services CSECT (DSNJRS01), and no information is
for information on identifying and reporting the problem. written to SYS1.LOGREC data set. Rather, in response to the
DSNJSLR FUNC=GET call, DB2 places a return code of 4 in
Problem Determination: RLM standard diagnostic informa- register 15 and a reason code of 00D10261 in register 0. Infor-
tion is provided in “X'D1......' Codes” on page 657. In addition, mation about the results of the GET request is also returned in
register 6 has the address of the execution block (EB). the stand-alone log GET feedback area (SLRF). The RBA of
Collect the following diagnostic items listed in Appendix B, the record in error is placed in SLRFRBA. The address and
“Problem determination” on page 1051: 5, 16. length of the CI which contains the errant log record header
are placed in SLRFFRAD and SLRFRCLL, respectively. The
ddname of the data set on which the activity occurred is placed
00D10256
in SLRFDDNM.
Explanation: Recursive abends were detected while trying to
For additional details about the stand-alone log services, refer
reinitialize an archive log read service task.
to Appendix C (Volume 2) of DB2 Administration Guide.
This abend reason code is issued by the following CSECTs:
Operator Response: If the reason code is issued by an
DSNJR008 DSNJR206 DSNJR208
active DB2 subsystem, collect the SYS1.LOGREC and SVC
System Action: An execution unit writes a record to dump, and notify the system programmer.
SYS1.LOGREC and requests an SVC dump. The DB2 sub-
System Programmer Response: If the reason code is
system then terminates to avoid leaving an execution unit in a
issued by an active DB2 subsystem, obtain the
state of indefinite suspension.
SYS1.LOGREC and the SVC dump from the operator.
Operator Response: Collect the SYS1.LOGREC, SVC dump,
Collect the following diagnostic items listed in Appendix B,
and console output. Notify the system programmer.
“Problem determination” on page 1051: 2, 5, 16.
System Programmer Response: Obtain the SYS1.LOGREC,
Problem Determination: If the reason code is issued by an
the SVC dump, and a listing of the BSDS by running the print
active DB2 subsystem:
log map (DSNJU004) utility. If you suspect an error in DB2,
RLM standard diagnostic information is provided under Collect the following diagnostic items listed in Appendix B,
“X'D1......' Codes” on page 657. “Problem determination” on page 1051: 2, 5, 16.
Refer to Section 4 (Volume 1) of DB2 Administration Guide Problem Determination: If the reason code is issued by an
for information about recovery from log failures. active DB2 subsystem:
Refer to Appendix C (Volume 2) of DB2 Administration RLM standard diagnostic information is provided under
Guide for failure analysis procedures, with particular “X'D1......' Codes” on page 657.
emphasis on the use of the DB2 stand-alone log services.
Refer to Section 4 (Volume 1) of DB2 Administration Guide
Obtain a DSN1LOGP detail report containing the log for information about recovery from log failures.
record(s) associated with the failure.
Refer to Appendix C (Volume 2) of DB2 Administration
If the reason code is issued upon return of an invocation of the Guide for failure analysis procedures, with particular
DB2 stand-alone log services macro (DSNJSLR), then an addi- emphasis on the use of the DB2 stand-alone log Services.
tional user-written exit or diagnostic routine may have to be
Obtain a DSN1LOGP detail report containing the log
written.
record(s) associated with the failure.
If the reason code is issued upon return of an invocation of the
00D10262
DB2 stand-alone log services macro (DSNJSLR), then an addi-
Explanation: While scanning a log control interval (CI), the tional user-written exit or diagnostic routine may have to be
offset to the last record or record segment in the CI was found written.
to be incorrect.
This reason code is issued by the following CSECTs: 00D10263
DSNJOFF1 DSNJRS01 DSNJR005 DSNJW009 Explanation: While scanning a log control interval (CI), the
DSNJW107 VSAM RDF/CIDF control information was found to be incorrect.
This reason code is issued by the following CSECTs:
System Action: This reason code can be issued by an active
DB2 subsystem as the log buffers are scanned before they are DSNJOFF1 DSNJRS01 DSNJR005 DSNJW009
written to the active log, or by the DB2 stand-alone log ser- DSNJW107
vices GET processing macro (DSNJSLR) as a CI is retrieved
from a user-specified active or archive log data set. System Action: This reason code can be issued by an active
DB2 subsystem as the log buffers are scanned before they are
If the reason code is issued by an active DB2 subsystem, then
written to the active log, or by the DB2 stand-alone log ser-
an abend is issued. A diagnostic record is written to
vices GET processing macro (DSNJSLR) as a CI is retrieved
SYS1.LOGREC, and an SVC dump is requested.
from a user-specified active or archive log data set.
If the error was detected by DSNJOFF1, then the archiving
If the reason code is issued by an active DB2 subsystem, then
of the active log data set is terminated and the faulty active
an abend is issued. A diagnostic record is written to
log data set is marked 'stopped'.
SYS1.LOGREC, and an SVC dump is requested.
If the error was detected by DSNJR005, then message
If the error was detected by DSNJOFF1, then the archiving
DSNJ012I is issued and the calling agent is terminated.
of the active log data set is terminated and the faulty active
If the error was detected by DSNJW009, then message log data set is marked 'stopped'.
DSNJ012I is issued and the DB2 subsystem is terminated.
If the error was detected by DSNJR005, then message
If the error was detected by DSNJW107, then the DB2 DSNJ012I is issued and the calling agent is terminated.
subsystem is terminated.
If the error was detected by DSNJW009, then message
If this reason code is issued as the result of DB2 stand-alone DSNJ012I is issued and the DB2 subsystem is terminated.
log services GET processing, no abend is issued by the stand-
If the error was detected by DSNJW107, then the DB2
alone log services CSECT (DSNJRS01), and no information is
subsystem is terminated.
written to SYS1.LOGREC data set. Rather, in response to the
DSNJSLR FUNC=GET call, DB2 places a return code of 4 in If this reason code is issued as the result of DB2 stand-alone
register 15 and a reason code of 00D10262 in register 0. Infor- log services GET processing, no abend is issued by the stand-
mation about the results of the GET request is also returned in alone log services CSECT (DSNJRS01), and no information is
the stand-alone log GET Feedback Area (SLRF). The RBA of written to SYS1.LOGREC data set. Rather, in response to the
the beginning of the CI is placed in SLRFRBA. The address DSNJSLR FUNC=GET call, DB2 places a return code of 4 in
and length of the CI are placed in SLRFFRAD and SLRFRCLL, register 15 and a reason code of 00D10263 in register 0. Infor-
respectively. The ddname of the data set on which the activity mation about the results of the GET request is also returned in
occurred is placed in SLRFDDNM. the stand-alone log GET Feedback Area (SLRF). The RBA of
the beginning of the CI is placed in SLRFRBA. The address
For additional details about the stand-alone log services, refer
and length of the CI are placed in SLRFFRAD and SLRFRCLL,
to Appendix C (Volume 2) of DB2 Administration Guide.
respectively. The ddname of the data set on which the activity
Operator Response: If the reason code is issued by an occurred is placed in SLRFDDNM.
active DB2 subsystem, collect the SYS1.LOGREC and SVC
For additional details about the stand-alone log services, refer
dump, and notify the system programmer.
to Appendix C (Volume 2) of DB2 Administration Guide.
System Programmer Response: If the reason code is
Operator Response: If the reason code is issued by an
issued by an active DB2 subsystem, obtain the
active DB2 subsystem, collect the SYS1.LOGREC and SVC
SYS1.LOGREC and the SVC dump from the operator.
dump, and notify the system programmer.
System Programmer Response: If the reason code is Operator Response: If the reason code is issued by an
issued by an active DB2 subsystem, obtain the active DB2 subsystem, collect the SYS1.LOGREC and SVC
SYS1.LOGREC and the SVC dump from the operator. dump, and notify the system programmer.
Collect the following diagnostic items listed in Appendix B, System Programmer Response: If the reason code is
“Problem determination” on page 1051: 2, 5, 16. issued by an active DB2 subsystem, obtain the
SYS1.LOGREC and the SVC dump from the operator.
Problem Determination: If the reason code is issued by an
active DB2 subsystem: Collect the following diagnostic items listed in Appendix B,
“Problem determination” on page 1051: 2, 5, 16.
RLM standard diagnostic information is provided under
“X'D1......' Codes” on page 657. Problem Determination: If the reason code is issued by an
active DB2 subsystem:
Refer to Section 4 (Volume 1) of DB2 Administration Guide
for information about recovery from log failures. RLM standard diagnostic information is provided under
“X'D1......' Codes” on page 657.
Refer to Appendix C (Volume 2) of DB2 Administration
Guide for failure analysis procedures, with particular Refer to Section 4 (Volume 1) of DB2 Administration Guide
emphasis on the use of the DB2 stand-alone log Services. for information about recovery from log failures.
Obtain a DSN1LOGP detail report containing the log Refer to Appendix C (Volume 2) of DB2 Administration
record(s) associated with the failure. Guide for failure analysis procedures, with particular
emphasis on the use of the DB2 stand-alone log Services.
If the reason code is issued upon return of an invocation of the
DB2 stand-alone log services macro (DSNJSLR), then an addi- Obtain a DSN1LOGP detail report containing the log
tional user-written exit or diagnostic routine may have to be record(s) associated with the failure.
written.
If the reason code is issued upon return of an invocation of the
DB2 stand-alone log services macro (DSNJSLR), then an addi-
00D10264 tional user-written exit or diagnostic routine may have to be
Explanation: While scanning a log control interval (CI), the written.
beginning log RBA of the CI was not the expected RBA.
00D10265
This reason code is issued by the following CSECTs:
Explanation: While scanning the records and record seg-
DSNJOFF1 DSNJRS01 DSNJR005 DSNJW009
ments in a log control interval (CI), it was discovered the back-
DSNJW107
ward record chain was broken. This condition is the result of
System Action: This reason code can be issued by an active an incorrect record length in the log record header of some
DB2 subsystem as the log buffers are scanned before they are record in the log CI.
written to the active log, or by the DB2 stand-alone log ser- This reason code is issued by the following CSECTs:
vices GET processing macro (DSNJSLR) as a CI is retrieved
from a user-specified active or archive log data set. DSNJOFF1 DSNJRS01 DSNJR005 DSNJW009
DSNJW107
If the reason code is issued by an active DB2 subsystem, then
an abend is issued. A diagnostic record is written to System Action: This reason code can be issued by an active
SYS1.LOGREC, and an SVC dump is requested. DB2 subsystem as the log buffers are scanned before they are
written to the active log, or by the DB2 stand-alone log ser-
If the error was detected by DSNJOFF1, then the archiving
vices GET processing macro (DSNJSLR) as a CI is retrieved
of the active log data set is terminated and the faulty active
from a user-specified active or archive log data set.
log data set is marked 'stopped'.
If the reason code is issued by an active DB2 subsystem, then
If the error was detected by DSNJR005, then message
an abend is issued. A diagnostic record is written to
DSNJ012I is issued and the calling agent is terminated.
SYS1.LOGREC, and an SVC dump is requested.
If the error was detected by DSNJW009, then message
If the error was detected by DSNJOFF1, then the archiving
DSNJ012I is issued and the DB2 subsystem is terminated.
of the active log data set is terminated.
If the error was detected by DSNJW107, then the DB2
If the error was detected by DSNJR005, then message
subsystem is terminated.
DSNJ012I is issued and the calling agent is terminated.
If this reason code is issued as the result of DB2 stand-alone
If the error was detected by DSNJW009, then message
log services GET processing, no abend is issued by the stand-
DSNJ012I is issued and the DB2 subsystem is terminated.
alone log services CSECT (DSNJRS01), and no information is
written to SYS1.LOGREC data set. Rather, in response to the If the error was detected by DSNJW107, then the DB2
DSNJSLR FUNC=GET call, DB2 places a return code of 4 in subsystem is terminated.
register 15 and a reason code of 00D10264 in register 0. Infor-
If this reason code is issued as the result of DB2 stand-alone
mation about the results of the GET request is also returned in
log services GET processing, no abend is issued by the stand-
the stand-alone log GET Feedback Area (SLRF). The expected
alone log services CSECT (DSNJRS01), and no information is
RBA of the beginning of the CI is placed in SLRFRBA. The
written to SYS1.LOGREC data set. Rather, in response to the
address and length of the CI are placed in SLRFFRAD and
DSNJSLR FUNC=GET call, DB2 places a return code of 4 in
SLRFRCLL, respectively. The ddname of the data set on which
register 15 and a reason code of 00D10265 in register 0. Infor-
the activity occurred is placed in SLRFDDNM.
mation about the results of the GET request is also returned in
For additional details about the stand-alone log services, refer the stand-alone log GET Feedback Area (SLRF). The RBA of
to Appendix C (Volume 2) of DB2 Administration Guide. the record in error is placed in SLRFRBA. The address and
length of the CI are placed in SLRFFRAD and SLRFRCLL, written to SYS1.LOGREC data set. Rather, in response to the
respectively. The ddname of the data set on which the activity DSNJSLR FUNC=GET call, DB2 places a return code of 4 in
occurred is placed in SLRFDDNM. register 15 and a reason code of 00D10266 in register 0. Infor-
mation about the results of the GET request is also returned in
If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
the stand-alone log GET Feedback Area (SLRF). The RBA of
nosis Guide and Reference for information on identifying and
the log record with the invalid RBA is placed in SLRFRBA. The
reporting the problem.
address and length of the CI are placed in SLRFFRAD and
Operator Response: If the reason code is issued by an SLRFRCLL, respectively. The ddname of the data set on which
active DB2 subsystem, collect the SYS1.LOGREC and SVC the activity occurred is placed in SLRFDDNM.
dump, and notify the system programmer.
For additional details about the stand-alone log services, refer
System Programmer Response: If the reason code is to Appendix C (Volume 2) of DB2 Administration Guide.
issued by an active DB2 subsystem, obtain the
Operator Response: If the reason code is issued by an
SYS1.LOGREC and the SVC dump from the operator.
active DB2 subsystem, collect the SYS1.LOGREC and SVC
Collect the following diagnostic items listed in Appendix B, dump, and notify the system programmer.
“Problem determination” on page 1051: 2, 5, 16.
System Programmer Response: If the reason code is
Problem Determination: If the reason code is issued by an issued by an active DB2 subsystem, obtain the
active DB2 subsystem: SYS1.LOGREC and the SVC dump from the operator.
RLM standard diagnostic information is provided under Collect the following diagnostic items listed in Appendix B,
“X'D1......' Codes” on page 657. “Problem determination” on page 1051: 2, 5, 16.
Refer to Section 4 (Volume 1) of DB2 Administration Guide Problem Determination: If the reason code is issued by an
for information about recovery from log failures. active DB2 subsystem:
If you suspect an error in DB2, refer to Section 3 of DB2 RLM standard diagnostic information is provided under
Diagnosis Guide and Reference for information on identi- “X'D1......' Codes” on page 657.
fying and reporting the problem.
Refer to Section 4 (Volume 1) of DB2 Administration Guide
Obtain a DSN1LOGP detail report containing the log for information about recovery from log failures.
record(s) associated with the failure.
Refer to Appendix C (Volume 2) of DB2 Administration
If the reason code is issued upon return of an invocation of the Guide for failure analysis procedures, with particular
DB2 stand-alone log services macro (DSNJSLR), then an addi- emphasis on the use of the DB2 stand-alone log Services.
tional user-written exit or diagnostic routine may have to be
Obtain a DSN1LOGP detail report containing the log
written.
record(s) associated with the failure.
If the error was detected by DSNJW107, then the DB2 If the error was detected by DSNJR005, then message
subsystem is terminated. DSNJ012I is issued and the calling agent is terminated.
If this reason code is issued as the result of DB2 stand-alone If the error was detected by DSNJW009, then message
log services GET processing, no abend is issued by the stand- DSNJ012I is issued and the DB2 subsystem is terminated.
alone log services CSECT (DSNJRS01), and no information is
If the error was detected by DSNJW107, then the DB2
written to SYS1.LOGREC data set. Rather, in response to the
subsystem is terminated.
DSNJSLR FUNC=GET call, DB2 places a return code of 4 in
register 15 and a reason code of 00D10267 in register 0. Infor- If this reason code is issued as the result of DB2 stand-alone
mation about the results of the GET request is also returned in log services GET processing, no abend is issued by the stand-
the stand-alone log GET Feedback Area (SLRF). The RBA of alone log services CSECT (DSNJRS01), and no information is
the record segment in error is placed in SLRFRBA. The written to SYS1.LOGREC data set. Rather, in response to the
address and length of the CI are placed in SLRFFRAD and DSNJSLR FUNC=GET call, DB2 places a return code of 4 in
SLRFRCLL, respectively. The ddname of the data set on which register 15 and a reason code of 00D10268 in register 0. Infor-
the activity occurred is placed in SLRFDDNM. mation about the results of the GET request is also returned in
the stand-alone log GET Feedback Area (SLRF). The RBA of
For additional details about the stand-alone log services, refer
the record segment in error is placed in SLRFRBA. The
to Appendix C (Volume 2) of DB2 Administration Guide.
address and length of the CI are placed in SLRFFRAD and
Operator Response: If the reason code is issued by an SLRFRCLL, respectively. The ddname of the data set on which
active DB2 subsystem, collect the SYS1.LOGREC and SVC the activity occurred is placed in SLRFDDNM.
dump, and notify the system programmer.
For additional details about the stand-alone log services, refer
System Programmer Response: If the reason code is to Appendix C (Volume 2) of DB2 Administration Guide.
issued by an active DB2 subsystem, obtain the
Operator Response: If the reason code is issued by an
SYS1.LOGREC and the SVC dump from the operator.
active DB2 subsystem, collect the SYS1.LOGREC and SVC
Collect the following diagnostic items listed in Appendix B, dump, and notify the system programmer.
“Problem determination” on page 1051: 2, 5, 16.
System Programmer Response: If the reason code is
Problem Determination: If the reason code is issued by an issued by an active DB2 subsystem, obtain the
active DB2 subsystem: SYS1.LOGREC and the SVC dump from the operator.
RLM standard diagnostic information is provided under Collect the following diagnostic items listed in Appendix B,
“X'D1......' Codes” on page 657. “Problem determination” on page 1051: 2, 5, 16.
Refer to Section 4 (Volume 1) of DB2 Administration Guide Problem Determination: If the reason code is issued by an
for information about recovery from log failures. active DB2 subsystem:
Refer to Appendix C (Volume 2) of DB2 Administration RLM standard diagnostic information is provided under
Guide for failure analysis procedures, with particular “X'D1......' Codes” on page 657.
emphasis on the use of the DB2 stand-alone log Services.
Refer to Section 4 (Volume 1) of DB2 Administration Guide
Obtain a DSN1LOGP detail report containing the log for information about recovery from log failures.
record(s) associated with the failure.
Refer to Appendix C (Volume 2) of DB2 Administration
If the reason code is issued upon return of an invocation of the Guide for failure analysis procedures, with particular
DB2 stand-alone log services macro (DSNJSLR), then an addi- emphasis on the use of the DB2 stand-alone log Services.
tional user-written exit or diagnostic routine may have to be
Obtain a DSN1LOGP detail report containing the log
written.
record(s) associated with the failure.
If the reason code is issued upon return of an invocation of the
00D10268
DB2 stand-alone log services macro (DSNJSLR), then an addi-
Explanation: While scanning a log control interval (CI), a first tional user-written exit or diagnostic routine may have to be
or middle spanned record segment was not the last segment written.
contained in the log CI.
This reason code is issued by the following CSECTs: 00D10269
DSNJOFF1 DSNJRS01 DSNJR005 DSNJW009 Explanation: An unrecoverable error was found in one of the
DSNJW107 buffers, while moving the current log buffer to the static write
buffer ('shadow buffer') in preparation for the physical write to
System Action: This reason code can be issued by an active the active log. Refer to Section 4 (Volume 1) of DB2 Adminis-
DB2 subsystem as the log buffers are scanned before they are tration Guide for information about recovery from log failures.
written to the active log, or by the DB2 stand-alone log ser-
This abend reason code is issued by the following CSECT:
vices GET processing macro (DSNJSLR) as a CI is retrieved
DSNJW107
from a user-specified active or archive log data set.
System Action: An execution unit writes a record to
If the reason code is issued by an active DB2 subsystem, then
SYS1.LOGREC and requests an SVC dump. The subsystem
an abend is issued. A diagnostic record is written to
then terminates.
SYS1.LOGREC, and an SVC dump is requested.
Operator Response: Collect the SYS1.LOGREC and SVC
If the error was detected by DSNJOFF1, then the archiving
dump. Notify the system programmer.
of the active log data set is terminated and the faulty active
log data set is marked 'stopped'. System Programmer Response: Obtain the SYS1.LOGREC
and the SVC dump. If you suspect an error in DB2, refer to
This abend reason code is issued by the following CSECT: System Programmer Response: Obtain the SYS1.LOGREC
DSNJR001 and the SVC dump. If you suspect an error in DB2, refer to
Section 3 of DB2 Diagnosis Guide and Reference for informa-
System Action: An execution unit writes a record to tion on identifying and reporting the problem.
SYS1.LOGREC and requests an SVC dump. The execution
unit then terminates abnormally. Problem Determination: RLM standard diagnostic informa-
tion is provided in “X'D1......' Codes” on page 657.
Operator Response: Collect the SYS1.LOGREC and SVC
dump. Notify the system programmer. Collect the following diagnostic items listed in Appendix B,
“Problem determination” on page 1051: 2, 5, 16.
System Programmer Response: Obtain the SYS1.LOGREC
and SVC dump. Scan the read cursor pool for a cursor with
00D10304
the same EB, or examine through the DB2 trace for the
problem. Trace IDs 040301 and 040302 identify OPEN entries Explanation: An unknown function was requested in an open
while 040303 and 040304 are for CLOSE. of a log read cursor.
Problem Determination: RLM standard diagnostic informa- System Action: DB2 issues a return code of 4 and reason
tion is provided in “X'D1......' Codes” on page 657. All log read code of 00D10304 to the requesting function.
cursors reside in a recovery log manager storage pool whose
System Programmer Response: Review the DB2 console
header address is in the log manager block (LMB) at
for related errors.
LMBRCPHB. The LMB is pointed to by register 5. Register 6
contains the address of the EB. Problem Determination: If you suspect an error in DB2, refer
to Section 3 of DB2 Diagnosis Guide and Reference for infor-
Collect the following diagnostic items listed in Appendix B,
mation on identifying and reporting the problem.
“Problem determination” on page 1051: 5, 16.
00D10305
00D10302
Explanation: A peer log read request was made without a
Explanation: An unsuccessful completion of an OPEN LOG
peer log read cursor.
FOR READ has occurred. A valid scope was not specified.
System Action: DB2 issues a return code of 4 and reason
This abend reason code is issued by the following CSECT:
code of 00D10305 to the requesting function.
DSNJR001
System Programmer Response: Review the DB2 console
System Action: An execution unit writes a record to
for related errors.
SYS1.LOGREC and requests an SVC dump. The execution
unit then terminates abnormally. Problem Determination:
Operator Response: Collect the SYS1.LOGREC and SVC If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
dump. Notify the system programmer. nosis Guide and Reference for information on identifying and
reporting the problem.
System Programmer Response: Obtain the SYS1.LOGREC
and the SVC dump. If you suspect an error in DB2, refer to
Section 3 of DB2 Diagnosis Guide and Reference for informa- 00D10306
tion on identifying and reporting the problem. Explanation: A request to read merged log records failed.
Problem Determination: RLM standard diagnostic informa- System Action: DB2 issues a return code of 4 and reason
tion is provided in “X'D1......' Codes” on page 657. code of 00D10306 to the requesting function.
Collect the following diagnostic items listed in Appendix B, System Programmer Response: Review the DB2 console
“Problem determination” on page 1051: 5, 16. for related errors.
Problem Determination: The requesting function has put this
error code out. Check on this function.
If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
nosis Guide and Reference for information on identifying and
reporting the problem.
00D10308
00D10311
Explanation: A log read open in data sharing failed.
Explanation: An unsuccessful completion of a SET READ
System Action: DB2 issues a return code of 4 and reason CURSOR RANGE has occurred. An invalid write cursor ID was
code of 00D10308 to the requesting function. specified.
System Programmer Response: Review the DB2 console This abend reason code is issued by the following CSECT:
for related errors. DSNJR001
Problem Determination: If you suspect an error in DB2, refer System Action: An execution unit writes a record to
to Section 3 of DB2 Diagnosis Guide and Reference for infor- SYS1.LOGREC and requests an SVC dump. The execution
mation on identifying and reporting the problem. unit then terminates abnormally.
Operator Response: Collect the SYS1.LOGREC and SVC
00D10309 dump. Notify the system programmer.
Explanation: A peer BSDS open request failed. System Programmer Response: Obtain the SYS1.LOGREC
System Action: DB2 issues a return code of 4 and reason and the SVC dump. If you suspect an error in DB2, refer to
code of 00D10309 to the requesting function. Section 3 of DB2 Diagnosis Guide and Reference for informa-
tion on identifying and reporting the problem.
System Programmer Response: Review the DB2 console
for related errors. Problem Determination: RLM standard diagnostic informa-
tion is provided in “X'D1......' Codes” on page 657. In addition,
Problem Determination: If you suspect an error in DB2, refer all log write cursors reside in a recovery log manager storage
to Section 3 of DB2 Diagnosis Guide and Reference for infor- pool whose header address is in the log manager block (LMB)
mation on identifying and reporting the problem. at LMBWCPHB. The LMB is pointed to by register 5. Read
cursors are in a similar pool at LMBRCPHB.
00D1030A Collect the following diagnostic items listed in Appendix B,
Explanation: A peer log read request was made in non-data “Problem determination” on page 1051: 2, 5, 16.
sharing.
System Action: DB2 issues a return code of 4 and reason 00D10312
code of 00D1030A to the requesting function. Explanation: An unsuccessful completion of a SET READ
System Programmer Response: Review the DB2 console CURSOR RANGE has occurred. An invalid log RBA range was
for related errors. specified. HIGHRBA is lower than LOWRBA.
Problem Determination: If you suspect an error in DB2, refer This abend reason code is issued by the following CSECT:
to Section 3 of DB2 Diagnosis Guide and Reference for infor- DSNJR001
mation on identifying and reporting the problem. System Action: An execution unit writes a record to
SYS1.LOGREC and requests an SVC dump. The execution
00D10310 unit then terminates abnormally.
Explanation: An unsuccessful completion of a SET READ Operator Response: Collect the SYS1.LOGREC and SVC
CURSOR RANGE has occurred. The specified log read cursor dump. Notify the system programmer.
was not opened by the execution block submitting this request. System Programmer Response: Obtain the SYS1.LOGREC
All input requests must be submitted under the execution block and the SVC dump. If you suspect an error in DB2, refer to
that opened the cursor. Section 3 of DB2 Diagnosis Guide and Reference for informa-
This abend reason code is issued by the following CSECT: tion on identifying and reporting the problem.
DSNJR001 Problem Determination: RLM standard diagnostic informa-
System Action: An execution unit writes a record to tion is provided in “X'D1......' Codes” on page 657.
SYS1.LOGREC and requests an SVC dump. The execution Collect the following diagnostic items listed in Appendix B,
unit then terminates abnormally. “Problem determination” on page 1051: 2, 5, 16.
Operator Response: Collect the SYS1.LOGREC and SVC
dump. Notify the system programmer.
Problem Determination: RLM standard diagnostic informa- System Action: An execution unit writes a record to
tion is provided in “X'D1......' Codes” on page 657. SYS1.LOGREC and requests an SVC dump. The execution
unit then terminates abnormally.
00D10328 Operator Response: Collect the SYS1.LOGREC and SVC
Explanation: A LOG READ completed unsuccessfully, dump. Notify the system programmer.
because a MODE request sequence was invalid. A read System Programmer Response: Obtain the SYS1.LOGREC
request specifying a sequential MODE (any MODE except and the SVC dump. Also, obtain a listing of the BSDS by
DIRECT) must be preceded by an open log for read, a set running the print log map (DSNJU004) utility. If you suspect an
read cursor range, or a read with the same MODE parameter error in DB2, refer to Section 3 of DB2 Diagnosis Guide and
value. It is invalid to intermix read requests with different Reference for information on identifying and reporting the
sequential mode values. problem.
This abend reason code is issued by the following CSECT: Problem Determination: RLM standard diagnostic informa-
DSNJR003 tion is provided in “X'D1......' Codes” on page 657.
System Action: An execution unit writes a record to Collect the following diagnostic items listed in Appendix B,
SYS1.LOGREC and requests an SVC dump. The execution “Problem determination” on page 1051: 2, 5, 16.
unit then terminates abnormally.
Operator Response: Collect the SYS1.LOGREC and SVC 00D1032B
dump. Notify the system programmer.
Explanation: A LOG READ completed unsuccessfully
System Programmer Response: Obtain the SYS1.LOGREC because an error occurred while trying to allocate a log data
and the SVC dump. If you suspect an error in DB2, refer to set.
Section 3 of DB2 Diagnosis Guide and Reference for informa-
Refer to Section 4 (Volume 1) of DB2 Administration Guide for
tion on identifying and reporting the problem.
information about recovery from log failures.
Problem Determination: RLM standard diagnostic informa-
System Action: An execution unit writes a record to
tion is provided in “X'D1......' Codes” on page 657.
SYS1.LOGREC and might request an SVC dump. The exe-
Collect the following diagnostic items listed in Appendix B, cution unit then terminates abnormally.
“Problem determination” on page 1051: 5, 16.
Operator Response: Collect the SYS1.LOGREC and SVC
dump, if a dump was produced. Notify the system programmer.
00D10329
System Programmer Response: Examine LOGREC and
Explanation: A LOG READ completed unsuccessfully, SVC dump information, if a dump was produced. Also,
because an I/O error occurred while reading the log data set. examine any prior messages with a DSNJ prefix from recovery
Refer to Section 4 (Volume 1) of DB2 Administration Guide for log manager allocation processing.
information about recovery from log failures. Problem Determination: RLM standard diagnostic informa-
This abend reason code is issued by the following CSECT: tion is provided in “X'D1......' Codes” on page 657.
DSNJR003 Collect the following diagnostic items listed in Appendix B,
System Action: An execution unit writes a record to “Problem determination” on page 1051: 5, 16.
SYS1.LOGREC and requests an SVC dump. The execution This abend reason code is issued by the following CSECT:
unit then terminates abnormally. DSNJR003
Operator Response: Collect the SYS1.LOGREC and SVC
dump. Notify the system programmer. 00D1032C
System Programmer Response: Examine SYS1.LOGREC Explanation: A LOG READ completed unsuccessfully,
and SVC dump information. Also, examine any prior messages because an error occurred while opening or closing a log data
with a DSNJ prefix from the log buffer reader. set.
Problem Determination: RLM standard diagnostic informa- Refer to Section 4 (Volume 1) of DB2 Administration Guide for
tion is provided in “X'D1......' Codes” on page 657. information about recovery from log failures.
Collect the following diagnostic items listed in Appendix B, This abend reason code is issued by the following CSECT:
“Problem determination” on page 1051: 5, 16. DSNJR003
System Action: An execution unit writes a record to
00D1032A SYS1.LOGREC and requests an SVC dump. The execution
Explanation: An unsuccessful completion of a LOG READ unit then terminates abnormally.
has occurred. BSDS does not map the specified RBA into a Operator Response: Collect the SYS1.LOGREC and SVC
log data set. Either the BSDS is in error, or the log data set dump. Notify the system programmer.
has been deleted.
System Programmer Response: Examine LOGREC and
Refer to Section 4 (Volume 1) of DB2 Administration Guide for SVC dump information. Also, examine prior messages from
information about recovery from BSDS or log failures. recovery log manager open/close processing. These messages
This abend reason code is issued by the following CSECT: have a prefix of DSNJ.
DSNJR003 Problem Determination: RLM standard diagnostic informa-
tion is provided in “X'D1......' Codes” on page 657.
System Programmer Response: Obtain the SYS1.LOGREC Problem Determination: RLM standard diagnostic informa-
and the SVC dump. If you suspect an error in DB2, refer to the tion is provided in “X'D1......' Codes” on page 657. In addition,
Section 3 of DB2 Diagnosis Guide and Reference for informa- register 6 contains the address of the execution block (EB). All
tion on identifying and reporting the problem. log read cursors reside in a recovery log manager storage pool
whose header address is in the log manager block (LMB) at
Problem Determination: RLM standard diagnostic informa- LMBRCPHB. The LMB is pointed to by register 5 and
tion is provided in “X'D1......' Codes” on page 657. In addition, described by DSNDLMB.
all log read cursors reside in a recovery log manager storage
pool whose header address is in the log manager block (LMB)
00D10330
at LMBRCPHB. The LMB is pointed to by register 5.
Explanation: An unsuccessful completion of a Close Log for
Collect the following diagnostic items listed in Appendix B,
read has occurred. The specified log read cursor was not
“Problem determination” on page 1051: 5, 16.
opened by the execution block submitting this request. All
input requests must be submitted under the execution block
00D1032E that opened the cursor.
Explanation: A LOG READ completed unsuccessfully due to This abend reason code is issued by the following CSECT:
an internal error. DSNJR001
This abend reason code is issued by the following CSECT: System Action: An execution unit writes a record to
DSNJR103 SYS1.LOGREC and requests an SVC dump. The execution
System Action: An execution unit writes a record to unit then terminates abnormally.
SYS1.LOGREC and requests an SVC dump. The execution Operator Response: Collect the SYS1.LOGREC and SVC
unit then terminates abnormally. dump. Notify the system programmer.
Operator Response: Collect the SYS1.LOGREC and SVC System Programmer Response: Obtain the SYS1.LOGREC
dump. Notify the system programmer. and the SVC dump. If you suspect an error in DB2, refer to
System Programmer Response: Examine LOGREC and Section 3 of DB2 Diagnosis Guide and Reference for informa-
SVC dump information. LOG READ was passed a bad param- tion on identifying and reporting the problem.
eter list. The field which was detected to be in error Problem Determination: RLM standard diagnostic informa-
(RDPLOPT1) is the third byte of the second word traced in the tion is provided in “X'D1......' Codes” on page 657. In addition,
log manager 311 trace entry. The RET field of this trace entry register 6 contains the address of the execution block (EB). All
along with the MEPL may be used to determine which module log read cursors reside in a recovery log manager storage pool
issued the Log Read request. Both pieces of information are whose header address is in the log manager block (LMB) at
useful in isolating the failure. LMBRCPHB. The LMB is pointed to by register 5 and
Problem Determination: RLM standard diagnostic informa- described by DSNDLMB.
tion is provided in “X'D1......' Codes” on page 657.
Collect the following diagnostic item listed in Appendix B, 00D10331
“Problem determination” on page 1051: 5. Explanation: A LOG READ completed unsuccessfully
because a LINK RBA did not point to the beginning of a LOG
record. This is an internal error.
This abend reason code is issued by the following CSECT:
DSNJR103
System Action: An execution unit writes a record to
SYS1.LOGREC and requests an SVC dump. The execution
unit then terminates abnormally.
Operator Response: Collect the SYS1.LOGREC and SVC
dump. Notify the system programmer.
System Programmer Response: Obtain the SYS1.LOGREC addition, the following diagnostic information is provided in
and the SVC dump. Refer to Section 3 of DB2 Diagnosis registers:
Guide and Reference for information on identifying and
Register 0: the Data Mgr ERQUAL that identifies the place
reporting the problem.
within CSECT DSNILGRX where the error was detected
Problem Determination: RLM standard diagnostic informa- Register 2, 3: the RBA of the log record that was being
tion is provided in “X'D1......' Codes” on page 657. In addition, read at the time of the error
register 6 contains the address of the execution block (EB). All Register 7: the address of DSCF selection bLock
log read cursors reside in a recovery log manager storage pool Register 8: the address of ssnmDBM1's selection block.
whose header address is in the log manager block (LMB) at
LMBRCPHB. The LMB is pointed to by register 5 and 00D10334
described by DSNDLMB.
Explanation: An unsuccessful completion of a LOG READ
occurred because of an invalid LOGRBA value.
00D10332
MODE=SEQUENTIAL DIRECT with the requested RBA does
Explanation: A log read completed unsuccessfully because a not match the start of a log record.
link RBA pointed to a log record with a different URID. This is
This abend reason code is issued by the following CSECT:
an internal error.
DSNJR003
This abend reason code is issued by the following CSECT:
System Action: An execution unit writes a record to
DSNJR103
SYS1.LOGREC and requests an SVC dump. The execution
System Action: A record is written to SYS1.LOGREC and an unit then terminates abnormally.
SVC DUMP is requested. The requesting execution unit is
Operator Response: Collect the SYS1.LOGREC and SVC
abnormally terminated.
dump. Notify the system programmer.
Operator Response: Collect the SYS1.LOGREC and SVC
System Programmer Response: Obtain the SYS1.LOGREC
dump. Notify the system programmer.
and the SVC dump. If you suspect an error in DB2, refer to
System Programmer Response: While reading the log back- Section 3 of DB2 Diagnosis Guide and Reference for informa-
wards using the LRHLINK RBAs, a log record was found that tion on identifying and reporting the problem.
contained a different URID. A link read is normally done when
Problem Determination: RLM standard diagnostic informa-
processing a rollback or an abort. This abend is issued to
tion is provided in "Recovery Log Manager Reason Codes
prevent a rollback of the wrong transaction. If this occurs
(X'D1')".
during abort processing, the subsystem is brought down. If the
abend reoccurs on the subsequent restart of DB2, a condi-
tional restart is necessary to bypass the invalid log record. 00D10335
Refer to Section 4 (Volume 1) of DB2 Administration Guide for Explanation: An unsuccessful completion of a LOG READ
information on recovering from a log failure during restart and occurred because the log was not being read in ascending
resolving inconsistencies resulting from conditional restart. order for MODE=SEQUENTIAL DIRECT.
Problem Determination: RLM standard diagnostic informa- This abend reason code is issued by the following CSECT:
tion is provided in “Recovery Log Manager Reason Codes DSNJR003
(X'D1')”. In addition, register 6 contains the address of the
execution block (EB). All log read cursors reside in a recovery System Action: An execution unit writes a record to
log manager storage pool whose header address is in the log SYS1.LOGREC and requests an SVC dump. The execution
manager block (LMB) at LMBRCPHB. The LMB is pointed to unit then terminates abnormally.
by register 5 and described in the DSNDLMB macro. Operator Response: Collect the SYS1.LOGREC and SVC
dump. Notify the system programmer.
00D10333 System Programmer Response: Obtain the SYS1.LOGREC
Explanation: A log read failed because an internal error was and the SVC dump. If you suspect an error in DB2, refer to
detected by the Data Manager while examining the log record Section 3 of DB2 Diagnosis Guide and Reference for informa-
during recover and deferred restart. tion on identifying and reporting the problem.
This abend reason code is issued by the following CSECT: Problem Determination: RLM standard diagnostic informa-
DSNJR103 tion is provided in "Recovery Log Manager Reason Codes
(X'D1')".
System Action: The execution unit writes a record to
SYS1.LOGREC and requests an SVC dump. The execution
unit then terminates abnormally. 00D10340
User Response: Notify the system programmer. Explanation: An unsuccessful completion of a LOG READ
has occurred. This reflects a logic failure internal to the
Operator Response: Collect the SYS1.LOGREC and the recovery log manager (RLM) subcomponent and is probably
SVC dump. Notify the system programmer. caused by a passed parameter list being lost or a previous
System Programmer Response: Obtain the SYS1.LOGREC abend processing a LOG READ request.
and the SVC dump. Refer to Section 3 of DB2 Diagnosis This abend reason code is issued by the following CSECT:
Guide and Reference for information on identifying and DSNJR008
reporting the problem.
System Action: An execution unit writes a record to
Problem Determination: RLM standard diagnostic informa- SYS1.LOGREC and requests an SVC dump. The execution
tion is provided in “X'D1......' Codes” on page 657 (X'D1'). In unit then terminates abnormally.
Operator Response: Collect all relevant diagnostic materials, LMBRCPHB. The LMB is pointed to by register 5 and
including SYS1.LOGREC, SVC dump, and console output. described by DSNDLMB.
Notify the system programmer.
System Programmer Response: Examine LOGREC and 00D10343
SVC dump information for prior abends during LOG READ Explanation: A LOG READ completed unsuccessfully
processing. If you suspect an error in DB2, refer to Section 3 because an error was detected during a READ of a log record
of DB2 Diagnosis Guide and Reference for information on due to an invalid CI offset. This is an internal error.
identifying and reporting the problem.
This abend reason code is issued by the following CSECT:
Problem Determination: Collect the following diagnostic DSNJR103
items listed in Appendix B, “Problem determination” on
page 1051: 5, 16. System Action: An execution unit writes a record to
SYS1.LOGREC and requests an SVC dump. The execution
unit then terminates abnormally.
00D10341
Operator Response: Collect the SYS1.LOGREC and SVC
Explanation: A LOG READ completed unsuccessfully
dump. Notify the system programmer.
because an error was detected during a Forward READ of the
log record. This is an internal error. System Programmer Response: Obtain the SYS1.LOGREC
and the SVC dump. Refer to Section 3 of DB2 Diagnosis
This abend reason code is issued by the following CSECT:
Guide and Reference for information on identifying and
DSNJR103
reporting the problem.
System Action: An execution unit writes a record to
Problem Determination: RLM standard diagnostic informa-
SYS1.LOGREC and requests an SVC dump. The execution
tion is provided in “X'D1......' Codes” on page 657. In addition,
unit then terminates abnormally.
register 6 contains the address of the execution block (EB). All
Operator Response: Collect the SYS1.LOGREC and SVC log read cursors reside in a recovery log manager storage pool
dump. Notify the system programmer. whose header address is in the log manager block (LMB) at
LMBRCPHB. The LMB is pointed to by register 5 and
System Programmer Response: Obtain the SYS1.LOGREC
described by DSNDLMB.
and the SVC dump. Refer to Section 3 of DB2 Diagnosis
Guide and Reference for information on identifying and
reporting the problem. 00D10345
Problem Determination: RLM standard diagnostic informa- Explanation: A LOG READ completed unsuccessfully
tion is provided in “X'D1......' Codes” on page 657. In addition, because an error was received from a CATALOG LOCATE
register 6 contains the address of the execution block (EB). All request for an archive log data set. The requested archive log
log read cursors reside in a recovery log manager storage pool data set might have been uncataloged or deleted.
whose header address is in the log manager block (LMB) at System Action: An execution unit might write a record to
LMBRCPHB. The LMB is pointed to by register 5 and SYS1.LOGREC and request an SVC dump.
described by DSNDLMB.
Operator Response: Collect the SYS1.LOGREC and SVC
dump, if requested. Notify the system programmer.
00D10342
System Programmer Response: Obtain the SYS1.LOGREC
Explanation: A LOG READ completed unsuccessfully
and the SVC dump, if requested. Refer to Section 3 of DB2
because an error was detected during a backward READ of a
Diagnosis Guide and Reference for information on identifying
log record. This is an internal error.
and reporting the problem.
This abend reason code is issued by the following CSECT:
Problem Determination: RLM standard diagnostic informa-
DSNJR103
tion is provided in “X'D1......' Codes” on page 657.
System Action: An execution unit writes a record to
This abend reason code is issued by the following CSECT:
SYS1.LOGREC and requests an SVC dump. The execution
DSNJR106
unit then terminates abnormally.
Operator Response: Collect the SYS1.LOGREC and SVC 00D10347
dump. Notify the system programmer.
Explanation: An attempt to notify a peer to force write the log
System Programmer Response: Obtain the SYS1.LOGREC buffer failed.
and the SVC dump. Refer to Section 3 of DB2 Diagnosis
Guide and Reference for information on identifying and System Action: DB2 issues a return code of 4 and reason
reporting the problem. code of 00D10347 to the requesting function.
Problem Determination: RLM standard diagnostic informa- System Programmer Response: Review the DB2 console
tion is provided in “X'D1......' Codes” on page 657. In addition, for related errors.
register 6 contains the address of the execution block (EB). All Problem Determination: If you suspect an error in DB2, refer
log read cursors reside in a recovery log manager storage pool to Section 3 of DB2 Diagnosis Guide and Reference for infor-
whose header address is in the log manager block (LMB) at mation on identifying and reporting the problem.
00D10348 00D10402
Explanation: The maximum retry count was exceeded while Explanation: A BSDS read was requested and the input area
attempting to read a log RBA. was too small.
System Action: The execution unit writes a record to System Action: DB2 returns a return code of 8 and reason
SYS1.LOGREC and requests an SVC dump. The execution code of 00D10402 to the requesting function.
unit then terminates abnormally.
System Programmer Response: Review the DB2 console
System Programmer Response: Review the DB2 console for related errors.
for related errors.
Problem Determination: If you suspect an error in DB2, refer
Problem Determination: This problem might occur if the user to Section 3 of DB2 Diagnosis Guide and Reference for infor-
has added an archive log to the BSDS with an incorrect RBA mation on identifying and reporting the problem.
range using Change Log Inventory (DSNJU003) or if an active
log dataset has been regressed such that the log dataset does 00D10403
not contain the RBA range that is listed in the BSDS.
Explanation: A BSDS update was requested and the record
If you suspect an error in DB2, refer to Section 3 of DB2 Diag- was not found.
nosis Guide and Reference for information on identifying and
reporting the problem. System Action: DB2 returns a return code of 4 and reason
code of 00D10403 to the requesting function.
00D10349 System Programmer Response: Review the DB2 console
for related errors.
Explanation: A deadlock occurred attempting to allocate an
archive log tape. Problem Determination: If you suspect an error in DB2, refer
to Section 3 of DB2 Diagnosis Guide and Reference for infor-
System Action: DB2 issues a return code of 8 and reason
mation on identifying and reporting the problem.
code of 00D10349 to the requesting function.
System Programmer Response: Review the DB2 console 00D10404
for the terminated function.
Explanation: A BSDS insert was requested and the record
Problem Determination: The requesting function was termi- already exits.
nated. There was another function allocating the same archive
log tapes. Rerun the terminated function after the present func- System Action: DB2 returns a return code of 4 and reason
tion no longer has the archive log tapes allocated. code of 00D10404 to the requesting function.
If you suspect an error in DB2, refer to Section 3 of DB2 Diag- System Programmer Response: Review the DB2 console
nosis Guide and Reference for information on identifying and for related errors.
reporting the problem. Problem Determination: If you suspect an error in DB2, refer
to Section 3 of DB2 Diagnosis Guide and Reference for infor-
00D10350 mation on identifying and reporting the problem.
Explanation: A lock or unlock failed in an attempt to allocate
an archive log tape. 00D10405
System Action: An execution unit writes a record to Explanation: A BSDS delete was requested and the record
SYS1.LOGREC, requests an SVC dump, and then terminates. does not exist.
Operator Response: Collect all relevant diagnostic materials, System Action: DB2 returns a return code of 4 and reason
including SYS1.LOGREC, an SVC dump, and console output. code of 00D10405 to the requesting function.
Notify the system programmer. System Programmer Response: Review the DB2 console
System Programmer Response: This is an internal DB2 for related errors.
error, refer to Section 3 of DB2 Diagnosis Guide and Refer- Problem Determination: If you suspect an error in DB2, refer
ence for information on identifying and reporting the problem. to Section 3 of DB2 Diagnosis Guide and Reference for infor-
mation on identifying and reporting the problem.
00D10401
Explanation: A BSDS read was requested and the record 00D10406
was not found. Explanation: The bootstrap data set access service received
System Action: DB2 returns a return code of 4 and reason a request with an invalid function code.
code of 00D10401 to the requesting function. This abend reason code is issued by the following CSECT:
System Programmer Response: Review the DB2 console DSNJB001
for related errors. System Action: If this was an unconditional request, an exe-
Problem Determination: If you suspect an error in DB2, refer cution unit writes a record to SYS1.LOGREC and requests an
to Section 3 of DB2 Diagnosis Guide and Reference for infor- SVC dump. The execution unit then terminates abnormally.
mation on identifying and reporting the problem. Operator Response: Collect all relevant diagnostic materials,
including SYS1.LOGREC, SVC dump, and console output.
Notify the system programmer.
Operator Response: Collect the SYS1.LOGREC and SVC Problem Determination: RLM standard diagnostic informa-
dump. Notify the system programmer. tion is provided in “X'D1......' Codes” on page 657. In addition,
the VSAM RPL fields RPLERRCD and RPLERREG are stored
System Programmer Response: Use the SYS1.LOGREC in the BSDS request parameter list. The address of the BSDS
and SVC dump to determine the cause of the problem. request parameter list is stored in the BSDS request element
Problem Determination: RLM standard diagnostic informa- (BSDSRQEL) field (located at offset 8 in the bootstrap data set
tion is provided in “X'D1......' Codes” on page 657. In addition, block).
the VSAM RPL fields RPLERRCD and RPLERREG are stored Collect the following diagnostic items listed in Appendix B,
in the BSDS request parameter list. The address of the BSDS “Problem determination” on page 1051: 1, 2, 5, 16.
request parameter list is stored in the BSDS request element
(BSDSRQEL) field (located at offset X'8' in the bootstrap data
00D10413
set block).
Explanation: An unsuccessful completion of a DELETE
Collect the following diagnostic items listed in Appendix B,
BSDS RECORD has occurred. An error has been returned
“Problem determination” on page 1051: 1, 2, 5, 16.
from VSAM.
System Action: An execution unit writes a record to System Programmer Response: Obtain the SYS1.LOGREC
SYS1.LOGREC and requests an SVC dump. The execution and SVC dump. Determine the cause of the problem from the
unit then terminates abnormally. diagnostic information in the Problem Determination section of
this message.
Operator Response: Collect the SYS1.LOGREC and SVC
dump. Notify the system programmer. Problem Determination: RLM standard diagnostic informa-
tion is provided in “X'D1......' Codes” on page 657. In addition,
System Programmer Response: Obtain the SYS1.LOGREC the VSAM RPL fields RPLERRCD and RPLERREG are stored
and SVC dump. Determine the cause of the problem from the in the BSDS request parameter list. The address of the BSDS
diagnostic information in the Problem Determination section of request parameter list is stored in the BSDS request element
this message. (BSDSRQEL) field (located at offset 8 in the bootstrap data set
Problem Determination: RLM standard diagnostic informa- block).
tion is provided in “X'D1......' Codes” on page 657. In addition, Collect the following diagnostic items listed in Appendix B,
the VSAM RPL fields RPLERRCD and RPLERREG are stored “Problem determination” on page 1051: 1, 2, 5, 16.
in the BSDS request parameter list. The address of the BSDS
request parameter list is stored in the BSDS request element
00D10414
(BSDSRQEL) field (located at offset 8 in the bootstrap data set
block). Explanation: DB2 cannot dynamically allocate a copy of the
requested bootstrap data set (BSDS).
Collect the following diagnostic items listed in Appendix B,
“Problem determination” on page 1051: 1, 2, 5, 16. System Action: The system places the BSDS in disabled
mode.
User Response: Notify the system programmer.
System Programmer Response: Restore the BSDS data set
(or data sets) and restart the DB2 subsystem associated with
the BSDS.
Problem Determination: This reason code is issued by the Problem Determination: RLM standard diagnostic informa-
following CSECT: DSNJB002 tion is provided in “X'D1......' Codes” on page 657. In addition,
trace entry 501 provides the return address to the module that
00D10415 passed the LRB4 with the undefined function code. It also pro-
vides the address of the LRB4. This address is also in register
Explanation: The bootstrap data set (BSDS) is not a valid 7 at the time of the abend.
BSDS for the data sharing group.
Collect the following diagnostic items listed in Appendix B,
System Action: The system places the BSDS in disabled “Problem determination” on page 1051: 2, 5.
mode.
User Response: Notify the system programmer. 00D10501
System Programmer Response: Restore the BSDS data set Explanation: The recovery log manager’s common access
(or data sets) and restart the DB2 subsystem associated with method services has been passed a bad function code
the BSDS. (DSPLFUNC in control block DSPL).
Problem Determination: This abend reason code is issued This abend reason code is issued by the following CSECT:
by the following CSECT: DSNJB002 DSNJDS05
System Action: An execution unit writes a record to
00D10416 SYS1.LOGREC and requests an SVC dump. The execution
Explanation: A peer BSDS process was requested in non- unit then terminates abnormally.
data sharing. Operator Response: Notify the system programmer.
System Action: DB2 issues a return code of 8 and reason System Programmer Response: Obtain the SYS1.LOGREC
code of 00D10416 to the requesting function. and SVC dump. Determine the cause of the problem from the
System Programmer Response: Review the DB2 console diagnostic information in the Problem Determination section of
for related errors. this message.
Problem Determination: Peer BSDS requests cannot occur Problem Determination: RLM standard diagnostic informa-
in non-data sharing. tion is provided in “X'D1......' Codes” on page 657. The
address of the DSPL is provided in register 3, and the invalid
If you suspect an error in DB2, refer to Section 3 of DB2 Diag- function in register 4.
nosis Guide and Reference for information on identifying and
reporting the problem. Collect the following diagnostic items listed in Appendix B,
“Problem determination” on page 1051: 2, 5.
00D10417
00D10700
Explanation: A peer BSDS process was requested for a host
BSDS. Explanation: An error completion code was returned by
SETLOCK OBTAIN.
System Action: DB2 issues a return code of 8 and reason
code of 00D10417 to the requesting function. This abend reason code is issued by the following CSECT:
DSNJM002
System Programmer Response: Review the DB2 console
for related errors. System Action: An execution unit writes a record to
SYS1.LOGREC and requests an SVC dump. The execution
Problem Determination: Peer BSDS requests cannot be unit then terminates abnormally.
processed for the host BSDS.
Operator Response: Notify the system programmer.
If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
nosis Guide and Reference for information on identifying and System Programmer Response: Obtain the SYS1.LOGREC
reporting the problem. and SVC dump. Determine the cause of the problem from the
diagnostic information in the Problem Determination section of
this message.
00D10500
Problem Determination: RLM standard diagnostic informa-
Explanation: The recovery log manager’s dynamic allocation tion is provided in “X'D1......' Codes” on page 657. In addition,
function has been passed a bad function code (LRB4FUNC in register 0 contains the return code from SETLOCK OBTAIN.
control block LRB4).
Collect the following diagnostic items listed in Appendix B,
This abend reason code is issued by the following CSECT: “Problem determination” on page 1051: 2, 5.
DSNJDS01
System Action: An execution unit writes a record to 00D10701
SYS1.LOGREC and requests an SVC dump. The execution
unit then terminates abnormally. Explanation: An error completion code was returned by
SETLOCK RELEASE.
Operator Response: Notify the system programmer.
This abend reason code is issued by the following CSECT:
System Programmer Response: Obtain the SYS1.LOGREC DSNJM002
and SVC dump. Determine the cause of the problem from the
diagnostic information in the Problem Determination section of System Action: An execution unit writes a record to
this message. SYS1.LOGREC and requests an SVC dump. The execution
unit then terminates abnormally.
Explanation: The log manager command processor See the DB2 system console for messages DSNJ103I and
(DSNJC001) was entered with an invalid Tokenized Command DSNJ700I that are issued with this DB2 condition code.
Segment (TCS). If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
This reason code is issued by the following CSECT: nosis Guide and Reference for information on identifying and
DSNJC001 reporting the problem.
inventory (DSNJU003) timestamps of a peer, or both. The peer The VSAM CONNECT return code is in LRB1XRC if an SVC
log environment might have changed. This must be resolved at dump was taken.
the peer DB2 subsystem by determining which BSDS is in
See the DB2 system console for message DSNJ700I that is
error and recovering that BSDS.
issued with this DB2 condition code.
See the DB2 system console for message DSNJ700I that is
If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
issued with this DB2 condition code.
nosis Guide and Reference for information on identifying and
If you suspect an error in DB2, refer to Section 3 of DB2 Diag- reporting the problem.
nosis Guide and Reference for information on identifying and
reporting the problem. 00D10909
Explanation: There was no active BSDS found for the peer
00D10906
DB2 subsystem.
Explanation: The change log inventory (DSNJU003)
System Action: If this was an unconditional request, an exe-
timestamp does not match the system timestamp in the peer
cution unit writes a record to SYS1.LOGREC, requests an SVC
BSDS.
dump, and terminates.
System Action: If this was an unconditional request, an exe-
Operator Response: Collect all relevant diagnostic materials,
cution unit writes a record to SYS1.LOGREC, requests an SVC
including SYS1.LOGREC, SVC dump, and console output of
dump, and terminates.
peer and host.
Problem Determination: A change log inventory
Problem Determination: Review the DB2 system console for
(DSNJU003) job was executed against the peer BSDS after
possible errors relating the peer's BSDSs on both the host and
the last peer DB2 subsystem restart. The peer log environment
peer DB2 system.
might have changed. Restart the peer DB2 subsystem to reset
this condition. See the DB2 system console for message DSNJ700I that is
issued with this DB2 condition code.
See the DB2 system console for message DSNJ700I that is
issued with this DB2 condition code. The peer BSDSs have been placed in inactive mode. There
might have been an error against this peer's BSDSs and a
If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
recovery is needed.
nosis Guide and Reference for information on identifying and
reporting the problem. If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
nosis Guide and Reference for information on identifying and
reporting the problem.
00D10907
Explanation: DB2 could not locate a peer's active log data
00D10910
set in the peer's BSDS.
Explanation: A BLDVRP/DLVRP macro failed for the BSDS
System Action: If this was an unconditional request, an exe-
buffer.
cution unit writes a record to SYS1.LOGREC, requests an SVC
dump, and terminates. System Action: An execution unit writes a record to
SYS1.LOGREC, requests an SVC dump, and then terminates.
Operator Response: Collect all relevant diagnostic materials
including SYS1.LOGREC, an SVC dump, and console output. Operator Response: Collect all relevant diagnostic materials,
including SYS1.LOGREC, SVC dump, and console output.
Problem Determination: Run a print log map (DSNJU004)
job against the peer's BSDS to compare BSDS active log Problem Determination: Review the DB2 system console for
entries with the existing peer's log data sets. There is probably possible errors relating to the BSDS.
a mismatch between them. A BLDVRP/DLVRP macro for a VSAM shared resource pool
See the DB2 system console for message DSNJ700I that is failed for the BSDS. General register 2 will contain a value of
issued with this DB2 condition code. 1 for a BLDVRP macro or a value of 2 for a DLVRP macro.
The macro return code is contained in general register 3. See
If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
the appropriate VSAM publication for advanced VSAM applica-
nosis Guide and Reference for information on identifying and
tions.
reporting the problem.
If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
nosis Guide and Reference for information on identifying and
00D10908
reporting the problem.
Explanation: An open of a peer's active log failed.
System Action: If this was an unconditional request, an exe- 00D10916
cution unit writes a record to SYS1.LOGREC, requests an SVC
Explanation: DB2 received an error while attempting to read
dump, and terminates.
shared communications area (SCA) information from the cou-
Operator Response: Collect all relevant diagnostic materials, pling facility.
including SYS1.LOGREC, an SVC dump, and console output
System Action: Standard DB2 diagnostic information is
of peer and host.
recorded in SYS1.LOGREC, and an SVC dump is requested.
Problem Determination: Review the DB2 system console for The subsystem will be terminated with the same reason code.
possible errors relating the peer's active log on both the host
System Programmer Response: Correct the problem with
and peer DB2 system.
the coupling facility, and restart DB2.
X'D3......' Codes
abending agent was connected to by examining the DSNL027
00D30000
and DSNL028 SYSLOG console messages at the site of the
Explanation: The operator canceled the allied agent at the DB2 abend. Obtain copies of the SYS1.LOGREC and
requesting location and a dump was requested, or the agent SYSLOG data sets from each connected site, the SVC dump
abended with a reason code that indicated a possible commu- at the site of the DB2 failure, and any related dumps from each
nication problem. In either case, the database access agent at connected site.
this location abended to take a dump to assist in problem
Refer to Section 3 of DB2 Diagnosis Guide and Reference for
determination.
information on identifying and reporting the problem.
This abend reason code is issued by the following CSECT:
Problem Determination: Collect the following diagnostic
DSNLABRT
items listed in Appendix B, “Problem determination” on
System Action: The agent terminates. page 1051: 56, 57.
Operator Response: Notify the system programmer.
00D30003
System Programmer Response: The information collected
as a result of this abend is related to information collected at Explanation: While establishing an ESTAE functional
the requesting location. Obtain a copy of the SYS1.LOGREC recovery, DB2 detected a failure.
listing and the SVC dump. Contact the system programmer at
System Action: A record is written to SYS1.LOGREC and an
the requesting location (the location name can be determined
SVC dump is requested at the site of the DB2 abend.
from the dump header) to coordinate further action.
Operator Response: Notify the system programmer.
Problem Determination: This abend was initiated in order to
save diagnostic information that might be useful in problem System Programmer Response: Determine which sites the
determination. abending agent was connected to by examining the DSNL027
and DSNL028 SYSLOG console messages at the site of the
Collect the following diagnostic items listed in Appendix B,
DB2 abend. Obtain copies of the SYS1.LOGREC and
“Problem determination” on page 1051: 1, 2, 5.
SYSLOG data sets from each connected site, the SVC dump
at the site of the DB2 failure, and any related dumps from each
00D30001 connected site. If you suspect an error in DB2, refer to Section
Explanation: The DPS RALE was not initialized. The 3 of DB2 Diagnosis Guide and Reference for information on
DSNLSPRR was invoked with the DPSB defined as the func- identifying and reporting the problem.
tional recovery routine (FRR) anchor. The DPSB is created Problem Determination: Collect the following diagnostic
after the DPS RALE is initialized. items listed in Appendix B, “Problem determination” on
System Action: A record is written to SYS1.LOGREC and an page 1051: 56, 57.
SVC dump is requested at the site of the DB2 abend.
00D30004
Operator Response: Notify the system programmer.
Explanation: A database access agent received an invalid
System Programmer Response: Determine which sites the
message. This is a DB2 internal error.
abending agent was connected to by examining the DSNL027
and DSNL028 SYSLOG console messages at the site of the This abend reason code is issued by the following CSECTs:
DB2 abend. Obtain copies of the SYS1.LOGREC and
DSNLABRT DSNLPREP DSNLRUSE DSNLTMRR
SYSLOG data sets from each connected site, the SVC dump
at the site of the DB2 failure, and any related dumps from each
System Action: A record is written to SYS1.LOGREC and an
connected site.
SVC dump is requested at the site of the DB2 abend.
If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
Operator Response: Notify the system programmer.
nosis Guide and Reference for information on identifying and
reporting the problem. System Programmer Response: Determine which sites the
abending agent was connected to by examining the DSNL027
Problem Determination: Collect the following diagnostic
and DSNL028 SYSLOG console messages at the site of the
items listed in Appendix B, “Problem determination” on
DB2 abend. Obtain copies of the SYS1.LOGREC and
page 1051: 56, 57.
SYSLOG data sets from each connected site, the SVC dump
at the site of the DB2 failure, and any related dumps from each
00D30002 connected site. Refer to Section 3 of DB2 Diagnosis Guide and
Explanation: The distributed data facility (DDF) standard Reference for information on identifying and reporting the
ESTAE and FRR recovery routines detected a bad recovery problem.
element. This is a DB2 internal error. Problem Determination: Collect the following diagnostic
System Action: A record is written to SYS1.LOGREC and an items listed in Appendix B, “Problem determination” on
SVC dump is requested at the site of the DB2 abend. page 1051: 56, 57.
SYSLOG data sets from each connected site, the SVC dump
00D30005
at the site of the DB2 failure, and any related dumps from each
Explanation: DB2 detected a failure while retrying DB2 connected site. Refer to Section 3 of DB2 Diagnosis Guide and
recovery. Reference for information on identifying and reporting the
problem.
This abend reason code is issued by the following CSECT:
DSNLFRCV Problem Determination: Collect the following diagnostic
items listed in Appendix B, “Problem determination” on
System Action: DB2 abends after it writes a SYS1.LOGREC
page 1051: 56, 57.
record and requests a SVC dump.
Operator Response: Notify the system programmer.
00D3000A
System Programmer Response: This is a DB2 internal
Explanation: DB2 invoked the DSNLTDSC macro or a func-
error. Obtain a copy of the SYS1.LOGREC listing and the SVC
tion of the distributed transaction manager (DTM). The required
dump. Determine the failing environment (DB2, IMS, CICS, or
function could not be performed because the DPSB control
TSO). Refer to Section 3 of DB2 Diagnosis Guide and Refer-
block does not exist. This is a DB2 internal error.
ence for information on identifying and reporting the problem.
This abend reason code is issued by the following CSECTs:
Problem Determination: A distributed data facility (DDF)
module retried recovery after an abend, but invalidly returned DSNLBABR DSNLCMT1 DSNLDALB DSNLTGBK
control to the DDF functional recovery routine (DSNLFRCV) DSNLTMIG DSNLTRNA
that issued the abend.
System Action: DB2 writes a SYS1.LOGREC record and
Collect the following diagnostic items listed in Appendix B, requests a SVC dump. The execution unit abnormally termi-
“Problem determination” on page 1051: 1, 2, 5. nates.
Operator Response: Notify the system programmer.
00D30008
System Programmer Response: Obtain a copy of the
Explanation: The distributed transaction manager (DTM) SYS1.LOGREC listing and the SVC dump. Determine the
could not allocate a RALE for the distributed data facility failing environment (DB2, IMS, CICS, or TSO). Refer to
(DDF). This is a DB2 internal error. Section 3 of DB2 Diagnosis Guide and Reference for informa-
This abend reason code is issued by the following CSECTs: tion on identifying and reporting the problem.
DSNLARAL DSNLTACC DSNLTMRA Problem Determination: DB2 detects this error when the
System Action: A record is written to SYS1.LOGREC and an module that abnormally terminated is invoked and determines
SVC dump is requested at the site of the DB2 abend. that the existence of the DDF agent local anchor block (DPSB)
is not indicated by the DDF RALE or is not indicated by the
Operator Response: Notify the system programmer.
ACE.
System Programmer Response: Determine which sites the
Collect the following diagnostic items listed in Appendix B,
abending agent was connected to by examining the DSNL027
“Problem determination” on page 1051: 1, 2, 5
and DSNL028 SYSLOG console messages at the site of the
DB2 abend. Obtain copies of the SYS1.LOGREC and
SYSLOG data sets from each connected site, the SVC dump 00D3000B
at the site of the DB2 failure, and any related dumps from each Explanation: A function of the distributed transaction
connected site. Refer to Section 3 of DB2 Diagnosis Guide and manager (DTM) was invoked and attempted to establish a
Reference for information on identifying and reporting the functional recovery environment. The functional recovery
problem. element (FRE) that was created was not the first one on the
Problem Determination: Collect the following diagnostic chain of FREs anchored in the DPSB. This is a DB2 internal
items listed in Appendix B, “Problem determination” on error.
page 1051: 56, 57. This abend reason code is issued by the following CSECTs:
DSNLAGNT, DSNLCMT1.
00D30009 System Action: A record is written to SYS1.LOGREC and an
Explanation: During allocation of a database access agent, SVC dump is requested at the site of the DB2 abend.
simultaneous use of an APLE was attempted. An APLE can be Operator Response: Notify the system programmer.
used once during allocation of a database access agent. This
is a DB2 internal error. System Programmer Response: Determine which sites the
abending agent was connected to by examining the DSNL027
This abend reason code is issued by the following CSECT: and DSNL028 SYSLOG console messages at the site of the
DSNLTMRA DB2 abend. Obtain copies of the SYS1.LOGREC and
System Action: A record is written to SYS1.LOGREC and an SYSLOG data sets from each connected site, the SVC dump
SVC dump is requested at the site of the DB2 abend. at the site of the DB2 failure, and any related dumps from each
connected site. Refer to Section 3 of DB2 Diagnosis Guide and
Operator Response: Notify the system programmer.
Reference for information on identifying and reporting the
System Programmer Response: Determine which sites the problem.
abending agent was connected to by examining the DSNL027
Problem Determination: Collect the following diagnostic
and DSNL028 SYSLOG console messages at the site of the
items listed in Appendix B, “Problem determination” on
DB2 abend. Obtain copies of the SYS1.LOGREC and
page 1051: 56, 57.
This abend reason code is issued by the following CSECT: Explanation: A DB2 resource manager attempted to delete a
DSNLTMIG resource manager that is not given in the list of resource man-
agers that participate in the allocation of a database access
System Action: The application statement was not proc- agent at a remote site. This is a DB2 internal error.
essed.
This abend reason code is issued by the following CSECT:
User Response: Recode the application to remove the alias DSNLADRA
reference at the remote server that resolves to an object stored
at the local DB2. Objects stored at the local site must be refer- System Action: DB2 writes a SYS1.LOGREC record and
enced using a local name. requests a SVC dump. The execution unit abends.
Problem Determination: If necessary, consult with the data Operator Response: Notify the system programmer.
base administrators at the local site and the remote server System Programmer Response: Obtain a copy of the
location. Inspect the remote SYSIBM.SYSTABLES catalog SYS1.LOGREC listing and the SVC dump. Determine the
table to determine the object at this location being referenced failing environment (DB2, IMS, CICS, or TSO). Refer to
in a circular manner. Section 3 of DB2 Diagnosis Guide and Reference for informa-
tion on identifying and reporting the problem.
00D3000E Problem Determination: This module which incorrectly
Explanation: The DSNLFTMB macro was invoked to deter- invoked this function also invoked DSNLADRA.
mine whether an update request was sent to a specified Collect the following diagnostic items listed in Appendix B,
location, but the transaction has not yet been migrated to that “Problem determination” on page 1051: 1, 2, 5.
location. This is a DB2 internal error.
System Action: A record is written to SYS1.LOGREC and an 00D30011
SVC dump is requested at the site of the DB2 abend.
Explanation: Only a certain number of resource managers
Operator Response: Notify the system programmer. can participate in the allocation of a database access agent at
System Programmer Response: Determine which sites the a remote site. The maximum has been attained and cannot be
abending agent was connected to by examining the DSNL027 extended. This is a DB2 internal error.
and DSNL028 SYSLOG console messages at the site of the This abend reason code is issued by the following CSECT:
DB2 abend. Obtain copies of the SYS1.LOGREC and DSNLADRA
SYSLOG data sets from each connected site, the SVC dump
at the site of the DB2 failure, and any related dumps from each System Action: DB2 writes a SYS1.LOGREC record and
connected site. Refer to Section 3 of DB2 Diagnosis Guide and requests a SVC dump. The execution unit abends.
Reference for information on identifying and reporting the Operator Response: Notify the system programmer.
problem.
System Programmer Response: Obtain a copy of the DB2 abend. Obtain copies of the SYS1.LOGREC and
SYS1.LOGREC listing and the SVC dump. Determine the SYSLOG data sets from each connected site, the SVC dump
failing environment (DB2, IMS, CICS, or TSO). Refer to at the site of the DB2 failure, and any related dumps from each
Section 3 of DB2 Diagnosis Guide and Reference for informa- connected site. Refer to Section 3 of DB2 Diagnosis Guide and
tion on identifying and reporting the problem. Reference for information on identifying and reporting the
problem.
Problem Determination: Collect the following diagnostic
items listed in Appendix B, “Problem determination” on Problem Determination: Collect the following diagnostic
page 1051: 1, 2, 5. items listed in Appendix B, “Problem determination” on
page 1051: 56, 57.
00D30012
00D30015
Explanation: More than one resource manager attempted to
reserve the same RALE for use in the allocation of a database Explanation: The facility section (DSN6FAC) in the DB2
access agent at a remote site. This is a DB2 internal error. initialization parameter module is invalid.
This abend reason code is issued by the following CSECT: This abend reason code is issued by the following CSECT:
DSNLTMIG DSNLSSRW
System Action: DB2 writes a SYS1.LOGREC record and System Action: DB2 writes a SYS1.LOGREC record and
requests a SVC dump. The execution unit abends. requests a SVC dump. The distributed data facility (DDF) is
terminated.
Operator Response: Notify the system programmer.
Operator Response: Notify the system programmer.
System Programmer Response: Obtain a copy of the
SYS1.LOGREC listing and the SVC dump. Determine the System Programmer Response: This is probably an installa-
failing environment (DB2, IMS, CICS, or TSO). Refer to tion error. Obtain a listing of the DSNZPARM module used.
Section 3 of DB2 Diagnosis Guide and Reference for informa-
Problem Determination: Ensure that DSN6FAC was
tion on identifying and reporting the problem.
installed correctly.
Problem Determination: The RALE was previously reserved
by another resource manager and is not available. 00D30016
Collect the following diagnostic items listed in Appendix B, Explanation: An allied agent received an invalid response.
“Problem determination” on page 1051: 1, 2, 5. This is a DB2 internal error.
This abend reason code is issued by the following CSECT:
00D30013
DSNLCMT1
Explanation: The facility section (DSN6FAC) in the DB2
System Action: A record is written to SYS1.LOGREC and an
initialization parameter module does not exist.
SVC dump is requested at the site of the DB2 abend.
This abend reason code is issued by the following CSECT:
Operator Response: Notify the system programmer.
DSNLSSRW
System Programmer Response: Determine which sites the
System Action: DB2 writes a SYS1.LOGREC record and
abending agent was connected to by examining the DSNL027
requests a SVC dump. The distributed data facility is termi-
and DSNL028 SYSLOG console messages at the site of the
nated.
DB2 abend. Obtain copies of the SYS1.LOGREC and
Operator Response: Notify the system programmer. SYSLOG data sets from each connected site, the SVC dump
at the site of the DB2 failure, and any related dumps from each
System Programmer Response: This is probably an installa-
connected site. Refer to Section 3 of DB2 Diagnosis Guide and
tion error. Obtain a listing of the DSNZPARM module used.
Reference for information on identifying and reporting the
Problem Determination: Ensure that DSN6FAC was problem.
installed correctly.
Problem Determination: Collect the following diagnostic
items listed in Appendix B, “Problem determination” on
00D30014 page 1051: 56, 57.
Explanation: The distributed transaction manager (DTM)
detected an internal error. This is a DB2 internal error. 00D30018
This abend reason code is issued by the following CSECTs: Explanation: An agent exists at the site at which the abend
occurred, but an agent that should exist at another site does
DSNLATRN DSNLBABR DSNLCMT1 DSNLEDDA
DSNLEDPE DSNLEDTS DSNLITRC DSNLPREP
not exist at that site. This is probably a DB2 internal error.
DSNLSSAB DSNLSSBP DSNLSSRC DSNLTAC1
DSNLTCM1 DSNLTEXC DSNLTGBK DSNLTXAC
System Action: DB2 writes a SYS1.LOGREC record and
DSNLMTOK DSNLTMRA requests a SVC dump. The execution unit abends.
Operator Response: Notify the system programmer.
System Action: A record is written to SYS1.LOGREC and an
SVC dump is requested at the site of the DB2 abend. System Programmer Response: Obtain a copy of the
SYS1.LOGREC listing and the SVC dump. Determine the
Operator Response: Notify the system programmer.
failing environment (DB2, IMS, CICS, or TSO). Refer to
System Programmer Response: Determine which sites the Section 3 of DB2 Diagnosis Guide and Reference for informa-
abending agent was connected to by examining the DSNL027 tion on identifying and reporting the problem.
and DSNL028 SYSLOG console messages at the site of the
Problem Determination: The distributed data facility (DDF) The module that was suspended while waiting for some action
error monitor, which terminates the agent that is waiting for to be taken is the module that issued the abend.
some action to be taken by the nonexistent agent, detects this
error. The module that was waiting for the action of the nonex- 00D3001B
istent agent is the module that issued the abend.
Explanation: The database access request from a remote
Collect the following diagnostic items listed in Appendix B, site failed because the SYSIBM.USERNAMES table did not
“Problem determination” on page 1051: 1, 2, 5. contain an inbound row, the TYPE column specified as an 'I'
describing what DB2 authorization ID to be used for the remote
00D30019 primary authorization ID. When the USERNAMES column in
SYSIBM.LUNAMES specifies 'I' or 'B', requiring inbound
Explanation: The distributed data facility (DDF) error monitor
name translation, the SYSIBM.USERNAMES table must
detected an error at another site which caused the agent at
contain entries describing which DB2 authorization IDs are to
this site to be canceled. This is probably a DB2 internal error.
be used for each remote authorization ID from the LU.
System Action: DB2 writes a SYS1.LOGREC record and
This abend reason code is issued by the following CSECTs:
requests a SVC dump. The execution unit abends.
DSNLTACC, DSNLTMRA.
Operator Response: Notify the system programmer.
System Action: The DSNL030I message is issued at the
System Programmer Response: Obtain a copy of the server. The database access agent is not allocated.
SYS1.LOGREC listing and the SVC dump. Determine the
Operator Response: Notify the communications database
failing environment (DB2, IMS, CICS, or TSO). Refer to
administrator
Section 3 of DB2 Diagnosis Guide and Reference for informa-
tion on identifying and reporting the problem. System Programmer Response: Make sure the
USERNAMES column in SYSIBM.LUNAMES has been speci-
Problem Determination: The DDF error monitor, which ter-
fied correctly for the indicated LUNAME. If you intend to use
minates the agent because of an error detected at another site
remote authorization IDs that differ from DB2 authorization IDs,
to which the agent is connected and for which the agent is
verify that the SYSIBM.USERNAMES table has rows that cor-
waiting, detected this error. The module that was suspended to
rectly specify the DB2 authorization IDs to be used for each
wait for the action to be taken at the other site is the module
possible remote authorization ID.
that issued the abend.
Problem Determination: Analyze the SYSIBM.USERNAMES
Collect the following diagnostic items listed in Appendix B,
table for an incorrect or missing entry.
“Problem determination” on page 1051: 1, 2, 5.
00D3001C
00D3001A
Explanation: The database access request from a remote
Explanation: A CANCEL THREAD or CANCEL DDF
site failed because the SYSIBM.USERNAMES table did not
THREAD command naming a distributed thread caused the
contain an inbound row, the TYPE column specified as an 'I'
thread to be terminated. A dump is provided for diagnostic pur-
describing what DB2 authorization ID to be used for the remote
poses as a result of the CANCEL command DUMP keyword.
new user primary authorization ID. When the USERNAMES
System Action: DB2 writes a SYS1.LOGREC record and column in SYSIBM.LUNAMES specifies 'I' or 'B' requiring
requests an SVC dump. The execution unit abends. If the can- inbound name translation, the SYSIBM.USERNAMES table
celed distributed thread is an allied thread, DB2 requests the must contain entries describing which DB2 authorization IDs
cancelation of each associated database access thread at are to be used for each remote authorization ID from the LU.
each of the server sites (refer to the explanation for
This abend reason code is issued by the following CSECTs:
00D30000).
DSNLRUSE, DSNLTEXC.
Operator Response: Notify the system programmer.
System Action: The DSNL030I message is issued at the
System Programmer Response: The command might have server. The database access agent is not allocated.
been used to terminate a thread that was in a state where no
Operator Response: Notify the communications database
processing was occurring and the thread could not continue.
administrator.
If you suspect an internal DB2 error, obtain a copy of the
System Programmer Response: Make sure the
SYS1.LOGREC listing and the SVC dump. Determine the
USERNAMES column in SYSIBM.LUNAMES has been speci-
failing environment (DB2, IMS, CICS, or TSO). Refer to
fied correctly for the indicated LUNAME. If you intend to use
Section 3 of DB2 Diagnosis Guide and Reference for informa-
remote authorization IDs that differ from the DB2 authorization
tion on identifying and reporting the problem.
IDs, verify that the SYSIBM.USERNAMES table has rows that
Problem Determination: Collect the following diagnostic correctly specify the DB2 authorization IDs to be used for each
items listed in Appendix B, “Problem determination” on possible remote authorization ID.
page 1051 1, 2, 5.
Problem Determination: Analyze the SYSIBM.USERNAMES
table for an incorrect or missing entry.
User Response: The SQLCA returned in response to the Problem Determination: Either the user does not have the
CONNECT statement indicates what DRDA reply message proper authority to execute at the remote server, or there is a
was sent by the remote server. The user should contact the security configuration mismatch between the local DB2 and the
local DB2 system administrator with this information. remote server. Examine the DSNL030I message or the alert
for a more specific reason code describing the failure. Consult
Operator Response: Operator will not detect this problem.
with the two system administrators if necessary to fix the
System Programmer Response: If you suspect an error in problem. No dump is generated for this abend.
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
Collect the following diagnostic items listed in Appendix B,
for information on identifying and reporting the problem.
“Problem determination” on page 1051: 1, 5.
Problem Determination: This represents a DRDA configura-
tion mismatch between the local DB2 and the remote server.
00D3002D
The precise mismatch is determined from the reply message
sent from the DB2 remote server to the local DB2. The reply Explanation: The remote server was not successfully con-
message may be determined by examining the SQLCODE and nected. The SYSIBM.USERNAMES table did not contain an
the SQLCA tokens returned for the CONNECT statement. It outbound row, the TYPE column specified as an 'O'
could indicate any one of the following problems (but is not describing the remote authorization identifier to be used for the
limited to these): plan owner DB2 authorization ID. When the USERNAMES
column in SYSIBM.LUNAMES specifies 'O' or 'B' requiring
The EXCSAT command was not successfully processed
outbound name translation, the SYSIBM.USERNAMES table
prior to receipt of the ACCRDB command.
must contain entries describing the remote authorization IDs to
The TYPDEFNAM parameter (specifies local DB2 data be used for each DB2 authorization ID communicating with the
types) in the ACCRDB command is not supported. LU.
The TYPDEFOVR parameter (specifies local DB2 CCSIDs) This abend reason code is issued by the following CSECTs:
in the ACCRDB command is not supported. DSNLTXAC DSNLTMIG
The local DB2 product is not recognized/supported by the System Action: A resource unavailable is returned to the
remote server. application. The request is not sent to the remote site.
The system administrators for the two locations should consult Operator Response: Notify the communications database
together to determine if this is a system configuration error or if administrator.
an internal error exists at either location.
System Programmer Response: Make sure the
Collect the following diagnostic items at the remote server: USERNAMES column in SYSIBM.LUNAMES has been speci-
fied correctly for the indicated LUNAME. If you intend to use
Console output from the system on which the job was run
remote authorization IDs that differ from DB2 authorization IDs,
and a listing of SYSLOG data set for the period of time
verify that the SYSIBM.USERNAMES table has rows that cor-
spanning the failure.
rectly specify the remote authorization ID to be used for each
Listing of SYS1.LOGREC data set obtained by executing possible DB2 authorization ID.
IFCEREP1.
Problem Determination: Analyze the SYSIBM.USERNAMES
The system CCSIDs. table for an incorrect or missing entry.
Collect the following diagnostic items at the local DB2:
00D3002E
Application source code and runtime listing.
Explanation: No resync list entry exists during resynchroniza-
Relevant error and system logs spanning the time of the
tion when one is expected to exist. This is an internal error.
failure.
This abend reason code is issued by the following CSECTs:
The system CCSIDs.
DSNLTRLA DSNLTRLO DSNLTRPA DSNLTRPN
DSNLTRRH
00D30022
Explanation: The processing of the CONNECT statement at System Action: A record is written to SYS1.LOGREC and an
the remote server has failed and the local DB2 Data Base SVC dump is requested at the site of the DB2 abend.
Access Agent (DBAA) has been abended. This is because
Operator Response: Notify the system programmer.
authorization checking has failed at the remote server.
System Programmer Response: Determine the sites to
This abend reason code is issued by the following CSECTs:
which the abending agent was connected by examining the
DSNLTACC DSNLTEXC
DSNL027 and DSNL028 SYSLOG console messages at the
System Action: The conversation with the local DB2 is termi- site of the DB2 abend. Obtain copies of the SYS1.LOGREC
nated by the remote server with an LU6.2 SNA sense code. and SYSLOG data sets from each connected site, the SVC
The DBAA is abended. A DSNL030I message is written to the dump at the site of the DB2 failure, and any related dumps
MVS console at the remote server, and an alert is generated. from each connected site.
Operator Response: Notify the system programmer. Refer to Section 3 of DB2 Diagnosis Guide and Reference for
System Programmer Response: If you suspect an error in information on identifying and reporting the problem.
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference Problem Determination: Collect the following diagnostic
for information on identifying and reporting the problem. items listed in Appendix B, “Problem determination” on
page 1051: 56, 57.
System Action: A resource unavailable is returned to the DSNLBABR DSNLCMT1 DSNLTAC1 DSNLTEX1
application. The request is not sent to the remote site.
System Action: The local DB2 tried to access a remote
Operator Response: Notify the communications database
server and the server replied with an unexpected DDM answer.
administrator.
The remote server may have suffered permanent damage.
System Programmer Response: Make sure the The local DB2 may or may not subsequently disconnect the
USERNAMES column in SYSIBM.LUNAMES has been speci- conversation to the server. This is an internal-only DDF reason
fied correctly for the indicated LUNAME. If you intend to use code. The local DB2 requests neither a SVC dump nor a
remote authorization IDs that differ from DB2 authorization IDs, SYS1.LOGREC record.
verify that the SYSIBM.USERNAMES table has rows that cor-
User Response: Contact the system programmer
rectly specify the remote authorization ID to be used for each
possible DB2 authorization ID. System Programmer Response: If the SQLCA is available,
examine all fields in the SQLCA. Using this information, try to
Problem Determination: Analyze the SYSIBM.USERNAMES
determine what DDM reply was received. Contact the system
table for an incorrect or missing entry.
programmer at the server site with this information. This is
probably a programming error at the server database system,
00D300F4 although it may be a DB2 error. The server database system
Explanation: A DRDA protocol error occurred. Either a reply may have recorded diagnostic information for the problem. If
chain is broken but there is no DDM reply with a high enough this is a DB2 error, write an APAR.
severity to break the chain, or a message chain is unbroken in Problem Determination: Examine the SQL return code in the
spite of a high severity code, or a conversation expected to be SQLCA. It should give further indication of the real cause.
available has been terminated. The problem, though detected
by DB2, is believed to have originated at the remote server.
00D300F7
The server might not be a DB2 subsystem.
Explanation: A DDM reply message was too big to fit in the
This abend reason code is issued by the following CSECTs:
DTM reply buffer.
DSNLBABR DSNLCMT1 DSNLTAC1 DSNLTEX1 This abend reason code is issued by the following CSECTs:
DSNLTXAC
DSNLBABR DSNLCMT1 DSNLTAC1 DSNLTEX1 System Action: All update operations were backed out.
DSNLTXAC
System Programmer Response: Determine why the
System Action: The requesting allied agent is terminated. A COMMIT failed and retry the application.
SYS1.LOGREC record is written and an SVC dump is
requested at the local DB2. 00D300FB
Operator Response: Notify the system programmer. Explanation: A resource was not available during database
System Programmer Response: If you suspect an error in access agent allocation at a remote site.
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference This abend reason code is issued by the following CSECTs:
for information on identifying and reporting the problem. DSNLTACC DSNLTMRA
Problem Determination: This error should never occur. Write System Action: The allocation of the database access agent
an APAR. was unsuccessful. A 'resource not available' code is returned
Collect the following diagnostic items listed in Appendix B, to the user. DB2 requests neither a SVC dump nor a
“Problem determination” on page 1051: 1, 3, 5. SYS1.LOGREC record.
User Response: Notify the system programmer. Invoke the
00D300F8 application after the problem has been corrected.
Explanation: An attempt was made to access data at a System Programmer Response: If you suspect an error in
remote location which has been started in restricted access DB2, refer to Section 3 of the DB2 Diagnosis Guide and Refer-
mode. No remote access is allowed. ence for information on identifying and reporting the problem.
This abend reason code is issued by the following CSECT: Problem Determination: Determine the name of the
DSNLAGNT resource being allocated and correct the problem.
System Action: The attempt to create the database access
thread is rejected. 00D300FC
Operator Response: Notify the system programmer. Explanation: You attempted to allocate a resource at a
remote site using an invalid name.
System Programmer Response: Determine the remote
location where the remote data access was attempted. Retry This abend reason code is issued by the following CSECTs:
the request when the remote location has been restarted in full DSNLTACC DSNLTMRA
access mode. System Action: The allocation of the database access agent
was unsuccessful. A 'resource not available' code is returned
00D300F9 to the user. DB2 requests neither a SVC dump nor a
SYS1.LOGREC record. This reason code is returned only for
Explanation: The DB2 server was unable to allocate a data-
system-directed access (DSNLTMRA).
base access agent since the maximum number allowed was
zero (ZPARM MAXDBAT value was zero). User Response: Notify the system programmer. Invoke the
application after the problem has been corrected.
This abend reason code is issued by the following CSECT:
DSNLAGNT System Programmer Response: If you suspect an error in
DB2, refer to Section 3 of the DB2 Diagnosis Guide and Refer-
System Action: The DB2 server terminates the conversation
ence for information on identifying and reporting the problem.
with a 084B6031 SNA sense code for application-directed
access and a 00D300F9 DB2 code for system-directed access. Problem Determination: Determine the resource being allo-
A DSNL030I message containing this reason code is written to cated and correct the problem.
the MVS operator console at the DB2 server site.
System Programmer Response: At the server, currently no 00D300FD
data base access agents are allowed because the MAXDBAT Explanation: An attempt was made to disconnect a con-
value in the ZPARM is zero. If access to this site from a nection with a specified location, but the transaction has not
remote site is desirable, change the MAXDBAT parameter in yet been connected to that location. This is a DB2 internal
ZPARM to the maximum number of database access agents error.
desired. Restart DB2 at the server. Notify the user to rerun the
application. System Action: A record is written to SYS1.LOGREC and an
SVC dump is requested. The execution unit is abnormally ter-
minated.
00D300FA
Problem Determination: Obtain a copy of SYS1.LOGREC
Explanation: You attempted a COMMIT statement for a plan and the SVC dump. Determine the failing environment (DB2,
that specified ISOLATION (RR) and update operations were IMS, CICS, or TSO). Refer to Section 3 of DB2 Diagnosis
performed either at the local site or at a remote site. The Guide and Reference for information on identifying and
COMMIT operation could not be performed because the reporting the problem.
COMMIT request could not be transmitted to a remote site
where Repeatable Read operations had been performed. The name of the module that invoked the function incorrectly is
given as the abending module name.
This abend reason code is issued by the following CSECT:
DSNLCMT1 Collect the following diagnostic items listed in Appendix B,
“Problem determination” on page 1051: 1, 2, 5.
Consult with the remote server system programmer to deter- Problem Determination: Collect the following diagnostic
mine the cause of the error. items:
User's application output, including SQLCAs returned for The IFCID 0191 trace record will document the exact data
each SQL statement. stream returned from the Server. Use this information to deter-
mine if the reply message from the server was correctly con-
00D30104 verted into the UOW disposition and the SQL return code
reported in the IFCID 0193 record. If the data stream was cor-
Explanation: The unit-of-work disposition (commit or rollback) rectly converted, then the problem lies at the server and you
received from a DRDA server is inconsistent with the should contact the system programmer at the server and have
command sent (commit or rollback), and the SQL code him or her analyze the data stream produced by the server.
returned from the server. For example, if a commit is sent to
the server, and the reply message indicates the unit of work
00D30105
(UOW) was committed, but the SQL code returned is negative,
then this reason code will be contained in the alert sent to Explanation: A distributed commit has failed because the
NetView. allied agent was cancelled as a result of a STOP DDF
MODE(FORCE) command during a previous execution of DDF
This reason code is issued by the following CSECTs:
which has terminated. When an allied agent does not issue
DSNLCMT1 DSNLBABR.
database requests for more than 2 minutes after a STOP DDF
System Action: An alert is generated and sent to NetView. MODE(FORCE) command is issued, DDF will come down
Two trace records, IFCID 0191 and IFCID 0193, may be without terminating the allied agent. The agent is cancelled
written to the Statistics Class 4 trace, and two DSNL031I mes- when it makes its next request to DB2.
sages may be written to the console. The trace records and
This reason code is issued by the following CSECT:
messages will not be written if this error was previously
DSNLCMT1
detected within the last 5 minutes. The Statistics Class 4 trace
must be active for the trace records to be written. System Action: The commit operation is failed and the agent
is cancelled. The last unit of work was rolled back at all server
An SQLCODE +30100, -30020, or -30030 is returned to the
systems when the STOP DDF MODE(FORCE) command was
application. An SQLCODE -30020 indicates a rollback was
processed.
sent to the DRDA server, but a commit unit-of-work disposition
was received. An SQLCODE +30100 or -30030 conveys the User Response: Contact the operator to re-start DDF. After
unit-of-work disposition reported by the server, and replaces DDF is re-started, continue your application's work starting with
the original SQL return code sent by the server, which was not the last unit of work that was rolled back.
consistent with the UOW disposition. The original SQL return
Operator Response: Re-start DDF.
code and SQLSTATE returned by the server are saved as
tokens in the SQLCA.
00D30106
Operator Response: Notify the system programmer.
Explanation: The result of a DRDA distributed commit could
System Programmer Response: This is a DRDA distributed not be determined because the reply message from the server
protocol problem. Once the nature of the inconsistency is either was invalid or could not be deciphered.
known, the server system programmer may have to be con-
tacted to help resolve the problem. If you suspect an error in This reason code is issued by the following CSECT:
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference DSNLCMT1
for information on identifying and reporting the problem. System Action: An alert is generated and sent to NetView.
Problem Determination: Collect the following diagnostic An IFCID 0191 trace record may be written to the statistics
items: class 4 trace, and a DSNL031I message may be written to the
console. The trace record and message will not be written if
Listing of the user's application program output, including this error was previously detected within the last 5 minutes.
printouts of the SQLCAs received for all SQL statements. The statistics class 4 trace must be active for the trace records
Console output from the system on which the job was run, to be written.
and a listing of SYSLOG data set for the period of time The requester disconnects from the server system. The state
spanning the failure. of the unit of work at the server is unknown. It may have been
Listing of the Statistics Class 4 trace records for the committed, or it may have been rolled back. An SQLCA indi-
LUWID associated with the failing request. cating the nature of the DRDA reply message distortion is
given to the application.
If no DSNL031I messages were written at the same time as
the alert, then scan the log backwards for previous DSNL031I User Response: Notify the system programmer. After the
messages. A DB2 filter function prohibits multiple occurrences problem has been resolved, re-connect to the server site to
of the same problem detected within a 5 minute period from determine whether the last unit of work was committed or
flooding the console and trace data set with diagnostic informa- rolled back. Continue your application after correcting the
tion. You will have to find an earlier occurrence of the same server database (if necessary).
problem to start diagnosing it. Operator Response: Notify the system programmer when-
Once you have found the two DSNL031I messages, locate the ever a DSNL031I message is written to the MVS console.
IFCID 0191 and 0193 trace records written for the problem by System Programmer Response: This is a DRDA distributed
using the IFCID sequence numbers from the DSNL031I mes- protocol problem. Once the nature of the problem is known,
sages. the server system programmer may have to be contacted to
The IFCID 0193 trace record will document the nature of the help resolve the problem.
inconsistency (command sent, UOW disposition received, SQL
return code received).
If you suspect an error in DB2, refer to Section 3 of DB2 Diag- Problem Determination: Collect the following diagnostic
nosis Guide and Reference for information on identifying and items listed in Appendix B, “Problem determination” on
reporting the problem. page 1051: 1.
Problem Determination: Collect the following diagnostic
items: 00D3010A
Listing of the user's application program output, including Explanation: This might occur when a version of IMS that
printouts of the SQLCAs received for all SQL statements. does not support the COMMIT VERIFY exit is running an IMS
MODE=MULTI application with one or more non-DB2 servers.
Console output from the system on which the job was run,
This is probably a user error, since this scenario is not sup-
and a listing of SYSLOG data set for the period of time
ported by DB2 and IMS unless the IMS version is 4 or later.
spanning the failure.
IMS requested a new user SIGNON without an immediately
Listing of the statistics class 4 trace records.
preceding commit or abort, and your application was con-
If no DSNL031I message was written at the same time as the nected to one or more remote non-DB2 servers. In order to
alert, then scan the log backwards for a previous DSNL031I preserve the consistency of database updates made at several
message. A DB2 filter function prohibits multiple occurrences different servers, when at least one server is a non-DB2
of the same problem detected within a 5 minute period from server, a commit or abort must precede any new user
flooding the console and trace data set with diagnostic informa- SIGNON.
tion. You will have to find an earlier occurrence of the same
This reason code is issued by the following CSECT:
problem to start diagnosing it.
DSNLXNEW
Once you have found the DSNL031I message, locate the
System Action: The execution unit writes a record to
IFCID 0191 trace record written for the problem by using the
SYS1.LOGREC. No dump is requested. The IMS application
IFCID sequence number from the DSNL031I message.
terminates as a result of the abend.
The IFCID 0191 trace record will document the exact data
Operator Response: Collect the SYS1.LOGREC. Notify the
stream returned from the server. Use this information to deter-
system programmer.
mine if the reply message from the Server was correct, and if
so, the error resides with the DB2 AR. System Programmer Response: Determine if the IMS
version and release being used invokes the DB2 COMMIT
If the data stream is incorrect, then the problem lies at the
VERIFY exit, which is available in DB2 Version 3 and later.
server and you should contact the system programmer at the
Obtain the SYS1.LOGREC.
server and have he or she analyze the data stream produced
by the server. If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
nosis Guide and Reference for information on identifying and
reporting the problem.
00D30109
Problem Determination: Collect the following diagnostic
Explanation: Phase 1 of a distributed commit failed. One or
items listed in Appendix B, “Problem determination” on
more remote servers did one of the following:
page 1051: 1.
Voted NO
Voted heuristic mixed
00D3010B
Experienced a communications error
Made an error in their use of commit protocol Explanation: Cached information was used to determine
whether updates are allowed at the server. From the time of
This reason code is issued by the following CSECT:
the execution of the CONNECT statement to the time that the
DSNLCMT1
first SQL statement was sent to the server, the conversation
System Action: The commit fails. The unit of work is backed SYNC_LEVEL supported by the partner changed from a
out. cached value of SYNC to the current of value NONE.
For communication errors, message DSNL406I is written to the SYNC_LEVEL NONE servers are not allowed to update in the
system console, alert A006 is generated, and trace record current unit of work. Since an update might have been per-
IFCID 0209 is produced to record the server affected (LUWID formed by the partner during execution of the first statement at
of the unit of work, and other information). the server, the application must roll back (abort).
For protocol errors, message DSNL413I is written to the This reason code is returned as a token in the SQLCODE
system console, alert A005 is generated, and trace record -904.
IFCID 0208 is produced to describe the nature of each server's
This reason code is issued by the following CSECT:
protocol violation.
DSNLTAC1
User Response: Contact the DB2 systems programmer. If
System Action: The connection to the server is deallocated.
the commit failed for other than a commit protocol violation by
The server's portion of the current unit of work is rolled back at
a remote server, resubmit your application. Otherwise, wait for
the server. The application is placed in a must-abort state. All
resolution of the protocol error.
subsequent operations except rollback or abort fail with an
System Programmer Response: For protocol errors, contact SQLCODE -918. The remainder of the current unit of work is
the system programmer for the remote site. The invalid sync backed out when rollback or abort is performed or when the
point message is recorded in the IFCID 0208 trace record. The application terminates.
system logic error that causes the invalid sync point message
User Response: If your application does not do any work at
must be corrected at the remote site.
a server for a long time after issuing a CONNECT, consider
rewriting it to perform the CONNECT immediately before per-
Problem Determination: In the UOW that was not com- System Programmer Response: Determine which sites the
mitted, the first SQL statement that performed an update that abending agent was connected to by examining the DSNL027
was not allowed received an SQLCODE -919. All subsequent and DSNL028 SYSLOG console messages at the site of the
SQL statements also received an SQLCODE -919 until a DB2 abend. Obtain copies of the SYS1.LOGREC and
ROLLBACK or a static ROLLBACK SQL statement was exe- SYSLOG data sets from each connected site, the SVC dump
cuted (if either occurred). at the site of the DB2 failure, and any related dumps from each
connected site. If you suspect an error in DB2, refer to Section
3 of DB2 Diagnosis Guide and Reference for information on
identifying and reporting the problem.
Explanation: An internal logic error occurred while invoking a This abend reason code is issued by the following CSECTs:
VTAM functional service. DSNLVASY DSNLVRCA DSNLVRQP
This abend reason code is issued by the following CSECT:
DSNLVnnn System Action: A record is written to SYS1.LOGREC and an
SVC dump is requested at the site of the DB2 abend.
DSNLVnnn identifies that a DCRM VTAM manager CSECT
detected a logic error. Refer to the dump title for the specific User Response: Notify the system programmer.
CSECT name. Operator Response: Collect the SYS1.LOGREC listing and
System Action: A record is written to SYS1.LOGREC and an the SVC dump.
SVC dump is requested at the site of the DB2 abend. System Programmer Response: Determine which con-
User Response: Notify the system programmer. nected sites the abending agent was connected to by exam-
ining the DSNL027 and DSNL028 SYSLOG console messages
Operator Response: Collect the SYS1.LOGREC listing and at the site of the DB2 abend. Obtain any related diagnostic
the SVC dump. information from each connected site and the SVC dump and
System Programmer Response: Determine which sites the SYS1.LOGREC at the site of the DB2 failure. If you suspect an
abending agent was connected to by examining the DSNL027 error in DB2, refer to Section 3 of DB2 Diagnosis Guide and
and DSNL028 SYSLOG console messages at the site of the Reference for information on identifying and reporting the
DB2 abend. Obtain copies of the SYS1.LOGREC and problem.
SYSLOG data sets from each connected site, the SVC dump Problem Determination: Collect the following diagnostic
at the site of the DB2 failure, and any related dumps from each items listed in Appendix B, “Problem determination” on
connected site. If you suspect an error in DB2, refer to Section page 1051: 56, 57.
3 of DB2 Diagnosis Guide and Reference for information on
identifying and reporting the problem.
00D31014
Problem Determination: Collect the following diagnostic
items listed in Appendix B, “Problem determination” on Explanation: One or more invalid parameters were supplied
page 1051: 56, 57. while invoking a VTAM functional service.
This abend reason code is issued by the following CSECTs:
00D31012
DSNLVASY DSNLVDDC DSNLVFSM DSNLVINF
Explanation: A VTAM functional service request failed DSNLVRCA DSNLVREQ DSNLVRQP DSNLVSCA
DSNLVSDA DSNLVSEA
because the state of the conversation was invalid for the
request. System Action: A record is written to SYS1.LOGREC and an
This abend reason code is issued by the following CSECTs: SVC dump is requested at the site of the DB2 abend.
DSNLVDDC DSNLVFSM User Response: Notify the system programmer.
System Action: A record is written to SYS1.LOGREC and an Operator Response: Collect the SYS1.LOGREC listing and
SVC dump is requested at the site of the DB2 abend. the SVC dump.
User Response: Notify the system programmer. System Programmer Response: Determine which sites the
Operator Response: Collect the SYS1.LOGREC listing and abending agent was connected to by examining the DSNL027
the SVC dump. and DSNL028 SYSLOG console messages at the site of the
DB2 abend. Obtain any related diagnostic information from
System Programmer Response: Determine which sites the
each connected site and the SVC dump and SYS1.LOGREC
abending agent was connected to by examining the DSNL027
at the site of the DB2 failure.
and DSNL028 SYSLOG console messages at the site of the
DB2 abend. Obtain any related diagnostic information from If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
each connected site and the SVC dump and SYS1.LOGREC nosis Guide and Reference for information on identifying and
at the site of the DB2 failure. reporting the problem.
If you suspect an error in DB2, refer to Section 3 of DB2 Diag- Problem Determination: Collect the following diagnostic
nosis Guide and Reference for information on identifying and items listed in Appendix B, “Problem determination” on
reporting the problem. page 1051: 56, 57.
Problem Determination: Collect the following diagnostic
items listed in Appendix B, “Problem determination” on
page 1051: 56, 57.
00D31018 00D3101B
Explanation: A syntax error was detected in a DDM reply Explanation: A DDM protocol error was detected in a DDM
received from a remote distributed database remote server. request received from a remote distributed database local DB2.
This abend reason code is issued by the following CSECTs: This abend reason code is issued by the following CSECT:
DSNLCSRR DSNLCMSR DSNLCRTD
System Action: The attempt to access the remote database System Action: The attempt to access the DB2 server fails,
resource fails, and the failure is reported to the application. and the failure is reported to the local DB2.
A DSNL031I message might have been written to the console. A DSNL032I message may have been written to the console.
Refer to the description of this message for further information. Refer to the description of this message for further information.
Operator Response: Notify the system programmer. Operator Response: Notify the system programmer.
System Programmer Response: If you suspect an error in System Programmer Response: If you suspect an error in
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
for information on identifying and reporting the problem. for information on identifying and reporting the problem.
Problem Determination: Collect the following diagnostic Problem Determination: Collect the following diagnostic
items listed in Appendix B, “Problem determination” on items listed in Appendix B, “Problem determination” on
page 1051: 1, 83. page 1051: 1, 83.
00D31019 00D3101C
Explanation: A DDM protocol error was detected in a DDM Explanation: DB2 has detected an error while processing a
reply received from a remote distributed database remote connection request from DDCS. A DB2RA connection request
server. was received from DDCS.
This abend reason code is issued by the following CSECTs: This reason code is issued by the following CSECTs:
DSNLCMSR DSNLCSRR DSNLCRTD and DSNLIRTR.
System Action: The attempt to access the distributed System Action: A DDM reply message (SYNTAXRM) is
resource fails, and the failure is reported to the local DB2. returned to the DRDA client.
A DSNL031I message might have been written to the console. Operator Response: Notify the DDCS system administrator.
Refer to the description of this message in this book for further
System Programmer Response: This is probably not a DB2
information.
problem. This error is most likely caused by an incorrect entry
Operator Response: Notify the system programmer. in the DCS directory on DDCS. Refer to IBM Distributed Data-
base Connection Services Installation and Configuration Guide
System Programmer Response: If you suspect an error in
for information on configuring your DDCS system.
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
for information on identifying and reporting the problem.
00D31022
Problem Determination: Collect the following diagnostic
items listed in Appendix B, “Problem determination” on Explanation: The requested VTAM function for allocating a
page 1051: 1, 83. conversation was not performed because the data manager
returned an unavailable resource when attempting to read the
SYSIBM.LOCATIONS table in the communication database
00D3101A
(CDB). The LOCATION cannot be resolved to the remote DB2
Explanation: A syntax error was detected in a DDM request subsystem LUNAME.
received from a remote distributed database local DB2.
This abend reason code is issued by the following CSECT:
This abend reason code is issued by the following CSECT: DSNLVCLM
DSNLCRTD
System Action: Notification of the failure is returned to the
System Action: The attempt to access the DB2 server fails, application. The conversation is not allocated.
and the failure is reported to the local DB2.
Operator Response: Notify the system programmer.
A DSNL032I message might have been written to the console.
System Programmer Response: If you suspect an error in
Refer to the description of this message for further information.
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
Operator Response: Notify the system programmer. for information on identifying and reporting the problem.
System Programmer Response: If you suspect an error in Problem Determination: For more information, refer to the
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference explanation of message DSNL700I. Collect the following diag-
for information on identifying and reporting the problem. nostic items:
Problem Determination: Collect the following diagnostic Definitions of the communication database (CDB) table
items listed in Appendix B, “Problem determination” on space, tables, and indexes involved in the error.
page 1051: 1, 83.
Items 1 and 5 listed in Appendix B, “Problem
determination” on page 1051.
User Response: Notify the DB2 system programmer. Operator Response: Notify the system programmer.
System Programmer Response: The requesting system System Programmer Response: If you suspect an error in
should have sent a valid SNA XLN request before starting a DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
protected conversation. Contact the system programmer for the for information on identifying and reporting the problem.
requesting system to determine why the SNA XLN process Problem Determination: For more information, refer to the
was not completed successfully. explanation of message DSNL500I or message DSNL502I,
Problem Determination: Collect the following diagnostic depending on the type of conversation that failed.
items listed in Appendix B, “Problem determination” on Collect the following diagnostic items listed in Appendix B,
page 1051: 1. “Problem determination” on page 1051: 1, 5,
00D31024 00D31027
Explanation: The requested VTAM function for allocating a Explanation: The requested VTAM function cannot be per-
conversation was not performed because the location name is formed because VTAM is abending or because the operator
not defined in the SYSIBM.LOCATIONS table in the communi- has issued a HALT NET command to terminate VTAM.
cation database (CDB).
This abend reason code is issued by the following CSECTs:
This abend reason code is issued by the following CSECTs:
DSNLVAAC DSNLVASY DSNLVCNS DSNLVDDC
DSNLVAAC DSNLVCLM DSNLVPF5 DSNLVRCA DSNLVREQ DSNLVSCA DSNLVSDA
DSNLVSEA DSNLVPCS DSNLVPF5 DSNLVRQP
System Action: Notification of the failure is returned to the
application. The conversation is not allocated to the specified System Action: Notification of DDF termination is reported to
location. the application. No remote communications are allowed. The
distributed data facility is terminated.
Operator Response: Notify the system programmer.
Operator Response: Notify the system programmer.
System Programmer Response: Add the location to the
SYSIBM.LOCATIONS table. System Programmer Response: Determine why VTAM was
terminated.
Problem Determination: Collect the following diagnostic
items listed in Appendix B, “Problem determination” on
page 1051: 73, 74. 00D31029
Explanation: The requested VTAM function to allocate a con-
00D31025 versation failed. VTAM returned a nonzero return code while
attempting to negotiate limits with a remote location for a
Explanation: The requested VTAM function for allocating a mode.
conversation was not performed because a mode name could
not be found in the SYSIBM.MODESELECT table in the com- This abend reason code is issued by the following CSECT:
munication database (CDB) for the requesting thread. DSNLVCNS
This abend reason code is issued by the following CSECT: System Action: Notification of the failure is returned to the
DSNLVCLM application. All communications to the remote location on the
mode fail until the CNOS is successfully negotiated.
System Action: Notification of the failure is returned to the
application. The conversation is not allocated. Operator Response: Notify the system programmer.
Operator Response: Notify the system programmer. System Programmer Response: If you suspect an error in
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
System Programmer Response: Add the mode name to be for information on identifying and reporting the problem.
selected in the SYSIBM.MODESELECT table for the authori-
zation ID, PLANNAME, and LUNAME of the service request Problem Determination: For more information, refer to the
that failed. explanation of message DSNL501I.
Collect the following diagnostic items listed in Appendix B,
“Problem determination” on page 1051: 1, 5.
Operator Response: Notify the system programmer. Problem Determination: Analyze the SYSIBM.USERNAMES
table for an incorrect or missing entry.
System Programmer Response: Obtain copies of the
SYS1.LOGREC and SYSLOG data sets or similar data from
each connected site, the SVC dump at the site of the DB2 00D31038
failure, and any related dumps from each connected site. Refer Explanation: A conversation was not allocated for one of
to Section 3 of DB2 Diagnosis Guide and Reference for infor- these reasons:
mation on identifying and reporting the problem.
The requesting LU is part of a DB2 sysplex. When one or
Problem Determination: Collect the following diagnostic more LU names within a DB2 sysplex appear in the
items listed in Appendix B, “Problem determination” on SYSIBM.LULIST table at the remote site, all LU names
page 1051: 56, 57. within the sysplex must be identified in the
SYSIBM.LULIST table at the remote site.
00D31036
– You might have intended to list all the sysplex's LU
Explanation: The LINKNAME column of the names in the SYSIBM.LULIST table, but you did not
SYSIBM.LOCATIONS table was invalid. Since LINKNAME is a include one or more LU names.
foreign key of the SYSIBM.LUNAMES table, the LINKNAME
– You listed a subset of the LU names in
column must specify one of the values provided in the
SYSIBM.LULIST but none of the LU names you listed
LUNAME column of the SYSIBM.LUNAMES table. This error
are currently available. Please note that it can take up
should not occur.
to 3 minutes for LU availability information to be
This abend reason code is issued by the following CSECT: updated following START DDF at the remote site.
DSNLVCLM
The location name sent to a remote site does not match
System Action: A record is written to SYS1.LOGREC and an the location name recorded in the BSDS at that remote
SVC dump is requested at the site of the DB2 abend. site.
User Response: Notify the system programmer. The local SYSIBM.LULIST table is incorrectly defined for
the remote location.
Operator Response: Collect the SYS1.LOGREC, and the
SVC dump. A DSNL030I message might have been written to the console.
System Programmer Response: Obtain copies of the System Action: A record is written to SYS1.LOGREC and
SYS1.LOGREC and SYSLOG data sets from the DB2 site with the conversation is not allocated.
the inconsistently defined communications database (CDB).
Operator Response: Notify the system programmer.
If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
System Programmer Response: The CDB tables and DB2
nosis Guide and Reference for information on identifying and
BSDS parameters must correctly associate the LOCATION
reporting the problem.
names with their corresponding LUNAME names.
Problem Determination: Collect the following diagnostic
The cause of this error is usually one of the following:
items listed in Appendix B, “Problem determination” on
page 1051: 56, 57. The BSDS at the remote site does not have the correct
LOCATION or LUNAME value, which causes the remote
DBMS to respond to the wrong LOCATION name when
00D31037
receiving distributed database requests.
Explanation: The remote server was not successfully con-
The SYSIBM.LOCATIONS table at the local DB2 system
nected. The SYSIBM.USERNAMES table did not contain an
has an incorrect value in the LINKNAME or LOCATION
outbound row, the TYPE column specified as an 'O'
column for the failing LOCATION, which causes the
describing the remote authorization identifier to be used for the
request to be sent to the wrong remote DBMS.
primary DB2 authorization ID. When the USERNAMES column
in SYSIBM.LUNAMES specifies 'O' or 'B' requiring outbound The SYSIBM.LULIST table at the local DB2 system has an
name translation, the SYSIBM.USERNAMES table must incorrect value in the LUNAME column for the failing
contain entries describing the remote authorization IDs to be LOCATION, which causes the request to be sent to the
used for each DB2 authorization ID communicating with the wrong remote DBMS.
LU.
Not all LU names in the requesting DB2 sysplex are
This reason code is issued by the following CSECTs: defined in the SYSIBM.LULIST table at the remote site.
DSNLCCCN DSNLCSRR DSNLTMIG Not all LU names in the requesting DB2 sysplex are
defined in the SYSIBM.LULIST table at the server DB2
System Action: A resource unavailable is returned to the subsystem. The remote LU is not allowed access to the
application. The request is not sent to the remote site. server subsystem.
Operator Response: Notify the communications database In general, when the requester is a member of a sysplex,
administrator. each member of the requesting sysplex should be defined
in SYSIBM.LULIST of the server subsystem. However,
System Programmer Response: Make sure the
there may be causes where an LU of a remote sysplex is
USERNAMES column in SYSIBM.LUNAMES has been speci-
not defined in SYSIBM.LULIST of the local subsystem to
fied correctly for the indicated LUNAME. If you intend to use
prevent the remote LU from being a candidate member
remote authorization IDs that differ from the DB2 authorization
when accessing the remote sysplex. This is known as
IDs, verify that the SYSIBM.USERNAMES table has rows that
"member specific routing". If the remote sysplex LU
correctly specify the remote authorization ID to be used for
attempts to access the local subsystem, this reason code
each possible DB2 authorization ID.
tion fails, and the error is reported to the DB2 application that If the USERNAMES column of the SYSIBM.LUNAMES
requested access to the distributed resource. table at the local DB2 system specifies 'O' or 'B', the
SYSIBM.USERNAMES table will be used to determine the
User Response: Notify your DB2 system programmer.
authorization ID and password sent on the
System Programmer Response: DB2 will attempt to use LU6.ALLOCATE request.
SECURITY=SAME when connecting to remote database
If you intend to translate the authorization IDs, ensure that
systems whose USERSECURITY column in the
the NEWAUTHID column of the SYSIBM.USERNAMES
SYSIBM.LUNAMES table contains a value other than 'C'. In
table contains the correct authorization ID to be used at
order to support the LU6.2 SECURITY=SAME function, the
the remote site.
target DBMS must declare support for the SECURITY=SAME
function. If the remote site is a DB2 system, the ENCRYPTPSWDS
value in the SYSIBM.LUNAMES table must exactly match
If the target DBMS is DB2, support for the SECURITY=SAME
the ENCRYPTPSWDS column of the SYSIBM.LUNAMES
function is declared by specifying the following:
table at the remote site.
1. The DB2 VTAM APPL definition must specify
If the remote site is not a DB2 system, the
SECACPT=ALREADYV at the remote DB2 subsystem.
ENCRYPTPSWDS value in the SYSIBM.LUNAMES table
2. The value in the USERSECURITY column of the must be set to 'N'.
SYSIBM.LUNAMES table at the remote DB2 subsystem
If you are transmitting passwords to the remote site, the
must specify a value other than 'C' in the row associated
password transmitted by the local DB2 system must
with the requesting DB2 subsystem.
exactly match the value expected by the remote site.
Problem Determination: Collect the following diagnostic
1. For encrypted passwords, the password sent to the
items:
remote DB2 subsystem is obtained by extracting the
The VTAM APPL definition for the remote DB2 system. RACF password of the user identified by the
The contents of the SYSIBM.LUNAMES table. NEWAUTHID column in the SYSIBM.USERNAMES
table. This user's RACF password must exactly match
the password at the remote site.
00D3103D
2. If password encryption is not used, the password will
Explanation: An attempt to allocate a VTAM LU6.2 conversa- be taken from the PASSWORD column of the
tion with a remote site failed because the request did not SYSIBM.USERNAMES table. This value must exactly
contain the proper security information. match the password at the remote site.
This abend reason code is issued by the following CSECT: Problem Determination: Collect the following diagnostic
DSNLVRPL items listed in Appendix B, “Problem determination” on
System Action: The attempt to access the remote database page 1051: 58, 59, 1.
resource failed and the failure is reported to the application.
User Response: Notify the communications database admin- 00D3103E
istrator. Explanation: The requested VTAM function to allocate a con-
System Programmer Response: This error is usually versation was not performed because the VTAM MODE speci-
caused by transmitting an invalid authorization ID or password fied a conversation limit of zero. The conversation limits must
in a request to the remote site. However, this is not always the be set to a value greater than zero before a conversation can
case, so it is important to review the diagnostic information at be allocated.
the remote site to determine the cause of the failure. This abend reason code is issued by the following CSECT:
If the remote site is a DB2 subsystem, refer to the DSNLVALM
DSNL030I message at the remote site for the cause of the System Action: The conversation is not allocated.
security failure. Additionally, an ALERT will be recorded in
NetView (if the NetView product is available) to describe Operator Response: Notify the system programmer.
the security failure. System Programmer Response: If you have placed entries
If the remote site is not a DB2 subsystem, obtain any diag- in the SYSIBM.LUMODES table, make sure CONVLIMIT
nostic information about the security failure at the remote column has a nonzero value. If you are allowing the session
site. limits to be chosen by VTAM, make sure the DSESLIM values
on the VTAM APPL and mode entries are nonzero.
If you suspect the authorization ID or password is not correct,
the DB2 CDB on the local DB2 system should be examined to Problem Determination: Collect the following diagnostic
validate the following items: items:
If the remote site requires both an authorization ID and a Determine the LUNAME and MODE name of the DB2
password on LU6.ALLOCATE requests (i.e., the remote system that attempted to start a VTAM conversation.
site does not accept already-verified ALLOCATE requests), Print the contents of the SYSIBM.LUMODES table.
the USERNAMES column of the SYSIBM.LUNAMES table
Determine the session limits defined on the VTAM APPL
at the local DB2 system must specify either 'O' or 'B'.
statement and the VTAM MODE entry.
Collect the following diagnostic items listed in Appendix B, System Action: A record is written to SYS1.LOGREC and an
“Problem determination” on page 1051: 56, 57. SVC dump is requested at the failed DB2 site.
Operator Response: Notify the system programmer.
00D31041 System Programmer Response: Obtain copies of the
Explanation: The requested VTAM function to allocate a con- SYS1.LOGREC and SYSLOG data sets from each connected
versation was not performed because the site, the SVC dump at the site of the DB2 failure, and any
SYSIBM.USERNAMES table at the responding site did not related dumps from each connected site.
contain a row whose authorization ID column matches the DB2 If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
authorization ID received from the requesting DB2 system. nosis Guide and Reference for information on identifying and
When the USERNAMES column in SYSIBM.LUNAMES speci- reporting the problem.
fies 'I' or 'B', inbound name translation is in effect. The
SYSIBM.USERNAMES table must contain entries describing Problem Determination: Collect the following diagnostic
the local DB2 authorization ID to be used for each DB2 author- items listed in Appendix B, “Problem determination” on
ization ID sent by the requesting DB2 system. page 1051: 56, 57.
System Action: The attempt to access the remote database User Response: Notify the communications database admin-
resource fails and the failure is reported to the application. istrator.
A DSNL030I message may have been written to the console. Operator Response: Notify the system programmer.
User Response: Notify the communications database admin- System Programmer Response: The request was rejected
istrator. because the SECURITY_IN column of the SYSIBM.LUNAMES
table contained a 'V' in the row associated with the remote
Operator Response: Notify the system programmer.
system. The value 'V' indicates that the remote system must
System Programmer Response: Verify that the remote sub- send both a USERID and a PASSWORD, which corresponds
system is configured to send valid security subfields. to SECURITY_PGM in the SNA LU6.2 architecture. Users
If the remote subsystem is DB2, make sure the VTAM APPL should also be aware that in the absence of a
definition does not specify SECACPT=NONE, which is the SYSIBM.LUNAMES row that specifically identifies the remote
default for the VTAM APPL definition. SECACPT=NONE will LU, a "default" SYSIBM.LUNAMES row (blank LUNAME) may
cause VTAM to remove the security subfields from the FMH5. be utilized, if defined, if the inbound connection is via DRDA
protocols. This "default" row may not reflect the desired
If you suspect an error in DB2, refer to Section 3 of DB2 Diag- inbound security characteristics in which case a
nosis Guide and Reference for information on identifying and SYSIBM.LUNAMES row can be defined that explicitly identifies
reporting the problem. the remote LU.
Problem Determination: Collect the following diagnostic This problem can be corrected in two ways:
items listed in Appendix B, “Problem determination” on
page 1051: 1, 58, 59. 1. If you would like DB2 to accept requests that are marked
with SECURITY=SAME, change the SECURITY_IN value
in the SYSIBM.LUNAMES table to 'A' for the remote LU
00D31045 in question. Also the DB2 VTAM APPL definition should
Explanation: A remote subsystem has attempted to allocate specify SECACPT=ALREADYV.
a VTAM LU6.2 conversation, but the request was rejected 2. If you would like DB2 to continue to reject requests of this
because the request did not contain the proper security infor- kind, the remote LU must be configured to send requests
mation. The FMH5 received from the remote subsystem did that contain both a USERID and PASSWORD
not contain the security subfield that supplies the USERID, or (SECURITY=PGM in SNA LU6.2 terms).
the USERID was not 1 to 8 bytes in length.
If the remote LU is DB2, the SECURITY_OUT column in
This abend reason code is issued by the following CSECT: the SYSIBM.LUNAMES table must specify either 'R' or
DSNLVPF5 'P' in the row associated with the local DB2 subsystem.
System Action: The attempt to access the remote database If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
resource fails and the failure is reported to the application. nosis Guide and Reference for information on identifying and
A DSNL032I message may have been written to the console. reporting the problem.
Refer to the description of this message for further information. Problem Determination: Collect the following diagnostic
User Response: Notify the communications database admin- items listed in Appendix B, “Problem determination” on
istrator. page 1051: 1, 58, 59.
00D3104D
00D31050
Explanation: The local DB2 system does not support
Explanation: DB2 expected to receive security information for
connectivity to the DB2 release currently running at the remote
the remote client but a valid DRDA SECCHK command was
DB2 site.
not received for a connection request from a DRDA application
This abend reason code is issued by the following CSECT: requester (AR). The DRDA SECCHK command is only valid
DSNLCSIM with a DRDA security manager level greater than or equal to 5.
System Action: The attempt to allocate an SNA conversation This can be the case if one of the following occurs:
is rejected with reason code 00D3104D.
The DRDA AR requested a DRDA security manager less
User Response: Contact the DB2 systems programmer. than level 5 for an SNA connection where the APPL
System Programmer Response: DB2 distributed database command for DB2 was specified with the
connections can only be established between compatible DB2 SECACPT=NONE option.
releases. For example, DB2 Version 3 can connect to DB2 2.3, The DRDA SECCHK command did not contain the
but not to DB2 2.2. required security information.
In order to establish connectivity, the down-level DB2 system The DRDA AR requested a DRDA security manager less
must be migrated to a supported release of DB2. than level 5 for a TCP/IP connection.
Problem Determination: Collect the following diagnostic This abend reason code is issued by the following CSECTs:
items listed in Appendix B, “Problem determination” on DSNLTEXC, DSNLTSEC.
page 1051: 1.
System Action: The attempt to access the local database
resource fails, the failure is reported to the SQL application,
00D3104E and the conversation is terminated.
Explanation: An SNA Exchange Log Names (XLN) protocol System Programmer Response: For SNA connections, if
violation was detected when attempting to establish a con- SECACPT=NONE and the DRDA AR does not support DRDA
nection to a remote site. security manager level 5, contact the DB2 security adminis-
This abend reason code is issued by the following CSECT: trator to change the SECACPT option to ALREADYV or CONV
DSNLCXLI to allow for security information in the VTAM FMH-5 in the
form of userid or userid/password fields. If SECACPT=NONE is
System Action: The attempt to allocate an SNA conversation not changed, then DB2 cannot accept connection requests
is rejected with reason code 00D3104E. Message DSNL421E from this remote client.
is written to the system console and IFCID 0213 is produced to
describe the protocol violation. For SNA connections, If SECACPT=ALREADYV or CONV,
then even though userid or userid/password fields in the
User Response: Contact the DB2 systems programmer. FMH-5 are received and validated, DB2 must evaluate a
System Programmer Response: Contact the system pro- DRDA SECCHK command if it is sent. If the DRDA AR
grammer for the remote site. The invalid XLN message is requests this level of security but does not provide the correct
recorded in the IFCID 0213 trace record. The system logic information in the form of a SECCHK command, this is a
error that causes the invalid XLN message must be corrected DRDA protocol error committed by the DRDA AR implementa-
at the remote site. tion at the remote client.
Problem Determination: Collect the following diagnostic For TCP/IP connections, this is a DRDA protocol error com-
items listed in Appendix B, “Problem determination” on mitted by the DRDA AR implementation at the remote client.
page 1051: 1. Problem Determination: If you suspect an error in DB2, refer
to Section 3 of DB2 Diagnosis Guide and Reference for infor-
mation on identifying and reporting the problem. Collect the fol-
lowing diagnostic items listed in Appendix B, “Problem processing. Those messages describe any errors that
determination” on page 1051: 1, 2, 5. would prevent DDF from using TCP/IP.
Problem Determination: Collect the following diagnostic
00D31051 > items listed in Appendix B, “Problem determination” on
Explanation: DB2 was passed a DCE security token during page 1051: 1.
connection request processing, but could not derive an
authenticated local userid from the security token. 00D31056
This abend reason code is issued by the following CSECT: Explanation: The PORT column of the SYSIBM.LOCATIONS
DSNLTSEC. table could not be converted to a TCP/IP port number by the
getservbyname TCP/IP socket call.
System Action: The attempt to access the local database
resource fails, the failure is reported to the SQL application, This abend reason code is issued by the following CSECT:
and the conversation is terminated with a sense code of DSNLxxxx
'08640000'x.
System Action: The request to connect to a remote site fails.
Message DSNL052E is issued and contains additional informa- The SQL application receives a -904 SQLCODE, and message
tion about the failure. DSNL514, DSNL517, or DSNL518 is written to the console
describing the error.
System Programmer Response: Determine the reason for
the failure by referring to DSNL052E. User Response: Notify the system programmer.
Problem Determination: Collect the following diagnostic Operator Response: Notify the system programmer.
items listed in Appendix B, “Problem determination” on
System Programmer Response: Use the information in the
page 1051: 1, 2, 5.
DSNL514, DSNL517, or DSNL518 message to resolve the
erorr.
| 00D31052
Problem Determination: Collect the following diagnostic
| Explanation: An application caused recursive access to a items listed in Appendix B, “Problem determination” on
| remote location, followed by access to another remote location, page 1051: 1.
| which is not permitted.
| For example, an application at location LOC1 might have con- 00D31057
| nected to location LOC2 and accessed a table using an alias
Explanation: DB2 was able to find the row in
| that resolves back to LOC1. There was a subsequent remote
SYSIBM.LOCATIONS for the LOCATION specified in the SQL
| access from LOC1 to LOCn, which caused the error.
request. However, the LINKNAME column value specified in
| System Action: The attempt to access the remote location LOCATIONS did not match any row in SYSIBM.LUNAMES or
| fails. The SQL application receives a -904 SQLCODE. SYSIBM.IPNAMES.
| System Programmer Response: Correct the application This abend reason code is issued by the following CSECT:
| program so that it does not cause recursive access to a DSNLxxxx
| location followed by remote access from that location. The
System Action: The request to connect to a remote site fails.
| application might have used table aliases, three-part table
The SQL application receives a -904 SQLCODE.
| names, stored procedures, user-defined functions, or triggers
| to cause the condition. User Response: Notify the system programmer.
| Problem Determination: Collect the following diagnostic Operator Response: Notify the system programmer.
| items listed in Appendix B, “Problem determination” on System Programmer Response: Insert a row in
# page 1051: 1, 35, 73, 74. SYSIBM.LUNAMES or SYSIBM.IPNAMES that matches the
LINKNAME specified in SYSIBM.LOCATIONS.
00D31055
Explanation: The remote location defined in the 00D31058
SYSIBM.LOCATIONS table could not be accessed because Explanation: The IPADDR column of the SYSIBM.IPNAMES
the TCP/IP interface to DDF is not available. table could not be converted to an IP address by the
System Action: The request to connect to a remote site fails. gethostbyname TCP/IP socket call.
The SQL application receives a -904 SQLCODE. This abend reason code is issued by the following CSECT:
User Response: Notify the system programmer. DSNLxxxx
Operator Response: Notify the system programmer. System Action: The request to connect to a remote site fails.
The SQL application receives a -904 SQLCODE, and message
System Programmer Response: One of two actions should
DSNL513, DSNL517, or DSNL518 is written to the console
be taken:
describing the error.
If the remote site is not supposed to be using TCP/IP, add
User Response: Notify the system programmer.
a row to SYSIBM.LUNAMES defining the LUNAME used
by the remote location. Operator Response: Notify the system programmer.
If the remote site is correctly defined in the CDB, examine System Programmer Response: Use the information in the
the messages written to the console during -START DDF DSNL513, DSNL517, or DSNL518 message to resolve the
erorr.
Problem Determination: Collect the following diagnostic System Action: A record is written to SYS1.LOGREC and an
items listed in Appendix B, “Problem determination” on SVC dump is requested at the site of the DB2 abend.
page 1051: 1.
Operator Response: Notify the system programmer.
System Programmer Response: Determine which sites the
# 00D31059
abending agent was connected to by examining the DSNL027
# Explanation: An attempt to allocate a conversation to the and DSNL028 SYSLOG console messages at the site of the
# remote site failed because DB2 was unable to obtain a RACF DB2 abend. Obtain any related diagnostic information from
# PassTicket. The user specified an 'R' in the SECURITY_OUT each connected site and the SVC dump and SYS1.LOGREC
# column of the SYSIBM.IPNAMES and/or SYSIBM.LUNAMES at the site of the DB2 failure.
# communications database (CDB) tables for the partner site. As
Refer to Section 3 of DB2 Diagnosis Guide and Reference for
# a result, DB2 invokes RACF to extract a PassTicket for the
information on identifying and reporting the problem.
# partner site. However, RACF could not provide a PassTicket,
# and the attempt faild. Problem Determination: Collect the following diagnostic
items listed in Appendix B, “Problem determination” on
# System Action: The attempt to access the remote database
page 1051: 56, 57.
# resource failed, and the failure is reported to the application.
# User Response: Notify the system programmer.
00D31102
# System Programmer Response: The error usually occurs
Explanation: A data communications functional service
# due to incorrect or mising RACF definitions. To avoid this error,
encountered an inconsistency in the requesting thread control
# specify the proper RACF definitions to provide for the
block structure. This is an internal error.
# PassTicket. Alternatively, you may avoid the use of
# PassTickets by changing the SECURITY_OUT column of the This abend reason code is issued by the following CSECTs:
# SYSIBM.IPNAMES and/or SYSIBM.LUNAMES CDB table for
DSNLCCCN DSNLCSRM DSNLCTCN
# the partner site. For information regarding PassTickets, refer to
# Section 3 (Volume 1) of of DB2 Administration Guide.
System Action: A record is written to SYS1.LOGREC and an
# Problem Determination: Collect the following diagnostic SVC dump is requested at the site of the DB2 abend.
# items listed in Appendix B, “Problem determination” on
Operator Response: Notify the system programmer.
# page 1051: 14, 58, 74.
System Programmer Response: Determine which sites the
abending agent was connected to by examining the DSNL027
00D31100
and DSNL028 SYSLOG console messages at the site of the
Explanation: The data communications function service was DB2 abend. Obtain copies of the SYS1.LOGREC and
invoked with a parameter list that contained one or more SYSLOG data sets or similar data from each connected site,
invalid parameters. This is an internal error. the SVC dump at the site of the DB2 failure, and any related
This abend reason code is issued by the following CSECTs: dumps from each connected site.
Refer to Section 3 of DB2 Diagnosis Guide and Reference for
DSNLCBCS DSNLCBUF DSNLCCCN DSNLCCDR
DSNLCCNR DSNLCSIM DSNLCMSR DSNLCSRM
information on identifying and reporting the problem.
DSNLCTCN DSNLCTDR DSNLCTRC
Problem Determination: Collect the following diagnostic
items listed in Appendix B, “Problem determination” on
System Action: A record is written to SYS1.LOGREC and an
page 1051: 56, 57.
SVC dump is requested at the site of the DB2 abend.
Operator Response: Notify the system programmer.
00D31103
System Programmer Response: Determine which sites the
Explanation: A data communications functional service
abending agent was connected to by examining the DSNL027
received an invalid logical-unit-of-work ID (LUWID) or no
and DSNL028 SYSLOG console messages at the site of the
LUWID. This is an internal error.
DB2 abend. Obtain any related diagnostic information from
each connected site and the SVC dump and STS1.LOGREC at This abend reason code is issued by the following CSECTs:
the site of a DB2 abend. DSNLCCCN, DSNLCCDR
Refer to Section 3 of DB2 Diagnosis Guide and Reference for System Action: A record is written to SYS1.LOGREC and an
information on identifying and reporting the problem. SVC dump is requested at the site of the DB2 abend.
Problem Determination: Collect the following diagnostic Operator Response: Notify the system programmer.
items listed in Appendix B, “Problem determination” on System Programmer Response: Determine which sites the
page 1051: 56, 57. abending agent was connected to by examining the DSNL027
and DSNL028 SYSLOG console messages at the site of the
00D31101 DB2 abend. Obtain any related diagnostic information from
each connected site and the SVC dump and SYS1.LOGREC
Explanation: A data communications functional service was
as the site of the DB2 failure.
invoked with the cursor table marked invalid. This is an internal
error. Refer to Section 3 of DB2 Diagnosis Guide and Reference for
information on identifying and reporting the problem.
This abend reason code is issued by the following CSECTs:
Problem Determination: Collect the following diagnostic
DSNLCCCN DSNLCCDR DSNLCSRM items listed in Appendix B, “Problem determination” on
page 1051: 56, 57.
SYSLOG data sets from each connected site, the SVC dump
00D31117
at the site of the DB2 failure, and any related dumps from each
Explanation: The data communications resource manager connected site.
received a request with an invalid response type. This is an
Refer to Section 3 of DB2 Diagnosis Guide and Reference for
internal error.
information on identifying and reporting the problem.
This abend reason code is issued by the following CSECT:
Problem Determination: Collect the following diagnostic
DSNLCRTR
items listed in Appendix B, “Problem determination” on
System Action: A record is written to SYS1.LOGREC and an page 1051: 56, 57.
SVC dump is requested at the site of the DB2 abend.
Operator Response: Notify the system programmer. 00D3111A
System Programmer Response: Determine which sites the Explanation: The data communications resource manager
abending agent was connected to by examining the DSNL027 received an unexpected communications error when proc-
and DSNL028 SYSLOG console messages at the site of the essing a request. This can occur for any of the following
DB2 abend. Obtain copies of the SYS1.LOGREC and reasons:
SYSLOG data sets or similar data from each connected site, A VTAM session failure caused the premature termination
the SVC dump at the site of the DB2 failure, and any related of a DB2 conversation.
dumps from each connected site.
A VTAM VARY NET, INACTIVE or HALT NET command
Refer to Section 3 of DB2 Diagnosis Guide and Reference for was issued which interrupted a DB2 conversation.
information on identifying and reporting the problem.
A DB2 internal logic error occurred.
Problem Determination: Collect the following diagnostic
items listed in Appendix B, “Problem determination” on This abend reason code is issued by the following CSECTs:
page 1051: 56, 57.
DSNLCRTR DSNLCSIM DSNLCSND
Problem Determination: Collect the following diagnostic # or the application logic can be modified to fetch all n rows
items listed in Appendix B, “Problem determination” on # or to close the cursor before executing the statement that
page 1051: 56, 57. # caused the in-transit data to be buffered.
# The number of extra blocks returned can be controlled by
00D3111C # DB2 installation parameters. The maximum number of
Explanation: An internal logic error occurred while invoking a # extra blocks requested by a DB2 requester system is
TCP/IP functional service. # determined by the "Extra Blocks Req" option of the
# DSNTIP5 DB2 installation panel. This value can be
This abend reason code is issued by the following CSECT: # reduced which prevents the server system from returning
DSNLInnn # more blocks than the DB2 requester system can buffer.
DSNLInnn identifies that a DCRM TCP/IP manager CSECT # Similarly, the server system may also provide a method to
detected a logic error. Refer to the dump title for the specific # regulate the maximum number of extra blocks that it will
CSECT name. # return to a requester in which case this number can also
System Action: A record is written to SYS1.LOGREC and an # be reduced. For DB2 UDB Server for OS/390 systems, this
SVC dump is requested at the site of the DB2 abend. # is determined by the "Extra Blocks Srv" option of the
# DSNTIP5 DB2 installation panel.
User Response: Notify the system programmer.
# For information about block fetching result sets, see Section 5
Operator Response: Collect the SYS1.LOGREC listing and # (Volume 2) of DB2 Administration Guide.
the SVC dump.
# Problem Determination: Collect the following diagnostic
System Programmer Response: Determine which sites the # items listed in Appendix B, “Problem determination” on
abending agent was connected to by examining the DSNL027 # page 1051: 14, 17.
and DSNL028 SYSLOG console messages at the site of the
DB2 abend. Obtain copies of the SYS1.LOGREC and
SYSLOG data sets from each connected site, the SVC dump 00D34401
at the site of the DB2 failure, and any related dumps from each Explanation: The relational data system (RDS) passed an
connected site. If you suspect an error in DB2, refer to Section invalid function code to the distributed RDS (DRDS). This is an
3 of DB2 Diagnosis Guide and Reference for information on internal error.
identifying and reporting the problem.
This abend reason code is issued by the following CSECT:
Problem Determination: Collect the following diagnostic DSNLXRDS
items listed in Appendix B, “Problem determination” on
System Action: A record is written to SYS1.LOGREC and an
page 1051: 56, 57.
SVC dump is requested at the site of the DB2 abend.
# Explanation: The maximum amount of buffered query data System Programmer Response: Determine which sites the
# has been exceeded. Rather than return one block of query abending agent was connected to by examining the DSNL027
# data, the DRDA server system elected to return multiple extra and DSNL028 SYSLOG console messages at the site of the
# blocks. Instead of fetching all rows in all the extra blocks, the DB2 abend. Obtain copies of the SYS1.LOGREC and
# requesting application executed an SQL statement not related SYSLOG data sets or similar data from each connected site,
# to the query or executed a commit while a held cursor was still the SVC dump at the site of the DB2 failure, and any related
# open. DB2 buffers the extra in-transit blocks, however DB2 dumps from each connected site.
# was not able to buffer the entire set of extra blocks and thus Refer to Section 3 of DB2 Diagnosis Guide and Reference for
# truncated the result set. The application then resumed fetching information on identifying and reporting the problem.
# and attempted to fetch data beyond the point of truncation.
Problem Determination: Collect the following diagnostic
# System Action: The SQL statement fails. items listed in Appendix B, “Problem determination” on
# User Response: Notify the system programmer. page 1051: 56, 57.
Problem Determination: Collect the following diagnostic Explanation: The distributed relational data system (DRDS)
items listed in Appendix B, “Problem determination” on detected an internal inconsistency. An invalid state transition
page 1051: 56, 57. occurred. This is a DRDS internal error.
This abend reason code is issued by the following CSECTs:
Explanation: Allocation of the distributed processing services System Programmer Response: Determine which sites the
block (DPSB) failed. ABENDing agent was connected to by examining the
DSNL027 and DSNL028 SYSLOG console messages at the
This abend reason code is issued by the following CSECTs: site of the DB2 ABEND. Obtain copies of the SYS1.LOGREC
DSNLXCNV DSNLXQCL DSNLXQEX DSNLXQFH and SYSLOG data sets or similar data from each connected
DSNLXQOP DSNLXQPR DSNLXSQD DSNLXQXI left 20he SVC dump at the site of the DB2 failure, and any
related dumps from each connected site. Refer to Section 3 of
System Action: A record is written to SYS1.LOGREC and an DB2 Diagnosis Guide and Reference for information on identi-
SVC dump is requested at the site of the DB2 abend. fying and reporting the problem.
Operator Response: Notify the system programmer. Problem Determination: Collect the following diagnostic
System Programmer Response: Determine which sites the items listed in Appendix B, “Problem determination” on
abending agent was connected to by examining the DSNL027 page 1051: 56, 57.
and DSNL028 SYSLOG console messages at the site of the
DB2 abend. Obtain copies of the SYS1.LOGREC and 00D3441F
SYSLOG data sets or similar data from each connected site,
Explanation: The distributed relational data system (DRDS)
the SVC dump at the site of the DB2 failure, and any related
subcomponent is in an invalid state and cannot process the
dumps from each connected site.
function requested. This is a DB2 internal error.
If you suspect an error in DB2, refer to Section 3 of DB2 Diag-
This abend reason code is issued by the following CSECT:
nosis Guide and Reference for information on identifying and
DSNLXRUW
reporting the problem.
System Action: A record is written to SYS1.LOGREC and an
Problem Determination: Collect the following diagnostic
SVC dump is requested at the site of the DB2 ABEND.
items listed in Appendix B, “Problem determination” on
page 1051: 56, 57. Operator Response: Notify the system programmer.
System Programmer Response: Determine which sites the
00D3441D ABENDing agent was connected to by examining the
DSNL027 and DSNL028 SYSLOG console messages at the
Explanation: The distributed relational data system (DRDS)
site of the DB2 ABEND. Obtain copies of the SYS1.LOGREC
subcomponent has determined that control structures neces-
and SYSLOG data sets or similar data from each connected
sary for processing do not exist. This is a DB2 internal error.
site, the SVC dump at the site of the DB2 failure, and any
This abend reason code is issued by the following CSECT: related dumps from each connected site. Refer to Section 3 of
DSNLXRUW DB2 Diagnosis Guide and Reference for information on identi-
System Action: A record is written to SYS1.LOGREC and an fying and reporting the problem.
SVC dump is requested at the site of the DB2 ABEND. Problem Determination: Collect the following diagnostic
Operator Response: Notify the system programmer. items listed in Appendix B, “Problem determination” on
page 1051: 56, 57.
00D34422
System Action: A record is written to SYS1.LOGREC and an
Explanation: The distributed relational data system (DRDS) SVC dump is requested at the site of the DB2 ABEND.
subcomponent has received an unexpected return code from
Operator Response: Notify the system programmer.
the Distributed Transaction Manager (DTM) subcomponent
during CONNECT processing. This is a DB2 internal error. System Programmer Response: Determine which sites the
ABENDing agent was connected to by examining the
This abend reason code is issued by the following CSECT:
DSNL027 and DSNL028 SYSLOG console messages at the
DSNLXRCN
site of the DB2 ABEND. Obtain copies of the SYS1.LOGREC
System Action: A record is written to SYS1.LOGREC and an and SYSLOG data sets or similar data from each connected
SVC dump is requested at the site of the DB2 ABEND. site, the SVC dump at the site of the DB2 failure, and any
Operator Response: Notify the system programmer. related dumps from each connected site. Refer to Section 3 of
DB2 Diagnosis Guide and Reference for information on identi-
System Programmer Response: Determine which sites the fying and reporting the problem.
ABENDing agent was connected to by examining the
DSNL027 and DSNL028 SYSLOG console messages at the Problem Determination: Collect the following diagnostic
site of the DB2 ABEND. Obtain copies of the SYS1.LOGREC items listed in Appendix B, “Problem determination” on
and SYSLOG data sets or similar data from each connected page 1051: 56, 57.
site, the SVC dump at the site of the DB2 failure, and any
related dumps from each connected site. Refer to Section 3 of 00D34425
DB2 Diagnosis Guide and Reference for information on identi-
Explanation: The distributed relational data system (DRDS)
fying and reporting the problem.
subcomponent has received an unexpected return code from
Problem Determination: Collect the following diagnostic the Data Communications Resource Manager (DC) subcompo-
items listed in Appendix B, “Problem determination” on nent. This is a DB2 internal error.
page 1051: 56, 57.
This abend reason code is issued by the following CSECTs:
site, the SVC dump at the site of the DB2 failure, and any
00D34429
related dumps from each connected site. Refer to Section 3 of
DB2 Diagnosis Guide and Reference for information on identi- Explanation: The distributed relational data system (DRDS)
fying and reporting the problem. subcomponent has detected that the call type in the RDI is
invalid. This is a DB2 internal error.
Problem Determination: Collect the following diagnostic
items listed in Appendix B, “Problem determination” on This abend reason code is issued by the following CSECT:
page 1051: 56, 57. DSNLXRSQ
System Action: A record is written to SYS1.LOGREC and an
00D34426 SVC dump is requested at the site of the DB2 ABEND.
Explanation: The distributed relational data system (DRDS) Operator Response: Notify the system programmer.
subcomponent has detected an invalid date format in
System Programmer Response: Determine which sites the
DSNHDECP. This is a DB2 internal error.
ABENDing agent was connected to by examining the
This abend reason code is issued by the following CSECT: DSNL027 and DSNL028 SYSLOG console messages at the
DSNLXRCM site of the DB2 ABEND. Obtain copies of the SYS1.LOGREC
System Action: A record is written to SYS1.LOGREC and an and SYSLOG data sets or similar data from each connected
SVC dump is requested at the site of the DB2 ABEND. site, the SVC dump at the site of the DB2 failure, and any
related dumps from each connected site. Refer to Section 3 of
Operator Response: Notify the system programmer. DB2 Diagnosis Guide and Reference for information on identi-
System Programmer Response: Determine which sites the fying and reporting the problem.
ABENDing agent was connected to by examining the Problem Determination: Collect the following diagnostic
DSNL027 and DSNL028 SYSLOG console messages at the items listed in Appendix B, “Problem determination” on
site of the DB2 ABEND. Obtain copies of the SYS1.LOGREC page 1051: 56, 57.
and SYSLOG data sets or similar data from each connected
site, the SVC dump at the site of the DB2 failure, and any
00D3442A
related dumps from each connected site. Refer to Section 3 of
DB2 Diagnosis Guide and Reference for information on identi- Explanation: The distributed relational data system (DRDS)
fying and reporting the problem. subcomponent has received a return code from the Data Com-
munications Resource Manager (DCRM) indicating that an exit
Problem Determination: Collect the following diagnostic
was chained; however, no exit should have been chained. This
items listed in Appendix B, “Problem determination” on
is a DB2 internal error.
page 1051: 56, 57.
This abend reason code is issued by the following CSECTs:
00D34427 DSNLXRBF DSNLXRCL DSNLXRFT
Explanation: The distributed relational data system (DRDS)
subcomponent has detected an invalid time format in System Action: A record is written to SYS1.LOGREC and an
DSNHDECP. This is a DB2 internal error. SVC dump is requested at the site of the DB2 ABEND.
This abend reason code is issued by the following CSECT: Operator Response: Notify the system programmer.
DSNLXRCM System Programmer Response: Determine which sites the
System Action: A record is written to SYS1.LOGREC and an ABENDing agent was connected to by examining the
SVC dump is requested at the site of the DB2 ABEND. DSNL027 and DSNL028 SYSLOG console messages at the
site of the DB2 ABEND. Obtain copies of the SYS1.LOGREC
Operator Response: Notify the system programmer. and SYSLOG data sets or similar data from each connected
System Programmer Response: Determine which sites the site, the SVC dump at the site of the DB2 failure, and any
ABENDing agent was connected to by examining the related dumps from each connected site. Refer to Section 3 of
DSNL027 and DSNL028 SYSLOG console messages at the DB2 Diagnosis Guide and Reference for information on identi-
site of the DB2 ABEND. Obtain copies of the SYS1.LOGREC fying and reporting the problem.
and SYSLOG data sets or similar data from each connected Problem Determination: Collect the following diagnostic
site, the SVC dump at the site of the DB2 failure, and any items listed in Appendix B, “Problem determination” on
related dumps from each connected site. Refer to Section 3 of page 1051: 56, 57.
DB2 Diagnosis Guide and Reference for information on identi-
fying and reporting the problem.
00D3442B
Problem Determination: Collect the following diagnostic
items listed in Appendix B, “Problem determination” on Explanation: The distributed relational data system (DRDS)
page 1051: 56, 57. subcomponent has received a nonzero SQL return code from
an invocation of the parser. This is a DB2 internal error.
This abend reason code is issued by the following CSECT:
DSNLXRCM
System Action: A record is written to SYS1.LOGREC and an
SVC dump is requested at the site of the DB2 ABEND.
Operator Response: Notify the system programmer.
System Programmer Response: Determine which sites the
ABENDing agent was connected to by examining the
DSNL027 and DSNL028 SYSLOG console messages at the result of a PREPARE or a prior execution of this SQL
site of the DB2 ABEND. Obtain copies of the SYS1.LOGREC statement is NOT the same as the description of the
and SYSLOG data sets or similar data from each connected resultant data that was received on the current execution
site, the SVC dump at the site of the DB2 failure, and any of this SQL statement.
related dumps from each connected site. Refer to Section 3 of
The data length, the data type and CCSID of each column of
DB2 Diagnosis Guide and Reference for information on identi-
resultant data is checked for consistency.
fying and reporting the problem.
This reason code is issued by the following CSECTs:
Problem Determination: Collect the following diagnostic
DSNLXROP, DSNLXRSL
items listed in Appendix B, “Problem determination” on
page 1051: 56, 57. System Action: An alert is generated. If this error has not
been previously detected, then message DSNL031I is written
to the MVS console and trace record containing the reply from
00D3442E
the remote server written in statistics class 4. If the error was
Explanation: The distributed relational data system (DRDS) already detected, information from the previous occurrence can
subcomponent has detected an inconsistency processing a be used to diagnose the problem.
request using advanced SQL protocols (ASP) of distributed
During execution the application will receive an SQLCODE
relational database architecture at the local DB2.
-30020 for this operation. Subsequent requests within this unit
The local DB2 has received an ENDUOWRM that indicates of work will receive an SQLCODE -900 or -906.
that the remote server processed a dynamic COMMIT request
Operator Response: Notify the system programmer.
successfully; however, the SQLCARD that accompanies the
ENDUOWRM contains a negative SQL return code. System Programmer Response: If you suspect an error in
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
This reason code is issued by the following CSECT:
for information on identifying and reporting the problem.
DSNLXRAX
Problem Determination: Examine the trace record associ-
System Action: An alert is generated. If this error has not
ated with the failing request's LUWID to determine the reply
been previously detected, then message DSNL031I is written
message and data that was received by the local DB2.
to the MVS console and trace record containing the reply from
Consult with the remote server system programmer to diag-
the remote server are written in statistics class 4. If the error
nose the problem.
was already detected, information from the previous occur-
rence can be used to diagnose the problem. At the local DB2, collect the following diagnostic items listed in
Appendix B, “Problem determination” on page 1051: 1, 5, 83.
During execution the application will receive an SQLCODE
+30100 for this operation. At the remote server, collect the following items listed in
Appendix B, “Problem determination” on page 1051: 1, 49.
Operator Response: Notify the system programmer.
System Programmer Response: If you suspect an error in
00D34431
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
for information on identifying and reporting the problem. Explanation: The distributed relational data system (DRDS)
subcomponent encountered an error while processing a FREE
Problem Determination: Examine the trace record associ-
package request. This is a DB2 internal error.
ated with the failing request's LUWID to determine the reply
message and data that was received by the local DB2. This abend reason code is issued by the following CSECT:
Consult with the remote server system programmer to diag- DSNLXRUW
nose the problem. System Action: The request was not processed successfully.
At this local DB2, collect the following diagnostic items listed in
Appendix B, “Problem determination” on page 1051: 1, 5, 83. 00D34432
At this remote server, collect the following diagnostic items Explanation: The Distributed Relational Data System (DRDS)
listed in Appendix B, “Problem determination” on page 1051: subcomponent encountered a positive SQL return code during
1, 49. remote program BIND processing. This is a DB2 internal error.
This abend reason code is issued by the following CSECT:
00D3442F DSNLXRUW
Explanation: The distributed relational data system (DRDS) System Action: The request was successfully processed.
subcomponent has detected an inconsistency processing a
request using advanced SQL protocols (ASP) of distributed
relational database architecture at the local DB2. 00D34433
The inconsistency may manifest itself as follows: Explanation: The distributed relational data system (DRDS)
subcomponent encountered a negative SQL return code.
In the processing of an embedded SELECT SQL state- during remote program BIND processing. This is a DB2
ment, a prior execution of this embedded SELECT SQL internal error.
statement resulted in a SQLDTARD that is NOT the same
as the SQLDTARD received on the current execution of This abend reason code is issued by the following CSECT:
this SQL statement. DSNLXRUW
In the processing of an OPEN cursor SQL statement, a System Action: The request was not successfully processed.
prior description of the resultant data, obtained either as a
00D34434 00D3443A
Explanation: The distributed relational data system (DRDS) Explanation: The database access request from a remote
subcomponent was forced to deallocate the conversation. This site failed because the SYSIBM.USERNAMES table did not
is a DB2 internal error. contain an inbound row, the TYPE column specified as an 'I'
describing the DB2 authorization ID to be used for the remote
System Action: The request was not processed successfully.
plan owner authorization ID. When the USERNAMES column
in SYSIBM.LUNAMES specifies 'I' or 'B', requiring inbound
00D34436 name translation, the SYSIBM.USERNAMES table must
Explanation: The distributed relational data system (DRDS) contain entries describing which DB2 authorization IDs are to
subcomponent detected that a remote program BIND request be used for each remote authorization ID from the LU.
specified the local site. This is a DB2 internal error. This abend reason code is issued by the following CSECT:
This abend reason code is issued by the following CSECT: DSNLXALC
DSNLXRCN System Action: The DSNL030I message is issued at the
System Action: A record is written to SYS1.LOGREC and an server. The database access agent is not allocated.
SVC dump is requested at the site of the BB2 ABEND. Operator Response: Notify the system programmer.
Operator Response: Notify the system programmer. System Programmer Response: Make sure the
System Programmer Response: Determine which sites the USERNAMES column in SYSIBM.LUNAMES has been speci-
ABENDing agent was connected to by examining the fied correctly for the indicated LUNAME. If you intend to use
DSNL027 and DSNL028 SYSLOG console messages at the remote authorization IDs that differ from the DB2 authorization
site of the DB2 ABEND. Obtain copies of the SYS1.LOGREC IDs, verify that the SYSIBM.USERNAMES table has rows that
and SYSLOG data sets from each connected site, the SVC correctly specify the DB2 authorization IDs to be used for
dump at the site of the DB2 failure, and any related dumps every possible remote authorization ID.
from each connected site. Refer to Section 3 of DB2 Diagnosis Problem Determination: Analyze the SYSIBM.USERNAMES
Guide and Reference for information on identifying and table for an incorrect or missing entry.
reporting the problem.
Problem Determination: Collect the following diagnostic 00D3443B
items listed in Appendix B, “Problem determination” on
Explanation: The distributed relational data system (DRDS)
page 1051: 56, 57.
subcomponent has detected an inconsistency processing a
chained request using advanced SQL protocols (ASP) of dis-
00D34438 tributed relational database architecture at the local DB2.
Explanation: The distributed relational data system (DRDS) Examples of inconsistencies follow:
subcomponent received an invalid SQLD value from the Rela-
tional Data System (RDS) component as a result of a The local DB2 believes that the chain is intact but the
DESCRIBE request. This is a DB2 internal error. remote server believes that the chain has been severed.
This abend reason code is issued by the following CSECT: The local DB2 believes that the chain has been severed
DSNLXXSS but the remote server believes that the chain is intact.
System Action: A record is written to SYS1.LOGREC and an The local DB2 has received a negative SQL return code
SVC dump is requested at the site of the DB2 ABEND. while processing a response to BEGIN BIND yet the
remote server has not severed the chain.
Operator Response: Notify the system programmer.
This reason code is issued by the following CSECTs:
System Programmer Response: Determine which sites the DSNLXRCX, DSNLXRQX
ABENDing agent was connected to by examining the
DSNL027 and DSNL028 SYSLOG console messages at the System Action: An alert is generated. If this error has not
site of the DB2 ABEND. Obtain copies of the SYS1.LOGREC been previously detected, then message DSNL031I is written
and SYSLOG data sets from each connected site, the SVC to the MVS console and trace record containing the reply from
dump at the site of the DB2 failure, and any related dumps the remote server are written in statistics class 4. If the error
from each connected site. Refer to Section 3 of DB2 Diagnosis was already detected, information from the previous occur-
Guide and Reference for information on identifying and rence can be used to diagnose the problem.
reporting the problem. During BIND, the application will receive a DSNT500I
Problem Determination: Collect the following diagnostic message. During execution the application will receive an
items listed in Appendix B, “Problem determination” on SQLCODE -904 for this operation. Subsequent requests within
page 1051: 56, 57. this unit of work will receive an SQLCODE -900 or -906.
Operator Response: Notify the system programmer.
System Programmer Response: If you suspect an error in
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
for information on identifying and reporting the problem.
Problem Determination: Examine the trace record associ-
ated with the failing request's LUWID to determine the reply
message and data that was received by the local DB2.
Consult with the remote server system programmer to diag-
nose the problem.
At the local DB2, collect the following diagnostic items listed in Problem Determination: Analyze the SYSIBM.USERNAMES
Appendix B, “Problem determination” on page 1051: 1, 5, 83. table for an incorrect or missing entry.
At the remote server, collect the following diagnostic items
listed in Appendix B, “Problem determination” on page 1051: 00D3443E
1, 49. Explanation: The database access request from a remote
site failed because the SYSIBM.USERNAMES table did not
00D3443C contain an inbound row, the TYPE column specified as an 'I'
describing the DB2 authorization ID to be used for the remote
Explanation: The distributed relational data system (DRDS)
package owner authorization ID. When the USERNAMES
received an invalid return code from the relational data system
column in SYSIBM.LUNAMES specifies 'I' or 'B' requiring
(RDS) on a string translation request. This is a DRDS internal
inbound name translation, the SYSIBM.USERNAMES table
error.
must contain entries describing which DB2 authorization IDs
This reason code is issued by the following CSECT: are to be used for each remote authorization ID from the LU.
DSNLXQTD
This reason code is issued by the following CSECT:
System Action: A record is written to SYS1.LOGREC and an DSNLXRCS
SVC dump is requested at the site of the DB2 abend.
System Action: The database access agent is not allocated.
Operator Response: Notify the system programmer.
Operator Response: Notify the communications database
System Programmer Response: Determine which sites the administrator.
abending agent was connected to by examining the DSNL027
System Programmer Response: Make sure the
and DSNL028 SYSLOG console messages at the site of the
USERNAMES column in SYSIBM.LUNAMES has been speci-
DB2 abend. Obtain copies of the SYS1.LOGREC and
fied correctly for the indicated LUNAME. If you intend to use
SYSLOG data sets from each connected site, the SVC dump
remote authorization IDs that differ from DB2 authorization IDs,
at the site of the DB2 failure, and any related dumps from each
verify that the SYSIBM.USERNAMES table has rows that cor-
connected site. Refer to Section 3 of DB2 Diagnosis Guide and
rectly specify the DB2 authorization IDs to be used for every
Reference for information on identifying and reporting the
possible remote authorization ID.
problem.
Problem Determination: Analyze the SYSIBM.USERNAMES
Problem Determination: Collect the following diagnostic
table for an incorrect or missing entry.
items listed in Appendix B, “Problem determination” on
page 1051: Collect the following diagnostic items listed in
Appendix B, “Problem determination” on page 1051: 56, 57. 00D3443F
Explanation: The remote server was not successfully con-
00D3443D nected. The SYSIBM.USERNAMES table did not contain an
outbound row, the TYPE column specified as an 'O'
Explanation: The database access request from a remote
describing the remote authorization identifier to be used for the
site failed because the SYSIBM.USERNAMES table did not
package owner DB2 authorization ID. When the USERNAMES
contain an inbound row, the TYPE column specified as an 'I'
column in SYSIBM.LUNAMES specifies 'O' or 'B' requiring
describing the DB2 authorization ID to be used for the remote
outbound name translation, the SYSIBM.USERNAMES table
primary authorization ID. When the USERNAMES column in
must contain entries describing the remote authorization IDs to
SYSIBM.LUNAMES specifies 'I' or 'B' requiring inbound
be used for each DB2 authorization ID communicating with the
name translation, the SYSIBM.USERNAMES table must
LU.
contain entries describing which DB2 authorization IDs are to
be used for each remote authorization ID from the LU. This reason code is issued by the following CSECT:
DSNLXRCM
This reason code is issued by the following CSECT:
DSNLXALC System Action: A resource unavailable is returned to the
application. The request is not sent to the remote site.
System Action: The DSNL030I message is issued at the
server. The database access agent is not allocated. Operator Response: Notify the communications database
administrator.
Operator Response: Notify the communications database
administrator. System Programmer Response: Make sure the
USERNAMES column in SYSIBM.LUNAMES has been speci-
System Programmer Response: Make sure the
fied correctly for the indicated LUNAME. If you intend to use
USERNAMES column in SYSIBM.LUNAMES has been speci-
remote authorization IDs that differ from DB2 authorization IDs,
fied correctly for the indicated LUNAME. If you intend to use
verify that the SYSIBM.USERNAMES table has rows that cor-
remote authorization IDs that differ from DB2 authorization IDs,
rectly specify the remote authorization ID to be used for each
verify that the SYSIBM.USERNAMES table has rows that cor-
possible DB2 authorization ID.
rectly specify the DB2 authorization IDs to be used for every
possible remote authorization ID. Problem Determination: Analyze the SYSIBM.USERNAMES
table for an incorrect or missing entry.
At this local DB2, collect the following diagnostic items listed in Relevant error and system logs spanning the time of the
Appendix B, “Problem determination” on page 1051: 83. failure.
At this remote server, collect the following diagnostic items Any relevant remote server trace information or dumps.
listed in Appendix B, “Problem determination” on page 1051:
1, 49. 00D35105
Explanation: DB2 has detected an error in the DDM reply
00D35103
message or DDM reply data object received from the remote
Explanation: DB2 has detected an error in the DDM reply server in response to a DDM command. While defined by DDM
message or DDM reply data object received from the remote Level 3 as a valid reply object for this command, DB2 does not
server in response to a DDM command. Multiple instances of a support the object.
DDM reply data object, defined within DDM level 3 as nonre-
This reason code is issued by the following CSECT:
peatable, have been returned.
DSNLZRPA
This reason code is issued by the following CSECT:
System Action: An alert is generated and message
DSNLZRPA
DSNL031I is written to the console. Refer to the description of
System Action: An alert is generated and message this message for further information.
DSNL031I is written to the console. Refer to the description of
The application will receive SQLCODE -30000 and SQLSTATE
this message for further information.
58008.
The application will receive SQLCODE -30000 and SQLSTATE
Operator Response: Notify the system programmer.
58008.
System Programmer Response: If you suspect an error in
Operator Response: Notify the system programmer.
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
System Programmer Response: If you suspect an error in for information on identifying and reporting the problem.
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
Problem Determination: The statistics class 4 trace record
for information on identifying and reporting the problem.
identified by the IFCID sequence number enumerated in the
Problem Determination: The statistics class 4 trace record DSNL031I message should be analyzed.
identified by the IFCID sequence number enumerated in the
At this local DB2, collect the following diagnostic items listed in
DSNL031I message should be analyzed.
Appendix B, “Problem determination” on page 1051: 83.
At this local DB2, collect the following diagnostic items listed in
At this remote server, collect the following diagnostic items
Appendix B, “Problem determination” on page 1051: 83.
listed in Appendix B, “Problem determination” on page 1051:
At this remote server, collect the following diagnostic items 1, 49.
listed in Appendix B, “Problem determination” on page 1051:
1, 49. 00D35106
Explanation: DB2 has detected an error in the DDM reply
00D35104
message or DDM reply data object received from the remote
Explanation: DB2 has detected an error in the DDM reply server in response to a DDM command. The object must be
message or DDM reply data object received from the remote contained within a single OBJDSS, but was received in an
server in response to a DDM command. The reply data object OBJDSS which contained other objects. The object must be
is not defined by DRDA. contained within a single DSS but was received in a DSS
which contained other DDM objects.
This reason code is issued by the following CSECT:
DSNLZRPA This reason code is issued by the following CSECT:
DSNLZRPA
System Action: An alert is generated and message
DSNL031I is written to the console. Refer to the description of System Action: An alert is generated and message
this message for further information. DSNL031I is written to the console. Refer to the description of
this message for further information.
The application will receive SQLCODE -30071 and SQLSTATE
58015. The application will receive SQLCODE -30000 and SQLSTATE
58008.
Operator Response: Notify the system programmer.
Operator Response: Notify the system programmer.
System Programmer Response: If you suspect an error in
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference System Programmer Response: If you suspect an error in
for information on identifying and reporting the problem. DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
for information on identifying and reporting the problem.
Problem Determination: The statistics class 4 trace record
identified by the IFCID sequence number enumerated in the Problem Determination: The statistics class 4 trace record
DSNL031I message should be analyzed. identified by the IFCID sequence number enumerated in the
DSNL031I message should be analyzed.
Collect the following diagnostic items at this local DB2.
At this local DB2, collect the following diagnostic items listed in
Statistics Class 4 trace record identified by the IFCID
Appendix B, “Problem determination” on page 1051: 83.
sequence number specified in message DSNL031I.
At this remote server, collect the following diagnostic items
Collect the following diagnostic items at the remote server.
listed in Appendix B, “Problem determination” on page 1051:
1, 49.
00D35107 00D35109
Explanation: DB2 has detected an error in the DDM reply Explanation: DB2 has detected an error in the DDM
message or DDM reply data object received from the remote SQLDTARD reply data object received in response to a DDM
server in response to a DDM command. One or more DDM EXCSQLSTT command. The DDM SQLDTARD object is a col-
reply data objects, defined by DDM Level-3 as required for the lection consisting of the FDODSC and FDODTA scalars. The
DDM command, were not received. FDODSC scalar, describing a single row returned on SELECT,
is not contained with the SQLDTARD reply data object. The
This reason code is issued by the following CSECT:
DDM SQLDTARD object is a collection which contains the
DSNLZRPA
FDODSC and FDODTA DDM objects. The FDODSC element,
System Action: An alert is generated and message describing the single row, is not contained within the
DSNL031I is written to the console. Refer to the description of SQLDTARD reply data object.
this message for further information.
This reason code is issued by the following CSECT:
The application will receive SQLCODE -30000 and SQLSTATE DSNLZRPA
58008.
System Action: An alert is generated and message
Operator Response: Notify the system programmer. DSNL031I is written to the console. Refer to the description of
System Programmer Response: If you suspect an error in this message for further information.
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference The application will receive SQLCODE -30000 and SQLSTATE
for information on identifying and reporting the problem. 58008.
Problem Determination: The statistics class 4 trace record Operator Response: Notify the system programmer.
identified by the IFCID sequence number enumerated in the
System Programmer Response: If you suspect an error in
DSNL031I message should be analyzed.
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
At this local DB2, collect the following diagnostic items listed in for information on identifying and reporting the problem.
Appendix B, “Problem determination” on page 1051: 83.
Problem Determination: The statistics class 4 trace record
At this remote server, collect the following diagnostic items identified by the IFCID sequence number enumerated in the
listed in Appendix B, “Problem determination” on page 1051: DSNL031I message should be analyzed.
1, 49.
At this local DB2, collect the following diagnostic items listed in
Appendix B, “Problem determination” on page 1051: 83.
00D35108
At this remote server, collect the following diagnostic items
Explanation: DB2 has detected an error in the DDM listed in Appendix B, “Problem determination” on page 1051:
SQLDTARD reply data object received in response to a DDM 1, 49.
EXCSQLSTT command. The SQL operation is a SELECT and
the size of the FDODSC scalar, contained within the
00D3510A
SQLDTARD, exceeds 32KB. The DDM extended length field
required to support this is invalid. The SQL operation is a Explanation: DB2 has detected an error in the DDM
SELECT and the size of the FDODSC object, contained within SQLDTARD reply data object received in response to a DDM
the SQLDTARD collection, exceeds 32KB. The DDM extended EXCSQLSTT command. The DDM SQLDTARD object is a col-
length field required to support this is invalid. lection consisting of the FDODSC and FDODTA scalars. The
FDODTA scalar, containing the single row described by the
This reason code is issued by the following CSECT:
FDODSC, is not contained within the SQLDTARD reply data
DSNLZRPA
object. The DDM SQLDTARD object is a collection which con-
System Action: An alert is generated and message tains the FDODSC and FDODTA DDM objects. The FDODTA
DSNL031I is written to the console. Refer to the description of element, containing the single row, is not contained within the
this message for further information. SQLDTARD reply data object.
The application will receive SQLCODE -30000 and SQLSTATE This reason code is issued by the following CSECT:
58008. DSNLZRPA
Operator Response: Notify the system programmer. System Action: An alert is generated and message
System Programmer Response: If you suspect an error in DSNL031I is written to the console. Refer to the description of
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference this message for further information.
for information on identifying and reporting the problem. The application will receive SQLCODE -30000 and SQLSTATE
Problem Determination: The statistics class 4 trace record 58008.
identified by the IFCID sequence number enumerated in the Operator Response: Notify the system programmer.
DSNL031I message should be analyzed.
System Programmer Response: If you suspect an error in
At this local DB2, collect the following diagnostic items listed in DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
Appendix B, “Problem determination” on page 1051: 83. for information on identifying and reporting the problem.
At this remote server, collect the following diagnostic items Problem Determination: The statistics class 4 trace record
listed in Appendix B, “Problem determination” on page 1051: identified by the IFCID sequence number enumerated in the
1, 49. DSNL031I message should be analyzed.
At this local DB2, collect the following diagnostic items listed in
Appendix B, “Problem determination” on page 1051: 83.
At this remote server, collect the following diagnostic items At this remote server, collect the following diagnostic items
listed in Appendix B, “Problem determination” on page 1051: listed in Appendix B, “Problem determination” on page 1051:
1, 49. 1, 49.
00D3510B 00D3510D
Explanation: DB2 has detected an error in the DDM Explanation: DB2 has detected an error in the DDM reply
SQLDTARD reply data object received in response to a DDM message or DDM reply data object received from the remote
EXCSQLSTT command. The SQL operation is a SELECT and server in response to a DDM command. The DDM object is a
the size of the resultant row, contained with the FDODTA TYPDEFNAM signaling a change in machine representation.
scalar, exceeds 32KB. The FDODTA DDM extended length The length of the DDM object is incorrect.
field required to support this is invalid. The SQL operation is a
This reason code is issued by the following CSECT:
SELECT and the size of the resultant row exceeds 32KB. The
DSNLZRPA
DDM extended length field required to support this is invalid.
System Action: An alert is generated and message
This reason code is issued by the following CSECT:
DSNL031I is written to the console. Refer to the description of
DSNLZRPA
this message for further information.
System Action: An alert is generated and message
The application will receive SQLCODE -30000 and SQLSTATE
DSNL031I is written to the console. Refer to the description of
58008.
this message for further information.
Operator Response: Notify the system programmer.
The application will receive SQLCODE -30000 and SQLSTATE
58008. System Programmer Response: If you suspect an error in
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
Operator Response: Notify the system programmer.
for information on identifying and reporting the problem.
System Programmer Response: If you suspect an error in
Problem Determination: The statistics class 4 trace record
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
identified by the IFCID sequence number enumerated in the
for information on identifying and reporting the problem.
DSNL031I message should be analyzed.
Problem Determination: The statistics class 4 trace record
At this local DB2, collect the following diagnostic items listed in
identified by the IFCID sequence number enumerated in the
Appendix B, “Problem determination” on page 1051: 83.
DSNL031I message should be analyzed.
At this remote server, collect the following diagnostic items
At this local DB2, collect the following diagnostic items listed in
listed in Appendix B, “Problem determination” on page 1051:
Appendix B, “Problem determination” on page 1051: 83.
1, 49.
At this remote server, collect the following diagnostic items
listed in Appendix B, “Problem determination” on page 1051: 00D3510E
1, 49.
Explanation: DB2 has detected an error in the DDM reply
message or DDM reply data object received from the remote
00D3510C
server in response to a DDM command. The DDM object is a
Explanation: DB2 has detected an error in the DDM reply TYPDEFNAM signaling a change in machine representation.
message or DDM reply data object received from the remote The value of the DDM object specifies a machine environment
server in response to a DDM command. The SQL operation is which is not supported by DRDA.
a SELECT and the size of the SQLDTARD, a DDM collection
This reason code is issued by the following CSECT:
consisting of the FDODSC and FDODTA scalars, SQLDTARD
DSNLZRPA
is greater than the sum of the lengths of the constituent
FDODSC and FDODTA scalars. The object is invalid. System Action: An alert is generated and message
DSNL031I is written to the console. Refer to the description of
This reason code is issued by the following CSECT:
this message for further information.
DSNLZRPA
The application will receive SQLCODE -30000 and SQLSTATE
System Action: An alert is generated and message
58008.
DSNL031I is written to the console. Refer to the description of
this message for further information. Operator Response: Notify the system programmer.
The application will receive SQLCODE -30000 and SQLSTATE System Programmer Response: If you suspect an error in
58008. DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
for information on identifying and reporting the problem.
Operator Response: Notify the system programmer.
Problem Determination: The statistics class 4 trace record
System Programmer Response: If you suspect an error in
identified by the IFCID sequence number enumerated in the
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
DSNL031I message should be analyzed.
for information on identifying and reporting the problem.
At this local DB2, collect the following diagnostic items listed in
Problem Determination: The statistics class 4 trace record
Appendix B, “Problem determination” on page 1051: 83.
identified by the IFCID sequence number enumerated in the
DSNL031I message should be analyzed. At this remote server, collect the following diagnostic items
listed in Appendix B, “Problem determination” on page 1051:
At this local DB2, collect the following diagnostic items listed in
1, 49.
Appendix B, “Problem determination” on page 1051: 83.
00D3510F 00D35111
Explanation: DB2 has detected an error in the DDM reply Explanation: DB2 has detected an error in the DDM
message or DDM reply data object received from the remote TYPEDEFOVR reply data object received from the remote
server in response to a DDM command. The DDM object is a server response to a DDM command, signaling a change in
TYPDEFOVR collection signaling a remote server change in the remote server CCSIDs. The TYPEDEFOVR contains mul-
CCSIDs. The length of one of the constituent scalars, tiple occurrences of the CCSIDSBC scalar (MIXED CCSID).
CCSIDSBC, CCSIDMBC or CCSIDDBC is incorrect. This is an error. The DDM object is a TYPDEFOVR collection
signaling a remote server change in CCSIDs. The CCSIDMBC
This reason code is issued by the following CSECT:
(MIXED CCSID) code point is invalid.
DSNLZRPA
This reason code is issued by the following CSECT:
System Action: An alert is generated and message
DSNLZRPA
DSNL031I is written to the console. Refer to the description of
this message for further information. System Action: An alert is generated and message
DSNL031I is written to the console. Refer to the description of
The application will receive SQLCODE -30000 and SQLSTATE
this message for further information.
58008.
The application will receive SQLCODE -30000 and SQLSTATE
Operator Response: Notify the system programmer.
58008.
System Programmer Response: If you suspect an error in
Operator Response: Notify the system programmer.
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
for information on identifying and reporting the problem. System Programmer Response: If you suspect an error in
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
Problem Determination: The statistics class 4 trace record
for information on identifying and reporting the problem.
identified by the IFCID sequence number enumerated in the
DSNL031I message should be analyzed. Problem Determination: The statistics class 4 trace record
identified by the IFCID sequence number enumerated in the
At this local DB2, collect the following diagnostic items listed in
DSNL031I message should be analyzed.
Appendix B, “Problem determination” on page 1051: 83.
At this local DB2, collect the following diagnostic items listed in
At this remote server, collect the following diagnostic items
Appendix B, “Problem determination” on page 1051: 83.
listed in Appendix B, “Problem determination” on page 1051:
1, 49. At this remote server, collect the following diagnostic items
listed in Appendix B, “Problem determination” on page 1051:
00D35110 1, 49.
00D35113 00D35115
Explanation: DB2 has detected an error in the DDM reply Explanation: DB2 has detected an error in the DDM reply
message or DDM reply data object received from the remote message or DDM reply data object received from the remote
server in response to a DDM command. The DDM object is a server in response to a DDM command. The sum of the
TYPDEFOVR collection signaling a remote server change in lengths of the constituent DDM objects within an OBJDSS is
CCSIDs. The DDM object length is invalid. inconsistent with the length of the DSS carrier.
This reason code is issued by the following CSECT: This reason code is issued by the following CSECT:
DSNLZRPA DSNLZRPA
System Action: An alert is generated and message System Action: An alert is generated and message
DSNL031I is written to the console. Refer to the description of DSNL031I is written to the console. Refer to the description of
this message for further information. this message for further information.
The application will receive SQLCODE -30000 and SQLSTATE The application will receive SQLCODE -30000 and SQLSTATE
58008. 58008.
Operator Response: Notify the system programmer. Operator Response: Notify the system programmer.
System Programmer Response: If you suspect an error in System Programmer Response: If you suspect an error in
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
for information on identifying and reporting the problem. for information on identifying and reporting the problem.
Problem Determination: The statistics class 4 trace record Problem Determination: The statistics class 4 trace record
identified by the IFCID sequence number enumerated in the identified by the IFCID sequence number enumerated in the
DSNL031I message should be analyzed. DSNL031I message should be analyzed.
At this local DB2, collect the following diagnostic items listed in Collect the following diagnostic items at this local DB2.
Appendix B, “Problem determination” on page 1051: 83.
Statistics class 4 trace record identified by the IFCID
At this remote server, collect the following diagnostic items sequence number specified in message DSNL031I.
listed in Appendix B, “Problem determination” on page 1051:
Collect the following diagnostic items at the remote server.
1, 49.
Relevant error and system logs spanning the time of the
failure.
00D35114
Any relevant remote server trace information or dumps.
Explanation: DB2 has detected an error in the DDM reply
message or DDM reply data object received from the remote
server in response to a DDM command. The length of the 00D35116
DDM reply message is inconsistent with the length of its DSS Explanation: DB2 has detected an error in the DDM reply
carrier. message or DDM reply data object received from the remote
This reason code is issued by the following CSECT: server in response to a DDM command. The DDM reply
DSNLZRPA message is not valid for the current command.
System Action: An alert is generated and message This reason code is issued by the following CSECT:
DSNL031I is written to the console. Refer to the description of DSNLZRPA
this message for further information. System Action: An alert is generated and message
The application will receive SQLCODE -30000 and SQLSTATE DSNL031I is written to the console. Refer to the description of
58008. this message for further information.
Operator Response: Notify the system programmer. The application will receive SQLCODE -30000 and SQLSTATE
58008.
System Programmer Response: If you suspect an error in
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference Operator Response: Notify the system programmer.
for information on identifying and reporting the problem. System Programmer Response: If you suspect an error in
Problem Determination: The statistics class 4 trace record DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
identified by the IFCID sequence number enumerated in the for information on identifying and reporting the problem.
DSNL031I message should be analyzed. Problem Determination: The statistics class 4 trace record
Collect the following diagnostic items at this local DB2. identified by the IFCID sequence number enumerated in the
DSNL031I message should be analyzed.
Statistics class 4 trace record identified by the IFCID
sequence number specified in message DSNL031I. Collect the following diagnostic items at this local DB2.
Collect the following diagnostic items at the remote server. Statistics class 4 trace record identified by the IFCID
sequence number specified in message DSNL031I.
Relevant error and system logs spanning the time of the
failure. Collect the following diagnostic items at the remote server.
Any relevant remote server trace information or dumps. Relevant error and system logs spanning the time of the
failure.
Any relevant remote server trace information or dumps.
00D35117 00D35119
Explanation: DB2 has detected an error in the SQLDTARD Explanation: DB2 detected an error in the DDM reply
reply data object received in response to an EXCSQLSTT message received from the application server (AS) in response
DDM command. The FDODTA element of the SQLDTARD col- to a DDM command. The DDM minimum level attribute of the
lection contains a null SQLDTAGRP containing no data and a reply message (that is, the level of DDM required to support
null SQLCAGRP, indicating that the SQL SELECT operation the reply message) exceeds the DDM level of the AS specified
was successful. This is an inconsistency. during CONNECT processing.
This reason code is issued by the following CSECT: This reason code is issued by the following CSECT:
DSNLZRPA DSNLZRPA
System Action: An alert is generated and message System Action: An alert is generated and message
DSNL031I is written to the console. Refer to the description of DSNL031I is written to the console. Refer to the description of
this message for further information. this message for further information.
The application will receive SQLCODE -30000 and SQLSTATE The application received SQLCODE -30020 and SQLSTATE
58008. 58009.
Operator Response: Notify the system programmer. Operator Response: Notify the system programmer.
System Programmer Response: If you suspect an error in System Programmer Response: If you suspect an error in
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
for information on identifying and reporting the problem. for information on identifying and reporting the problem.
Problem Determination: The statistics class 4 trace record Problem Determination: Analyze the statistics class 4 trace
identified by the IFCID sequence number enumerated in the record identified by the IFCID sequence number included in
DSNL031I message should be analyzed. the DSNL031I message.
Collect the following diagnostic items at this local DB2. At this local DB2, collect the following diagnostic items listed in
Appendix B, “Problem determination” on page 1051: 83.
Statistics class 4 trace record identified by the IFCID
sequence number specified in message DSNL031I. At this remote server, collect the following diagnostic items
listed in Appendix B, “Problem determination” on page 1051:
Collect the following diagnostic items at the remote server.
1, 49.
Relevant error and system logs spanning the time of the
failure.
00D3511A
Any relevant remote server trace information or dumps.
Explanation: DB2 has detected an error in the DRDA
summary component received from the remote server in
00D35118 response to a DDM EXCSQLSTT command that generated
Explanation: DB2 detected an error in the DDM reply data query result sets. The DRDA summary component should
object received from the application server (AS) in response to consist of the DDM RSLSETRM reply message, a DDM
a DDM command. The DDM minimum level attribute of the SQLCARD or SQLDTARD reply data object, and a DDM
reply data object (that is, the level of DDM required to support SQLRSLRD reply data object. Neither the SQLCARD nor the
the object) exceeds the DDM level of the AS specified during SQLDTARD is contained in the summary component.
CONNECT processing. This reason code is issued by the following CSECT:
This reason code is issued by the following CSECT: DSNLZRPA.
DSNLZRPA System Action: An alert is generated and message
System Action: An alert is generated and message DSNL031I is written to the console. Refer to the description of
DSNL031I is written to the console. Refer to the description of this message for further information.
this message for further information. The application will receive SQLCODE -30020 and SQLSTATE
The application receives SQLCODE -30020 and SQLSTATE 58009.
58009. Operator Response: Notify the system programmer.
Operator Response: Notify the system programmer. System Programmer Response: If you suspect an error in
System Programmer Response: If you suspect an error in DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference for information on identifying and reporting the problem.
for information on identifying and reporting the problem. Problem Determination: Analyze the statistics class 4 trace
Problem Determination: Analyze the statistics class 4 trace record identified by the IFCID sequence number given in
record identified by the IFCID sequence number included in message DSNL031I.
the DSNL031I message. At the DB2 requester, collect the following diagnostic items
At this local DB2, collect the following diagnostic items listed in listed in Appendix B, “Problem determination” on page 1051:
Appendix B, “Problem determination” on page 1051: 83. 1, 83.
At this remote server, collect the following diagnostic items If the DRDA server is DB2 for OS/390, then DB2 diagnostic
listed in Appendix B, “Problem determination” on page 1051: information is available. In this case, at the DB2 server, collect
the following diagnostic items listed in Appendix B, “Problem
determination” on page 1051: 1.
Collect the following diagnostic items at this local DB2. At this local DB2, collect the following diagnostic items listed in
Appendix B, “Problem determination” on page 1051: 83.
Statistics class 4 trace record identified by the IFCID
sequence number specified in message DSNL031I. At this remote server, collect the following diagnostic items
listed in Appendix B, “Problem determination” on page 1051:
Collect the following diagnostic items at the remote server.
1, 49.
Relevant error and system logs spanning the time of the
failure.
00D35203
Any relevant remote server trace information or dumps.
Explanation: DB2 has detected an error in the QRYDSC or
SQLDTARD reply data object received in response to an
00D35201 OPNQRY or EXCSQLSTT DDM command. The DDM object is
Explanation: DB2 has detected an error in the DDM reply either a QRYDSC or the FDODSC scalar of the SQLDTARD
message or DDM reply data object received from the remote collection. The FDOCA geometry is incorrect. The SQLCADTA
server in response to a DDM command. The DDM object is the row triplet (RLO) is either invalid or has not been included with
FDODSC element of an SQLDTARD. The size of the FDODSC the SQLDTARD descriptor.
is greater than 32KB and the DDM level 6b extended length This reason code is issued by the following CSECT:
field is invalid. DSNLZRDS
This reason code is issued by the following CSECT: System Action: An alert is generated and message
DSNLZRDS DSNL031I is written to the console. Refer to the description of
System Action: An alert is generated and message this message for further information.
DSNL031I is written to the console. Refer to the description of The application will receive SQLCODE -30000 and SQLSTATE
this message for further information. 58008.
The application will receive SQLCODE -30000 and SQLSTATE Operator Response: Notify the system programmer.
58008.
Problem Determination: The statistics class 4 trace record
Operator Response: Notify the system programmer. identified by the IFCID sequence number enumerated in the
System Programmer Response: If you suspect an error in DSNL031I message should be analyzed.
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference At this local DB2, collect the following diagnostic items listed in
for information on identifying and reporting the problem. Appendix B, “Problem determination” on page 1051: 83.
Problem Determination: The statistics class 4 trace record At this remote server, collect the following diagnostic items
identified by the IFCID sequence number enumerated in the listed in Appendix B, “Problem determination” on page 1051:
DSNL031I message should be analyzed. 1, 49.
At this local DB2, collect the following diagnostic items listed in
Appendix B, “Problem determination” on page 1051: 83. 00D35204
At this remote server, collect the following diagnostic items Explanation: DB2 has detected an error in the QRYDSC or
listed in Appendix B, “Problem determination” on page 1051: SQLDTARD reply data object received in response to an
1, 49. OPNQRY or EXCSQLSTT DDM command. The DDM object is
either a QRYDSC or the FDODSC scalar of the SQLDTARD
00D35202 collection. The FDOCA geometry is incorrect. Either the first
component of the SQLCADTA row is other than an
Explanation: DB2 has detected an error in the QRYDSC or SQLCAGRP (early) group or the number of elements taken
SQLDTARD reply data object received in response to an from the SQLCAGRP or SQLCAGRP replication factor (or
OPNQRY or EXCSQLSTT DDM command. The DDM object is both) are incorrect. The descriptor is invalid. The DDM object
either a QRYDSC or the FDODSC scalar of the SQLDTARD is either a QRYDSC or the FDODSC element of the
collection. The FDOCA goemetry is incorrect. The SQLCADTA SQLDTARD collection. The FDOCA geometry is incorrect. The
row (RLO) MDD is either invalid or has not been included first elements of the row are other than the elements of the
within the SQLDTARD descriptor. The descriptor is invalid. early SQLCAGRP. The descriptor is invalid.
This reason code is issued by the following CSECT: This reason code is issued by the following CSECT:
DSNLZRDS DSNLZRDS
System Action: An alert is generated and message System Action: An alert is generated and message
DSNL031I is written to the console. Refer to the description of DSNL031I is written to the console. Refer to the description of
this message for further information. this message for further information.
The application will receive SQLCODE -30000 and SQLSTATE The application will receive SQLCODE -30000 and SQLSTATE
58008. 58008.
Operator Response: Notify the system programmer. Operator Response: Notify the system programmer.
System Programmer Response: If you suspect an error in System Programmer Response: If you suspect an error in
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
for information on identifying and reporting the problem. for information on identifying and reporting the problem.
Problem Determination: The statistics class 4 trace record Problem Determination: The statistics class 4 trace record
identified by the IFCID sequence number enumerated in the identified by the IFCID sequence number enumerated in the
DSNL031I message should be analyzed. DSNL031I message should be analyzed.
At this local DB2, collect the following diagnostic items listed in QRYDSC or the FDODSC scalar of the SQLDTARD collection.
Appendix B, “Problem determination” on page 1051: 83. The FDOCA geometry is incorrect. One or more late environ-
mental descriptors have been included within the previously
At this remote server, collect the following diagnostic items
processed SQLDTAGRP group. However, the Meta Data Defi-
listed in Appendix B, “Problem determination” on page 1051:
nition (MDD) of the SQLDTARD row (RLO) has not been
1, 49.
included within the descriptor. The descriptor is invalid.
Operator Response: Notify the system programmer. System Action: An alert is generated and message
DSNL031I is written to the console. Refer to the description of
System Programmer Response: If you suspect an error in this message for further information.
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
for information on identifying and reporting the problem. The application will receive SQLCODE -30000 and SQLSTATE
58008.
Problem Determination: The statistics class 4 trace record
identified by the IFCID sequence number enumerated in the Operator Response: Notify the system programmer.
DSNL031I message should be analyzed. System Programmer Response: If you suspect an error in
Collect the following diagnostic items at the local DB2. DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
for information on identifying and reporting the problem.
Statistics class 4 trace record identified by the IFCID
sequence number specified in message DSNL031I. Problem Determination: The statistics class 4 trace record
identified by the IFCID sequence number enumerated in the
Collect the following diagnostic items at the remote server. DSNL031I message should be analyzed.
Relevant error and system logs spanning the time of the At this local DB2, collect the following diagnostic items listed in
failure. Appendix B, “Problem determination” on page 1051: 83.
Any relevant remote server trace information or dumps. At this remote server, collect the following diagnostic items
listed in Appendix B, “Problem determination” on page 1051:
00D35209 1, 49.
Explanation: DB2 has detected an error in the QRYDSC or
SQLDTARD reply data object received in response to an 00D3520B
OPNQRY or EXCSQLSTT DDM command. The DDM object is Explanation: DB2 has detected an error in the DDM reply
either a QRYDSC or the FDODSC scalar of the SQLDTARD message or DDM reply data object received from the remote
collection. The FDOCA geometry is incorrect. Either the length server in response to a DDM command. The DDM object is a
is specified in the LL preceding the QRYDSC or FDODSC is QRYDSC returned from an OPNQRY command which spans
greater than the length of the OBJDSS carrier or the length of multiple DDM level 6b DSSs. One or more of the containing
one of the constituent geometries (triplet lengths) is incon- level 6b DSSs is (are) other than an object (OBJ) DSS. The
sistent with the length of the QRYDSC or FDODSC. The descriptor is invalid.
descriptor is invalid.
This reason code is issued by the following CSECT:
This reason code is issued by the following CSECT: DSNLZRDS
DSNLZRDS
System Action: An alert is generated and message
System Action: An alert is generated and message DSNL031I is written to the console. Refer to the description of
DSNL031I is written to the console. Refer to the description of this message for further information.
this message for further information.
The application will receive SQLCODE -30000 and SQLSTATE
The application will receive SQLCODE -30000 and SQLSTATE 58008.
58008.
Operator Response: Notify the system programmer.
Operator Response: Notify the system programmer.
System Programmer Response: If you suspect an error in
System Programmer Response: If you suspect an error in DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference for information on identifying and reporting the problem.
for information on identifying and reporting the problem.
Problem Determination: The statistics class 4 trace record At this local DB2, collect the following diagnostic items listed in
identified by the IFCID sequence number enumerated in the Appendix B, “Problem determination” on page 1051: 83.
DSNL031I message should be analyzed.
At this remote server, collect the following diagnostic items
At this local DB2, collect the following diagnostic items listed in listed in Appendix B, “Problem determination” on page 1051:
Appendix B, “Problem determination” on page 1051: 83. 1, 49.
At this remote server, collect the following diagnostic items
listed in Appendix B, “Problem determination” on page 1051: 00D3520E
1, 49. Explanation: DB2 has detected an error in the DDM
QRYDSC or the DDM SQLCINRD reply data object received
00D3520C from the remote server in response to a DDM EXCSQLSTT
command that generated query result sets. The number of
Explanation: DB2 has detected an error in the DDM reply
columns described by the QRYDSC object is inconsistent with
message or DDM reply data object received from the remote
the number of columns described by the DDM SQLCINRD
server in response to a DDM command. The DDM object is a
object.
QRYDSC returned from an OPNQRY command which spans
multiple DDM level 6b object DSSs. One or more of the DDM This reason code is issued by the following CSECT:
code points within the containing object DSSs is (are) other DSNLZRDS.
than QRYDSC (X'241A'). The descriptor is invalid.
System Action: An alert is generated and message
This reason code is issued by the following CSECT: DSNL031I is written to the console. Refer to the description of
DSNLZRDS this message for further information.
System Action: An alert is generated and message The application will receive SQLCODE -30020 and SQLSTATE
DSNL031I is written to the console. Refer to the description of 58009.
this message for further information.
Operator Response: Notify the system programmer.
The application will receive SQLCODE -30000 and SQLSTATE
System Programmer Response: If you suspect an error in
58008.
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
Operator Response: Notify the system programmer. for information on identifying and reporting the problem.
System Programmer Response: If you suspect an error in Problem Determination: Analyze the statistics class 4 trace
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference record identified by the IFCID sequence number given in
for information on identifying and reporting the problem. message DSNL031I.
Problem Determination: The statistics class 4 trace record At the DB2 requester, collect the following diagnostic items
identified by the IFCID sequence number enumerated in the listed in Appendix B, “Problem determination” on page 1051:
DSNL031I message should be analyzed. 1, 83.
At this local DB2, collect the following diagnostic items listed in If the DRDA server is DB2 for OS/390, then DB2 diagnostic
Appendix B, “Problem determination” on page 1051: 83. information is available. In this case, at the DB2 server, collect
the following diagnostic items listed in Appendix B, “Problem
At this remote server, collect the following diagnostic items
determination” on page 1051: 1.
listed in Appendix B, “Problem determination” on page 1051:
1, 49.
00D35301
00D3520D Explanation: DB2 has detected an error in the DDM reply
message received from the remote server in response to a
Explanation: DB2 has detected an error in the QRYDSC
DDM command. The reply message code point is not sup-
reply data object received in response to an OPNQRY DDM
ported by DDM Level 3.
command. The QRYDSC contained in one or more query
blocks is incomplete, i.e., the entire QRYDSC has not been This reason code is issued by the following CSECT:
returned in response to the OPNQRY command. DSNLZRPY
This reason code is issued by the following CSECT: System Action: An alert is generated and message
DSNLZRDS DSNL031I is written to the console. Refer to the description of
this message for further information.
System Action: An alert is generated and message
DSNL031I is written to the console. Refer to the description of The application will receive SQLCODE -30000 and SQLSTATE
this message for further information. 58008.
The application will receive SQLCODE -30000 and SQLSTATE Operator Response: Notify the system programmer.
58008.
System Programmer Response: If you suspect an error in
Operator Response: Notify the system programmer. DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
for information on identifying and reporting the problem.
System Programmer Response: If you suspect an error in
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference Problem Determination: The statistics class 4 trace record
for information on identifying and reporting the problem. identified by the IFCID sequence number enumerated in the
DSNL031I message should be analyzed.
Problem Determination: The statistics class 4 trace record
identified by the IFCID sequence number enumerated in the At this local DB2, collect the following diagnostic items listed in
DSNL031I message should be analyzed. Appendix B, “Problem determination” on page 1051: 83.
At this remote server, collect the following diagnostic items At this remote server, collect the following diagnostic items
listed in Appendix B, “Problem determination” on page 1051: listed in Appendix B, “Problem determination” on page 1051:
1, 49. 1, 49.
00D35302 00D35304
Explanation: DB2 has detected an error in the DDM reply Explanation: DB2 has detected an error in the DDM reply
message received from the remote server in response to a message received from the remote server in response to a
DDM command. The reply message contains one or more con- DDM command. One or more instance variables, specified by
stituent instance variables whose code point is not supported DDM Level 3 as required for this reply message, is (are) not
by DDM Level 3. contained within the reply message.
This reason code is issued by the following CSECT: This reason code is issued by the following CSECT:
DSNLZRPY DSNLZRPY
System Action: An alert is generated and message System Action: An alert is generated and message
DSNL031I is written to the console. Refer to the description of DSNL031I is written to the console. Refer to the description of
this message for further information. this message for further information.
The application will receive SQLCODE -30000 and SQLSTATE The application will receive SQLCODE -30000 and SQLSTATE
58008. 58008.
Operator Response: Notify the system programmer. Operator Response: Notify the system programmer.
System Programmer Response: If you suspect an error in System Programmer Response: If you suspect an error in
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
for information on identifying and reporting the problem. for information on identifying and reporting the problem.
Problem Determination: The statistics class 4 trace record Problem Determination: The statistics class 4 trace record
identified by the IFCID sequence number enumerated in the identified by the IFCID sequence number enumerated in the
DSNL031I message should be analyzed. DSNL031I message should be analyzed.
At this local DB2, collect the following diagnostic items listed in At this local DB2, collect the following diagnostic items listed in
Appendix B, “Problem determination” on page 1051: 83. Appendix B, “Problem determination” on page 1051: 83.
At this remote server, collect the following diagnostic items At this remote server, collect the following diagnostic items
listed in Appendix B, “Problem determination” on page 1051: listed in Appendix B, “Problem determination” on page 1051:
1, 49. 1, 49.
00D35303 00D35305
Explanation: DB2 has detected an error in the DDM reply Explanation: DB2 has detected an error in the DDM reply
message received from the remote server in response to a message received from the remote server in response to a
DDM command. The length of the reply message is greater DDM command. The length of the reply message exceeds the
than the sum of the lengths of the constituent instance vari- sum of the lengths of all the constituent instance variables.
ables.
This reason code is issued by the following CSECT:
This reason code is issued by the following CSECT: DSNLZRPY
DSNLZRPY
System Action: An alert is generated and message
System Action: An alert is generated and message DSNL031I is written to the console. Refer to the description of
DSNL031I is written to the console. Refer to the description of this message for further information.
this message for further information.
The application will receive SQLCODE -30000 and SQLSTATE
The application will receive SQLCODE -30000 and SQLSTATE 58008.
58008.
Operator Response: Notify the system programmer.
Operator Response: Notify the system programmer.
System Programmer Response: If you suspect an error in
System Programmer Response: If you suspect an error in DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference for information on identifying and reporting the problem.
for information on identifying and reporting the problem.
Problem Determination: The statistics class 4 trace record
Problem Determination: The statistics class 4 trace record identified by the IFCID sequence number enumerated in the
identified by the IFCID sequence number enumerated in the DSNL031I message should be analyzed.
DSNL031I message should be analyzed.
At this local DB2, collect the following diagnostic items listed in
At this local DB2, collect the following diagnostic items listed in Appendix B, “Problem determination” on page 1051: 83.
Appendix B, “Problem determination” on page 1051: 83.
At this remote server, collect the following diagnostic items
listed in Appendix B, “Problem determination” on page 1051:
1, 49.
00D35306 00D35308
Explanation: DB2 has detected an error in the DDM reply Explanation: DB2 has detected an error in the MGRLVLRM
message received from the remote server in response to a reply message received from the remote server in response to
DDM command. The length of the RDBNAM instance variable the EXCSAT DDM command. The MGRLVL specified is not
is 18 bytes as specified by DDM Level 3, however, bytes 17 supported by DB2. DB2 supports the following DDM Level 3
and 18 are non blank. DB2 supports only a 16 byte RDBNAM. managers: CMNAPPC, SUPERVISOR, SECMGR, AGENT,
DIRECTORY, SQLAM, and RDB.
This reason code is issued by the following CSECT:
DSNLZRPY This reason code is issued by the following CSECT:
DSNLZRPY
System Action: An alert is generated and message
DSNL031I is written to the console. Refer to the description of System Action: An alert is generated and message
this message for further information. DSNL031I is written to the console. Refer to the description of
this message for further information.
The application will receive SQLCODE -30000 and SQLSTATE
58008. The application will receive SQLCODE -30000 and SQLSTATE
58008.
Operator Response: Notify the system programmer.
Operator Response: Notify the system programmer.
System Programmer Response: If you suspect an error in
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference System Programmer Response: If you suspect an error in
for information on identifying and reporting the problem. DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
for information on identifying and reporting the problem.
Problem Determination: The statistics class 4 trace record
identified by the IFCID sequence number enumerated in the Problem Determination: The statistics class 4 trace record
DSNL031I message should be analyzed. identified by the IFCID sequence number enumerated in the
DSNL031I message should be analyzed.
At this local DB2, collect the following diagnostic items listed in
Appendix B, “Problem determination” on page 1051: 83. At this local DB2, collect the following diagnostic items listed in
Appendix B, “Problem determination” on page 1051: 83.
At this remote server, collect the following diagnostic items
listed in Appendix B, “Problem determination” on page 1051: At this remote server, collect the following diagnostic items
1, 49. listed in Appendix B, “Problem determination” on page 1051:
1, 49.
00D35307
00D35309
Explanation: DB2 has detected an error in the DDM reply
message received from the remote server in response to a Explanation: DB2 has detected an error in the ACCRDBRM
DDM command. The value of the DDM enumerated value reply message received from the remote server as in response
instance variable, DTALCKST is other than TRUE (X'F1') or to the ACCRDB command. The length of the PRDID instance
FALSE (X'F0'). variable is invalid.
This reason code is issued by the following CSECT: This reason code is issued by the following CSECT:
DSNLZRPY DSNLZRPY
System Action: An alert is generated and message System Action: An alert is generated and message
DSNL031I is written to the console. Refer to the description of DSNL031I is written to the console. Refer to the description of
this message for further information. this message for further information.
The application will receive SQLCODE -30000 and SQLSTATE The application will receive SQLCODE -30000 and SQLSTATE
58008. 58008.
Operator Response: Notify the system programmer. Operator Response: Notify the system programmer.
System Programmer Response: If you suspect an error in System Programmer Response: If you suspect an error in
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference
for information on identifying and reporting the problem. for information on identifying and reporting the problem.
Problem Determination: The statistics class 4 trace record Problem Determination: The statistics class 4 trace record
identified by the IFCID sequence number enumerated in the identified by the IFCID sequence number enumerated in the
DSNL031I message should be analyzed. DSNL031I message should be analyzed.
At this local DB2, collect the following diagnostic items listed in At this local DB2, collect the following diagnostic items listed in
Appendix B, “Problem determination” on page 1051: 83. Appendix B, “Problem determination” on page 1051: 83.
At this remote server, collect the following diagnostic items At this remote server, collect the following diagnostic items
listed in Appendix B, “Problem determination” on page 1051: listed in Appendix B, “Problem determination” on page 1051:
1, 49. 1, 49.
00D3530A 00D3530C
Explanation: DB2 has detected an error in the ACCRDBRM Explanation: DB2 has detected an error in the DDM reply
reply message received from the remote server in response to message received from the remote server in response to a
ACCRDB DDM command. DB2 is currently disabled to connect DDM command. The value of the severity code (SVRCOD)
to the server specified by the value of the PRDID instance vari- instance variable, as specified by DRDA, is not valid for this
able. reply message.
This reason code is issued by the following CSECT: This reason code is issued by the following CSECT:
DSNLZRPY DSNLZRPY
System Action: An alert is generated and message System Action: An alert is generated and message
DSNL031I is written to the console. Refer to the description of DSNL031I is written to the console. Refer to the description of
this message for further information. this message for further information.
The application will receive SQLCODE -30000 and SQLSTATE The application will receive SQLCODE -30000 and SQLSTATE
58008. 58008.
Operator Response: Notify the system programmer. Operator Response: Notify the system programmer.
System Programmer Response: If you suspect an error in System Programmer Response: If you suspect an error in
DB2, refer to Section 3 of DB2 Diagnosis Guide and Reference DB2, refer to Section 3 of DB2