Author |
Message
|
mqwbi |
Posted: Tue Jan 13, 2009 7:51 am Post subject: Starting MQ Channels |
|
|
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 |
|
 |
Vitor |
Posted: Tue Jan 13, 2009 8:00 am Post subject: Re: Starting MQ Channels |
|
|
 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 |
|
 |
mqjeff |
Posted: Tue Jan 13, 2009 8:27 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Tue Jan 13, 2009 11:08 am Post subject: |
|
|
 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 |
|
 |
xhaxk |
Posted: Tue Jan 13, 2009 9:51 pm Post subject: |
|
|
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 |
|
 |
aditya.aggarwal |
Posted: Tue Jan 13, 2009 11:23 pm Post subject: |
|
|
 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 |
|
 |
exerk |
Posted: Wed Jan 14, 2009 2:48 am Post subject: |
|
|
 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 |
|
 |
xhaxk |
Posted: Wed Jan 14, 2009 7:25 am Post subject: |
|
|
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 |
|
 |
exerk |
Posted: Wed Jan 14, 2009 7:31 am Post subject: Re: Starting MQ Channels |
|
|
 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 |
|
 |
SAFraser |
Posted: Wed Jan 14, 2009 10:03 am Post subject: |
|
|
 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 |
|
 |
aditya.aggarwal |
Posted: Wed Jan 14, 2009 9:30 pm Post subject: |
|
|
 Master
Joined: 13 Jan 2009 Posts: 252
|
|
Back to top |
|
 |
|