IBM Support

SI67760 - OSP-DB-OTHER-MSGSQL0304 INCORRECT ERROR MESSAGE

PTF Cover Letter


PTF ( Program Temporary Fixes ) Cover letter


Order this fix

Abstract

OSP-DB-OTHER-MSGSQL0304 INCORRECT ERROR MESSAGE


Pre/Co-Requisite PTF / Fix List

REQ  LICENSED           PTF/FIX  LEVEL

TYPE PROGRAM  RELEASE   NUMBER   MIN/MAX  OPTION
---- -------- --------- -------  -------  ------
NONE



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 license agreement which
accompanied, or was contained in, the Program for which you are obtaining
the PTF.  You are not authorized to install or use the PTF except as part
of a Program for which you have a valid Proof of Entitlement.

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.

The applicable license agreement may have been provided to you in printed
form and/or may be viewed using the Work with Software Agreements (WRKSFWAGR)
CL command.


APAR Error Description / Circumvention

-------------------------------------------------
When a numeric overflow occurs, the SQL database manager may
generate an SQL0304 (MSGSQL0304) error message which does not
have valid message field data for message field two and message
field three.

Here is an example:

Message . . . . :   Conversion error in assignment to
variable .
Cause . . . . . :   During an attempt to return a value to
variable  on a FETCH, an embedded SELECT statement, a CALL
statement, a SET statement, a SET DESCRIPTOR statement, or
a VALUES INTO statement, error type 16448 occurred. A list
of the error types follows:
-- Error type 1 is overflow.
-- Error type 2 is floating point overflow.
-- Error type 3 is floating point underflow.
-- Error type 4 is a floating point conversion error.
-- Error type 5 is not an exact result.
-- Error type 6 is numeric data that is not valid.
-- Error type 7 is double-byte character set (DBCS) data
that is not valid.
The relative position of the variable is 1.  If the variable
name is *N, a descriptor area was specified on the FETCH or
CALL statement.
Recovery  . . . :   Change the size and, if necessary, the type
of the variable or entry in the descriptor area so that it can
contain the result value or correct the data that is not
valid.  Try the request again.

The variable name is blank and the error type is invalid (only
error types 1 - 7 are valid).

CORRECTION FOR APAR 'SE69493' :
-------------------------------
The SQL database manager has been updated to generate valid
message field data for the SQL0304 (MSGSQL0304) error message.

CIRCUMVENTION FOR APAR 'SE69493' :
----------------------------------
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
--------------  ------------------------------------------------------------
   SI63308      OSP-DB-OTHER-THREADS-F/QSQRUN3-T/QSQDELET-MSGSQL0204 OSP-MSG
   SI61490      OSP-DB INTERNAL MAINTENANCE
   SI51601      OSP-DB Internal Maintenance

Summary Information

System..............................i
Models..............................
Release.............................V7R2M0
Licensed Program...............5770SS1
APAR Fixed..........................View details for APAR SE69493
Superseded by:......................
Recompile...........................N
Library.............................QSYS
MRI Feature ........................NONE
Cum Level...........................C9123720


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

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG15V","label":"PTF Cover Letters - OS\/400 General"},"Component":"","ARM Category":[],"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"V7R2M0","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG16F","label":"PTF Cover Letters - IBM i 7.2 environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"V7R2M0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
14 September 2018