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 IC62212 Status: Closed

LOAD FROM CURSOR MAY CORRUPT MEMORY IF CAST TO A SHORTER COLUMN LENGTH USED
IN CURSOR DEFINITION

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
Load from the cursor may overwrite DB2 private memory and cause 
an instance trap when SQL statement in the cursor definition 
contains a CAST to a shorter length for the selected column. 
 
This problem only affect DPF env.
Problem Summary:
Problem Description: 
LOAD FROM CURSOR MAY CORRUPT MEMORY IF CAST TO A SHORTER COLUMN 
LENGTH USED IN CURSOR DEFINITION 
Problem Summary: 
Load from the cursor may overwrite DB2 private memory and cause 
an instance trap when SQL statement in the cursor definition 
contains a CAST to a shorter length for the selected column.
Local Fix:
Do not use CAST function to shorten select column length in the 
cursor definition for LOAD FROM CURSOR statement.
available fix packs:
DB2 Version 9.7 Fix Pack 1 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 2 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 4 for Linux, UNIX, and Windows
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 9a 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 10 for Linux, UNIX, and Windows

Solution
Problem is first fixed in Version 9.7 Fix Pack 1
Workaround
Do not use CAST function to shorten select column length in the 
cursor definition for LOAD FROM CURSOR statement.
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
28.07.2009
21.12.2009
21.12.2009
Problem solved at the following versions (IBM BugInfos)
9.7.FP1
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.1 FixList