IBM Support

PH64276: MQSTAT CALL RETURNS RESULTS OF EARLIER MQI CALLS EVEN AFTER PREVIOUS CONNECTION HAS ALREADY ENDED

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • MQSTAT is expected to retrieve status information for the first
    recorded asynchronous warning or error information for the
    current connection. In this case, information is returned for
    warnings or errors from a previous connection.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of IBM MQ for z/OS Version 9       *
    *                 Release 3 Modification 0, and                *
    *                 Release 4 Modification 0                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: MQSTAT included statistics information  *
    *                      from previous connections, resulting in *
    *                      the wrong information being returned    *
    *                      for PutSuccessCount, PutWarningCount    *
    *                      and PutFailureCount.                    *
    ****************************************************************
    * RECOMMENDATION: During disconnect processing, the            *
    *                 asynchronous statistics block was not        *
    *                 cleared or freed, resulting in stats being   *
    *                 carried over to future connections.          *
    ****************************************************************
    

Problem conclusion

  • The code has been corrected so that when client applications
    disconnect, the statistics block is freed ensuring the data is
    not reused in future connections.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH64276

  • Reported component name

    IBM MQ Z/OS V9

  • Reported component ID

    5655MQ900

  • Reported release

    300

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-11-21

  • Closed date

    2025-05-12

  • Last modified date

    2025-07-02

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

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

    UO03148 UO03149

Modules/Macros

  • CSQMCETH
    

Fix information

  • Fixed component name

    IBM MQ Z/OS V9

  • Fixed component ID

    5655MQ900

Applicable component levels

  • R300 PSY UO03149

       UP25/06/11 P F506

  • R400 PSY UO03148

       UP25/06/11 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":"BU048","label":"IBM Software"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"300","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Document Information

Modified date:
02 July 2025