Author |
Message
|
nethaji |
Posted: Fri Jan 03, 2003 11:57 am Post subject: clear transmission queue |
|
|
 Apprentice
Joined: 23 Jul 2001 Posts: 26 Location: Virginia
|
Hi,
I want to delete a message from a transmission (xmit) queue. Can some one tell me how to clear a transmission queue? I tried reseting the channel, resovle with back out... But nothing worked out. I will not be able to do anything on the receiver side channel. Can some one guide me why this is happening? and what can be done for this? The channel starts normally.
-Subash Srinivasan. |
|
Back to top |
|
 |
rjl_state |
Posted: Fri Jan 03, 2003 12:25 pm Post subject: |
|
|
 Apprentice
Joined: 04 Oct 2002 Posts: 48 Location: Des Moines, IA
|
If you get the opens off of the xmit queue (stop the channel), you should be able to do the clear qlocal command in runmqsc. |
|
Back to top |
|
 |
vennela |
Posted: Fri Jan 03, 2003 12:26 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
When you stop the channel, do a display on the transmission queue. If the opprocs is not 0 then you may not be able to clear the queue. Once you have the opprocs/ipprocs cleared you should be able to clear the queue. Look out for any hanging processes related to channel and kill them.
What platform and mq version are you talking about?
---
Venny |
|
Back to top |
|
 |
nethaji |
Posted: Fri Jan 03, 2003 12:38 pm Post subject: |
|
|
 Apprentice
Joined: 23 Jul 2001 Posts: 26 Location: Virginia
|
Hi thanks for the reply.
When the channel is running the input use count is 1 and output use count is 1 and the uncommited message is Y. When I stopped the channel the input use count and output use count becomes 0 and the uncommited remains as Y. I tried clearing the queue at this time... I got a message queue HAS INCOMPLETE UNITS OF RECOVER.
Platform is mainframe s/390 and MQ version is 5.2. |
|
Back to top |
|
 |
bduncan |
Posted: Sat Jan 04, 2003 9:56 am Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
Well, if there is a message in the transmission queue which is part of an uncommitted unit of work, you need to figure out which application has failed to commit the unit of work. Closing the application should force the queue manager to commit or rollback the unit of work. If there are no applications running, then you may need to restart the queue manager in order to get the message off the transmission queue.
Just to point out, you can actually retrieve messages from the transmission queue if you alter the transmission queue definition and make GET(enabled). But again, this will only work with messages that aren't part of an uncommitted unit of work... _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
Back to top |
|
 |
|