Posted: Tue Sep 15, 2015 4:20 am Post subject: read a Q and put to file with no headers
Newbie
Joined: 09 Oct 2013 Posts: 5
Hi,
I want to move messages from a queue to a file. I only want to have the message body not headers and properties. I have tried to use q.exe and qload.exe but I cannot figure out how to only get the bodies into the file. Rfhutil seem to do the job nicely but I want to automate the process and not do the clicking for each queue.
Is there a simple command line Tool that can read message bodies from a queue and put it to a file?
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
amqsget?
I have a modified version that does not put the "message <" etc from the data
The source is supplied with the product. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
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