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 WebSphere MQ Support » Save message in a queue to a file

Post new topic  Reply to topic Goto page 1, 2, 3  Next
 Save message in a queue to a file « View previous topic :: View next topic » 
Author Message
angka
PostPosted: Thu Mar 22, 2007 1:28 am    Post subject: Save message in a queue to a file Reply with quote

Chevalier

Joined: 20 Sep 2005
Posts: 405

Hi,

How to save all the message in a queue to a file? all the headers and message content like how the rfhutil does. and can load back using rfhutil.

I need this so that I can save the messages in a queue automatically.

Thanks.
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Thu Mar 22, 2007 1:44 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2569
Location: The Netherlands (Amsterdam)

look at Q or QLOAD see supportpac site
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
angka
PostPosted: Thu Mar 22, 2007 2:04 am    Post subject: Reply with quote

Chevalier

Joined: 20 Sep 2005
Posts: 405

Thank you
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Mar 22, 2007 2:10 am    Post subject: Reply with quote

Jedi Knight

Joined: 19 May 2001
Posts: 4523

On z/OS - you can use CSQUTIL.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Mar 22, 2007 3:40 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Also look at CapitalWare's products.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
anantha sreenivasan
PostPosted: Thu Mar 22, 2007 9:28 am    Post subject: Reply with quote

Acolyte

Joined: 26 Sep 2006
Posts: 72

QPasa or AppWatch can be used to save the queue contents onto a file using GUI. Using this one can administer MQ installed on any platform from Windows
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Mar 22, 2007 9:32 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Most professional/enterprise quality MQ monitoring or administration apps - like QPasa or AppWatch - can be used to save the queue contents.

Most professional/enterprise quality MQ monitoring or administration apps - like Qpasa or AppWatch - are too complicated and expensive to implement JUST to save the contents of a queue.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
magicwand
PostPosted: Thu Mar 22, 2007 9:52 am    Post subject: Reply with quote

Newbie

Joined: 12 Feb 2007
Posts: 6

Can amqsbcg be used for this purpose?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Mar 22, 2007 9:54 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

magicwand wrote:
Can amqsbcg be used for this purpose?


It would be time consuming to write a program that would take the output from amqsbcg and convert it back to a form that can be written to a queue.

But yes, it could be used.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mdncan
PostPosted: Wed Mar 28, 2007 9:18 am    Post subject: Reply with quote

Acolyte

Joined: 11 May 2005
Posts: 59
Location: US

MQJExplorer can be used to backup the messages to a file and same tool can be used to restore (put) the messages to a queue.
Back to top
View user's profile Send private message
HubertKleinmanns
PostPosted: Thu Mar 29, 2007 1:33 am    Post subject: Reply with quote

Knight

Joined: 24 Feb 2004
Posts: 543
Location: Germany

jefflowrey wrote:
magicwand wrote:
Can amqsbcg be used for this purpose?


It would be time consuming to write a program that would take the output from amqsbcg and convert it back to a form that can be written to a queue.

But yes, it could be used.


I would take the source code of amqsbcg or better amqsget, modify it and compile it, before programming something around amqsbcg .

But the q utility - as Michael Dag suggested - is a good solution .
_________________
Regards
Hubert
Back to top
View user's profile Send private message Visit poster's website
Michael Dag
PostPosted: Mon Apr 23, 2007 10:29 pm    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2569
Location: The Netherlands (Amsterdam)

jefflowrey wrote:
magicwand wrote:
Can amqsbcg be used for this purpose?


It would be time consuming to write a program that would take the output from amqsbcg and convert it back to a form that can be written to a queue.

But yes, it could be used.


Looks like someone has been getting this idea too.
Just when you think Paul Clarke is out of tricks he invents new ones...

the latest version of QLOAD (MO03) can process the output of amqsbcg
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
ashu
PostPosted: Mon Apr 23, 2007 10:57 pm    Post subject: Reply with quote

Centurion

Joined: 11 Nov 2006
Posts: 132

Are the messages that are stored to the file in text form or binary?
Back to top
View user's profile Send private message
dgolding
PostPosted: Mon Apr 23, 2007 11:46 pm    Post subject: Reply with quote

Yatiri

Joined: 16 May 2001
Posts: 664
Location: Switzerland

It depends on whether you're using "qload" or "q". From memory "qload" will save it as text, "q" will save it as binary.
Back to top
View user's profile Send private message Visit poster's website
ashu
PostPosted: Tue Apr 24, 2007 1:35 am    Post subject: Reply with quote

Centurion

Joined: 11 Nov 2006
Posts: 132

dgolding wrote:
It depends on whether you're using "qload" or "q". From memory "qload" will save it as text, "q" will save it as binary.


So is the case that q is used when the middleware needs to take a snapshot of the current states of its queues so that it can later be reloaded...
and qload is used by administrators to store messages in human readable form?...

...is this question correct in the first place ?!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2, 3  Next Page 1 of 3

MQSeries.net Forum Index » General WebSphere MQ Support » Save message in a queue to a file
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.