Hello All,
Can UtilityHashLookUp be used to look up hash files that have been created by specifying a directory path?
Thanks and Regards,
Dhiraj
UtilityHashLookUp
Moderators: chulett, rschirm, roy
DHiraj,
the nice thing about the Ascential sdk add-ons is that they are also supplied with the source code. A quick look at the way the program uses the Arg1 (the hash file name) shows that the OPEN command is used.
You could make a copy of this program and put in some logic that checks Arg1 to see if it is a path (i.e. looking for the Unix "/" character in the name) and if so, you use the OPENPATH command instead of OPEN. That way the routine can accept both types of Hash file definitions.
the nice thing about the Ascential sdk add-ons is that they are also supplied with the source code. A quick look at the way the program uses the Arg1 (the hash file name) shows that the OPEN command is used.
You could make a copy of this program and put in some logic that checks Arg1 to see if it is a path (i.e. looking for the Unix "/" character in the name) and if so, you use the OPENPATH command instead of OPEN. That way the routine can accept both types of Hash file definitions.