A fix is available
APAR status
Closed as program error.
Error description
Doing a MERGE on AOTs ( AOT Accelerator Only Table ), get a successful SQL completion (but an empty table). DB2z should be blocking MERGE on AOTs.
Local fix
n/a
Problem summary
**************************************************************** * USERS AFFECTED: All DB2 for z/OS users of QUERY * * ACCELERATION for Accelerator-Only tables * * (AOTs) and the SQL MERGE statement. * **************************************************************** * PROBLEM DESCRIPTION: An SQL MERGE INTO a target table that * * is an Accelerator-Only Table ( AOT ) * * incorrectly results in a successful * * SQL completion, even though a MERGE on * * the AOT did not actually occur. * * Instead, DB2 should not allow an SQL * * MERGE INTO an AOT. * **************************************************************** * RECOMMENDATION: * **************************************************************** An SQL MERGE INTO a target table that is an Accelerator-Only Table (AOT) incorrectly results in a successful SQL completion even though a MERGE on the AOT did not actually occur. Instead, DB2 should not allow an SQL MERGE INTO an AOT, but fail the MERGE with an SQLCODE -4742 and reason-code 22.
Problem conclusion
DB2 processing for the SQL MERGE INTO statement has been modified to issue SQLCODE -4742 reason-code 22 when the target table of the MERGE is an AOT. ADDITIONAL KEYWORDS: IDAAV4R1/K IDAAV5R1/K INCORROUT SQLMERGE SQLCODE4742 RC22
Temporary fix
Comments
APAR Information
APAR number
PI74349
Reported component name
DB2 OS/390 & Z/
Reported component ID
5740XYR00
Reported release
B10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2017-01-04
Closed date
2017-04-20
Last modified date
2017-06-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI46617 UI46618
Modules/Macros
DSNXOMRG
Fix information
Fixed component name
DB2 OS/390 & Z/
Fixed component ID
5740XYR00
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":"SSEPEK","label":"Db2 for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.0","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
02 June 2017