IBM Support

IC91318: 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 program error.

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:                                              *
    * All                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description.                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 v9.7 FP9                                      *
    ****************************************************************
    

Problem conclusion

  • Fixed in DB2 v9.7 FP9
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC91318

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-04-03

  • Closed date

    2013-12-17

  • Last modified date

    2013-12-17

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

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

    IC91407 IC95510

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP

  • R980 PSN

       UP

  • RA10 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC91318

Modified date: 17 December 2013