IBM Support

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

Subscribe

You can track all active APARs for this component.

 

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

  • RB10 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
04 May 2022