I want to clear a hash file with a before-job command "CLEAR.FILE hashfilename". WHen the hash file was being created in the default project directory, this was working. However, when the hash file is being created in a separate directory other than the default project directory it looks like the CLEAR.FILE is not working.
I need to clear the file. How can I make CLEAR.FILE command to work when the hash file is in a separate directory. I will appreciate any help.
Thanks.
Clearing hash file with CLEAR.FILE command
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
Another option would be to establish a VOC record to the hash so that CLEAR.FILE would work for your pathed hash file. Search the forum for the syntax as it's been posted many times here.
Yet another option would be to simply leverage your O/S - since pathed hashes are created by the mkdbfile command which works strictly at the O/S level - you could write a script that is called pre-job to delete the existing structures and recreate them with the same command. You could also just do the delete and let the job recreate them if taking the defaults is ok.
Food for thought...
Yet another option would be to simply leverage your O/S - since pathed hashes are created by the mkdbfile command which works strictly at the O/S level - you could write a script that is called pre-job to delete the existing structures and recreate them with the same command. You could also just do the delete and let the job recreate them if taking the defaults is ok.
Food for thought...
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom