i have a situation where i am creating hash files like FileName_Date
i need to delete these hash files once entire batch has run.
we are using DataStage Server Edition 7.5.1 in windows environment.
You can have a file that has all the hashed file names. You could have a small custom routine that invokes a TCL command DELETE.FILE and takes in a parameter (hashed file name). You can build a job, access that file and in the transformer call that routine. This will take care of all your Hashed files.
on the top of my head, the routine could be something like
DSguru2B wrote:Yes. I totally forgot about that. My solution will work for files that are created in an account. For pathed a different approach is required.
Jules Renard-
we are using account for hash file creation. your solution is working.
thank you for helping me.
Your welcome.
BTW, my name is not Jules Renard and i certainly did not die in 1910
Jules Renard was a french author whos quote i have as a footer.
Regards,
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
DSguru2B wrote:Your welcome.
BTW, my name is not Jules Renard and i certainly did not die in 1910
Jules Renard was a french author whos quote i have as a footer.
Regards,