Page 1 of 1

How to Abort a DS job based on a condition

Posted: Mon Jan 31, 2011 12:24 pm
by DSFreddie
Hi All,

I have a requirement in my project where I need to abort a DS job based on a condition. ( If field.A not equal to field.B, then Abort the job).

The use of Sequencer is ruled out as I dont want to use one for just one job.

Thanks for your inputs.

Regards,
Freddie.

Posted: Mon Jan 31, 2011 3:59 pm
by ray.wurlod
Transformer to detect condition and send row to a reject link on which you institute a row limit of 1.

Posted: Mon Jan 31, 2011 7:41 pm
by DSFreddie
Thanks Ray for your quick response.

However, I am given this task & instructed not to use a Transformer stage.

Is there any other way (through any other stage) to do it ?

(FYI Pls. The transformer stage/Sequencer/Routines-Scripts shouldnt be used)

Thanks,
Freddie

Posted: Mon Jan 31, 2011 7:48 pm
by ray.wurlod
There is no other way.

<rant>Resist stupid requirements!</rant>

Posted: Mon Jan 31, 2011 7:48 pm
by ray.wurlod
If "they" think that it can be done, demand to know how.

Posted: Mon Jan 31, 2011 9:39 pm
by swapnilverma
brain teasers ?

Posted: Mon Jan 31, 2011 11:42 pm
by chulett
Misplaced Transformer fear, I'd wager.

Posted: Tue Feb 01, 2011 1:03 am
by jwiles
How about using a filter to an abort operator?

Must be really irrational to include sequencers, routines and scripts along with transformers. I've seen odd reasons for restricting other stages as well :roll:

Regards,

Posted: Tue Feb 01, 2011 1:42 am
by ray.wurlod
Maybe it's an interview question.

I'll bet a small amount that, when "they" are presented with the Wrapped stage possibility, that they exclude that too.

You could always have an operator watch the values go by and pull the power plug when they see a bad value.
:wink:

Posted: Tue Feb 01, 2011 7:45 am
by jwiles
Hey, a hardware interface! I like it :P