Page 1 of 1

UtilityHashLookup fails when the hash path is different

Posted: Wed May 16, 2012 12:11 pm
by pratapsriram
I have been having issues with the Routine UtilityHashLookup in 8.5 server jobs. When the Hash files are created under /data/<Project_Name>/hash directory, the routine is not find the hash file when testing the UtilityHashLookup. But when the path is changed to /Projects/<Project_Name> then it is working fine. But this is not happening in all the servers. In Dev the original path /data/<>/hash works, but not in other servers like QA and Prod. So is there any setting we have to change for this routine to look into the specific path? I saw some posting having OpenPath statements, but could not get that to work properly.

The job in question is an old job which is being migrated from 7.5 to 8.5. So is this new to 8.5? Or is there any other way to tackle it.

Can anyone point me to the right approach on this?

Posted: Wed May 16, 2012 4:39 pm
by ray.wurlod
Look very carefully at the routine code. Does it use Open or OpenPath? What does that tell you?

Posted: Fri May 18, 2012 6:16 am
by pratapsriram
Ray,

It uses Open in the routine.

But this is happening only in QA and Prod regions. Dev box is working fine. That is why I was assuming that there is no issue with the routine.

Posted: Fri May 18, 2012 10:18 pm
by chulett
The routine works only with account-based hashed files, meaning ones that were created in an 'account', i.e. a project and have a VOC record. For pathed hashed files, copy the routine to a new name and change Open to OpenPath.