A fix is available
APAR status
Closed as program error.
Error description
Log Based Recovery of a dropped table with multiple indexes might fail with the following error: ARYX189E - A SQL error occurred with SQL code = -811, SQL state = 21000, SQL statement = SELECT, (./AryAgentIndexesRPSV10Cursor.cpDSNT408I SQLCODE = -811, ERROR: THE RESULT OF AN EMBEDDED SELECT STATEMENT OR A SUBSELECT IN THE SET CLAUSE OF AN UPDATE STATEME The reason for the error is that the table was recreated by the user before recovery.
Local fix
DROP the table to allow the product to recreate it.
Problem summary
**************************************************************** * PROBLEM DESCRIPTION: SQLCODE = -811 on Log Based Recovery * **************************************************************** Log Based Recovery of a dropped table with multiple indexes might fail with the following error: 'ARYX189E - A SQL error occurred with SQL code = -811, SQL state = 21000, SQL statement = SELECT... 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...' The reason for the error is that the table was recreated by the user before recovery. As a workaround, the user should DROP the table to allow the product to recreate it.
Problem conclusion
Apply the PTF.
Temporary fix
Comments
APAR Information
APAR number
PH70122
Reported component name
DB2 REC EXPERT
Reported component ID
5697H7400
Reported release
320
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2026-02-12
Closed date
2026-03-02
Last modified date
2026-04-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UO07003
Modules/Macros
ARYBBCK ARYBBIDM ARYBBISL ARYBBUES ARYBDT@ ARYBIRA ARYBIRAS ARYJGDT@ ARYJGRST ARYJGRSU ARYXCCMN ARYXCDT@ ARYXCPKG
Fix information
Fixed component name
DB2 REC EXPERT
Fixed component ID
5697H7400
Applicable component levels
R320 PSY UO07003
UP26/03/03 P F603
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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"3.2.0","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
02 April 2026