A fix is available
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 IBM MQ for z/OS Version 9 * * 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. * **************************************************************** 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.
Temporary fix
Comments
APAR Information
APAR number
PI79773
Reported component name
MQ Z/OS V9
Reported component ID
5655MQ900
Reported release
000
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2017-04-11
Closed date
2017-04-20
Last modified date
2017-06-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI46575
Modules/Macros
CSQMCLS2
Fix information
Fixed component name
MQ Z/OS V9
Fixed component ID
5655MQ900
Applicable component levels
R000 PSY UI46575
UP17/05/19 P F705
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":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
02 June 2017