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