Author |
Message
|
ramires |
Posted: Tue May 21, 2002 6:12 pm Post subject: Plugin node to write message to a flat file ? |
|
|
Knight
Joined: 24 Jun 2001 Posts: 523 Location: Portugal - Lisboa
|
Hi,
Is there a plugin node to write message content, (body) and maybe some other fields from MQMD structure to a flat file ? The objective is to do an audit log. The format the Trace Node writes is not easy to process.
I was trying to find it, but there are so much info...
Thanks ! |
|
Back to top |
|
 |
kirani |
Posted: Tue May 21, 2002 6:24 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Well, In a trace node you can select what you want to print in file! Let us know what kind of output format you are looking for. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
ramires |
Posted: Wed May 22, 2002 1:12 am Post subject: |
|
|
Knight
Joined: 24 Jun 2001 Posts: 523 Location: Portugal - Lisboa
|
kirani thanks,
what I want to do is logging messages sent to an as400, the message data is string format, and the intention is to log something like:
...
date/time01 msgid01 message_data01
date/time02 msgid02 message_data02
etc
...
joao |
|
Back to top |
|
 |
Cliff |
Posted: Thu May 23, 2002 7:00 am Post subject: |
|
|
Centurion
Joined: 27 Jun 2001 Posts: 145 Location: Wiltshire
|
Have you considered using an exit on the channel? You may not need to do this in WMQI at all ... kinda depends exactly what you're trying to log, I guess ...
Cheers - Cliff |
|
Back to top |
|
 |
ramires |
Posted: Sun May 26, 2002 1:32 pm Post subject: |
|
|
Knight
Joined: 24 Jun 2001 Posts: 523 Location: Portugal - Lisboa
|
I need it in the input and the output of a flow, with the trace node I can do it, but after I have to format it, to import data to a excel sheet, to do some statistics work.
With a nodo to write to a file some basic info from MQMD header and some data also it would be easier. |
|
Back to top |
|
 |
Cliff |
Posted: Sun May 26, 2002 11:46 pm Post subject: |
|
|
Centurion
Joined: 27 Jun 2001 Posts: 145 Location: Wiltshire
|
Ramires,
given that you have to do some offline processing of the data to prepare it for import into Excel, you could consider simply putting to queues at the beginning and end of your message flow and your offline process could get from these.
Just a thought ....
Cliff |
|
Back to top |
|
 |
CHERIANV |
Posted: Mon May 27, 2002 1:41 pm Post subject: |
|
|
Apprentice
Joined: 15 Feb 2002 Posts: 43 Location: New York
|
Also, if its just for auditing and you do want it within a message flow, you can consider creating a relational table with information you need and INSERT (store) all incoming / outgoing data using Database and Compute nodes within the flow. |
|
Back to top |
|
 |
|