home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
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 IC72331 Status: Closed

SQL0727N SYSTEM ACTION TYPE "7" AND IMPLICIT SQLCODE -549 CAN
OCCUR WHEN A TRIGGER IS REGENERATED FROM WITHIN A PACKAGE

product:
DB2 FOR LUW / DB2FORLUW / 910 - DB2
Problem description:
After altering the size of a table, which is used by a trigger, 
SQL0727N error occurs when a trigger is regenerated from within 
a package bound with DYNAMICRULES where the value RUN is not 
used. 
 
Example scenario: 
 
 
1. Create 2 tables TABLE1 and TABLE2. 
 
2. Create a trigger on TABLE1, which inserts a record into 
TABLE2. 
3. Bind the static SQL package which contains the SQL which 
activates the trigger. 
 
 
4. ALTER TABLE2 to increase the size of a the column of TABLE2 - 
 
this invalidates the trigger and the package 
5. Execute the SQL which belongs to the package.  SQL0727N error 
occurs. 
 
6. Rebind the package with dynamicrules bind option.  SQL0727N 
error occurs. 
 
SQL0727N  An error occurred during implicit system action type 
"7".  Information returned for the error includes SQLCODE 
"-549", SQLSTATE "42509" and message tokens "create|package|TEST 
|package".  SQLSTATE=56098
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* After altering the size of a table, which is used by a       * 
* trigger,                                                     * 
* SQL0727N error occurs when a trigger is regenerated from     * 
* within                                                       * 
* a package bound with DYNAMICRULES where the value RUN is not * 
*                                                              * 
* used.                                                        * 
*                                                              * 
* Example scenario:                                            * 
*                                                              * 
* 1. Create 2 tables TABLE1 and TABLE2.                        * 
*                                                              * 
*                                                              * 
*                                                              * 
* 2. Create a trigger on TABLE1, which inserts a record into   * 
*                                                              * 
* TABLE2.                                                      * 
*                                                              * 
* 3. Bind the static SQL package which contains the SQL which  * 
*                                                              * 
* activates the trigger.                                       * 
*                                                              * 
*                                                              * 
*                                                              * 
* 4. ALTER TABLE2 to increase the size of a the column of      * 
* TABLE2 -                                                     * 
* this invalidates the trigger and the package                 * 
*                                                              * 
*                                                              * 
* 5. Execute the SQL which belongs to the package.  SQL0727N   * 
* error                                                        * 
* occurs.                                                      * 
*                                                              * 
*                                                              * 
*                                                              * 
* 6. Rebind the package with dynamicrules bind option.         * 
* SQL0727N                                                     * 
* error occurs.                                                * 
*                                                              * 
*                                                              * 
*                                                              * 
* SQL0727N  An error occurred during implicit system action    * 
* type                                                         * 
* "7".  Information returned for the error includes SQLCODE    * 
*                                                              * 
* "-549", SQLSTATE "42509" and message tokens                  * 
* "create|package|TEST                                         * 
* |package".  SQLSTATE=56098                                   * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Apply the DB2 V9.1 Fix Pack 10 to the server.                * 
****************************************************************
Local Fix:
available fix packs:
DB2 Version 9.1 Fix Pack 10  for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 11  for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 12  for Linux, UNIX and Windows

Solution
This was first fixed in V91 FP10.
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
01.11.2010
16.06.2011
16.06.2011
Problem solved at the following versions (IBM BugInfos)
9.1.FP10
Problem solved according to the fixlist(s) of the following version(s)
9.1.0.10 FixList