Hi,
In my project,I have a requirement like this.
Once the job finishes successfully, my input file needs to be cleared and it should be empty.
Can any one please help me on this.
Clear file after successful job completion
Moderators: chulett, rschirm, roy
Clear file after successful job completion
Thank You,
Sudarsan AVS
Sudarsan AVS
-
- Premium Member
- Posts: 232
- Joined: Fri Aug 04, 2006 1:20 am
- Location: Bangalore
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
Do your project use a phrase called "archiving" ?
Anyhow, if you want to clear, you can do a
Anyhow, if you want to clear, you can do a
Code: Select all
echo '' > fileName