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 Discussion » MQ Query

Post new topic  Reply to topic
 MQ Query « View previous topic :: View next topic » 
Author Message
udayarveti
PostPosted: Wed Oct 12, 2011 2:05 pm    Post subject: MQ Query Reply with quote

Novice

Joined: 08 Jul 2011
Posts: 15

Hi ,

I am having an issue with one of the replace commands for alias queue definitions...

Recently I tried to replace an alias queues base queue name with a new queue name but I was getting an error saying queue is already in use...
To brief U about the issue:

Existing queue definition : Alias Queue name : X
Base queue name : Y

A message flow was listening to this alias queue X .....

So I tried to change the base queue of X from Y to Z but when I tried to replace it, it is giving me an error saying "MQ Object is already in use"...

And same base queue is being used by some other alias queue as well which is listened by other message flow...

So I am not able to change the base queue of alias....

Could anyone of you please let me know what is the exact issue in here ???
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Oct 12, 2011 2:47 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

The issue is exactly as described in your post - the object (the qalias) is currently in use by some application(s).

Briefly stop the application(s) using the QAlias definition, ALTER the TARGQ attribute, then re-start the application.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
udayarveti
PostPosted: Thu Oct 13, 2011 1:55 pm    Post subject: Reply with quote

Novice

Joined: 08 Jul 2011
Posts: 15

Thanks Mr.Bruce......

Without the way you have suggested is there any other way to do it??
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Oct 13, 2011 2:00 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

You might want to try with the WMQ Explorer. I seem to recall that it gives a warning about currently running applications.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Thu Oct 13, 2011 4:48 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

udayarveti wrote:
Thanks Mr.Bruce......

Without the way you have suggested is there any other way to do it??


Use the FORCE option on the ALTER command when changing the Alias queue.

Then hope the application is well written enough to re open the queue automatically the next time it uses it and gets an "Object Changed" MQ Reason Code. Or you can just restart the app to force it to reopen the queue after you changed it.
_________________
Peter Potkay
Keep Calm and MQ On
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 Discussion » MQ Query
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.