DB2 - Problem description
Problem IC91407 | Status: Closed |
Error when CLPPlus performs environment variable substitution for SQL statement that includes % character | |
product: | |
DB2 FOR LUW / DB2FORLUW / A10 - 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_v101fp4. * **************************************************************** | |
Local Fix: | |
set ENVVARSUBSTITUTION OFF | |
available fix packs: | |
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows | |
Solution | |
Problem fixed in DB2 v10.1 FP3 | |
Workaround | |
set ENVVARSUBSTITUTION OFF | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 08.04.2013 03.06.2014 03.06.2014 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) | |
10.1.0.4 |