IBM Support

MF69221 - LIC-DB-OTHER-LOOP A listagg() query may loop if an error is

PTF Cover Letter


PTF ( Program Temporary Fixes ) Cover letter


Order this fix

Abstract

LIC-DB-OTHER-LOOP A listagg() query may loop if an error is


Pre/Co-Requisite PTF / Fix List

REQ  LICENSED           PTF/FIX  LEVEL

TYPE PROGRAM  RELEASE   NUMBER   MIN/MAX  OPTION
---- -------- --------- -------  -------  ------
CO   5770999  V7R3M0    MF69220   00/00    0000
CO   5770999  V7R3M0    MF68123   00/00    0000
CO   5770999  V7R3M0    MF68043   00/00    0000
CO   5770999  V7R3M0    MF67554   00/00    0000
CO   5770999  V7R3M0    MF67500   00/00    0000
CO   5770999  V7R3M0    MF67227   00/00    0000
CO   5770999  V7R3M0    MF67228   00/00    0000
CO   5770999  V7R3M0    MF67230   00/00    0000
CO   5770999  V7R3M0    MF67231   00/00    0000
CO   5770999  V7R3M0    MF66492   00/00    0000
CO   5770999  V7R3M0    MF66322   00/00    0000
CO   5770999  V7R3M0    MF65126   00/00    0000
CO   5770999  V7R3M0    MF64730   00/00    0000
CO   5770999  V7R3M0    MF61657   00/00    0000
CO   5770999  V7R3M0    MF61483   00/00    0000
CO   5770999  V7R3M0    MF61344   00/00    0000
CO   5770999  V7R3M0    MF63823   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

-----------------------------------------------
In certain situations, a query with listagg() could loop, if an
error is encountered during aggregation.  The loop can be
cancelled.

CORRECTION FOR APAR MA49303 :
-----------------------------
The issue was corrected so that the query will end with the
appropriate error being surfaced.

CIRCUMVENTION FOR APAR MA49303 :
--------------------------------
None.


Activation Instructions


None.




Special Instructions


********************************************************************
THE FOLLOWING ARE SUPERSEDED SPECIAL INSTRUCTIONS. IF THE SUPERSEDED
PTF HAS ALREADY BEEN APPLIED AND ITS SPECIAL INSTRUCTION FOLLOWED,
IT IS NOT NECESSARY TO FOLLOW THAT SPECIAL INSTRUCTION AGAIN.
********************************************************************

SPECIAL INSTRUCTIONS FOR SUPERSEDED PTF MF66526 :
=================================================

For systems that use IBM Distributed Relational Database Architecture
(DRDA), please ensure PTFs SI70855 and SI70856 are installed prior to
installing this PTF.  Otherwise, MCH3402 messages may occur in QRWTSRVR
jobs.

