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 » General WebSphere MQ Support » Avoid error: Completion code2 Reason code 2016 when browsing

Post new topic  Reply to topic
 Avoid error: Completion code2 Reason code 2016 when browsing « View previous topic :: View next topic » 
Author Message
thimerion
PostPosted: Thu Dec 18, 2008 4:44 am    Post subject: Avoid error: Completion code2 Reason code 2016 when browsing Reply with quote

Acolyte

Joined: 08 May 2007
Posts: 67
Location: Belgium

Hi,

When running my java program, which only browses the last message of a transmission queue to check it's age I now and then get:

MQ error: Completion code 2 Reason code 2016

I don't understand why the get sometimes is inhibited, I only want to browse the object, so why is it locked? ...

Any ideas to fix this.

Tim
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Dec 18, 2008 4:49 am    Post subject: Re: Avoid error: Completion code2 Reason code 2016 when brow Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 21081
Location: Ohio, USA

thimerion wrote:
which only browses the last message of a transmission queue


There shouldn't be anything on a transmission queue for more than a few seconds! Check the depth not the age; if it's not zero check the channel status is RUNNING.

thimerion wrote:
I don't understand why the get sometimes is inhibited, I only want to browse the object, so why is it locked? ...


Working as designed.

thimerion wrote:
Any ideas to fix this.


As above.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Thu Dec 18, 2008 6:39 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1715

If a channel is not in running state, the transmission queue is get-disabled by the mca. As the browse is also a nondestructive get, that get disable also affects the browse. If - for whatever reason - you have to look at the messages in the xmitq for a non running channel, then you have to alter the xmitq first to make it get enabled.
_________________
Regards, Butcher
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 » General WebSphere MQ Support » Avoid error: Completion code2 Reason code 2016 when browsing
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.