Page 1 of 1

DSU.ClearHashFile is not cataloged

Posted: Thu Feb 22, 2007 4:12 pm
by Nagin
I have a simple job
HashFile -> IPC-> Transformer->IPC->Hashfile.

This job is called as a after job sub routine. And the parameters are seem to be passing right. Any of you guys seen this error before? Any ideas what could be causing this?

Thank you.

Posted: Thu Feb 22, 2007 4:18 pm
by narasimha
Re-compile your routine ClearHashFile and try if it works.

Posted: Thu Feb 22, 2007 4:53 pm
by Nagin
narasimha wrote:Re-compile your routine ClearHashFile and try if it works.
I tried re-compiling the job I am still getting the same error

Posted: Thu Feb 22, 2007 5:09 pm
by narasimha
Another question would be, can you test and get the desired results from your routine, when you try it outside the job.

Posted: Thu Feb 22, 2007 5:41 pm
by chulett
Nagin wrote:
narasimha wrote:Re-compile your routine ClearHashFile and try if it works.
I tried re-compiling the job I am still getting the same error
He did not ask you to recompile a job but to recompile the ClearHashFile routine. Is that what you did?

Posted: Thu Feb 22, 2007 5:43 pm
by DSguru2B
Has this routine ever worked before? Also set it as a Transform Routine and then test it out. See if it works Ok. Once it doesn, you can set it back to before/after routine. Are you sure you compiled your routine?

Posted: Thu Feb 22, 2007 5:49 pm
by ray.wurlod
Another possibility is that the job was exported from another project and imported into this one but the routine was not, so that ClearHashFile does not even appear in the Repository. If this is the case, you must obtain the routine from wherever the job was exported from.

Posted: Fri Feb 23, 2007 9:49 am
by Nagin
ray.wurlod wrote:Another possibility is that the job was exported from another project and imported into this one but the routine was not, so that ClearHashFile does not even appear in the Repository. If this is the case, you must obtain the routine from wherever the job was exported from.
Yep, Ray nailed it. The routine was not imported along with the job and its not there in repository. I have imported the routine and re ran the job, it runs fine.

Thank you all very much.