Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

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
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 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 FixList
This site uses cookies to make it easier for us to provide you with our services. By using our site you agree to the use of cookies.