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 » General IBM MQ Support » How to trigger a channel( Urgent)

Post new topic  Reply to topic
 How to trigger a channel( Urgent) « View previous topic :: View next topic » 
Author Message
vinayak
PostPosted: Mon Oct 14, 2002 6:45 am    Post subject: How to trigger a channel( Urgent) Reply with quote

Novice

Joined: 07 Apr 2002
Posts: 17

Hi,
What are all the steps involved for triggering a channel if a new message comes to a mesage queue to be sent but the channel is down .

Please reply urgently.


Thanks,
VInayak
Back to top
View user's profile Send private message
jhalstead
PostPosted: Mon Oct 14, 2002 8:39 am    Post subject: Reply with quote

Master

Joined: 16 Aug 2001
Posts: 258
Location: London

I'm assuming that by down you mean inactive.

The transmission queue will need the following attributes.

ALTER QL(XMITQ NAME) +
INITQ(SYSTEM.CHANNEL.INITQ) +
TRIGGER +
TRIGTYPE(FIRST) +
TRIGDATA(SENDER CHANNEL NAME)

This will start the sender portion of the channel is the transmission queue goes deptyh goes from 0 to 1. This will not work if the channel is in a stopped state.

Jamie
Back to top
View user's profile Send private message Send e-mail
vinayak
PostPosted: Mon Oct 14, 2002 9:33 am    Post subject: Reply with quote

Novice

Joined: 07 Apr 2002
Posts: 17

Hi Jamie,
Thanks for the answer .
I would need one more favour from you.
When I start the channel and if the channel doen't send any messages for 90 mins it becomes inactive. Then I have to restart the channel agin manually. Currently I have set up a cron which starts the channel every 30 mins. Is there any way where I can set the attribute of the channel so that it does not become inactive after 90 mins i.e. it wil run continuously till the application is shut down.

Thanks,
Vinayak
Back to top
View user's profile Send private message
mgrabinski
PostPosted: Mon Oct 14, 2002 9:32 pm    Post subject: Reply with quote

Master

Joined: 16 Oct 2001
Posts: 246
Location: Katowice, Poland

Hi Vinayak

If you want to implement channel triggering, there is no need for the channel to up all the time. Leave your current settings, or even lower the interval. When there is a message to be sent, the channel will start up and send it.

If you do want to have a channel running forever, change the DISCINT parameter to 0
_________________
Marcin Grabinski <><
Back to top
View user's profile Send private message
pgorak
PostPosted: Mon Oct 14, 2002 9:51 pm    Post subject: Reply with quote

Disciple

Joined: 15 Jul 2002
Posts: 158
Location: Cracow, Poland

There's also another way to have a channel triggered - a more complicated one, but you have to use it in some cases, e.g. on MVS:

ALTER QL(XMITQ NAME) +
INITQ(SYSTEM.CHANNEL.INITQ) +
TRIGGER +
TRIGTYPE(FIRST) +
PROCESS(PROCESS_NAME)

DEF PROCESS(PROCESS_NAME) +
USERDATA(CHANNEL_NAME) +
APPLICID(CSQX START) +
APPLTYPE(MVS)

You can use these definitions on UNIX as well, if you ommit APPLICID and APPLTYPE attributes.

Piotr
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 » General IBM MQ Support » How to trigger a channel( Urgent)
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.