Author |
Message
|
Le_Quang_Hoa |
Posted: Tue Jun 07, 2005 5:54 am Post subject: How to start channel automatic |
|
|
 Apprentice
Joined: 14 May 2005 Posts: 29 Location: Viet nam
|
Dear all
I install MQ 5.3 in Window 2003
This problem is my channel will stop :
In Event Viewer:
Quote: |
Disconnect interval expired.
Channel 'QM_CORE.TO.QM_BRIDGE' closed because no messages arrived on the transmission queue within the disconnect interval period.
|
then if my program put a message into transmission queue , it Queue Manager can not send message to Destination queue on Remote Manager
If I start channel again (QM Explorer), that message will be send to destination queue on Remote Queue manager.
So I want any time I put message into transmission queue it auto send this message without start channel again
Any one can show me the way??
Thanks _________________ Le Quang Hoa (Mr)
Email :hoa.lequang@gmail.com
YM: hoalq98
Ha noi City - Viet Nam |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Jun 07, 2005 5:58 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You can set your channel up to be triggered.
See the Intercommunications manual- Chapter 2, "Triggering Channels" for specific, step by step instructions. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Nigelg |
Posted: Tue Jun 07, 2005 6:09 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
Set the attributes on the xmitq defined on the SDR channel:
TRIGGER TRIGTYPE(FIRST) INITQ(SYSTEM.CHANNEL.INITQ)
When a msg is put to the xmitq, i.e. it is put to a remote queue which has the xmitq set in its attributes, the channel will start automatically. |
|
Back to top |
|
 |
Le_Quang_Hoa |
Posted: Tue Jun 07, 2005 6:27 am Post subject: |
|
|
 Apprentice
Joined: 14 May 2005 Posts: 29 Location: Viet nam
|
Thanks for reply , it running well _________________ Le Quang Hoa (Mr)
Email :hoa.lequang@gmail.com
YM: hoalq98
Ha noi City - Viet Nam |
|
Back to top |
|
 |
c4delta |
Posted: Thu Jun 09, 2005 3:35 pm Post subject: |
|
|
Novice
Joined: 07 Jun 2005 Posts: 13
|
Any idea how to start a channel automatically when MQ starts up? Thanks. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Jun 09, 2005 4:36 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
What is your business case ?
a) have the channel be triggered
b) have it no be in stopped status at shutdown...
c) make sure there is a chinit running on the channel initq.
??  |
|
Back to top |
|
 |
kevinf2349 |
Posted: Thu Jun 09, 2005 5:14 pm Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Quote: |
Any idea how to start a channel automatically when MQ starts up? Thanks. |
Yep...trigger it.
Or you could issue the start command in a bat file (or in the insh deck if z/OS, or a script on other platforms)
As fjb_saper says the business needs and SLA's should decide the best method. There has been extensive discussion of the pros and cons of controlling channels in these forums (a search should provide lots of hits).
I am firmly in the trigger camp but if the business need drives me to have channels active as soon as possible then I would have a start up script.
Hope this helps |
|
Back to top |
|
 |
|