IBM Support

IC95510: Error when CLPPlus performs environment variable substitution for SQL statement that includes % character

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as fixed if next.

Error 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"
    

Local fix

  • set ENVVARSUBSTITUTION OFF
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Error when CLPPlus performs environment variable             *
    * substitution for SQL statement that includes % character     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to db2_v105fp3.                                      *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IC95510

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    A50

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-08-27

  • Closed date

    2014-09-09

  • Last modified date

    2014-09-09

  • APAR is sysrouted FROM one or more of the following:

    IC91318

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

  • RA50 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 10.5

Reference #: IC95510

Modified date: 09 September 2014