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 » can CLIENT use TRIGGERING ?

Post new topic  Reply to topic
 can CLIENT use TRIGGERING ? « View previous topic :: View next topic » 
Author Message
sebastia
PostPosted: Wed Jun 28, 2006 2:34 pm    Post subject: can CLIENT use TRIGGERING ? Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Until now, I understood the MQ Client as a method to access a Queue Manager without having a license, the installation and the maintenance.

But now it seems clear to me the MQ Client can not use TRIGERING to get control when the reply message comes back ..

Am I right ?
Back to top
View user's profile Send private message Visit poster's website
wschutz
PostPosted: Wed Jun 28, 2006 2:39 pm    Post subject: Reply with quote

Jedi Knight

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

Why not? There's a client trigger monitor, and even a supportpac for triggering via the MQ client .
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
jefflowrey
PostPosted: Wed Jun 28, 2006 2:39 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Your first understanding is wrong. You don't need a license to use the MQ Client, but you do need to install it and you do need to maintain it (apply Fix Packs).

Your second understanding is also wrong. You can run a trigger monitor on the client machine, that will listen to the initiation queue and start your application. In fact, MQ comes with a client trigger monitor - called "runmqtmc" instead of "runmqtrm".

Welcome to MQ. Please read the manuals.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Wed Jun 28, 2006 6:07 pm    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Just for completeness.......the client has to connect to a licenced server version of a queue manager somewhere.

Also the MQ Client attach facility for z/OS isn't free....in fact it is rather expensive.
Back to top
View user's profile Send private message
sebastia
PostPosted: Thu Jun 29, 2006 12:28 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

.
Thanks a lot to all the answers !
That is what I needed : some light, some names
to start reading again !

)))
Back to top
View user's profile Send private message Visit poster's website
sebastia
PostPosted: Wed Jul 05, 2006 1:19 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Jeff ... Wayne :

Supose this environment :

+++

.--------------------. .------------------------------
| | |
| pc "A" | | pc "B"
| MQ client | | MQ Server
| | |
| APP-1 ===>======>= | QMN = "QMB" ;
| | |
| APP-2.exe | | QN = "QMB_RQ" ;
| | |
.--------------------. .------------------------------

+++

This is, in machine "A", application APP1-exe sends a message,
writing it into some queue in queue manager QMB.
And expects the answer in the queue "QMB_RQ"

We want to start the application "APP-2.exe" in the machine "A".
How do we define the PROCESS associated to queue QMB_RQ ???

In the machine "A" we started the Trigger Monitor :

runmqtmc -m QMB -q SYSTEM.DEFAULT.INITIATION.QUEUE

*************************************************

What I dont understand is how do you specify c:\app-2.exe
and trigger monitor knows this "C:\" disk is on machine "A"
instead of machine "B" !
Back to top
View user's profile Send private message Visit poster's website
sebastia
PostPosted: Wed Jul 05, 2006 1:23 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Sorry for the drawing ...

On left side there is machine "A" with MQ Client and APP-1.exe (sends) and APP-2.exe (receives).

On right side there is machine "B" with MQ Server, queue manager QMB, queue QMB_EQ, that has to start APP-2.exe when a message is written into it.

Thnx.
Back to top
View user's profile Send private message Visit poster's website
wschutz
PostPosted: Wed Jul 05, 2006 2:32 am    Post subject: Reply with quote

Jedi Knight

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

Because when you define the processes, the APPLICID must always be for the environment where you are running the trigger monitor, not where the queue manager is. Remember that its the trigger monitor that is using the process definition and issuing the SYSTEM() call to start your program. So the process definition ALWAYS applies to the environment where the trigger monitor is running.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
sebastia
PostPosted: Wed Jul 05, 2006 2:48 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Wayne : I dont understand this part you say ...

>> Remember that its the trigger monitor that is using the process definition

I did start the trigger monitor in the client, using

runmqtmc [-m QMgrName] [-q InitQ]

but I did not provide any process definition (to RUNMQTMC) !!
Back to top
View user's profile Send private message Visit poster's website
Vitor
PostPosted: Wed Jul 05, 2006 2:50 am    Post subject: Reply with quote

Grand High Poobah

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

sebastia wrote:


but I did not provide any process definition (to RUNMQTMC) !!


Process definition is a separate MQ object (item / definition / ... ) that's picked up from the triggered queue
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Jul 05, 2006 2:53 am    Post subject: Reply with quote

Jedi Knight

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

Quote:
How do we define the PROCESS associated to queue QMB_RQ ???
You must define a process "define process(xxx) applicid(your-application)" and specify that process on QMB_RQ "alter ql(QMB_RQ) process(xxx) initq(yyy)". You should define queue "yyy" as a local queue and use that for your client trigger monitor (instead of using system.* queues).

This might be helpful:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzaf.doc/bldtri.htm
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
sebastia
PostPosted: Wed Jul 05, 2006 3:27 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Wayne : thanks for the link.
I am using the good-old "GC34-6058-01" ...

The chapter 12 is still there ...

Guess I am missing some testing !!!

()
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » can CLIENT use TRIGGERING ?
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.