How to reject the records

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

How to reject the records

Post by sujaoschin »

I have a column "AS_LOCATION' which has value of 101,111,105 and D. I need to reject the records with value 'D' and populate the rest into target table.

Please advise.
Sujatha K
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Constraint expressions.
InLink.AS_LOCATION <> "D" (regular output)
InLink.AS_LOCATION = "D" (reject link)
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

:? Please don't start a new post for something you've already asked about:

viewtopic.php?p=297394

You should have just asked for a clarification there.
-craig

"You can never have too many knives" -- Logan Nine Fingers
sujaoschin
Premium Member
Premium Member
Posts: 102
Joined: Tue Jan 31, 2006 4:13 am

Post by sujaoschin »

Thanks , Ray. The problem is resolved.

As mentioned by you, I used the constraint expressions like below

Constraint expressions.
InLink.AS_LOCATION <> "D" (regular output)
InLink.AS_LOCATION = "D" (reject link)
Sujatha K
Post Reply