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 » Automatic Windows script starting channels

Post new topic  Reply to topic
 Automatic Windows script starting channels « View previous topic :: View next topic » 
Author Message
steiner
PostPosted: Fri Feb 29, 2008 6:54 am    Post subject: Automatic Windows script starting channels Reply with quote

Voyager

Joined: 07 Mar 2003
Posts: 89

Hello,

I'm writing a windows script that must automatic starts channels, listeners.

Can someone helps me to write that script in windows, because I have not a lot of practice.

Thanks in advance
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Feb 29, 2008 7:23 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

You don't need to script the start of the Listener. On Windows MQ 6.0 just make the Listener Object dependent on the QM using MQExplorer. As the QM comes up and down so will the Listener.

You don't need to script the start of channels. Set them up to trigger automatically when a message arrives on the XMITQ.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
jeevan
PostPosted: Fri Feb 29, 2008 12:02 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

PeterPotkay wrote:
You don't need to script the start of the Listener. On Windows MQ 6.0 just make the Listener Object dependent on the QM using MQExplorer. As the QM comes up and down so will the Listener.


Quote:

or do Something like this:

echo "define listener(XXXXXXX.TCP) TRPTYPE(TCP) PORT (1421) CONTROL(QMGR)"|RUNMQSC XXXXXXX
echo START LISTENER(XXXXXXX.TCP)| RUNMQSC XXXXXXXX

note: Windows does not need quote "

XXXXXXXX stands for qmgr


You don't need to script the start of channels. Set them up to trigger automatically when a message arrives on the XMITQ.


That is true.
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 » Automatic Windows script starting channels
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.