Author |
Message
|
wmb_worker |
Posted: Fri Feb 13, 2009 6:14 pm Post subject: File Output node |
|
|
Novice
Joined: 14 Dec 2008 Posts: 11
|
How do I continually append to a file with a file output node?
Only options given are to replace, fail if exists, etc. |
|
Back to top |
|
 |
stallin |
Posted: Sun Feb 15, 2009 8:58 pm Post subject: |
|
|
Novice
Joined: 11 Jan 2009 Posts: 21
|
|
Back to top |
|
 |
DE110283 |
Posted: Tue Feb 17, 2009 6:08 am Post subject: |
|
|
 Novice
Joined: 13 Jun 2007 Posts: 11
|
Hi,
is it possible to append records to an existing file, which was already been closed?
Using Message Broker File Extender this was possible, but I can't get it work for the new FileOutput Node in WMB 6.1.
Use case is: a flow is triggerd on a daily basis and needs to append severall records to an existing file in /file/xyz/out.
The file should not be replaced or archived - it is the same file, which will increase over the time.
Thanks for any hints! |
|
Back to top |
|
 |
wmb_worker |
Posted: Tue Feb 17, 2009 6:02 pm Post subject: |
|
|
Novice
Joined: 14 Dec 2008 Posts: 11
|
Thanks DE!! that was the question I wanted to articulate. |
|
Back to top |
|
 |
mqpaul |
Posted: Fri Feb 27, 2009 9:47 am Post subject: |
|
|
 Acolyte
Joined: 14 Jan 2008 Posts: 66 Location: Hursley, UK
|
DE110283 wrote: |
Hi,
is it possible to append records to an existing file, which was already been closed?
Using Message Broker File Extender this was possible, but I can't get it work for the new FileOutput Node in WMB 6.1.
Use case is: a flow is triggerd on a daily basis and needs to append severall records to an existing file in /file/xyz/out.
The file should not be replaced or archived - it is the same file, which will increase over the time.
Thanks for any hints! |
Just noticed this question. The answer is no, not really.
You can achieve something similar with a flow that copies the output file to a new file and appends a few more records, but that's a pretty horrible work-around. The V6.1 file nodes are not designed to update existing files, but instead to create new files. _________________ Paul |
|
Back to top |
|
 |
MBExpert |
Posted: Wed Jun 17, 2009 2:55 am Post subject: |
|
|
Novice
Joined: 22 Aug 2007 Posts: 14
|
Hey, just a suggestion..
Can you use Trace node, and trace file here? They will append for you. |
|
Back to top |
|
 |
au@kosa |
Posted: Fri Jun 19, 2009 4:03 am Post subject: |
|
|
 Centurion
Joined: 04 Jan 2007 Posts: 103 Location: pune
|
you can use JavaCompute node as workaround _________________ Regards,
au@kosa
IBM Certified SOA Solution Designer/Associate |
|
Back to top |
|
 |
|