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
mydsworld
Participant
Posts: 321 Joined: Thu Sep 07, 2006 3:55 am
Post
by mydsworld » Tue Jul 22, 2008 8:46 pm
I want to abort a job when there is any record in reject link associated with Transformer. I can do it by making that reject link, an 'otherwise' link and then specifying 'Abort after rows' parameter.But how to do similar thing (abort a job) with reject link.
Thanks.
bikan
Premium Member
Posts: 128 Joined: Thu Jun 08, 2006 5:27 am
Post
by bikan » Tue Jul 22, 2008 11:31 pm
Just want to know..why you want reject link out from transformer.. as you have mentioned you can do it without reject link.
DSDexter
Participant
Posts: 94 Joined: Wed Jul 11, 2007 9:36 pm
Location: Pune,India
Post
by DSDexter » Wed Jul 23, 2008 12:43 am
Please specify more details. After how many rejects do you want to abort the job?
Thanks
DSDexter
suresh.narasimha
Premium Member
Posts: 81 Joined: Mon Nov 21, 2005 4:17 am
Location: Sydney, Australia
Contact:
Post
by suresh.narasimha » Wed Jul 23, 2008 1:12 am
You need to specify 1 for ' abort after rows '
SURESH NARASIMHA
mydsworld
Participant
Posts: 321 Joined: Thu Sep 07, 2006 3:55 am
Post
by mydsworld » Fri Jul 25, 2008 7:16 am
Setting 'Abort after rows' to 1 applies if I am using a normal link in Transformer with otherwise condition in constraint. But reject link won't come in constraint.
keshav0307
Premium Member
Posts: 783 Joined: Mon Jan 16, 2006 10:17 pm
Location: Sydney, Australia
Post
by keshav0307 » Fri Jul 25, 2008 11:18 am
then create another link to a peek stage , and condition otherwise.
abort job if there is one row in this link
mydsworld
Participant
Posts: 321 Joined: Thu Sep 07, 2006 3:55 am
Post
by mydsworld » Mon Aug 11, 2008 2:12 pm
Without using an 'Otherwise' link in Transformer, I would like to abort a job whenever there is certain records in a Reject Link.
Is that possible ?
Jasti
Participant
Posts: 44 Joined: Sat Apr 14, 2007 6:34 am
Location: Hyderabad, India
Post
by Jasti » Tue Aug 12, 2008 4:14 am
I guess..You can connect that reject link to another transformer and in that you will be able to specify the contraints to abort the job..
Thanks,
Mohan.A.Jasti.