stopping the sequence job

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

Post Reply
scorpion
Participant
Posts: 144
Joined: Thu May 12, 2005 4:19 am

stopping the sequence job

Post by scorpion »

Hi All,

I have a sequence job which calls 3 parallel jobs one after another.

In the very first job i have a filter criteria(constraint in the transformer stage).If the records are not found for that filter,i need to send a stop request to sequence.Do not generate/run any further.

How to implement this?

Could any one help me on this..

Thanks in advance.
Thanx&Regards
scorpion
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Create an output link to a text file in that job, then check for the file contents from the sequence.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Have a reject-handling output on the Transformer stage. If used, this will log a non-informational message in the job log, which can be detected by the job sequence since the job's exit status will not be DSJS.RUNOK.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply