I am generating a one up number (ID's) in a transformer. Once the id's reach a max.value ( which is paased as a parameter) the job should get aborted. Can any one tell me how to do this in a transformer?
Regards
To abort a job in Transformer
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 9
- Joined: Tue Mar 18, 2008 6:01 pm
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
There are many ways. One is to invoke DSLogFatal() from a routine. But, if you only generate the right number of values, there is NO NEED to abort. This is definitely the preferred approach.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.