IBM Support

PI76541: PERMANENT DYNAMIC QUEUES DEFINED WITH DEFTYPE(SHAREDYN) ARE DELETED AFTER THE QUEUE IS CLOSED.

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Customer is working with Pub/Sub and he has created a Topic and
    has defined as Durable Model Queue the a model queue created by
    with DEFTYPE(SHAREDYN). WMQ manuals points the behavior for
    this type of dynamic queues is the same than Permanent Dynamic
    queues, this is, the queue is not deleted when the application
    close the queue.
    
     But  he has noted permanent dynamic queues created (named
    SYSTEM.MANAGED.DURABLE.XXXXXX) are deleted after the application
    closed the queue. If customer tries to open again the queue, a
    MQRC=2522 (MQRC_INVALID_DESTINATION) is issued. It means the
    MQSUB call used MQSO_CREATE, MQSO_MANAGED and MQSO_DURABLE and
    the model queue referred to by MDURMDL on the administrative
    topic node does not exist, or has been defined with a DEFTYPE
    of TEMPDYN.
    
     If customer change the DEFTYPE to PERMDYN, the queue is not
    deleted and it can be opened again when the application do a
    resume to get the subscription that still remains in the queue.
    This means the problem is not in the application, but in the
    SHAREDYN definition in the queue.
    

Local fix

  • No Local Fix
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of WebSphere MQ for z/OS Version 8 *
    *                 Release 0 Modification 0.                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: Shared dynamic queues, defined with     *
    *                      DEFTYPE(SHAREDYN), may be deleted when  *
    *                      the queue is closed. When a subscriber  *
    *                      reconnects to resume a subscription     *
    *                      it will fail with MQRC 2522,            *
    *                      MQRC_INVALID_DESTINATION.               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When a TOPIC with MDURMDL is set to the name of a QMODEL with
    DEFTYPE SHAREDYN, a managed shared dynamic queue is created
    when a durable subscription is made. However, when the
    subscriber disconnects, the shared dynamic queue is incorrectly
    deleted. When the subscriber reconnects to resume the
    subscription, MQSUB fails with MQRC 2522,
    MQRC_INVALID_DESTINATION.
    

Problem conclusion

  • The code that determines whether the managed queue should be
    deleted has been changed to correctly process shared dynamic
    queues.
    000Y
    CSQMCLS2
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI76541

  • Reported component name

    WMQ Z/OS 8

  • Reported component ID

    5655W9700

  • Reported release

    000

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-02-14

  • Closed date

    2017-04-20

  • Last modified date

    2017-07-05

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

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

    PI79773 UI46574

Modules/Macros

  • CSQMCLS2
    

Fix information

  • Fixed component name

    WMQ Z/OS 8

  • Fixed component ID

    5655W9700

Applicable component levels

  • R000 PSY UI46574

       UP17/06/06 P F706

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.



Document information

More support for: IBM MQ

Software version: 8.0

Reference #: PI76541

Modified date: 05 July 2017


Translate this page: