Phantom 11204

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
parsi_cnu
Charter Member
Charter Member
Posts: 43
Joined: Thu Dec 04, 2003 4:26 pm

Phantom 11204

Post by parsi_cnu »

What is that error mean?

I got this error when i ran this job

Phantom 11204
Program "DSD.StageRun": Line 544, Attempted WRITE with NULL record ID
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Your job tried to write a record to a hashed file or some other data target with a primary key, but provided NULL as the primary key value.

This is not permitted.

Make sure no NULL gets this far through your job design.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
gateleys
Premium Member
Premium Member
Posts: 992
Joined: Mon Aug 08, 2005 5:08 pm
Location: USA

Post by gateleys »

During the initial extract phase, or anytime before you write to the hashed file, constrain your stream input to rows with Not Null keys. Use the expression Not(IsNull(inLink.KeyColumn)) to ensure null key values do not pass through.

gateleys
Post Reply