A fix is available
APAR status
Closed as program error.
Error description
Message DSQ10497 with SQLCODE 445 issued incorrectly instead of correct SQLCODE of -803 ( +445 -803) when running an insert query.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All QMF for TSO/CICS V8.1 users running any * * non-SELECT queries like INSERT, UPDATE or * * DELETE. * **************************************************************** * PROBLEM DESCRIPTION: Users running non-SELECT queries, for * * example, INSERT, UPDATE or DELETE (or * * any other query that is not a SELECT) * * through QMF could receive a positive * * SQL code error message rather than the * * underlying negative SQL code that * * indicates the error. This problem is * * limited to users running QMF on DB2 for * * z/OS V8.1 NFM and higher databases. * **************************************************************** * RECOMMENDATION: * **************************************************************** A user ran a QMF query that contained an INSERT statement through a QMF batch job. The user received a MSGDSQ10497 (DSQ10497) with the following message text: DSQ10497 Non end-user SQLCODE returned from DBM. SQLCA is as SQLCODE=445/ SQLERRM=IRTCHAR4.000012CC01/ SQLERRP=DSNXRUID/ SQLERRD(HEX)=FFFFFF6A 00C90003 00000000 00D2D7D6 E2C90000 000 SQLWARN= / SQLSTATE=01004/ *** CMD=RUN The INSERT statement had also returned a SQL code -803 but QMF did not externalize that error. The SQL code -803 should have been shown to the user rather than the SQL code +445 warning message.
Problem conclusion
QMF error handling has been modified to externalize the proper error messages on non SELECT error situations.
Temporary fix
Comments
APAR Information
APAR number
PM10295
Reported component name
QMF-QUERY MGMT
Reported component ID
566872101
Reported release
810
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2010-03-18
Closed date
2010-03-23
Last modified date
2010-04-03
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UK55491
Modules/Macros
DSQIMSGM
Fix information
Fixed component name
QMF-QUERY MGMT
Fixed component ID
566872101
Applicable component levels
R810 PSY UK55491
UP10/03/24 P F003
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":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSCWRCK","label":"QMF for TSO\/CICS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]
Document Information
Modified date:
03 April 2010