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

Consecutive calls to DBMS_OUTPUT.GET_LINES() skips a line in between each
call

product:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problem description:
When DBMS_OUTPUT.GET_LINES is called consecutively, a line is 
skipped in between each call.  The following is a repro scenario 
of the issue: 
 
CALL  DBMS_OUTPUT.PUT_LINE('1'); 
CALL  DBMS_OUTPUT.PUT_LINE('2'); 
CALL  DBMS_OUTPUT.PUT_LINE('3'); 
CALL  DBMS_OUTPUT.PUT_LINE('4'); 
CALL  DBMS_OUTPUT.PUT_LINE('5'); 
CALL  DBMS_OUTPUT.PUT_LINE('6'); 
CALL  DBMS_OUTPUT.PUT_LINE('7'); 
CALL  DBMS_OUTPUT.PUT_LINE('8'); 
 
call dbms_output.get_lines(?, 2): 
1 
2 
 
--skips 3 
call dbms_output.get_lines(?, 2): 
4 
5 
 
-- skips 6 
call dbms_output.get_lines(?, 2) 
7 
8
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 v9.7 Fixpack 7                                * 
****************************************************************
Local Fix:
n/a
available fix packs:
DB2 Version 10.1 Fix Pack 2 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 6 for Linux, UNIX, and Windows

Solution
First fixed in DB2 v9.7 Fixpack 7
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
14.06.2012
24.10.2012
24.10.2012
Problem solved at the following versions (IBM BugInfos)
9.7.FP7
Problem solved according to the fixlist(s) of the following version(s)
10.1.0.2 FixList
10.5.0.2 FixList