|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
|
|
Creating Scripts |
« View previous topic :: View next topic » |
Author |
Message
|
Subramaniam |
Posted: Fri Sep 28, 2001 3:37 am Post subject: |
|
|
Newbie
Joined: 24 Sep 2001 Posts: 2 Location: Satyam Computers Services Limited, India
|
Can anyone guide me on how to create scriptfiles on an NT environment. I want to know how to add definitions for channels, queues etc. for a QMGR.
eg. DEFINE CHANNEL(TO.NY) CHLTYPE(CLSUSNDR) ...
so these definitions, where can I script and how to run them?
I am new to MQSeries can any one help me out on this issue.
_________________ Subbu |
|
Back to top |
|
|
RogerLacroix |
Posted: Sat Sep 29, 2001 10:01 pm Post subject: |
|
|
Jedi Knight
Joined: 15 May 2001 Posts: 3258 Location: London, ON Canada
|
Put all of your MQ defintions in a file called def_mq.txt or you can create seperate files. i.e. by channel, queue, process, etc... definitions.
Lets say your queue manager is called MQA1. Then you can pipe the file (def_mq.txt) into runmqsc as follows:
runmqsc MQA1 < def_mq.txt
If you want to save the output to a file from runmqsc then redirect the output as follows:
runmqsc MQA1 < def_mq.txt > new_run.log
There you go, hope that helps.
later
Roger...
http://www.geocities.com/capitalware/
|
|
Back to top |
|
|
Subramaniam |
Posted: Thu Oct 04, 2001 1:37 am Post subject: |
|
|
Newbie
Joined: 24 Sep 2001 Posts: 2 Location: Satyam Computers Services Limited, India
|
Thanks Rogers, that work fine!!!
_________________ Subbu |
|
Back to top |
|
|
|
|
|
|
Page 1 of 1 |
|
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
|
|
|
|