How to delete .txt file from datastage

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
aladap12
Participant
Posts: 60
Joined: Fri Jul 20, 2007 1:15 pm
Location: NO

How to delete .txt file from datastage

Post by aladap12 »

Hi,
How can we delete .txt file that was present in the datastage server
we read that file every day and do the process, after all my process fininsh I have remove the file. this is my requirement.

Can we do this from datastage.

Thanks
VKR
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Run the OS level command to delete the file on an execute command stage of your sequencer or from your scheduler.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Or "after job" using ExecDOS, depending on what "after all my processing finishes" means exactly.
-craig

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