|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Extracting queue contents to a file |
« View previous topic :: View next topic » |
Author |
Message
|
Hema30 |
Posted: Fri May 14, 2004 12:55 pm Post subject: Extracting queue contents to a file |
|
|
Acolyte
Joined: 02 Aug 2003 Posts: 59
|
could anyone tell me the steps involved to extract the contents of a local queue to a file.On a unix environment.
Thanks
Hema |
|
Back to top |
|
 |
mqonnet |
Posted: Fri May 14, 2004 1:09 pm Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
Downlaod File2Msg from Rogers website below and just reverse engineer it.
http://www.capitalware.biz/sample_mqseries.html#ccode
Cheers
Kumar _________________ IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator |
|
Back to top |
|
 |
JT |
Posted: Fri May 14, 2004 1:38 pm Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Hema30,
Manually, we use the RFHUTILC tool provided in the IH03 supportpac:
http://www-1.ibm.com/support/docview.wss?rs=203&uid=swg24000637&loc=en_US&cs=utf-8&lang=en
The documentation states:
Quote: |
The performance utilities have been written and tested on the Windows 2000, Sun Solaris
and AIX platforms. Full source code, including the Microsoft Visual C++ V6 project files, is
provided for the performance utilities. |
So apparently it can be configured to run on a UNIX platform. We prefer to run the utility "out of the box" from our Windows desktops through a .cmd file that points to our Solaris queue managers:
Code: |
set MQSERVER=channel/transport/connection(Port)
set PATH=D:\Websphere SupportPacs\ih03;%PATH%
start rfhutilc.exe |
The tool allows you to get or browse a queue (as well as put) and write the results to a file.
Best of all....it's free. |
|
Back to top |
|
 |
kman |
Posted: Tue May 18, 2004 1:05 am Post subject: |
|
|
Partisan
Joined: 21 Jan 2003 Posts: 309 Location: Kuala Lumpur, Malaysia
|
If you like some bit of programming, you can take the sample amqsget program, make some changes to include the file writing part after the get message, and you end up having your own Msg2File program.
just a thought.  |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|