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

INCORRECT OUTPUT FROM CLPPLUS WHEN SUBSTITUTION CHARACTER "&"
PRECEDED BY "O"

product:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problem description:
CLPPlus may behave erratically when the substitution character 
"&" immediately follows a capital "O". Depending upon the usage 
it may report a syntax error, or generate incorrect output. For 
example: 
 
SQL> DEFINE SYS_DATE=20121012 
 
SQL> show escape 
escape OFF 
 
SQL> spool SERVICEINFO&&SYS_DATE..txt 
 
SQL> select 1 from dual; 
 
          1 
----------- 
          1 
 
SQL> spool off; 
 
SQL> host dir SERVICE* 
 Volume in drive D is Data 
 Volume Serial Number is 18D0-8D0B 
 
 Directory of D:\ 
 
10/30/2012  01:09 PM                51 SERVICEINF&20121012.txt 
 
 
Note the above filename. The commands should create 
'SERVICEINFO20121012.txt'
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All CLPPlus users                                            * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Apply DB2 10.1 FP3                                           * 
****************************************************************
Local Fix:
Modify your CLPPlus commands so that '&' does not immediately 
follow 'O'
available fix packs:
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
Problem first fixed in DB2 10.1 FP3
Workaround
Modify your CLPPlus commands so that '&' does not immediately 
follow 'O'
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
03.04.2013
01.10.2013
01.10.2013
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.1.0.3 FixList
10.1.0.3 FixList