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 » Q utility Import/Export options

Post new topic  Reply to topic
 Q utility Import/Export options « View previous topic :: View next topic » 
Author Message
rajmq
PostPosted: Fri Feb 22, 2008 2:39 pm    Post subject: Q utility Import/Export options Reply with quote

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
Back to top
View user's profile Send private message
euphoria
PostPosted: Fri Feb 22, 2008 3:13 pm    Post subject: Reply with quote

Acolyte

Joined: 08 Feb 2004
Posts: 51

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
Back to top
View user's profile Send private message
rajmq
PostPosted: Fri Feb 22, 2008 3:38 pm    Post subject: Reply with quote

Partisan

Joined: 29 Sep 2002
Posts: 331
Location: USA

Thanks for your reply,

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
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 IBM MQ Support » Q utility Import/Export options
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.