IBM Support

MF65690 - OSP-DB-OTHER-INCORROUT possible due to DIN RIO spinning inad

PTF ( Program Temporary Fixes ) Cover letter


Order this fix

Abstract

OSP-DB-OTHER-INCORROUT possible due to DIN RIO spinning inad


Pre/Co-Requisite PTF / Fix List

REQ  LICENSED           PTF/FIX  LEVEL

TYPE PROGRAM  RELEASE   NUMBER   MIN/MAX  OPTION
---- -------- --------- -------  -------  ------
PRE  5770999  V7R3M0    MF62602   00/00    0000
CO   5770999  V7R3M0    MF65602   00/00    0000
CO   5770999  V7R3M0    MF65268   00/00    0000
CO   5770999  V7R3M0    MF65270   00/00    0000
CO   5770999  V7R3M0    MF65145   00/00    0000
CO   5770999  V7R3M0    MF65143   00/00    0000
CO   5770999  V7R3M0    MF64652   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

-----------------------------------------------
Incorrect Output on Query. When the query fails, DBPM doesn't
recognize where a key is coming from for the index probe, and
thus the key is left as NULL and prevents anything from joining.

CORRECTION FOR APAR MA47478 :
-----------------------------
A recent change to fix a functional error (PTFs 7.2 MF65392, 7.3
MF65391) during optimization can cause some queries to result in
incorrect output by returning 0 rows.  As it is difficult to
characterize the type of queries that can encounter this
incorrect output situation, those PTF containing that change
will be marked not orderable and this PTF is the correction.
When this PTF is applied, it will result in the removal of
existing plans in the Plan Cache to insure no incorrect plans
remain to be executed due to this situation.

