Author |
Message
|
somsengupta |
Posted: Mon Sep 04, 2006 2:37 am Post subject: Read messages from a queue to a folder |
|
|
 Novice
Joined: 23 Jan 2006 Posts: 11
|
Hi,
Please let me know of a reliable utility which can read messages from a MQ queue and write into a windows folder.
Regards. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Sep 04, 2006 2:47 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
PM4DATA?
Do a search on the forum - this message -> file question has been discussed many, many times. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Sep 04, 2006 4:26 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
If you only want a reliable utility, then the file transfer tool that comes with MQ v6 should do the job.
As for why you shouldn't use it, though, see all the rest of the discussions here about "file transfer". _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
wschutz |
Posted: Mon Sep 04, 2006 4:33 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Are we assuming that "somsengupta" wants to do FILE TRANSFER?
Quote: |
read messages from a MQ queue and write into a windows folder. |
Perhaps q or even amqsget will suffice.... _________________ -wayne |
|
Back to top |
|
 |
Vitor |
Posted: Mon Sep 04, 2006 4:36 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
wschutz wrote: |
Are we assuming that "somsengupta" wants to do FILE TRANSFER?
Quote: |
read messages from a MQ queue and write into a windows folder. |
Perhaps q or even amqsget will suffice.... |
Oooo.......  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
somsengupta |
Posted: Mon Sep 04, 2006 5:04 am Post subject: Read messages from a queue to a folder |
|
|
 Novice
Joined: 23 Jan 2006 Posts: 11
|
Hi,
Thanks all for the replies.
What I need is that a program or executable which is freely downloadable (maybe a service pack) which can be used for getting messages ariving in a queue and putting it in a Windows folder.
Thanks and regards,
Soma |
|
Back to top |
|
 |
Vitor |
Posted: Mon Sep 04, 2006 5:21 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Then wschutz has it right. Use q, or just modify the amqsget sample to do what you want!
Apologies for over-imagining your requirements.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
somsengupta |
Posted: Mon Sep 04, 2006 6:03 am Post subject: Read messages from a queue to a folder |
|
|
 Novice
Joined: 23 Jan 2006 Posts: 11
|
Also, can someone tell me a program like MIRRORQ for use in version 5.2
Version 5.2 does not support the present mirrorq.
Regards,
Soma |
|
Back to top |
|
 |
Vitor |
Posted: Mon Sep 04, 2006 6:06 am Post subject: Re: Read messages from a queue to a folder |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
somsengupta wrote: |
Version 5.2 does not support the present mirrorq.
|
That's fair - no-one supports 5.2! It's out of support on most (all??) platforms. Consider an upgrade. Seriously. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Sep 04, 2006 6:17 am Post subject: Re: Read messages from a queue to a folder |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
somsengupta wrote: |
Version 5.2 does not support the present mirrorq.
|
Source code for it is here:
http://www-304.ibm.com/jct09002c/isv/tech/sampmq.html
No experience of the thing myself, but if there are problems, I suggest you relink it with your 5.2 libraries. [/url] _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
RogerLacroix |
Posted: Mon Sep 04, 2006 10:11 am Post subject: Re: Read messages from a queue to a folder |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
somsengupta wrote: |
Also, can someone tell me a program like MIRRORQ for use in version 5.2
Version 5.2 does not support the present mirrorq. |
Is this for the same requirement as your original posting? It sounds like someone doesn't trust MQ or they have a bad application that they are not fixing.
The reason MirrorQ does not work on MQ v5.2 is because MQ v5.2 did not have / support the API Exit call.
Secondly, what in the world are you doing still using MQ v5.2? It is out of date and no longer supported by IBM.
If you want a program that will work under MQ v5.2 that copies / duplicates messages between queues then have a look at MMX (Message Multipexer).
http://www.capitalware.biz/mq_code_c.html
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Sep 04, 2006 10:40 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
There are two versions of mirrorq - one that is acts as an exit and an older one that runs as a triggered program.
Neither one should be used in production without understanding that both are sample code.
But, hey, if someone is running v5.2 in production, then what do they care if everything breaks and there's no recourse to fix it?
And obviously, the business requirements that somsengupta is trying to meet don't actually have any financial value - otherwise somsengupta would be able to specify a solution that had a realistic cost associated with it. Like, for example, upgrading to v5.3 or v6. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
dkeister |
Posted: Tue Oct 10, 2006 9:48 am Post subject: |
|
|
Disciple
Joined: 25 Mar 2002 Posts: 184 Location: Purchase, New York
|
Hi,
Don't know if you have found your answer for the messages to folder problem, but I have a tool (MQExerciser) with a free version that allows you to read messages from a queue and put them into a folder. You can also read them from a folder and put them to a queue.
check out www.mqexerciser.com for download information. I also have a beta version with many additional features if you would contact me directly, I can fix you up with the beta version. (dean@mqexerciser.com).
Dean
PS. There is also a priced version of the tool so I hope I am not violating any posting rules with this reply. _________________ Dean Keister |
|
Back to top |
|
 |
|