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 | |
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 |