Page 1 of 1
how to delete a hash file ?
Posted: Wed Sep 28, 2005 8:44 am
by kollurianu
Hi All,
How to delete hash files , i want remove one hash_file dynamic hash file
from the hash file directory , i know the hash file name that is to be removed , can i just use ' rm' command of unix..........
any ideas, all suggestions are most welcome.
Appreciate your time and thank you all.
Posted: Wed Sep 28, 2005 9:16 am
by kcbland
As long as you didn't use "SETFILE" or your hash file was created by a job using a project name or the default "account" option, you are safe to issue the rm command to remove hash files.
There is a "D_filename" file in the directory where the hash file resides. It's easiest to issue an "rm -r *filename" as long as that doesn't pick up extra hash files.
Posted: Wed Sep 28, 2005 9:28 am
by kollurianu
yes , I didnot use the SETFILE option to create the file , the hash file was
created by the datastage job itself in the hash files directory ,
so i can safely use rm command as you suggested Kcbland.
Thank you so much for ur time and immediate response.
Use Administrator
Posted: Wed Sep 28, 2005 11:10 am
by Nic
I always use Administrator. On the Projects tab click on your project and use Command. On the command line use:
This should be the safest option.
Posted: Wed Sep 28, 2005 12:21 pm
by I_Server_Whale
Hi,
Like Nic said using,
would be the best bet.
Thanks,
Naveen.
Re: Use Administrator
Posted: Wed Sep 28, 2005 1:05 pm
by kcbland
Nic wrote:I always use Administrator. On the Projects tab click on your project and use Command. On the command line use:
This should be the safest option.
This only works if the hash file was created in the project using the default option, not an externally pathed file.