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 IBM MQ Support » How to create a Queue with dyname name?

Post new topic  Reply to topic
 How to create a Queue with dyname name? « View previous topic :: View next topic » 
Author Message
sslowell1234
PostPosted: Tue Mar 19, 2002 6:55 am    Post subject: Reply with quote

Newbie

Joined: 17 Mar 2002
Posts: 4

Hi,
I want to create a Queue dynamically so that we can change the Queue name whenever we need. Is there anyway any help is appreciated.

Thanks
Back to top
View user's profile Send private message
mrlinux
PostPosted: Tue Mar 19, 2002 7:26 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

If you dont require a specific name for the queues,
You can use the MQOPEN call and specify the SYSTEM.DEFAULT.MODEL.QUEUE and it will return a queue name that is random based on date/time and something else
it will be basically AMQ.XXXXXXXXXXXXXX

Example AMQ.3C935DA300A3B012

_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
mqonnet
PostPosted: Tue Mar 19, 2002 7:37 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

Not Quite sure what you mean by your question.

--I want to create a Queue dynamically.
Answered already.

--so that we can change the Queue name whenever we need. Is there anyway.
As far as i know, Queue names cannot be changed once they are created. The only way is to recreate them with different names. What you could do is, create the new queue "as" the old one, and hence have a new name.

Cheers.
Kumar


_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » How to create a Queue with dyname name?
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.