How to cleanup unwanted hash files

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
venkat n
Participant
Posts: 29
Joined: Fri Mar 18, 2005 3:28 am

How to cleanup unwanted hash files

Post by venkat n »

How to cleanup unwanted hash files
I have hash fiels in the repostory and also in the differ path in the server itself
I want to remoove those hash files
please let me know how to do those.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Venkat,

files in the repository should be deleted from the TCL level using the command "DELETE.FILE {MyFileName}", this will remove the VOC pointer to that file as well as the physical files themselves - both the D_{MyFileName} and the {MyFileName} elements. Files in other locations that are created via DataStage jobs have no VOC pointers and can be deleted from UNIX.
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

This topic should be in the Server Forum.
Mamu Kim
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

There was some SQL posted which listed the hash file names. You need to do this in a program and see if a hash file is still being used.
Mamu Kim
Post Reply