IBM Support

JR44827: DATA ARE GETTING TRUNCATED WHEN FETCHING UTF-8 DATA FROM VARCHAR COLUMN ON GREENPLUM DATABASE.

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

  • Data are getting truncated when fetching UTF-8 multibyte data
    from varchar column on Server job ODBC stage on Greenplum
    database.
    

Local fix

  • N/A
    

Problem summary

  • When fetching UTF-8 multibyte data from Char and VarChar columns
    using the ODBC stage on the server canvas, truncation can occur
    on Greenplum and PostgreSQL sources.
    

Problem conclusion

  • Prevent truncation when reading and writing Char and VarChar
    column data on Greenplum and PostgreSQL by using the
    DSE_ODBC_PREVENT_TRUNCATION environment variable.  The following
    are settings are needed to avoid truncation on Greenplum,
    PostgreSQL, or both, respectively.
    
    DSE_ODBC_PREVENT_TRUNCATION=Greenplum
    DSE_ODBC_PREVENT_TRUNCATION=PostgreSQL
    DSE_ODBC_PREVENT_TRUNCATION=Greenplum:PostgreSQL
    
    The environment variable can be set for all of DataStage by
    adding it to $DSHOME/dsenv, on a project basis through the
    Administrator, or just for a particular job with the addition of
    a Before-job subroutine using ExecTCL to run
    
    ENV SET DSE_ODBC_PREVENT_TRUNCATION=<dbms name>.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR44827

  • Reported component name

    WIS DATASTAGE

  • Reported component ID

    5724Q36DS

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-11-20

  • Closed date

    2013-10-14

  • Last modified date

    2013-10-14

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

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

Fix information

  • Fixed component name

    WIS DATASTAGE

  • Fixed component ID

    5724Q36DS

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSVSEF","label":"IBM InfoSphere DataStage"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
14 October 2013