IBM Support

JR35262: INFORMIX WRAPPER: RTRIM NOT PUSHDOWN

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DESCRIPTION:
    If you use RTRIM in queries to for Informix nicknames, the RTRIM
    can not be pushdown.
    For example, for the following query:
    SELECT * FROM informix_nickname where RTRIM(col) ='string'
    The predicate "RTRIM(col) ='string' " won't be pushdown
    
    This is because RTRIM used stands for SYSIBM.RTRIM , however
    there is no default function mapping defined in Informix wrapper
    for SYSIBM.RTRIM.
    

Local fix

  • There are 2 options to workaround the problem:
    1. use SYSFUN.RTRIM instead of RTRIM
    SELECT * FROM informix_nickname where SYSFUN.RTRIM(col)
    ='string'
    
    2. create function mapping for SYSIBM.RTRIM
    For example:
    CREATE FUNCTION MAPPING MY_INFORMIX_FUN1 FOR SYSIBM.RTRIM ( CHAR
    ) SERVER TYPE INFORMIX OPTIONS (REMOTE_NAME 'RTRIM')
    SELECT * FROM informix_nickname where RTRIM(col) ='string'
    

Problem summary

  • Users affected:
       Users of the Informix wrapper in the DB2 for LUW Homogeneous
    Federation Feature or InfoSphere Federation Server
    Problem description and summary:
       See error description.
    

Problem conclusion

  • Problem was first fixed in Version 9.1 FixPak 9 (s100326 ). This
    fix should be applied on the federation server.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR35262

  • Reported component name

    INFORMIX WRAPPE

  • Reported component ID

    5724N9710

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-01-05

  • Closed date

    2010-04-14

  • Last modified date

    2010-04-14

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

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

    JR35263 JR35264

Fix information

  • Fixed component name

    INFORMIX WRAPPE

  • Fixed component ID

    5724N9710

Applicable component levels

  • R910 PSN

       UP

  • R911 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCAVPK","label":"Data Sources and Wrappers - Informix"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
14 April 2010