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 Channels using trigger monitor

Post new topic  Reply to topic
 Starting Channels using trigger monitor « View previous topic :: View next topic » 
Author Message
deepakraj29
PostPosted: Wed Oct 11, 2006 1:20 am    Post subject: Starting Channels using trigger monitor Reply with quote

Newbie

Joined: 24 Aug 2006
Posts: 5
Location: Chennai, India

Hi All,

I am trying to start a channel using triggering in Windows. I have enabled triggering on my XmitQ and have set the trigger type to first. But i have defined my own INITQ and have associated it with my XmitQ triggering. I have also defined a suitable process to start the runmqchl process. But when i start the trigger it is pickin up the messages from the INITQ but it is failing to trigger the process.

Please find the Queue and Process configs below,

DISPLAY Q(TESTQMGR1.TESTQMGR2.X1)
3 : DISPLAY Q(TESTQMGR1.TESTQMGR2.X1)
AMQ8409: Display Queue details.
QUEUE(TESTQMGR1.TESTQMGR2.X1) TYPE(QLOCAL)
ACCTQ(QMGR) ALTDATE(2006-10-11)
ALTTIME(13.39.50) BOQNAME( )
BOTHRESH(0) CLUSNL( )
CLUSTER( ) CLWLPRTY(0)
CLWLRANK(0) CLWLUSEQ(QMGR)
CRDATE(2006-10-09) CRTIME(13.20.3
CURDEPTH(1) DEFBIND(OPEN)
DEFPRTY(0) DEFPSIST(NO)
DEFSOPT(SHARED) DEFTYPE(PREDEFINED)
DESCR( ) DISTL(YES)
GET(ENABLED) HARDENBO
INITQ(TRIGGERQ) IPPROCS(0)
MAXDEPTH(5000) MAXMSGL(4194304)
MONQ(QMGR) MSGDLVSQ(PRIORITY)
TRIGGER NPMCLASS(NORMAL)
OPPROCS(0) PROCESS(PROCESSDEF)
PUT(ENABLED) QDEPTHHI(80)
QDEPTHLO(20) QDPHIEV(DISABLED)
QDPLOEV(DISABLED) QDPMAXEV(ENABLED)
QSVCIEV(NONE) QSVCINT(999999999)
RETINTVL(999999999) SCOPE(QMGR)
SHARE STATQ(QMGR)
TRIGDATA( ) TRIGDPTH(1)
TRIGMPRI(0) TRIGTYPE(FIRST)
USAGE(XMITQ)

DISPLAY PROCESS(PROCESSDEF)
4 : DISPLAY PROCESS(PROCESSDEF)
AMQ8407: Display Process details.
PROCESS(PROCESSDEF) APPLTYPE(WINDOWSNT)
APPLICID(C:\Program Files\IBM\WebSphere MQ\bin\runmqchl.exe -m TESTQMGR1 -c QM1.QM2.C1) ENVRDATA( )
USERDATA( ) DESCR( ) ALTDATE(2006-10-11)
ALTTIME(14.21.46)

The error that i got is as below,

C:\PROGRA~1\IBM\WebSphere MQ>runmqtrm -m TESTQMGR1 -q TRIGGERQ
5724-H72 (C) Copyright IBM Corp. 1994, 2004. ALL RIGHTS RESERVED.
WebSphere MQ trigger monitor started.

__________________________________________________
Waiting for a trigger message

"TMC 2TESTQMGR1.TESTQMGR2.X1 PROCESSDEF





C:
\PROGRA~1\IBM\Web*\bin\runmqchl.exe -m TESTQMGR1 -c QM1.QM2.C1
TESTQMGR1
"
'TMC' is not recognized as an internal or external command,
operable program or batch file.
Error starting triggered application.


Please give your inputs on this issue.
_________________
Cheers,

Deepak.
--------------------------------------------------------
IBM Certified System Administrator - MQ V6.0
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Wed Oct 11, 2006 1:27 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

This is an astounding idea.

I'd never even consider trying it myself.

Other than that, I'd say your process definition is probably wrong.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Oct 11, 2006 2:07 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

How could that work? runmqchl isn't designed to be a triggered application, it doesn't expect a trigger message as an argument.

The correct way to do it is here:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzae.doc/tgr.htm
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
deepakraj29
PostPosted: Wed Oct 11, 2006 6:37 am    Post subject: Reply with quote

Newbie

Joined: 24 Aug 2006
Posts: 5
Location: Chennai, India

I have only set runmqchl to be a triggered application. An if you see the error code properly, it is actually the trigger monitor that is causing the problem. It is not recognizing the trigger msg properly and throwing out an error that it is not able to find the TMC application, when i hav never specified any such app in my applicid. This TMC get added to the triger msg header automatically.

I have previously triggered channels using the SYSTEM.CHANNEL.INITQ and using the channel initiator but have never tried using a trigger monitor. I am trying out this setup as a part of my preperation for the MQv6 exam.
_________________
Cheers,

Deepak.
--------------------------------------------------------
IBM Certified System Administrator - MQ V6.0
Back to top
View user's profile Send private message Yahoo Messenger
Vitor
PostPosted: Wed Oct 11, 2006 6:46 am    Post subject: Reply with quote

Grand High Poobah

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

deepakraj29 wrote:
I am trying out this setup as a part of my preperation for the MQv6 exam.


Try triggering something else. An application which expects to be triggered (and as wschutz points out runmqchl does not) would be my suggestion....

And good luck with the exam
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Oct 11, 2006 7:04 am    Post subject: Reply with quote

Guest




Refer to the System Admin Guide for runmqchi (not runmqchl), the channel initiator application. It does exactly what you are trying to do.
Back to top
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Starting Channels using trigger monitor
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.