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 » Starting MQ Channels

Post new topic  Reply to topic
 Starting MQ Channels « View previous topic :: View next topic » 
Author Message
mqwbi
PostPosted: Tue Jan 13, 2009 7:51 am    Post subject: Starting MQ Channels Reply with quote

Novice

Joined: 15 Dec 2008
Posts: 24

Hi Folks
I have a queue manager which has sender-receiver channel to another queue manager.
When my queue manager starts, it doesn't start the sender channel by defualt. can i set it to function/behave that way? What are the other options available.
Thank You
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jan 13, 2009 8:00 am    Post subject: Re: Starting MQ Channels Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqwbi wrote:
When my queue manager starts, it doesn't start the sender channel by defualt. can i set it to function/behave that way?


It should start by default; what status does the channel go into?

If it's STOPPED, that means a manual stop command has been issued and the channel won't start until you start it.

If it's INACTIVE, that is started. Read the docs.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Jan 13, 2009 8:27 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

INACTIVE is just that. INACTIVE is "neither stopped nor running".

INACTIVE is only equivalent to RUNNING if the channel is set up to trigger.

mqwbi - this is a basic question about the basics of MQ configuration. It should have been covered in a basic MQ administration class, and is clearly and fully and completely in great detail discussed in the MQ info center.

The best thing you can do for your MQ career is learn how to use the Info Center. It's not any harder than posting questions here, really.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jan 13, 2009 11:08 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqjeff wrote:
INACTIVE is just that. INACTIVE is "neither stopped nor running".


I stand rightly corrected
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
xhaxk
PostPosted: Tue Jan 13, 2009 9:51 pm    Post subject: Reply with quote

Apprentice

Joined: 30 Oct 2008
Posts: 31

you cannot start a channel when the qmgr starts, unless the channel is set up for triggering and the xmitq contains msgs or the channel was in RETRYING status when the qmgr ended.
Back to top
View user's profile Send private message
aditya.aggarwal
PostPosted: Tue Jan 13, 2009 11:23 pm    Post subject: Reply with quote

Master

Joined: 13 Jan 2009
Posts: 252

set the trigger on at the transmission queue..

and set the INITQ(SYSTEM.CHANNEL.INITQ)

SDR Channel will automatically starts at the arrival of the message in the XMIT Q
Back to top
View user's profile Send private message
exerk
PostPosted: Wed Jan 14, 2009 2:48 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

xhaxk wrote:
you cannot start a channel when the qmgr starts, unless the channel is set up for triggering and the xmitq contains msgs or the channel was in RETRYING status when the qmgr ended.


Oh yes you can! (OK, I know Panto season is over...)

It's called scripting
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
xhaxk
PostPosted: Wed Jan 14, 2009 7:25 am    Post subject: Reply with quote

Apprentice

Joined: 30 Oct 2008
Posts: 31

don't be a clever dick..

the original post said
Quote:
it doesn't start the sender channel by defualt


scripting is not by default
Back to top
View user's profile Send private message
exerk
PostPosted: Wed Jan 14, 2009 7:31 am    Post subject: Re: Starting MQ Channels Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Clever dick says:

mqwbi wrote:
What are the other options available...


Hence scripting.

And do please try not to get personal ...and notice it was a tongue-in-cheek-answer.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
SAFraser
PostPosted: Wed Jan 14, 2009 10:03 am    Post subject: Reply with quote

Shaman

Joined: 22 Oct 2003
Posts: 742
Location: Austin, Texas, USA

aditya.aggarwal wrote:
set the trigger on at the transmission queue..

and set the INITQ(SYSTEM.CHANNEL.INITQ)

SDR Channel will automatically starts at the arrival of the message in the XMIT Q


You'll need to set TRIGDATA to the name of the sender channel also and (as already mentioned), the channel will start when messages arrive on the xmitq.

xhaxk wrote:
don't be a clever dick..


Does this mean the same thing around the world that it means in the U.S.? Because if it does, it is not only personal, it is rather offensive language for a public, professional message board.
Back to top
View user's profile Send private message
aditya.aggarwal
PostPosted: Wed Jan 14, 2009 9:30 pm    Post subject: Reply with quote

Master

Joined: 13 Jan 2009
Posts: 252

I agree..
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 » Starting MQ 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.