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 » News/Updates » Creating Scripts

Post new topic  Reply to topic
 Creating Scripts « View previous topic :: View next topic » 
Author Message
Subramaniam
PostPosted: Fri Sep 28, 2001 3:37 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
RogerLacroix
PostPosted: Sat Sep 29, 2001 10:01 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Subramaniam
PostPosted: Thu Oct 04, 2001 1:37 am    Post subject: Reply with quote

Newbie

Joined: 24 Sep 2001
Posts: 2
Location: Satyam Computers Services Limited, India

Thanks Rogers, that work fine!!!


_________________
Subbu
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » News/Updates » Creating Scripts
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.