To do job Abort in server

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
asnrece1
Participant
Posts: 3
Joined: Thu Nov 20, 2008 6:11 am

To do job Abort in server

Post by asnrece1 »

Hi all,
Can you help on , how to abort the job in server by using transformer stage or any routine ?
my job is multiinstance job and input ODBC stage which called the Stored procedure and return the value 0 or 1 , for value 1 i wanted to abort the job .
can you help this requirement.

thanks
satya
datskosaraju
Premium Member
Premium Member
Posts: 48
Joined: Tue Nov 25, 2008 11:10 pm
Location: Des Moines,IA

Re: To do job Abort in server

Post by datskosaraju »

Hi Satya,

There was a similar type of discussion few days ago.

Hope this helps

viewtopic.php?t=127966&highlight=abort
"It's easier to go down a hill than up it but the view is much better at the top"
-Bennet,Arnold
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Put a link into your transform stage with a constraint of "SQLOutputLink.REJECTED" (Assuming your link to your DB connection is called "SQLOutputLink")and then put limit of that output to abort after 1 row.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

I always counsel never to design server jobs to abort. Issue warnings, certainly, but retain control.
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