IBM Support

JR28917: MESSAGE TRUNCATED WHEN AFTER READING A CHAR(00) WITH THE MQ

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The MQ connector, parallel operator, is
    truncating message if it contains after
    encountering a char(00)
    

Local fix

  • Use the MQ plugin instead of the MQ operator
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Information Server 8.0.1.1 on AIX
    ****************************************************************
    PROBLEM DESCRIPTION:
    The MQ connector stage truncates text messages which have 0x00
    bytes in the data. All the messages are truncated at the first
    occurrence of 0x00 in them.
    ****************************************************************
    RECOMMENDATION:
    The patch was delivered to the customer for IS 8.0.1.1.
    Information Server 8.1 includes the fix for this problem so
    upgrading to IS 8.1 when it becomes available would also be an
    option.
    ****************************************************************
    

Problem conclusion

  • The implementation of the connector framework method that moves
    data from the connector to the engine was not handling data
    propely when it had 0x00 bytes in the data. The truncation was
    happening at the 0x00 boundaries.
    Also, the connector didn't handle case when the MQ queue
    manager failed to perform conversion of data - this was the
    case when the CCSID of the queue manager didn't match the CCSID
    of the retrieved message, the message was not of MQSTR type,
    the message data had 0x00 bytes. The connector was passing data
    to framework in this case using accessor method that assumes
    null termination, to data truncation was happening. The
    connector was fixed to handle this particular scenario and
    preserve 0x00 bytes by calling adequate accessor method on the
    connector framework.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR28917

  • Reported component name

    WIS DATASTAGE

  • Reported component ID

    5724Q36DS

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-04-09

  • Closed date

    2008-08-01

  • Last modified date

    2008-08-01

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

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

Modules/Macros

  • CONNECT
    

Fix information

  • Fixed component name

    WIS DATASTAGE

  • Fixed component ID

    5724Q36DS

Applicable component levels

  • R800 PSN

       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.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
01 August 2008