Neueste VersionenFixList
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
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IC98910 Status: Geschlossen

A VALUE ASSIGNMENT FROM ARRAY OF ROW DATA TYPE TO ROW DATA TYPE MIGHT CAUSE
AN INSTANCE CRASH.

Produkt:
DB2 FOR LUW / DB2FORLUW / A50 - DB2
Problembeschreibung:
A value assignment from array of row data type to row data type 
might cause an instance crash. 
The stack trace shows function stack like as follows: 
 
getTargetVar 
psm_gen_assignment 
psm_gen_array_assignment 
sqlnq_psm_process_set_stmt 
sqlnq_psm_sem_act 
sqlnp_smactn 
sqlnp_parser 
sqlnp_main 
 
This issue can come up if all the following conditions are met. 
 
- An SQL routine contains an assignment to an unsubscripted row 
type variable field. 
- The row type variable must be a global variable, or a module 
variable (PL/SQL package variable). 
- The right-hand side of the assignment must contain an array 
subscript. 
 
A script like below illustrates how this problem is produced. 
--------------------------- 
create or replace module M1 
/ 
alter module M1 publish 
  type TYP1 as row( 
     C1  varchar(10) 
  ) 
/ 
alter module M1 publish 
  type TYP1ARRY as typ1 array[integer] 
/ 
alter module M1 publish 
  variable TYP1VAR typ1 
/ 
alter module M1 publish procedure P1 
( 
  in t1arr typ1arry 
) 
modifies SQL data 
language SQL 
begin 
  set typ1var.c1 = t1arr[1].c1; -- 
  -- this assignment may cause a crash. 
end 
/ 
---------------------------
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* Users who use value assignment described in the APAR test.   * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Please upgrade to DB2 V10.5 FixPack 4 or later.              * 
****************************************************************
Local-Fix:
A temporary local variable can be used to bypass the condition.
verfügbare FixPacks:
DB2 Cancun Release 10.5.0.4 (also known as Fix Pack 4) for Linux, UNIX, and Windows
DB2 Version 10.5 Fix Pack 9 for Linux, UNIX, and Windows

Lösung
This problem was first fixed in DB2 V10.5 FixPack 4.
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
22.01.2014
15.09.2014
15.09.2014
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
10.5.0.4 FixList