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
gpbarsky
Participant
Posts: 160 Joined: Tue May 06, 2003 8:20 pm
Location: Argentina
Post
by gpbarsky » Thu Sep 16, 2004 8:38 am
:D :D :D :D :D :D :D :D
Hola mis amigos....
I need to cleanup temporary hash files that are being created in a specified directory; this is not the project directory .
Besides, I already have a routine to delete hash files, but from the project directory.
How can I do, to delete hash files from the others directories ?
Thanks in advance.
Guillermo P. Barsky
Buenos Aires - Argentina
chulett
Charter Member
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Thu Sep 16, 2004 8:42 am
For hash files not in an account, i.e. ones that are specifically pathed and created via 'mkdbfile', simply delete them from your operating system.
-craig
"You can never have too many knives" -- Logan Nine Fingers
gpbarsky
Participant
Posts: 160 Joined: Tue May 06, 2003 8:20 pm
Location: Argentina
Post
by gpbarsky » Thu Sep 16, 2004 8:58 am
Thanks Craig.
My only concern was about to leave the VOC in a "good state".
So, with a "DEL" (delete) command and with the "RD" (remove dir) command I can make the cleanup of the directory in which the hash files are allocated. Isn't it ?
Guillermo P. Barsky
Buenos Aires - Argentina
chulett
Charter Member
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Thu Sep 16, 2004 10:29 am
You can get away with it because they have no VOC entry. Unless you've specifically added one to facilitate the use of some of the commands that require it, that is.
-craig
"You can never have too many knives" -- Logan Nine Fingers
kduke
Charter Member
Posts: 5227 Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:
Post
by kduke » Thu Sep 16, 2004 12:54 pm
You can you use the search command on the VOC and look for that directory or
Mamu Kim