DB2 - Problem description
| Problem IC91318 | Status: Closed |
Error when CLPPlus performs environment variable substitution for SQL statement that includes % character | |
| product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
| Problem description: | |
When executing a SQL statement that includes a % character,
CLPPlus is not escaping these characters even when the escape
character ('\') is placed before them.
As a result, the following error is dumped:
"The statement is too long or too complex. Current SQL statement
size is #. ERRORCODE=-101, SQLSTATE=54001" | |
| Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description. * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 v9.7 FP9 * **************************************************************** | |
| Local Fix: | |
set ENVVARSUBSTITUTION OFF | |
| available fix packs: | |
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows | |
| Solution | |
Fixed in DB2 v9.7 FP9 | |
| Workaround | |
not known / see Local fix | |
| BUG-Tracking | |
forerunner : APAR is sysrouted TO one or more of the following: IC91407 IC95510 follow-up : | |
| Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 03.04.2013 17.12.2013 17.12.2013 |
| Problem solved at the following versions (IBM BugInfos) | |
9.7.FP9 | |
| Problem solved according to the fixlist(s) of the following version(s) | |
| 9.7.0.9 |
|
| 9.7.0.9 |
|