IBM Support

MF64475 - OSP-DB-OTHER-F/DBSTMDPROXYCONTEXT-RCX'1720'-MSGMCH3203 SELEC

PTF Cover Letter


PTF ( Program Temporary Fixes ) Cover letter


Order this fix

Abstract

OSP-DB-OTHER-F/DBSTMDPROXYCONTEXT-RCX'1720'-MSGMCH3203 SELEC


Pre/Co-Requisite PTF / Fix List

REQ  LICENSED           PTF/FIX  LEVEL

TYPE PROGRAM  RELEASE   NUMBER   MIN/MAX  OPTION
---- -------- --------- -------  -------  ------
PRE  5770999  V7R2M0    MF64037   00/00    0000
PRE  5770999  V7R2M0    MF63413   00/00    0000
PRE  5770999  V7R2M0    MF59873   00/00    0000
PRE  5770999  V7R2M0    MF59872   00/00    0000
CO   5770999  V7R2M0    MF64474   00/00    0000
CO   5770999  V7R2M0    MF64320   00/00    0000
CO   5770999  V7R2M0    MF64091   00/00    0000
CO   5770999  V7R2M0    MF63649   00/00    0000
CO   5770999  V7R2M0    MF63308   00/00    0000
CO   5770999  V7R2M0    MF61259   00/00    0000
CO   5770999  V7R2M0    MF59853   00/00    0000
DIST 5770SS1  V7R2M0    SI54674   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

-----------------------------------------------
The customer recently upgraded from OS 610 to 720 and noticed
the following errors in the joblog when selecting the "MAX"
value for a particular column in a file:

MCH3203 Escape 60 11/30/17 17:26:12.613593 < oxyContext 003EF0
QQQOOODBOP QSYS *STMT
From Program . . . . . . . : DbstMdProxyContext
To module . . . . . . . . . : QQQOOOINV
To procedure . . . . . . . : CALLDBMAINTFOROPENOROPTIMIZE
Statement . . . . . . . . . : 5045
Message . . . . : Function error X'1720' in machine instruction.
Internal dump identifier (ID) .

A DBMON of the failure shows SQL0901 State: 58004

CORRECTION FOR APAR MA46815 :
-----------------------------
Query fails with ordering (or MIN/MAX) over a large table with
predicates over RRN of that table.  The query optimizer fails
when trying to build a plan using an index to satisfy both the
ordering and predicates.  This PTF will the problem that causes
the query to fail.

CIRCUMVENTION FOR APAR MA46815 :
--------------------------------
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
--------------  ------------------------------------------------------------
   MF64473      OSP-DB-OTHER-F/DBPMTRAP-T/QQQOOODBOP-RC1720-MSGMCH3203 RUNNI
   MF64346      LIC-DB-OTHER-INCORROUT Queries which use DECFLOAT columns fo
   MF64319      OSP-DB-OTHER-SAP400-THREADS-INCORROUT SELECT STMT WITH '=' ,
   MF64175      LIC-DB Internal Maintenance
   MF64158      LIC-DB-OTHER Internal Database Maintenance.
   MF64095      LIC-DB-OTHER Internal Database Maintenance.
   MF64040      LIC-DB Internal Maintenance
   MF62740      LIC-DB-INCORROUT OLAP with ORDER BY of LOB
   MF63807      LIC-DB-PERFM reduce data copies for SQL query
   MF63648      LIC-DB-PERFM reorder predicates based on selectivity
   MF63645      OSP-DB-OTHER-F/DBPMTRAP-MSGMCH3203 QRYDFN FAILS W/ MCH3203 F
   MF63579      LIC-DB-OTHER-PERFM COMPLEX QUERY IS BEING RE-OPTIMIZED UNEXP
   MF63550      LIC-DB-PERFM Not using EVI Only Access
   MF63547      LIC-DB-OTHER-UNPRED Grouping sets query fails when using an
   MF63465      OSP-DB-OTHER-MSGCPI0999 XMLAGG QUERIES MAY RESULT IN LARGE A
   MF63465      OSP-DB-OTHER-MSGCPI0999 XMLAGG QUERIES MAY RESULT IN LARGE A
   MF63423      LIC-DB-OTHER-PERFM Optimization time improvements for comple
   MF63326      LIC-OTHER-PERFM IMPROVE OPTIMIZER COSTING
   MF62065      LIC-DB-OTHER Increase database random Input/Output initial b
   MF63309      LIC-DB Internal Maintenance
   MF63285      LIC-DB-OTHER-PERFM LEFT OUTER JOIN QUERY PERFORMANCE
   MF63007      LIC-DB-PERFM VOLATILE TABLE IO Costing
   MF62909      LIC-DB-OTHER-F/DBPMTRAP-T/QQQOOODBOP-RC1720-MSGMCH3203 Outer
   MF62856      LIC-DB-OTHER-PERFM Queries with an RRN Scan over an Encoded
   MF62738      OSP-DB-OTHER-F/DBOPVARIABLECONTEXT-T/QQQOOODBOP-MSGMCH3203 M
   MF62633      LIC-DB Internal Maintenance
   MF62627      LIC-DB-OTHER Internal Database Maintenance.
   MF62421      LIC-DB-OTHER Internal Database Maintenance.
   MF62085      LIC-DB-PERFM Index Read Ahead when no RIO node
   MF61933      LIC-DB-OTHER-PERFM DBPMSERVER TASKS DRIVING HIGH DISK LOAD F
   MF61724      LIC-DB PERFM LONG RUNNING SQL QUERY WITH EVI ACCESS.
   MF61690      LIC-DB-OTHER Query fails to optimize with SMP
   MF61403      LIC-DB-OTHER-PERFM SQL query runs slowly due to index scan
   MF61263      LIC-DB-PERFM - EAO with Partitioned Tables
   MF61144      LIC-PERFM-PAR-940XMISC Bad Query Plan
   MF60796      LIC-DB-PERFM SQL Honor KEEPINMEM MEMORY_POOL_PREFERENCE for
   MF60786      OSP-OTHER-PERFM LONG OPTIMIZATION TIME DUE TO NUMEROUS UDFS/
   MF60742      LIC-DB-OTHER-UNPRED Internal Database Maintenance
   MF60710      LIC-DB-OTHER-PERFM Slow query execution due to Index Distinc
   MF60682      LIC-DB-OTHER-UNPRED Internal Database Maintenance
   MF60633      LIC-DB-OTHER-PERFM Distinct query may use sub-optimal plan
   MF60565      OSP-DB-OTHER-F/DBPMFORMAT-T/QDBGETMQO-MSGMCH3203 A MSGMCH320
   MF60467      OSP-DB-PERFM  AVOID PLAN CACHE DUMP TOLERATED BADD DUE TO CO
   MF60353      F/ASSERT-MSGMCH3203-MOD/QQQOOODBOP QUERY WITH AGGREGATE FAIL
   MF59971      LIC-PERFM Distinct Query
   MF59890      LIC-DB-OTHER Internal maintenance
   MF59871      OSP-PAR-940XMISC OPTIMIZATION COSTING ENHANCEMENTS
   MF59857      LIC-DB-UNPRED Ensure order of partitions in partitioned tabl
   MF59528      LIC-DB-PERFM Preload for DinDistinctScan
   MF59138      LIC-DB-PERFM Enable Pessimistic IO costing for Index Probe a
   MF58956      LIC-DB-OTHER Internal Maintenance
   MF58956      LIC-DB-INCORROUT Distinct of LOB field
   MF58788      LIC-DB-OTHER Possible mapping errors querying a logical file
   MF58907      LIC-DB-OTHER-INCORROUT Queries involving field procedures ma
   MF58783      LIC-DB-OTHER Visual Explain may incorrectly report I/O cost
   MF58379      LIC-DB-MSGMCH3203 CONNECT BY when running SMP
   MF58319      LIC-DB Internal Maintenance
   MF58139      LIC-DB-OTHER-PERFM PRELOAD OF QUERY DATA SOURCES CAUSES PERF
   MF57948      LIC-DB Internal Maintenance
   MF57939      LIC-DB Internal Maintenance
   MF57903      LIC-DB 0600 BADD VLOG on Plan Cache Snapshot
   MF57705      LIC-DB-MSGMCH3203 Grouping Sets
   MF57852      LIC-DB Internal Maintenance
   MF57739      LIC-DB Internal Maintenance
   MF57620      LIC-DB Internal Maintenance

Summary Information

System..............................i
Models..............................
Release.............................V7R2M0
Licensed Program...............5770999
APAR Fixed..........................View details for APAR MA46815
Superseded by:......................View fix details for PTF MF67252
Recompile...........................N
Library.............................QSYS
MRI Feature ........................NONE
Cum Level...........................C8249720


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 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.

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.2.0"},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.2","Product":{"code":"SG15V","label":"PTF Cover Letters - OS\/400 General"},"Component":"5770999","Edition":""}]

Document Information

Modified date:
08 December 2020