A fix is available
APAR status
Closed as program error.
Error description
Doing GEN command on a database returns error: Processing Database ADMDB0 ADB1223E ADB2REM: Unexpected sqlcode in : Select systables DSNT408I SQLCODE = -811, ERROR: THE RESULT OF AN EMBEDDED SELECT STATEMENT OR A SUBSELECT IN THE SET CLAUSE OF AN UPDATE STATEMENT IS A TABLE OF MORE THAN ONE ROW, OR THE RESULT OF A SUBQUERY OF A BASIC PREDICATE IS MORE THAN ONE VALUE SQLCODEN811
Local fix
n/a
Problem summary
**************************************************************** * USERS AFFECTED: Users of the DB2 Administration Tool * * for z/OS and DB2 Object Comparison * * Tool for z/OS. * **************************************************************** * PROBLEM DESCRIPTION: GEN Command against a Database * * returns error : * * * * Processing Database >database< * * ADB1223E ADB2REM: Unexpected * * sqlcode in : Select systables * * * * SQLCODE=-811 / SQLCODEN811 * **************************************************************** * RECOMMENDATION: * **************************************************************** GEN Command against a Database returns error : Processing Database <database> ADB1223E ADB2REM: Unexpected sqlcode in : Select systables DSNT408I SQLCODE = -811, ERROR: THE RESULT OF AN EMBEDDED SELECT STATEMENT OR A SUBSELECT IN THE SET CLAUSE OF AN UPDATE STATEMENT IS A TABLE OF MORE THAN ONE ROW, OR THE RESULT OF A SUBQUERY OF A BASIC PREDICATE IS MORE THAN ONE VALUE The problem was caused by the tables with the same table name but various CREATORs in different IDAA accelerators. For example: CREATE TABLE TS5769.RPA0T2 (I1 INTEGER NOT NULL) IN ACCELERATOR DC1QACC1 IN DATABASE DBOCRHPA CCSID UNICODE; and: CREATE TABLE TS5769A.RPA0T2 (I1 INTEGER NOT NULL) IN ACCELERATOR IDAAZ01 IN DATABASE DBOCRHPA CCSID UNICODE;
Problem conclusion
Problem has been resolved.
Temporary fix
Comments
APAR Information
APAR number
PI96636
Reported component name
DB2 ADMIN TOOL
Reported component ID
568851500
Reported release
C10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2018-04-13
Closed date
2018-06-18
Last modified date
2018-07-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
ADB2REM
Fix information
Fixed component name
DB2 ADMIN TOOL
Fixed component ID
568851500
Applicable component levels
Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSCVQTD","label":"IBM Db2 Administration Tool for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
02 July 2018