Delete a file

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
koolsun85
Participant
Posts: 36
Joined: Tue Jun 15, 2010 3:30 pm
Location: Tampa

Delete a file

Post by koolsun85 »

Hello all,

I have a situation where i need to delete 4 dummy files from a particular folder at a particular time to complete the sequencer process. Can I do this by a job..?

Thanks in advance..
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Sure, a Sequence job could use an Execute Command stage to issue the DOS "del" command, same can be done before/after job with ExecDOS or a routine could use DSExecute() to do that.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply