Hashed File Deletion in basic subroutine
Posted: Tue Dec 28, 2010 4:57 am
Hi,
I want to delete a hashed file based on certain conditions from a routine.
I used the command
Call DSExecute('UV', "DELETE FROM ":pHashFileName:" WHERE JobName = '":pJobName:"';", cmdOutput, cmdRetCode)
where pHashFileName and pJobName are parameters.This one works when hashed files are created as account based.
But how to delete the file when they are created in a different path.
I used SETFILE to specify path in dsexecute but it didn't work also i tried to the give the full path as parameter but still it failed.Kindly help
I want to delete a hashed file based on certain conditions from a routine.
I used the command
Call DSExecute('UV', "DELETE FROM ":pHashFileName:" WHERE JobName = '":pJobName:"';", cmdOutput, cmdRetCode)
where pHashFileName and pJobName are parameters.This one works when hashed files are created as account based.
But how to delete the file when they are created in a different path.
I used SETFILE to specify path in dsexecute but it didn't work also i tried to the give the full path as parameter but still it failed.Kindly help