warning while creating a hash file

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
sujaoschin
Premium Member
Premium Member
Posts: 102
Joined: Tue Jan 31, 2006 4:13 am

warning while creating a hash file

Post by sujaoschin »

I am creating a hash file from db2 table for the purpose of lookup. In db2 the column 'biseps_modelnum' has both null values and values. This biseps_model num is the key for the lookup. When I am running the job, I am getting this below warning as null records are there. How to avoid this warning?

SCTA_T_ITEMS_HASH_forAltItem..oh_HASH_AltItem.Hash_Data: ds_uvput() - Write failed for record id '<Missing or NULL>'
Sujatha K
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Stick in a Transformer stage with a constraint that does not pass NULL keys to the hashed file.

And it's "hashed" file, by the way, not "hash" file.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sujaoschin
Premium Member
Premium Member
Posts: 102
Joined: Tue Jan 31, 2006 4:13 am

Post by sujaoschin »

Thanks, Ray. This problem is resolved and I used the below in transformer stage to avoid the warnings and filter out null records.

Not(IsNull(lookup_BISEPS_MODELNUM.BISEPS_MODELNUM))
Sujatha K
Post Reply