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

Input a non-existing big column number in .db2toprc or "c - Change
columns order" during interactive mode can trap db2top

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
When putting a big column number in db2top configuration file, 
.db2toprc. such as following example: 
$cat .db2toprc 
sessions=201012,10 
 
or input a big column number for "c - Change columns order" 
during interactive mode, such as following example: 
sessions= 
Enter new columns order for sessions: 201012,10 
 
Those numbers are column number on db2top displaying screen. The 
large numbers (i.e  201012 ) is bigger than the biggest column 
number on Session screen: 40. 
 
As a result, for the above example, when pressing 'l' for 
Session screen, db2top traps with following StackTrace or 
similar: 
 
<StackTrace> 
-------Frame------ ------Function + Offset------ 
0x090000000001B800 strlen + 0x0 
0x0000000100014668 compute_width + 0x228 
0x0000000100014960 build_col_list + 0x1C0 
0x00000001000151F8 display_header + 0x98 
0x00000001000344F8 sess_header + 0x1518 
0x0000000100038DD8 do_top + 0x6B8 
0x0000000100001E5C do_foreground + 0x59C 
0x00000001000020C8 main + 0x128 
</StackTrace>
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* DB2 Version V9.7 Fix Pack 9 and lower                        * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 Version V9.7 Fix Pack 10                      * 
****************************************************************
Local Fix:
You should input column number less than 50 for .db2toprc or  "c 
- Change columns order" during interactive mode. 
Also for .db2toprc, another local fix is to comment out that 
configuration line in by adding a '#' at the front.
Solution
First fixed in DB2 Version 9.7 Fixpack 10
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
24.07.2014
15.12.2014
15.12.2014
Problem solved at the following versions (IBM BugInfos)
9.7.FP10
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.10 FixList