Fixes are available
APAR status
Closed as program error.
Error 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.
Local fix
Do not use CAST function to shorten select column length in the cursor definition for LOAD FROM CURSOR statement.
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.
Problem conclusion
Problem is first fixed in DB2 Version 9.1 Fix Pack 9
Temporary fix
Do not use CAST function to shorten select column length in the cursor definition for LOAD FROM CURSOR statement.
Comments
APAR Information
APAR number
LI74783
Reported component name
DB2 UDE ESE LIN
Reported component ID
5765F4104
Reported release
910
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2009-07-31
Closed date
2010-04-12
Last modified date
2010-04-12
APAR is sysrouted FROM one or more of the following:
IC62212
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
DB2 UDE ESE LIN
Fixed component ID
5765F4104
Applicable component levels
R910 PSY
UP
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"910","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
17 October 2021