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 » Creating mulitiple queus!

Post new topic  Reply to topic
 Creating mulitiple queus! « View previous topic :: View next topic » 
Author Message
Hanuman
PostPosted: Tue Sep 12, 2006 9:46 am    Post subject: Creating mulitiple queus! Reply with quote

Voyager

Joined: 28 Aug 2006
Posts: 89

hi how to create the Queue Manager. Name it : QM_orf_qa01 and Create the following Queues on the MQ server

GEN2OSM_CPM_ALARM
GEN2OSM_CPM_CTA
GEN2OSM_TM_TSQ_ADHOC
GEN2OSM_TM_TSQ_RECEIPT
GEN2OSM_TM_TSQ_DIALUP_DATAPULL
GEN2OSM_TM_TSQ_FLOWCONTROL
GEN2OSM_TM_TSQ_AC1

CENTRAL_CPM_ALARM
CENTRAL_CPM_CTA
CENTRAL_TM_ALARM_MANAGER_QUEUE
CENTRAL_TM_TCQ_SQDATA
CENTRAL_TM_TCQ_AVMDATA
CENTRAL_TM_TCQ_CMDATA
CENTRAL_TM_TCQ_TRIPDATA

Since this are multiple queus what commands should i use any specific or just create normal as we do.

Thanks in advance...

With regards
Parag
Back to top
View user's profile Send private message
vennela
PostPosted: Tue Sep 12, 2006 10:05 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

You can do:
Create a file with lines like
define QL(q1)
define QL(q2) ...

and name it queues.txt and then do
runmqsc QM_orf_qa01 < queue.txt
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sanvij
PostPosted: Tue Sep 12, 2006 10:47 am    Post subject: Reply with quote

Novice

Joined: 21 Mar 2003
Posts: 24

If all the queue will have same characteristic you can also do this way:

For eg:

define QL(q1) +
cluster(TEST) +
DEFBIND(NOTFIXED) +
PUT(INHIBITED)

define QL(q2) +
LIKE(q1)

The Like command will replicate all the charceristic of q1. This makes your template easy to maintain when you have large of numbers of queues define
_________________
Sanvij
IBM Certified MQSeries Specialist
IBM Certified WebSphere MQ Solution Designer
Back to top
View user's profile Send private message
Hanuman
PostPosted: Tue Sep 12, 2006 8:27 pm    Post subject: creation of mutliple queues Reply with quote

Voyager

Joined: 28 Aug 2006
Posts: 89

Hi this what i plan to do as u have mention are this steps correct. pls let me know if any correction are to done.

I have prepared steps by which I would be able to create a Queue manger and multiple Queues.

Step 1: Create a default queue manager called QM_orf_qa01by entering the following command:
crtmqm -q QM_orf_qa01.queue.manager

Step 2: Create a queues.txt file where all the names of Queue are defined. here .txt file contains the list of queue.
define QL(GEN2OSM_CPM_ALARM)
define QL(GEN2OSM_CPM_CTA)
define QL(GEN2OSM_TM_TSQ_ADHOC)
define QL(GEN2OSM_TM_TSQ_RECEIPT)
define QL(GEN2OSM_TM_TSQ_DIALUP_DATAPULL)
define QL(GEN2OSM_TM_TSQ_FLOWCONTROL)
define QL(GEN2OSM_TM_TSQ_AC1)
define QL(CENTRAL_CPM_ALARM)
define QL(CENTRAL_CPM_CTA)
define QL(CENTRAL_TM_ALARM_MANAGER_QUEUE)
define QL(CENTRAL_TM_TCQ_SQDATA)
define QL(CENTRAL_TM_TCQ_AVMDATA)
define QL(CENTRAL_TM_TCQ_CMDATA)
define QL(CENTRAL_TM_TCQ_TRIPDATA)

Step 3: To start the queue manager.

strmqm QM_orf_qa01.queue.manager

Step 4 : Enable MQSC commands by typing: runmqsc
runmqsc QM_orf_qa01 < queue.txt (This will careate all the queues with manger as QM_orf_qa01)

Step 5:Stop MQSC by typing: end
end


If any more thing is required let me know

Thanks and regarads
parag
Back to top
View user's profile Send private message
Hanuman
PostPosted: Tue Sep 12, 2006 8:48 pm    Post subject: runmqsc QM_orf_qa01 < /home/mqm/queue.txt Reply with quote

Voyager

Joined: 28 Aug 2006
Posts: 89

runmqsc QM_orf_qa01 < queue.txt

Where will i save the queue.txt

Should i mention the path say

runmqsc QM_orf_qa01 < /home/mqm/queue.txt

Is this proper commnad .

Pls let me know
i stuck here...................
Back to top
View user's profile Send private message
CMF
PostPosted: Wed Sep 13, 2006 10:26 am    Post subject: Re: runmqsc QM_orf_qa01 < /home/mqm/queue.txt Reply with quote

Novice

Joined: 18 Apr 2006
Posts: 10
Location: Nashville

Parag wrote:
runmqsc QM_orf_qa01 < queue.txt

Where will i save the queue.txt

Should i mention the path say

runmqsc QM_orf_qa01 < /home/mqm/queue.txt

Is this proper commnad .

Pls let me know
i stuck here...................


Yes, the command looks fine.

You can also redirect the output to a file like this:
runmqsc QM_orf_qa01 </home/mqm/queue.txt >/home/mqm/output.log
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 » Creating mulitiple queus!
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.