IBM Support

PI14254: A PUT TO A TOPIC RETURNS MQRC_NONE INSTEAD OF MQRC_MSG_NOT_ALLOWED_IN_GROUP. THE MESSAGE GOES TO DLQ.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The customer has a CICS application that is attempting to write
    to an alias queue that was pointing to a queue. They are looking
    to convert to using a topic. When the alias is in place and a
    message is written to it, there is no message put onto any of
    the subscriptions. They do not appear to have any errors
    returned to the calling application or any violations in the
    MSTR log. When they remove the alias and put in a physical queue
    with no code changes message are written to that queue with no
    issues.
    .
    In a GTF trace of CICS and MQ during the MQPUT and the MQGET,
    the PUT receives MQRC_NONE. When the message is put, an attempt
    is made to put to each of the queues associated with these
    subscribers - C.SUB.REQ and B.SUB.REQ, however both puts fail
    with MQRC_MDE_ERROR, and the message is written to the dead
    letter queue with the MQRC in the DLH. In this instance the put
    should be failing with MQRC 2417 (MQRC_MSG_NOT_ALLOWED_IN_GROUP)
    to report this, rather than failing to deliver messages with
    MQRC_MDE_ERROR.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of WebSphere MQ for z/OS Version 7 *
    *                 Release 1 Modification 0.                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: When a message with values entered in   *
    *                      the MsgFlags field is put to a pub/sub  *
    *                      topic an MQRC_MDE_ERROR 2248 is         *
    *                      returned and the message is put to the  *
    *                      dead letter queue.                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Message groups are not supported with pub/sub. If a message is
    put to a topic with MsgFlags an MQRC_MSG_NOT_ALLOWED_IN_GROUP
    2417 should be returned.  Instead, an MQRC_MDE_ERROR 2248 is
    erroneously returned and the message put to the dead letter
    queue.
    

Problem conclusion

  • The code was changed to return an MQRC2417 error when a message
    is put to a pub/sub with message group flags.
    100Y
    CSQMTPUV
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI14254

  • Reported component name

    WMQ Z/OS V7

  • Reported component ID

    5655R3600

  • Reported release

    100

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-03-21

  • Closed date

    2014-04-16

  • Last modified date

    2014-06-03

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

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

    UI17109

Modules/Macros

  • CSQMTPUV
    

Fix information

  • Fixed component name

    WMQ Z/OS V7

  • Fixed component ID

    5655R3600

Applicable component levels

  • R100 PSY UI17109

       UP14/05/17 P F405

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.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
03 June 2014