ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Finding which processes locking on a queue?

Post new topic  Reply to topic
 Finding which processes locking on a queue? « View previous topic :: View next topic » 
Author Message
mikeHT
PostPosted: Fri Jan 13, 2006 12:58 pm    Post subject: Finding which processes locking on a queue? Reply with quote

Voyager

Joined: 01 Jul 2005
Posts: 82

How to find which processes locking on a queue?
Process might not have committed the message being put to queue? Thanks
runmqsc SVR3
5724-B41 (C) Copyright IBM Corp. 1994, 2002. ALL RIGHTS RESERVED.
Starting MQSC for queue manager NSGA01_SVR3.


dis ql(NSG*) curdepth
1 : dis ql(NSG*) curdepth
AMQ8409: Display Queue details.
QUEUE(Q.05) CURDEPTH(13)
end
2 : end
One MQSC command read.
No commands have a syntax error.
All valid MQSC commands were processed.
>amqsbcg Q.05 SVR3 |more
AMQSBCG0 - starts here
**********************

MQOPEN - 'Q.05'



No more messages
MQCLOSE
MQDISC
>runmqsc SVR3
5724-B41 (C) Copyright IBM Corp. 1994, 2002. ALL RIGHTS RESERVED.
Starting MQSC for queue manager NSGA01_SVR3.


dis qs(Q.05)
1 : dis qs(Q.05)
AMQ8450: Display queue status details.
QUEUE(Q.05) IPPROCS(1)
OPPROCS(4) CURDEPTH(13)
UNCOM(YES)
Back to top
View user's profile Send private message
wschutz
PostPosted: Fri Jan 13, 2006 1:02 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

for joy, try:
Code:
dis qs(Q.05) type(handle)

_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
mikeHT
PostPosted: Fri Jan 13, 2006 1:32 pm    Post subject: Reply with quote

Voyager

Joined: 01 Jul 2005
Posts: 82

dis qs(Q.05) type(handle)
1 : dis qs(NSG.05) type(handle)
AMQ8450: Display queue status details.
QUEUE(Q.05)
AMQ8450: Display queue status details.
QUEUE(Q.05)
AMQ8450: Display queue status details.
QUEUE(Q.05)
AMQ8450: Display queue status details.
QUEUE(Q.05)

All the 16 messages are processed, now the queue depth for Q.05 is 0

Could I use something like:
rsvmqtrn -m MY_QMGR -a
to force commit the uncommitted message? Thanks Wayne.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Jan 13, 2006 2:29 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

wschutz wrote:
for joy, try:
Code:
dis qs(Q.05) type(handle)


I'm pretty sure you meant
Code:
dis qs(Q.05) type(handle) all

_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Finding which processes locking on a queue?
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.