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 Discussion » Trigger on a Queue with MQSeries V6.1 on Windows

Post new topic  Reply to topic
 Trigger on a Queue with MQSeries V6.1 on Windows « View previous topic :: View next topic » 
Author Message
steiner
PostPosted: Fri Mar 28, 2008 1:04 am    Post subject: Trigger on a Queue with MQSeries V6.1 on Windows Reply with quote

Voyager

Joined: 07 Mar 2003
Posts: 89

Hello,

i'm trying to put a Trigger on a Queue on a Queue Manager on Windows system (MQSeries V6).

How can I do it to write when a message arrives on the Queue directly in a file on the disk.
There are two methods : with a process or not.

Can anyone explain how to do it with the two methods.

In my first Job I did it on Unix system, but here on Windows I don't understand where to run the process : runmqtrm xxxx.

Can you help me.

Thanks in advance...
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Mar 28, 2008 1:16 am    Post subject: Re: Trigger on a Queue with MQSeries V6.1 on Windows Reply with quote

Grand High Poobah

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

steiner wrote:
How can I do it to write when a message arrives on the Queue directly in a file on the disk.
There are two methods : with a process or not.
Can anyone explain how to do it with the two methods.


Well I didn't know you could trigger anything other than a process so you know more about that than me. The process you trigger could be anything, so the sky's your limit on methods. My comments here:

http://www.mqseries.net/phpBB2/viewtopic.php?p=177668

apply (aside from the stuff about upgrading obviously!)

Also if all you want is message->file, you might want to consider one of the commerical products that can do this, rather than invent your own. Depends on your requirements, budget, etc, etc.

steiner wrote:
In my first Job I did it on Unix system, but here on Windows I don't understand where to run the process : runmqtrm xxxx.


As a Windows service (equivalent of a demon) or background process. Check your Windows documentations for details.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Gaya3
PostPosted: Fri Mar 28, 2008 1:31 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

You can start how you usually does in MQ 5

Here is one support pac
http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg24000149&loc=en_US&cs=utf-8&lang=en

Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
steiner
PostPosted: Fri Mar 28, 2008 2:15 am    Post subject: Reply with quote

Voyager

Joined: 07 Mar 2003
Posts: 89

Hello,

thanks for your answers. I need two Windows executables programs to make the Trigger : MQGET, and MQPUT.

Where can I find these two executables programs for Windows environnment.

Many Thanks, bye
Back to top
View user's profile Send private message
Gaya3
PostPosted: Fri Mar 28, 2008 2:18 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

under Source Directory.

Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
steiner
PostPosted: Fri Mar 28, 2008 2:25 am    Post subject: Reply with quote

Voyager

Joined: 07 Mar 2003
Posts: 89

Hello,

thanks but sorry there is no MQGET or MQPUT under Source (or Tools) directory.

I remenber it on Unix but on windows System is it perhaps otherwise.

Thanks
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Mar 28, 2008 2:52 am    Post subject: Reply with quote

Grand High Poobah

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

steiner wrote:
thanks but sorry there is no MQGET or MQPUT under Source (or Tools) directory.


We've been through this before with you:

http://www.mqseries.net/phpBB2/viewtopic.php?p=180370

steiner wrote:
I remenber it on Unix but on windows System is it perhaps otherwise.


If things called MQGET & MQPUT exist on your Unix box, someone on the site wrote them or purchased them from a 3rd party. These are the names of MQI calls, not applications, samples or any kind of executable code supplied with the software.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
steiner
PostPosted: Mon Mar 31, 2008 2:57 am    Post subject: Reply with quote

Voyager

Joined: 07 Mar 2003
Posts: 89

Hello,

i don't understand because i have experience on Unix system, but on Windows it doesn't work as the same.

On windows when I put the Trigger to ON and if I have on Triggdata c:\toto.txt so that the message will be written to that file it doesn't work (I have also an Initq Defined)

Must I have an process Runmqtrm on the background (as on Unix) and what is the correct syntax .

Could you please help me to understand that.

thanks a lot
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Mar 31, 2008 3:02 am    Post subject: Reply with quote

Grand High Poobah

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

steiner wrote:
i don't understand because i have experience on Unix system, but on Windows it doesn't work as the same.


It's amazing how many things don't work the same (or don't work at all) on Windoze.



So far as MQ triggering goes, it works the same on all the distributed platforms (including Windows).

steiner wrote:
On windows when I put the Trigger to ON and if I have on Triggdata c:\toto.txt so that the message will be written to that file it doesn't work (I have also an Initq Defined)


I'm surprised that works on Unix if you're not got a process defined that's using this data. Again you seem to know more than me on this.

[quote="steiner"]Must I have an process Runmqtrm on the background (as on Unix) and what is the correct syntax .
steiner wrote:


Yes you must and the syntax is the same as for Unix.

Could you please help me to understand that.

thanks a lot

_________________
Honesty is the best policy.
Insanity is the best defence.
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 Discussion » Trigger on a Queue with MQSeries V6.1 on Windows
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.