Hello,
I have a job that has a start and end loop acitivity and a bunch of steps being repeated n times. I need to create/overwrite an output file when the loop is executed the first time and then append to the same file for subsequent iterations of the loop. What are some of the possible ways of doing this?
Thanks.
Create file first time and then append to it
Moderators: chulett, rschirm, roy
Append will create the file if it doesn't exist. But that will also mean it will append to the previous run's file rather than replace it so you'll need an extra step. Before you get into your loop, ensure the file generated by the previous processing run has been deleted.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 246
- Joined: Mon Jun 30, 2008 3:22 am
- Location: New York
- Contact: