odbcPopulate,1: Fatal Error: Null value on the accessor inte

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
sri_vin
Premium Member
Premium Member
Posts: 20
Joined: Wed Aug 25, 2010 10:58 pm

odbcPopulate,1: Fatal Error: Null value on the accessor inte

Post by sri_vin »

Hi

I have field contract_beneficiary_nomination_comment that has data type varchar and length 8000. I set this field to "NULL" using setnull() function.

When i run the job, I am getting following error.

Can anyone help me?

If I assign a blank instead of null then it works fine.

Thanks
Sri
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Can you please show the full error? It was truncated when you used it as your subject line.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sri_vin
Premium Member
Premium Member
Posts: 20
Joined: Wed Aug 25, 2010 10:58 pm

Post by sri_vin »

The error is

odbcPopulate,0: Fatal Error: Null value on the accessor interfacing to field "contract_beneficiary_nomination_comment".
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The message suggests that, on the output link, column contract_beneficiary_nomination_comment is marked not nullable. The error occurs when you try to pass a null to it.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply