We are on DataStage 7.1. I created a hash file that has 2 columns as the key. I want to write a routine to read this hash file, but on the READL command, I can only pass one column as the key. For example:
hashFile
colA - key
colB - key
colC - data
in the routine, the read statement is:
Readl HashRec from hashFile,colA
Is there some way to read the hashFile passing BOTH keys on the read statement? I can create the hash file with one key by concatenating colA and colB before writing to the hash file, but I want to avoid that.
In a DataStage hash file stage it IS possible to do a lookup on a hash file with multiple column keys, so obviously the Ascential software can handle it!
Thanks for any help....
hashFile
colA - key
colB - key
colC - data
in the routine, the read statement is:
Readl HashRec from hashFile,colA
Is there some way to read the hashFile passing BOTH keys on the read statement? I can create the hash file with one key by concatenating colA and colB before writing to the hash file, but I want to avoid that.
In a DataStage hash file stage it IS possible to do a lookup on a hash file with multiple column keys, so obviously the Ascential software can handle it!
Thanks for any help....