Author |
Message
|
Vitor |
Posted: Thu Mar 09, 2006 5:37 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Yavor wrote: |
stupid I am eh  |
I wouldn't just assume it's you - not with the day (hey, life) I'm having!
Not quite sure what you mean by "run them from *nix CLI not from MQSC", START CHANNEL is an MQ command. Certainly you can start a started channel. One thing you need to be aware of is that if you STOP a channel the channel initiator won't automatically start it. If it's inactive because it's gone past the timeout limit then the first message will fire it, but by issuing a STOP what you're saying to MQ is "don't move any messages until I tell you otherwise".
Checking queue depth from MQSC - display qlocal(<name of queue>) curdepth
(This and other useful options are in the command manual) _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Yavor |
Posted: Thu Mar 09, 2006 5:54 am Post subject: |
|
|
Novice
Joined: 08 Mar 2006 Posts: 12
|
on LTS I have this
4 : display ql(MCLRN) curdepth
AMQ8409: Display Queue details.
QUEUE(MCLRN) CURDEPTH(22)
display ql(LTS_INPUT) curdepth
5 : display ql(LTS_INPUT) curdepth
AMQ8409: Display Queue details.
QUEUE(LTS_INPUT) CURDEPTH(0)
on MCLRN I have this
display qlocal(MCLRN_INPUT) curdepth
5 : display qlocal(MCLRN_INPUT) curdepth
AMQ8409: Display Queue details.
QUEUE(MCLRN_INPUT) CURDEPTH(0)
display qlocal(LTS) curdepth
6 : display qlocal(LTS) curdepth
AMQ8409: Display Queue details.
QUEUE(LTS) CURDEPTH(0)
PS
I thought I can't start them if they are already started so stopped them and ran them from unix console not from QMSC.
Thanks Vitor  |
|
Back to top |
|
 |
Vitor |
Posted: Thu Mar 09, 2006 6:15 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
It would appear you have 22 message stuck in the MCLRN xmitq. Messages sitting in an xmitq are never a good thing, but at least we've found them.
Tell me again how you're running the channels from the UNIX console? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Yavor |
Posted: Thu Mar 09, 2006 6:18 am Post subject: Got it running :) |
|
|
Novice
Joined: 08 Mar 2006 Posts: 12
|
I had a mistake in qremote definition namely in rname I have put wrong names on bot remote queues
Now it is working like a charm.
Thank you once again guys! You are great! Thank you very much indeed!
BR
Yavor |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Mar 09, 2006 6:30 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Vitor wrote: |
Tell me again how you're running the channels from the UNIX console? |
probably runmqchl, yes? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Mar 09, 2006 6:41 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
jefflowrey wrote: |
Vitor wrote: |
Tell me again how you're running the channels from the UNIX console? |
probably runmqchl, yes? |
Just checking.
Yavor
Well spotted, well done, you're welcome. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Yavor |
Posted: Thu Mar 09, 2006 6:43 am Post subject: |
|
|
Novice
Joined: 08 Mar 2006 Posts: 12
|
jefflowrey wrote: |
Vitor wrote: |
Tell me again how you're running the channels from the UNIX console? |
probably runmqchl, yes? |
yup!
as wschutz suggested
Vitor
10x  |
|
Back to top |
|
 |
skycoolers |
Posted: Fri Mar 10, 2006 9:14 am Post subject: |
|
|
 Apprentice
Joined: 22 Dec 2005 Posts: 35
|
My queue manager names are different for local and remote. Can I have same Queue name for local and remote? Will it create any problem?
Regards,
Siva |
|
Back to top |
|
 |
wschutz |
Posted: Fri Mar 10, 2006 9:41 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
If you mean this:
Quote: |
define qremote(xyz) rname(xyz) rqmname(rqm) |
then the answer is YES,
If you mean this:
Quote: |
define qremote(xyz) rname(xyz) rqmname(rqm)
define qlocal(xyz) |
on the same qmgr, then the answer is NO. _________________ -wayne |
|
Back to top |
|
 |
skycoolers |
Posted: Fri Mar 10, 2006 10:00 am Post subject: |
|
|
 Apprentice
Joined: 22 Dec 2005 Posts: 35
|
Thanks.
I meant
define qremote(xyz) rname(xyz) rqmname(rqm) |
|
Back to top |
|
 |
|