CIRCUMVENTION FOR APAR MA47478 :
--------------------------------
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
--------------  ------------------------------------------------------------
   MF65608      OSP-DB-OTHER-F/DBOPAFFINITY-T/QQQOOODBOP-MSGMCH3203 MSGMCH32
   MF65603      OSP-INCORROUT GETTING NULL BACK FROM THE COALESCE/REGEXP_REP
   MF65584      LIC-DB-OTHER-F/DBOPAFFINITY-T/QQQOOODBOP-MSGMCH3203 SQL FAIL
   MF65546      LIC-DB-OTHER-INCORROUT OLAP FUNCTIONS MAY GIVE WRONG RESULTS
   MF65537      OSP-DB-OTHER-F/DBOPAFFINITY-T/QQQOOODBOP-MSGMCH3203 RCAC TAB
   MF65494      OSP-DB-OTHER-F/DBOPACCESSPLANQDSPOPULATE-T/QQQOOODBOP- MSGMC
   MF65440      OSP-MSGCPF4204 INTERNAL QUERY FAILURE RELATED TO LOOK-AHEAD
   MF65435      OSP-DB-OTHER-F/DBPMHASH-T/QDBGETMQO-MSGMCH3402 DRDA APPLICAT
   MF65417      OSP-DB-OTHER-F/DBOPSTRATEGY-T/QQQOOODBOP-MSGMCH3203 SQL GENE
   MF65401      OSP-DB-OTHER-PERFM POOR PLAN CHOICE BY SQL OPTIMIZER
   MF65391      LIC-DB-OTHER-F/DBOPAFFINITY-T/QQQOOODBOP-MSGMCH3203 SQL FAIL
   MF65380      OSP-DB-OTHER-MSGSQL0913 WITH ISOLATION LEVEL UR *CHANGE WHEN
   MF65323      SQL-RUN-INCORROUT FETCH RELATIVE - RETURNS DUPLICATE ROWS -
   MF65358      OSP-OTHER-PERFM INDEX ADVISOR RECOMMENDING TOO MANY EVIS
   MF65300      LIC-DB-OTHER-F/DBOPEXPRVALMISC-T/QQQOOODBOP-MSGMCH3203 RCAC
   MF65306      OSP-F/DBPMTRAP-T/QQQOOODBOP-MSGMCH3203 SQL STATEMENT FAILS W
   MF65292      LIC-DB-OTHER-PERFM SQL OPTIMIZATION TIME PERFORMANCE ISSUE W
   MF65309      OSP-OTHER-PERFM COMPLEX JOIN QUERY PERFORMS POORLY
   MF65269      LIC-DB-OTHER-PERFM SQL OPTIMIZATION TIME PERFORMANCE ISSUE W
   MF65250      OSP-DB-OTHER-F/DBOPOPERATIONMISC-T/QQQOOODBOP-MSGMCH3601 MSG
   MF65242      OSP-DB-OTHER-F/DBOPSTRATEGYORDERING-T/QQQOOODBOP-MSGMCH3203
   MF65241      OSP-DB-OTHER-F/DBOPOPERATIONMISC-T/QQQOOODBOP-RC1720-MSGMCH3
   MF65222      DATAPARTITIONNUM update lock fence and constant fixes.
   MF65224      OSP-OTHER-PERFM COMPLEX JOIN QUERY PERFORMS POORLY
   MF65217      LIC-DB-OTHER-PERFM COMPLEX CONNECT BY QUERY RUNS POORLY AFTE
   MF65151      OSP-OTHER-PERFM SQL QUERY PERFORMANCE WHEN QUERY CONTAINS NO
   MF65146      LIC-DB-OTHER Allow duplicate keys in JSON_OBJECT and JSON_OB
   MF65103      OSP-F/DBOPAFFINITY-T/QQQOOODBOP-MSGMCH3203 MSGCPF9898 MSGCPF
   MF65045      LIC-DB-OTHER-PERFM QUERY OPTIMIZER CHOOSES SUB-OPTIMAL INDEX
   MF65011      OSP-DB-OTHER-F/DBPMTRAP-T/QQQOOODBOP-MSGMCH3203 RUNNING A SE
   MF64973      OSP-DB-OTHER-PERFM JOIN FAN-IN WASN'T RECOGNIZED IN SOME CAS
   MF64973      OSP-DB-OTHER-PERFM WHEN RCAC PERMISSIONS ARE ADDED TO A FILE
   MF64883      OSP-DB-OTHER OPNQRYF WITH DIFFERENT KEYFLD AND GRPFLD PARAME
   MF64869      LIC-DB-OTHER Internal maintenance
   MF64824      LIC-DB-OTHER Internal Maintenance
   MF64797      LIC-DB-INCORROUT Grouping when SMP
   MF64795      OSP-DB-OTHER-F/DBPMTRAP-T/QQQOOODBOP-RC1720-MSGMCH3203 SQL W
   MF64775      OSP-DB-OTHER-F/DBOPAFFINITY-T/QQQOOODBOP-MSGMCH3203 MSGMCH32
   MF64753      LIC-DB-OTHER-PERFM OPTIMIZATION PHASE FOR QUERIES WITH ISOLA
   MF64746      OSP-OTHER-PERFM QUERY PERFORMANCE
   MF64741      PERFM-HLIC-94XXBASE NON OPTIMAL JOIN ORDER SELECTED DUE TO I
   MF64722      LIC-DB-OTHER-PERFM CACHED STRATEGIES WITH QDSPOPULATES USED
   MF64693      LIC-DB-OTHER Update of partitioned table fails
   MF64667      OSP-DB-OTHER-F/DBPMTRAP-T/QDBGETMQO-MSGMCH3203 RUNNING AN SQ
   MF64659      LIC-DB-OTHER-INCORROUT Queries that use Bitmap Probe on part
   MF64653      LIC-DB-OTHER-F/DBOPEXPRQDS-T/QQQOOODBOP-MSGMCH3203 MAY OCCUR
   MF64646      F/DBOPQUERY-MSGMCH3203 NATIVE QUERY USING TODAY CONSTANT STA
   MF64637      LIC-DB-OTHER-INCORROUT Queries with complex aggregate functi
   MF64584      LIC-DB-OTHER-INCORROUT QUERY FAILS TO RETURN EXPECTED RESULT
   MF64562      LIC-DB-OTHER-PERFM JOIN QUERY PERFORMANCE WITH SCROLLABLE CU
   MF64529      F/DBOPSTRATEGYLPG-MSGMCH3203 QUERY FUNCTION CHECKS APPLYING
   MF64533      OSP-DB-OTHER-PERFM INEFFICIENT JOIN ORDER WHEN PREDICATES AR
   MF64530      OSP-OTHER-PERFM QUERY PERFORMANCE
   MF64472      OSP LONG RUNNING QUERY USING A MTI
   MF64388      SLIC-DB-INCORROUT Scalar Aggregate OLAPs and WHERE Clause
   MF64388      LIC-DB-INCORROUT OLAPs and GROUPing queries
   MF64388      LIC-DB-PERFM Optimization time performance improvements
   MF64344      LIC-DB-OTHER Query with grouping sets and table function fai
   MF64332      LIC-DB-OTHER-UNPRED Query with distinct subselect fails
   MF64332      LIC-DB-OTHER-INCORROUT Grouping queries over DecFloat column
   MF64332      LIC-DB-OTHER-INCORROUT LISTAGG, XMLAGG, JSON_ARRAYAGG may ha
   MF64318      OSP-LOOP UNABLE TO END INTERACTIVE JOBS EXECUTING SQL
   MF64283      OSP-DB-OTHER-SAP400-THREADS-INCORROUT SELECT STMT WITH '=' ,
   MF64267      OSP-DB-OTHER-PERFM POOR PERFORMANCE OF QUERY
   MF64261      LIC-DB-OTHER Redundant index advice on equal join predicates
   MF64261      LIC-DB-OTHER-F//DBPMNATIVEACCESS-T/QDBGETKY-MSGMCH1825 QUERY
   MF64244      F/OPTIMIZER-UDFINCORROUTAFTERCLEARINGPLANCACHE UDF INCORRECT
   MF64126      OSP-DB-OTHER-F/DBOPAFFINITY-T/QQQOOODBOP-MSGMCH3203 LARGE CA
   MF64118      OSP-DB-OTHER-INCORROUT SELECT STMT WITH ORDER BY CLAUSE PROD
   MF64096      OSP-F/DBOPEXPRQDS-T/QQQOOODBOP-MSGMCH3601 SQL QUERY FAILS WI
   MF64045      OSP-F/DBPMTRAP-T/QQQOOODBOP-MSGMCH3203 QUERY FAILS WITH MSGM
   MF64014      LIC-DB Internal Maintenance
   MF64009      LIC-DB-OTHER Internal Database Maintenance.
   MF63999      OSP-OTHER-PERFM OPTIMAL INDEX WAS COSTED HIGHER THEN A LESS
   MF63909      LIC-DB-OTHER INCORROUT Index Merge Ordering Plan with index
   MF63898      LIC-DB Internal Maintenance
   MF63875      OSP-DB-OTHER-F/DBOPQUERY-T/QQQOOODBOPX/4994-MSGMCH3203 QRYDF
   MF63838      OSP-DB-OTHER-F/DBOPAFFINITY-T/QQQOOODBOP-MSGMCH3203 UNION
   MF63802      OSP-DB-OTHER-PERFM OPTIMIZER SQL JOIN PLAN
   MF63794      OSP-DB-OTHER-F/DBOPSTRATEGYNORMALIZATION-T/QQQOOODBOP- MSGMC
   MF63755      OSP-OTHER-PERFM COGNOS QUERY PERFORMS POORLY AFTER BOTH THE
   MF63743      OSP-DB-OTHER-F/DBOPAFFINITY-T/QQQOOODBOP-RCFUNCTIONERRORX'17
   MF63714      OSP-UNPRED QUERY ESTIMATED RUNTIME WITH XMLELEMENT FIELD SEL
   MF63583      LIC-DB-OTHER-PERFM LEFT OUTER JOIN QUERY PERFORMANCE
   MF63570      LIC-DB-PERFM Random IO for tables
   MF63553      OSP-DB-OTHER-F/DBOPAFFINITYX/68C4-T/QQQOOODBOPX4994-MSGMCH32
   MF63445      OSP-DB-OTHER-F/DBOPAFFINITYX/68C4-T/QQQOOODBOPX4994-MSGMCH32
   MF63445      LIC-DB-MSGMCH3203 T/F QQQOOODBOP/DbopAffinity when using CUB
   MF63434      LIC-DB-OTHER-PERFM Optimization time improvements for comple
   MF63412      OSP-PERFM OPTIMIZER ENHANCEMENT TO MAKE THE CORRECT DECISION
   MF63370      OSP-F/DBPMTRAP-T/QQQOOODBOP-RC1720-MSGMCH3203 IF LOGICAL FIL
   MF63340      LIC-DB Improve AQP's ability to re-optimize LPG plans
   MF63301      LIC-DB Internal Maintenance
   MF63281      LIC-DB-OTHER-PERM Improve query performance by removing extr
   MF63268      LIC-DB Optimizer choosing index with 8k page size leads to p
   MF63208      LIC-DB-OTHER-PERFM LONG OPTIMIZATION OF COMPLEX QUERY WITH M
   MF63173      OSP-DB-OTHER-PERFM SLOW TABLE SCAN USED FOR SCROLL CURSOR WI
   MF63159      OSP-OTHER-PERFM JOIN QUERY PERFORMANCE
   MF63117      LIC-DB-PERFM Long optimization time for OLAP and SMP queries
   MF63085      LIC-DB-OTHER-PERFM IMPROVE PARTITION AVOIDANCE FOR JOIN
   MF63069      LIC-DB-OTHER-INCORROUT SQLRPGLE USING XML FAILS WITH SQLSTAT
   MF62937      LIC-DB-MSGMCH3203 Scalar OLAPs and RANK OLAP
   MF62922      LIC-DB-PERFM Poor Plan
   MF62874      LIC QUERY WITH TRANSITIVE JOIN NOT RETURNING THE CORRECT RES
   MF62862      LIC-DB-PERFM Index Merge Ordering
   MF62855      OSP-DB QUERY THAT REUSING A PLAN IS NOT UPDATING ALL PREDICA
   MF62850      LIC-DB-PERFM Excessive optimization time when MQTs enabled
   MF61420      LIC-DB-MSGMCH3203 DbstMdDadDataSpaceConcrete
   MF61207      OSP-DB MSGMCH3601 F/DBPMFORMAT T/QQQOOODBOP VL0600 BADD
   MF62762      OSP-DBPARL-PERFM LIMITED PLAN CHOICE DUE TO JOIN ORDER RESUL
   MF62743      OSP-DB-OTHER-F/DBPMTRAPX/09B8-T/DBQQQOOODBOPX/4963-MSGMCH320
   MF62649      F/QQQOOODBOP-MSGMCH3203 MCH3203 F/ QQQOOODBOP T/ QQQOOOINV
   MF62647      LIC-DB-OTHER-INCORROUT QUERY/400 RETURNS TOO MANY ROWS IN SQ
   MF62606      LIC-DB-OTHER-INCORROUT Incorrectly sorted results possible w
   MF62504      DB-LIC-MSGMCH3203 Plan Cache Snapshot  sEstimatedIoTimeInUs_
   MF62498      LIC-DB-OTHER OLAP function over union subselect may fail
   MF62459      LIC-DB-OTHER IS NULL index advice ordering.
   MF62435      LIC-DB-OTHER Internal Database Maintenance.
   MF62419      LIC-DB-INCORROUT  update with datapartitionname and smp
   MF62416      LIC-DB-INCORROUT SMP Query with Ordering
   MF62412      F/DBOPOPERATIONMISC-MSGMCH3203 F/DBOPOPERATIONMISC-MSGMCH320
   MF62373      LIC-DB-PERFM Not using EVI Only Access
   MF62368      LIC-DB-OTHER-PERFM IMPROVE PERFORMANCE OF COMPLEX SQL QUERIE
   MF62365      LIC-DB-PERFM Optimization time with many nested subquery lev
   MF62315      OSP-DB-OTHER-UNPRED RECORD NOT FOUND ON A PARTITIONED TABLE
   MF62305      LIC-DB-PERFM SMP support for OLAP queries
   MF62296      LIC-DB-OTHER-PERFM QRY/400 TAKES MORE TIME TO OPTIMIZE
   MF62243      OSP-DB-OTHER-UNPRED TMPSTGLK SQE BUCKET 8 *DATABASE SEGMENT
   MF62219      LIC-DB-OTHER Fixes error caused by null ordering on DENSE_RA
   MF62198      LIC-DB-OTHER-F/DBOPEXPRQDS-T/QQQOOODBOP-MSGMCH3601 SQL SELEC
   MF62195      LIC-DB-OTHER-INCORROUT WRKQRY OUTPUT IS NOT IN THE SPECIFIED
   MF62122      LIC-DB-OTHER Optimizer support for PERCENTILE_CONT and PERCE
   MF62117      OSP-DB-OTHER-F/DBPMTRAP-T/QQQOOODBOP-MSGMCH3203 MSGMCH3203 F
   MF62117      OSP-DB-OTHER-F/DBOPAFFINITY-T/QQQOOODBOP-MSGMCH3203 WRONG SE
   MF62078      LIC-DB Internal Maintenance
   MF62077      LIC-DB-OTHER-F/ASSERT-T/QQQOOODBOP-MSGMCH3203 RUNNING COMPLI
   MF62071      OSP-DB_OTHER  FULL OUTER JOIN ESCAPING QUERY NORMALIZATION
   MF62042      LIC-DB-MSGMCH3203 Partitioned table query with SMP and LPG
   MF62021      LIC-DB-OTHER Internal Maintenance
   MF62020      LIC-DB-OTHER-UNPRED Grouping set query fails with MCH3203 un
   MF61856      OSP-DB-OTHER-INCORROUT INCORRECT RESULTS MAY OCCUR WITH REPL
   MF61853      OSP-DB-OTHER-PERFM SLOW PERFORMANCE AFTER CUME JOIN OPTIMIZA
   MF61853      OSP-DB-OTHER MSGMCH3203 F/DBPMTRAP T/QQQOOODBOP
   MF61853      OSP-INCORROUT WHEN FULL OUTER JOIN QUERY HAS SPECIFIC STRUCT
   MF61725      LIC-DB PERFM LONG RUNNING SQL QUERY WITH EVI ACCESS.
   MF61713      LIC-DB-OTHER Index advising for IS NULL predicates.
   MF61692      LIC-DB-MSGMCH3203 OLAP Aggregate query
   MF61684      LIC-DB Internal Database Maintenance
   MF61646      LIC-DB-PERFM SMP with Grouping and UNION
   MF61609      OSP-DB-OTHER-THREADS-F/DBOPAFFINITY-T/QQQOOODBOP-MSGMCH3203
   MF61609      OSP-DB-OTHER-INCORROUT INCORRECT OUTPUT MAY OCCUR WITH A CRO
   MF61583      LIC-DB-INCORROUT Scalar aggregate OLAP when arg is constant
   MF61551      LIC-DB-INCORROUT Grouping query with OLAP
   MF61506      LIC-DB-PERFM SQL Improve column elimination in union queries
   MF61398      LIC-DB-PERFM Optimizer picking PTL scan over index probe pla
   MF61375      LIC-DB-INCORROUT OLAPs with Different Partition By clauses
   MF61334      LIC-DB Internal Maintenance
   MF61217      OSP-DB-OTHER-F/DBOPSTRATEGY-T/QQQOOODBOP-MSGMCH3601 WHEN A D
   MF61125      OSP-DB-OTHER-F/DBLISTHOME-T/QQQOOODBOP-MSGMCH3203 MSGMCH3203
   MF61125      F/QSQFETCH-MSGSQL0811-RCTYPE1 FROM SQL QUERY WITH FETCH FIRS
   MF61125      LIC-DB-OTHER-F/QDBSIGEX-MSGCPF5149 MAY OCCUR WHEN USING USIN
   MF61125      LIC-INCORROUT NTH_VALUE when used with other OLAP aggregates
   MF61125      LIC-DB-OTHER-F/DBPMTRAPX/0958-T/QQQOOODBOP-RCX/1720-MSGMCH32
   MF60929      LIC-DB-MSGMCH32303 Aggregate OLAP and Ordering
   MF60929      LIC-DB-PERFM SQL EVI Only Access query optimization techniqu
   MF60929      OSP-UNPRED WHEN USING SQE QUERY ENGINE DUPLICATE MTI'S MAY B
   MF61588      LIC-DB-PERFM bad plan when running commit *ALL
   MF61256      OSP-DB-OTHER-INCORROUT A SQL QUERY MAY SHOW A NULL FOR A COL
   MF61211      LIC-DB-OTHER-PERFM SLOW PERFORMANCE ON A RECURSIVE COMMON TA
   MF61148      LIC-PERFM-PAR-940XMISC Bad Query Plan
   MF61063      LIC-DB-PERFM Union Queries

Summary Information

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


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 #: MF65690

Modified date: 01 March 2019