IBM Support

IT28270: LPAD, RPAD or REPLACE may result in SQLCODE -901 when source-string references a column-organized table column

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Columnar query execution involving the LPAD, RPAD or REPLACE
    builtin
    functions
    may fail with SQLCODE -901 and one of the following reason
    codes:
    
    - unexpected error at GetJoinPayloadEvaluator.cpp:136
    - unexpected error at MinMaxPartialEvaluator.cpp:98
    
    This can happen when the source-string (i.e. first argument)
    references a column-organized table column and either:
    
    - at least one argument is a variable
    - at least one argument is a constant and the statement
    concentrator is enabled
    

Local fix

  • If any argument s a constant and the statement
    concentrator is enabled, try disabling it.  Otherwise, avoid
    using the function.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * upgrade to Mod 4 Fix Pack 6                                  *
    ****************************************************************
    

Problem conclusion

  • upgrade to Mod 4 Fix Pack 6
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT28270

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-03-01

  • Closed date

    2021-03-31

  • Last modified date

    2021-03-31

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

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

    IT35059

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1"}]

Document Information

Modified date:
01 April 2021