SPECIAL INSTRUCTIONS FOR SUPERSEDED PTF MF64004 :
=================================================

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
--------------  ------------------------------------------------------------
   MF68562      LIC-DB-OTHER-UNPRED Base support for query monitoring
   MF68543      LIC-DB-OTHER-UNPRED Base support for query monitoring
   MF68485      LIC-DB-OTHER-UNPRED Base support for query monitoring
   MF68454      LIC-DB-OTHER-UNPRED Base support for query monitoring
   MF68395      LIC-DB-OTHER-UNPRED Base support for query monitoring
   MF68228      LIC-DB-OTHER-UNPRED Base support for query monitoring
   MF68122      LIC-DB-OTHER-MSGCPF5027 WITH CS USE CURRENTLY COMMITTED not
   MF68044      OSP-DB-OTHER-F/QSYSARB-T/QRCPDMGL-MSGCPF8111 MSGCPF8111 F/QS
   MF67661      LIC-DB-OTHER-UNPRED Base support for query monitoring
   MF67552      LIC-DB-OTHER-UNPRED Base support for query monitoring
   MF67499      OSP-DB UPDATING A PARTITIONED TABLE THAT CAUSES ROWS TO BE M
   MF67225      LIC-DB-OTHER-UNPRED Base support for query monitoring
   MF66945      OSP-THREADS-PERFM LOCK WAIT LONGER THAN EXPECTED
   MF66912      OSP-DB-OTHER-WAIT LARGE AMOUNT OF FAULTS WHILE ATTEMPTING MA
   MF66526      LIC-DB-OTHER-PERFM Temporary storage retained for stale resu
   MF66493      LIC-DB-OTHER-INCORROUT LEAD FUNCTION WITH IGNORE NULLS GIVES
   MF66323      LIC-DB-OTHER MSGCPF5032 INTERMITTENT LOCK TIME-OUT IN MULTI-
   MF66048      LIC-DB-OTHER MSGCPF5032 INTERMITTENT LOCK TIME-OUT IN MULTI-
   MF66206      LIC-DB-OTHER-UNPRED Internal Database Maintenance
   MF63824      LIC-DB-OTHER-PERFM Reduce overhead of database file open/clo
   MF66196      Db2Exerciser: 0600-DEAD VLOGs
   MF65699      OSP-OTHER-PERFM OPNQRYF INTERMITTENTLY PERFORMS POORLY
   MF65576      LIC-DB-OTHER-PERFM Certain SQL queries specifying USE CURREN
   MF65473      LIC-DB-OTHER-F/DBPMTRAP-T/QQQSRVE1-RC1720-MSGMCH3203 SQL que
   MF65324      SQL-RUN-INCORROUT FETCH RELATIVE - RETURNS DUPLICATE ROWS -
   MF65339      LIC-DB-OTHER-LOOP DATABASE IS LOOPING DOING INDEX LOOK-UPS
   MF65285      OSP-LOOP ENDJOB *CTLD & *IMMED AND ENDJOBABN UNSUCCESSFUL
   MF65128      OSP-F/QSQRUN2-T/QSQRUN2-MSGSQ20377 XML GENERATING ERROR SQ20
   MF65028      LIC-DB-OTHER-INCORROUT JSON_ARRAY AND JSON_OBJECT TRUNCATION
   MF64954      LIC-DB-OTHER-INCORROUT Certain queries run with CONCURRENT_A
   MF64946      LIC-DB-OTHER-UNPRED 0406  0316 VLOGs generated periodically
   MF64731      OSP-DB-OTHER-INCORROUT AN OPNQRYF WITH KEYFLD AND GRPFLD PAR
   MF64466      LIC-DB-OTHER-INCORROUT OPNQRYF cursor may return incorrect r
   MF64669      LIC-DB-OTHER-INCORROUT Intermittent incorrect results from S
   MF64650      LIC-DB-OTHER-F/QRCDMGLG-T/QSYSOPR-MSGCPF8174 Full damage on
   MF64448      OSP-DB-OTHER-UNPRED SQE CHANGED TO HOLD JOBS WHEN QUERY RELA
   MF64421      LIC-DB-OTHER-F/DBPMRESOURCE-T/QDBGETMQO-RC1202-MSGMCH3203 VL
   MF64306      OSP-DB-OTHER-INCORROUT PAGE UP OR DOWN SHOWS INCORRECT RECOR
   MF64284      LIC-DB-OTHER-UNPRED Internal Database Maintenance
   MF64264      OSP-DB ACCESS PATHS MAY REBUILD MULTIPLE TIMES.
   MF64203      LIC-DB-OTHER-INCORROUT Reversing the scrolling direction of
   MF64085      OSP-DB-OTHER-F/DBPMTRAP-T/QDBGETMQO-MSGMCH3203 MSGMCH3203 F/
   MF64018      LIC-DB-OTHER-UNPRED Internal Database Maintenance
   MF63965      LIC-DB-OTHER-UNPRED Internal Database Maintenance
   MF64004      OSP-DB-OTHER-UNPRED SQL CANCEL EXCEPTION QEO HANG
   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
   MF66704      LIC-DB-OTHER-UNPRED Internal Database Maintenance

Summary Information

System..............................  i
Models..............................  
Release.............................  V7R3M0
Licensed Program....................  5770999
APAR Fixed..........................  View details for APAR MA49303
Superseded by:......................  
Recompile...........................  N
Library.............................  QSYS
MRI Feature ........................  NONE
Cum Level...........................  C2132730


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, 2020, 2021, 2022 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.

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.3.0","Product":{"code":"SWG60","label":"IBM i"},"Component":"5770999","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
24 May 2022