IBM Support

MF64004 - OSP-DB-OTHER-UNPRED SQL CANCEL EXCEPTION QEO HANG

PTF ( Program Temporary Fixes ) Cover letter


Order this fix

Abstract

OSP-DB-OTHER-UNPRED SQL CANCEL EXCEPTION QEO HANG


Pre/Co-Requisite PTF / Fix List

REQ  LICENSED           PTF/FIX  LEVEL

TYPE PROGRAM  RELEASE   NUMBER   MIN/MAX  OPTION
---- -------- --------- -------  -------  ------
CO   5770999  V7R3M0    MF63857   00/00    0000
CO   5770999  V7R3M0    MF63630   00/00    0000
CO   5770999  V7R3M0    MF63516   00/00    0000
CO   5770999  V7R3M0    MF63514   00/00    0000
CO   5770999  V7R3M0    MF63249   00/00    0000
CO   5770999  V7R3M0    MF61889   00/00    0000
CO   5770999  V7R3M0    MF61657   00/00    0000
CO   5770999  V7R3M0    MF61483   00/00    0000
CO   5770999  V7R3M0    MF61338   00/00    0000
CO   5770999  V7R3M0    MF61344   00/00    0000



NOTICE:
-------
Application of this PTF may disable or render ineffective programs that
use system memory addresses not generated by the IBM translator,
including programs that circumvent control technology designed to limit
interactive capacity to purchased levels.  This PTF may be a prerequisite
for future PTFs.  By applying this PTF you authorize and agree to the
foregoing.

This PTF is subject to the terms of the 'IBM License Agreement for Machine
Code', the terms of which were provided in a printed document that was
delivered with the machine.

SUBJECT TO ANY WARRANTIES WHICH CAN NOT BE EXCLUDED OR EXCEPT AS EXPLICITLY
AGREED TO IN THE APPLICABLE LICENSE AGREEMENT OR AN APPLICABLE SUPPORT
AGREEMENT, IBM MAKES NO WARRANTIES OR CONDITIONS EITHER EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OR CONDITIONS OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON INFRINGEMENT,
REGARDING THE PTF.





APAR Error Description / Circumvention

-----------------------------------------------
While an invocation exit was in the process of closing the query
execution object (QEO) an exception was thrown related to the
SQL Cancel. This exception was not handled properly in this
path, resulting in a reference not being released. This caused
the hang at QEO destruction time.

CORRECTION FOR APAR MA46567 :
-----------------------------
Another invocation exit was added to handle the exception that
can potentially be thrown during SQL Cancel processing.  This
will ensure that all resources held by the QEO are released.

CIRCUMVENTION FOR APAR MA46567 :
--------------------------------
None.


Activation Instructions


None.




Special Instructions


This PTF resolves a potential hang condition that can occur due to an
orphaned resource during SQL Cancel processing of an SMP query.  It
ensures that SQL Cancel processing will be handled properly after
application.  However, if SQL Cancels have been performed on SMP
queries prior to this PTF application, it would be prudent to schedule
an IPL as soon as possible.


Default Instructions

THIS PTF CAN BE APPLIED IMMEDIATE OR DELAYED.



Supersedes

PTF/FIX NO(S).  APAR TITLE LINE
--------------  ------------------------------------------------------------
   MF63858      LIC-DB Internal Maintenance
   MF63631      LIC-DB-OTHER-PERFM SQL Limit/Offset support
   MF63518      OSP-DB-OTHER-MSGCPI0999 XMLAGG QUERIES MAY RESULT IN LARGE A
   MF63489      OSP-F/DBPMDINPROBENODE-T/QDBGETSQ-MSGMCH3601 AFTER LOADING T
   MF63250      LIC-DB Internal Maintenance
   MF63026      LIC-DB-OTHER-INCORROUT RCAC SQE NATIVE ACCESS AND RPGLE %EQU
   MF62872      LIC-DB-OTHER-F/DBPMTRAP+000E18-T/QDBGETSQQO-MSGMCH3203 DbpmT
   MF62609      LIC-DB-OTHER-F/#DBXBINX-MSGMCH1807 followed by MSGCPF4204 an
   MF62600      F/00000 WANTING TO USE &#10 IN XML ATTRIBUTES
   MF62597      LIC-DB-OTHER Internal database maintenance
   MF62218      OSP-DB-OTHER-INCORROUT INCORROUT FOR SQL USING COUNT, UNLESS
   MF62123      LIC-DB-OTHER-UNPRED Internal Database Maintenance
   MF62113      LIC-DB-OTHER Database runtime support for PERCENTILE_CONT an
   MF61890      OSP-DB-OTHER-INCORROUT SQL CLI SQLFETCHSCROLL BEHAVIOR CHANG
   MF61658      OSP-DB-OTHER-INCORROUT for key positioning, if OPNQRYF KEYFL
   MF61651      LIC-DB-OTHER-UNPRED Internal Database Maintenance
   MF61484      LIC-DB-OTHER-UNPRED Internal Database Maintenance
   MF61345      LIC-DB-OTHER-UNPRED Internal Database Maintenance
   MF61313      OSP-DB-OTHER-PERFM AFTER DELETION OF RECORDS A SELECT COUNT
   MF61231      LIC-DB-OTHER-LOOP a query accessing a table that is being re
   MF60958      OSP-INCORROUT OPNQRYF with QRYSLT may return incorrect outpu

Summary Information

System.............................. i
Models..............................
Release............................. V7R3M0
Licensed Program............... 5770999
APAR Fixed.......................... View details for APAR MA46567
Superseded by:...................... View fix details for PTF MF66323
Recompile........................... N
Library............................. QSYS
MRI Feature ........................ NONE
Cum Level........................... C8025730


IBM i Support

IBM disclaims all warranties, whether express or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. By furnishing this document, IBM grants no licenses to any related patents or copyrights. Copyright © 1996,1997,1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 IBM Corporation. Any trademarks and product or brand names referenced in this document are the property of their respective owners. Consult the Terms of use link for trademark information.

Document information

More support for: i family

Software version: V7R3M0

Operating system(s): OS/400

Reference #: MF64004

Modified date: 08 September 2017