Phantom Warning

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
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Welcome aboard. :D

Your problem is stated in the error - the solution is to stop sending nulls to the Key field(s) of your hashed file.
-craig

"You can never have too many knives" -- Logan Nine Fingers
arshi
Participant
Posts: 50
Joined: Wed Apr 18, 2007 5:12 am

Phantom Warning

Post by arshi »

Hi All,

I am facing following warning while running the job.Job finished but giving the warning.I am using 7.1 version.

-----------
ds_uvput() - Write failed for record id '<Missing or NULL>'

DataStage Job 368 Phantom 2924
Program "DSD.StageRun": Line 571, Attempted WRITE with NULL record ID
DataStage Phantom Finished
-----------

Can any one give the solution to overcome this problem

Regards,
Arshi
arshi
Participant
Posts: 50
Joined: Wed Apr 18, 2007 5:12 am

Post by arshi »

how to stop the nulls for the next level?
In my ODBC given column is the key column and I given the nullable column as NO.

Is this to over come my problem
?
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

If you specify it as not null in datastage but its a nullable column in the database, it wont help. Explicitly use the IsNull() function to check for nullability and either reject the record or specify a default value.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Make sure you've got a Transformer between the two and use a constraint to stop the nulls.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply