MF63068 - LIC-DB-OTHER-INCORROUT SQLRPGLE USING XML FAILS WITH SQLSTAT
PTF ( Program Temporary Fixes ) Cover letter
LIC-DB-OTHER-INCORROUT SQLRPGLE USING XML FAILS WITH SQLSTAT
Pre/Co-Requisite PTF / Fix List
REQ LICENSED PTF/FIX LEVEL
TYPE PROGRAM RELEASE NUMBER MIN/MAX OPTION
---- -------- --------- ------- ------- ------
PRE 5770999 V7R3M0 MF62600 00/00 0000
PRE 5770999 V7R3M0 MF62225 00/00 0000
PRE 5770999 V7R3M0 MF61285 00/00 0000
CO 5770999 V7R3M0 MF63069 00/00 0000
CO 5770999 V7R3M0 MF62646 00/00 0000
CO 5770999 V7R3M0 MF62645 00/00 0000
CO 5770999 V7R3M0 MF62635 00/00 0000
CO 5770999 V7R3M0 MF61589 00/00 0000
CO 5770999 V7R3M0 MF61339 00/00 0000
DIST 5770SS1 V7R3M0 SI59580 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
-----------------------------------------------
SQLRPGLE program that calls XML functions XMLSERIALIZE and
XMLDOCUMENT utilises SMP and LOJ RIO spinning plans returns a
SQLSTATE:2000 SQLCODE:+100 due to placement of the bufferscan
node. This results in an INCORROUT.
CORRECTION FOR APAR MA46067 :
-----------------------------
During optimization, when a plan is chosen, if SMP/parallelism
is enabled, the optimizer determines if a buffer scan node is
needed and where to put it in the query tree to feed the
parallelism based on the determined query SMP degree. There are
certain locations in a final plan node tree where a buffer scan
is legitimate and other locations where that type of node is
not. The logic to correctly place the buffer scan node when
there are multiple, stacked left outer join RIO spinning nodes
was not correct in all situations. That location is also
predicated by the query's estimated record counts and the smp
degree value determined by the optimizer. If the buffer scan
is placed in the wrong location in the node tree, during the
execution of the plan, the query could result in wrong results,
likely few records.
CIRCUMVENTION FOR APAR MA46067 :
--------------------------------
None.
Activation Instructions
None.
Special Instructions
None.
Default Instructions
THIS PTF CAN BE APPLIED IMMEDIATE OR DELAYED.
Supersedes
PTF/FIX NO(S). APAR TITLE LINE
-------------- ------------------------------------------------------------
MF62884 LIC-DB-PERFM Improve re-use of temporary results with Concur
MF62863 LIC-DB-PERFM Index Merge Ordering
MF62438 LIC-DB-OTHER-PERFM Improve query optimization for partitione
MF62851 LIC-DB-PERFM Excessive optimization time when MQTs enabled
MF62754 LIC-DB-OTHER-PERM Improve query performance by removing extr
MF62713 LIC-DB-MSGMCH3203 DbopNOde-getComplicatedExprs__8DbopNodeCFR
MF62667 SLIC-DB-MSGMCH3203 DbopAffinity During Partitioned Table Pro
MF62644 OSP-OTHER-PERFM WORKLOAD CAPPING IN ENVIRONMENTS THAT USE DB
MF62644 OSP-DB-OTHER-F/DBPMTRAP-T/QDBGETM-MSGMCH3203 MSGMCH3203 F/DB
MF62634 LIC-DB Internal Maintenance
MF62624 LIC-DB-OTHER Internal Database Maintenance.
MF62622 LIC-DB-OTHER Internal database maintenance
MF62489 LIC-DB-INCORROUT ORDER BY and Partitioned Table and RRN Prob
MF62433 LIC-DB-OTHER Internal Database Maintenance.
MF62372 LIC-DB-PERFM Not using EVI Only Access
MF62369 LIC-DB-OTHER-PERFM IMPROVE PERFORMANCE OF COMPLEX SQL QUERIE
MF62367 LIC-DB-OTHER record buffer not initialized with default valu
MF62343 LIC-DB-OTHER Optimizer support for PERCENTILE_DISC and PERCE
MF62304 LIC-DB-PERFM SMP support for OLAP queries
MF62244 LIC-DB-OTHER Internal Maintenance
MF62227 LIC-DB-MSGMCH3203-UNPRED Regression functions implemented wi
MF62196 LIC-DB-OTHER-INCORROUT WRKQRY OUTPUT IS NOT IN THE SPECIFIED
MF62118 LIC-DB-OTHER Optimizer support for PERCENTILE_CONT and PERCE
MF62079 LIC-DB Internal Maintenance
MF62056 LIC-DB-OTHER-T/QQQOOODBOP-MSGMCH3601 MSGMCH3601 T/QQQOOODBOP
MF62056 F/DBOPEXPRVALMISC-MSGMCH3203 R720 MCH3203 T/QQQOOOUPCL F/DBO
MF62041 LIC-DB-MSGMCH3203 Partitioned table query with SMP and LPG
MF61958 LIC-DB-OTHER-F/DBPMFORMAT-T/QDBGETMQO-MSGMCH3402 MSGCPF5257
MF61901 LIC-DB-OTHER Internal database maintenance
MF61855 OSP-DB-OTHER-INCORROUT INCORRECT RESULTS MAY OCCUR WITH REPL
MF61855 LIC-DB-OTHER-F/DBOPEXPRVALMISC-T/QQQOOODBOP-MSGMCH3203 FILE
MF61843 OSP-DB-OTHER-MSGCPF4204 ON A QUERY OVER A VIEW
MF61831 LIC-DB-PERFM Improve re-use of temporary results with Concur
MF61825 LIC-DB-INCORROUT WHEN BOTH REGR_COUNT AND COUNT
MF61788 OSP-DB-OTHER OUTPUT QRO HASH OF QUERY INITIATING MTI IN TRAC
MF61693 LIC-DB-MSGMCH3203 OLAP Aggregate query
MF61685 LIC-DB Internal Database Maintenance
MF61672 LIC-DB-OTHER-INCORROUT Left outer join query returns wrong r
MF61633 LIC-DB-OTHER-MSGMCH3203-F/DBOPAFFINITY-T/QQQOOODBOP followed
MF61587 LIC-DB-PERFM bad plan when running commit *ALL
MF61576 OSP-DB-OTHER-SAP400 INDEX ADVISER IS SETTING SORT TABLE TO *
MF61571 OSP-PAR-940XMISC AFTER UPGRADE TO R720 POOR QUERY PERFORMANC
MF61507 LIC-DB-PERFM SQL Improve column elimination in union queries
MF61432 LIC-DB Internal Database Maintenance
MF61332 LIC-DB Internal Maintenance
MF61301 LIC-DB Offload long EKR estimates found during optimization
MF61155 LIC-DB-PERFM - EAO with Partitioned Tables
MF61155 LIC-DB-PERFM Partitioned Table Index preload IO cost too hig
MF61149 LIC-PERFM-PAR-940XMISC Bad Query Plan
MF61126 LIC-DB-OTHER-F/QDBSIGEX-MSGCPF5149 MAY OCCUR WHEN USING USIN
MF60927 LIC-DB Plan Cache Property Number of created MTIs is zero
MF60927 LIC-DB-INCORROUT SMP XML INCORRECT OUTPUT AFTER UPGRADE
MF60927 LIC-DB-OTHER-INCORROUT SQL LOCATE with VARCHAR columns and t
MF60927 LIC-DB-PERFM SQL Honor KEEPINMEM MEMORY_POOL_PREFERENCE for
MF61255 OSP-DB-OTHER-F/DBPMTRAP-T/QQQOOODBOP-MSGMCH3203 VL0600BADD V
MF61492 LIC-DB-OTHER Add key range estimate information to Visual Ex
Summary Information
System.............................. | i |
Models.............................. | |
Release............................. | V7R3M0 |
Licensed Program............... | 5770999 |
APAR Fixed.......................... | View details for APAR MA46067 |
Superseded by:...................... | View fix details for PTF MF66537 |
Recompile........................... | N |
Library............................. | QSYS |
MRI Feature ........................ | NONE |
Cum Level........................... | C7283730 |
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 #: MF63068
Modified date: 18 January 2017