IBM Support

SE61030: WEBSPHERE MQ: PCF MESSAGES END UP ON THE DLQ WITH REASON 2052 (MQRC_Q_DELETED).

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If an application, using pcf (Programmable Command Formats)
    messages, sends a command which fails, the command server will
    reply with several messages.
    For instance, you want to display queue status for a
    non-existing queue.
    There is an error internally in MQ when setting MQCFH.Control
    and as a result the last two reply messages have MQCFC_LAST
    values.
    
    The application checks the value of MQCFH.Control = MQCFC_LAST
    to know it is the last reply message.
    If the reply queue is a temporary queue and if the application
    closes the queue when the first MQCFH.Control = MQCFC_LAST is
    received, the final message ends on the dead letter queue with
    reason MQRC_Q_DELETED (the temporary queue was deleted when it
    was closed).
    
    If the application doesn't close the temporary reply queue, the
    final message ends on the reply queue but if the application
    uses the reply queue for another pcf command, the application
    logic could be affected.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    WMQ users using MQAI MQCMD_ESCAPE to display queue status of
    non-existing queue with wildcard character
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    WMQ users using MQAI MQCMD_ESCAPE to display queue status of
    non-existing queue with wildcard character, there would be 2
    reply messages with MQCFC_LAST.
    The application checks the value of MQCFH.Control = MQCFC_LAST
    to know it is the last reply message.
    If the reply queue is a temporary queue and if the application
    closes the queue when the first MQCFH.Control = MQCFC_LAST is
    received, the final message ends on the dead letter queue with
    reason MQRC_Q_DELETED (the temporary queue was deleted when it
    was closed).
    

Problem conclusion

  • The function code to reply MQRCCF_Q_STATUS_NOT_FOUND message in
    right condition with wildcard character. MQ code has been
    modified to reply MQRCCF_Q_STATUS_NOT_FOUND message properly.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v7.0       7.0.1.14
    v7.1       7.1.0.7
    v7.5       7.5.0.6
    v8.0       8.0.0.3
    
    The latest available maintenance can be obtained from
    'WebSphere MQ Recommended Fixes'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006037
    
    If the maintenance level is not yet available information on
    its planned availability can be found in 'WebSphere MQ
    Planned Maintenance Release Dates'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006309
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    SE61030

  • Reported component name

    WMQ ISERIES V7

  • Reported component ID

    5724H7226

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-01-09

  • Closed date

    2015-02-12

  • Last modified date

    2015-08-05

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

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

Modules/Macros

  • RCHMGR
    

Fix information

  • Fixed component name

    WMQ ISERIES V7

  • Fixed component ID

    5724H7226

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCPQ63","label":"APAR \/ Maintenance"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
27 April 2020