DB2 - Problem description
Problem IC76672 | Status: Closed |
CALLING CREATE OR REPLACE FUNCTION ON AN EXISTING PROCEDURE (OR VICE VERSA) UNEXPECTEDLY THROWS WARNING SQL0100W | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
The following sequence of commands results in SQL0100W: CREATE OR REPLACE PROCEDURE ADMIN(P1 INTEGER) SPECIFIC ADMIN BEGIN END@ CREATE OR REPLACE FUNCTION ADMIN(P1 INTEGER) SPECIFIC ADMIN RETURNS INTEGER BEGIN RETURN 1; END@ The correct result should be SQL0456N. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All DB2 Version 9.7 Fix Pack 4 and earlier servers on Linux, * * Unix, and Windows platforms issuing the CREATE OR REPLACE * * PROCEDURE/FUNCTION command. * **************************************************************** * PROBLEM DESCRIPTION: * * The following sequence of commands results in SQL0100W: * * * * CREATE OR REPLACE PROCEDURE ADMIN(P1 INTEGER) SPECIFIC * * ADMIN * * BEGIN END@ * * * * CREATE OR REPLACE FUNCTION ADMIN(P1 INTEGER) SPECIFIC * * ADMIN * * RETURNS INTEGER BEGIN RETURN 1; END@ * * * * * * * * The correct result should be SQL0456N. * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 Version 9.7 Fix Pack 5. * **************************************************************** | |
Local Fix: | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows | |
Solution | |
The problem is first fixed in DB2 Version 9.7 Fix Pack 5 and all subsequent Fix Packs. | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 27.05.2011 07.12.2011 07.12.2011 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP5 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.5 |