IBM Support

PI24953: WMQ Z/OS V7: MQGET with conversion and accepting truncated messages returns an incorrect value in DataLength.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • MQGET with MQGMO_CONVERT and MQGMO_ACCEPT_TRUNCATED_MSG returns
    in DataLength an incorrect value (35 bytes) with MQRC 2079
    although the expected length is the unconverted message length (
    34 bytes in the customer's case).
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of WebSphere MQ Version 7          *
    *                 Release 0 Modification 1 and                 *
    *                 Release 1 Modification 0.                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: An application getting messages using   *
    *                      MQGMO_CONVERT and                       *
    *                      MQGMO_ACCEPT_TRUNCATED_MSG to convert   *
    *                      messages between code pages that result *
    *                      in an increase of the size of the       *
    *                      converted message, receive an incorrect *
    *                      DataLength value when the buffer is not *
    *                      large enough to contain the converted   *
    *                      message.                                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    CSQAVICD or CSQAVD64 returns a DataLength value set to the
    length of the converted message that could be stored in the
    buffer rather than the length of the unconverted message.
    

Problem conclusion

  • CSQAVICD or CSQAVD64 returns the length of the unconverted
    message when the converted message is truncated.
    
    This fix is applicable to Batch, IMS and CICS applications.
    010Y
    100Y
    CMQXRSRV
    CSQAVD64
    CSQAVICD
    CSQXADPM
    CSQXRSTM
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI24953

  • Reported component name

    WMQ Z/OS V7

  • Reported component ID

    5655R3600

  • Reported release

    010

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-09-02

  • Closed date

    2015-04-28

  • Last modified date

    2015-07-01

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

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

    PI30704 UI25511 UI25512

Modules/Macros

  • CMQXRSRV CSQAVD64 CSQAVICD CSQXADPM CSQXRSTM
    

Fix information

  • Fixed component name

    WMQ Z/OS V7

  • Fixed component ID

    5655R3600

Applicable component levels

  • R010 PSY UI25511

       UP15/06/03 P F506

  • R100 PSY UI25512

       UP15/06/03 P F506

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
01 July 2015