Hi
I wanted to delete .dsx files in a temporary folder resides at DS Server using DS JOB.
Thanks in advance....
How do you delete files in particular directory using DS Job
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
Are you having both Server and Client installed in the same machine?
Because the dsx is generally produced on the client machine.
If you want to delete it, use the windows 'Search' option and decide which ones to delete. This is because the dsx are used to backup the DataStage Project components.
Can you provide an example where these are created in temporary directories?
Note - dsjob are used to run new jobs and hence not needed for this purpose.
Because the dsx is generally produced on the client machine.
If you want to delete it, use the windows 'Search' option and decide which ones to delete. This is because the dsx are used to backup the DataStage Project components.
Can you provide an example where these are created in temporary directories?
Note - dsjob are used to run new jobs and hence not needed for this purpose.
Code: Select all
openpath "MyDir" to MyDir else stop
delete MyDir, "Filename" else stop
Mamu Kim
-
- Participant
- Posts: 3
- Joined: Tue Feb 15, 2005 7:19 am
Re: How do you delete files in particular directory using DS
juz call a shell script from the job and do
cd <urDir>
del *.dsx
cd <urDir>
del *.dsx