Hi,
Your hash file will handle the null values however you tell it to.
For example, say your job is something like the following (this is a mega simle example):
HASH_FILE
|
|
lnkLookup
|
|
V
INPUT_FILE ----lnkInput---->TRANSFORMER----lnkOutput---->OUTPUT_FILE
For this example:
* lnkInput & lnkOutput are stream links
* lnkLookup is your reference link (ie. your lookup to the HASH_FILE)
* All files contain 2 fields, "Client_Number" and "Client_Name"
* In the INPUT_FILE, the Client_Name field may be null
* In the HASH_FILE, the Client_Name field is not null
* In the OUTPUT_FILE, the Client_Name field will be derived from HASH_FILE if it is null in the INPUT_FILE
Firstly, in the transformer stage you will need to link INPUT_FILE.Client_Number to HASH_FILE.Client_Number so that the lookup works.
Secondly, in the column derivation for OUTPUT_FILE.Client_Name you will need to have something like (the syntax here isnt 100% correct):
if ((len(INPUT_FILE.Client_Name)=0 OR (INPUT.FILE.Client_Name=@NULL)) AND (len(HASH_FILE.Client_Name) > 0)) then
HASH_FILE.Client_Name
else
INPUT_FILE.Client_Name
Hope this helps
Cheers
J