Rows are getting dropped when stage variable condition fails

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
sreddy666
Participant
Posts: 46
Joined: Tue Jun 29, 2010 8:28 am

Rows are getting dropped when stage variable condition fails

Post by sreddy666 »

Hi Friends,

In DataStage 8.5 server jobs,

1> when stage variable condition is falling, rows are getting dropped insteand of going to reject link (which is connect to DRS stage, database sql server).

if i remove DRS stage and place sequential file, then rows are going to reject link.

Thanks in advance..
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

When you say "when stage variable condition is falling" do you actually mean "when the constraint expression evaluates to false"?
-craig

"You can never have too many knives" -- Logan Nine Fingers
rameshrr3
Premium Member
Premium Member
Posts: 609
Joined: Mon May 10, 2004 3:32 am
Location: BRENTWOOD, TN

Post by rameshrr3 »

Can you set link ordering to execute the reject link first ?
You may need to change the stage variable or apply a NOT on it and use that to direct the reject link constraint. I 've faced this row drop due to link ordering . Something feels like a bug
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Clearly the database to which the DRS stage connects is not accepting the reject rows for some reason. Take a look at the data in the text file to see what the problem is.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sreddy666
Participant
Posts: 46
Joined: Tue Jun 29, 2010 8:28 am

Post by sreddy666 »

Thank you all..

Issue got resolved, data is not accepting into table.
Post Reply