IBM Support

MF63645 - OSP-DB-OTHER-F/DBPMTRAP-MSGMCH3203 QRYDFN FAILS W/ MCH3203 F

PTF ( Program Temporary Fixes ) Cover letter


Order this fix

Abstract

OSP-DB-OTHER-F/DBPMTRAP-MSGMCH3203 QRYDFN FAILS W/ MCH3203 F


Pre/Co-Requisite PTF / Fix List

REQ  LICENSED           PTF/FIX  LEVEL

TYPE PROGRAM  RELEASE   NUMBER   MIN/MAX  OPTION
---- -------- --------- -------  -------  ------
PRE  5770999  V7R2M0    MF63413   00/00    0000
PRE  5770999  V7R2M0    MF59873   00/00    0000
PRE  5770999  V7R2M0    MF59872   00/00    0000
CO   5770999  V7R2M0    MF63644   00/00    0000
CO   5770999  V7R2M0    MF63546   00/00    0000
CO   5770999  V7R2M0    MF63305   00/00    0000
CO   5770999  V7R2M0    MF63308   00/00    0000
CO   5770999  V7R2M0    MF61259   00/00    0000
CO   5770999  V7R2M0    MF59853   00/00    0000
CO   5770999  V7R2M0    MF62064   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

-----------------------------------------------
Query/400 qrydfn fails where a FieldProc is defined to fire
within an Alternate Field.

CORRECTION FOR APAR MA46398 :
-----------------------------
Customer had a Query/400 defined over views one of which used a
column value with a field procedure defined over that column for
encoding and decoding purposes.  That view was used in the
Query/400 in a Left Outer context  The default value for
Query/400 or any Native query request for a column is not NULL
(as in SQL) but the column default value which is then provided
to the field procedure.  This default value per a field
procedure call was being invoked on a SQE run time node that
didn't support that type of upcall to the field procedure, so a
function check occurred. This PTF logic will move the default
upcall for alternate values when the join is to no row (left
outer) to a different node supporting the upcall.

CIRCUMVENTION FOR APAR MA46398 :
--------------------------------
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
--------------  ------------------------------------------------------------
   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 MA46398
Superseded by:...................... View fix details for PTF MF66702
Recompile........................... N
Library............................. QSYS
MRI Feature ........................ NONE
Cum Level........................... C7290720


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: V7R2M0

Operating system(s): OS/400

Reference #: MF63645

Modified date: 07 June 2017