Posted: Fri Feb 22, 2008 2:39 pm Post subject: Q utility Import/Export options
Partisan
Joined: 29 Sep 2002 Posts: 331 Location: USA
My requirement is,
Remove the XML message from queue and store in the file.
Reprocess the file again to queue
I have tried some options using Q utility but i couldn't able to success this.
What i did ?
q -m "qmgr" -I "queue name" > "queuename.log"
After executing the above syntax, the all xml message has written in the file.
If i process the same file using below syntax each tag value going as a single message
q -m "qmgr" -o "queue name" > "queuename.log"
I think something missed in the above syntax...Tried with other parameters as well but no luck.
TIA
_________________ IBM Certified System Administrator - WebSphere MQ V6.0
IBM Certified System Administrator - WebSphere Business Integration Message Broker V6.0
F option on the q tool will allow you to put the contents of a file as one message.
Check out the latest version of q tool and qload tools for more options
Actually i have moved more than 100 messages to file but while writing to queue i am not getting the same count.
TIA
_________________ IBM Certified System Administrator - WebSphere MQ V6.0
IBM Certified System Administrator - WebSphere Business Integration Message Broker V6.0
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