Page 1 of 1

abort a job

Posted: Fri Jan 16, 2009 7:06 am
by dsuk
Hi,

my requirement is to abort a job when data in a link has reached some threshold. thershold means the percentage of data which is dynamic.

Posted: Fri Jan 16, 2009 7:16 am
by sagar deshmukh
u can use a job control to read the records in the link once it goes beyond the perticular level u can abort it,

Posted: Fri Jan 16, 2009 11:53 am
by DSguru2B
Look into DSLogFatal() coupled with @OUTROWNUM and in your case partition number and total number of partitions.

Posted: Fri Jan 16, 2009 3:40 pm
by ray.wurlod
sagar deshmukh wrote:u can use a job control to read the records in the link once it goes beyond the perticular level u can abort it,
The second person personal pronoun in English is spelled "you", not "u". U is the name of one of our posters. Please strive for a professional standard of written English on DSXchange; it is not an SMS device! Professional English also helps those whose first language is not English.

Re: abort a job

Posted: Fri Jan 16, 2009 3:42 pm
by ray.wurlod
dsuk wrote:my requirement is to abort a job when data in a link has reached some threshold. thershold means the percentage of data which is dynamic.
Why would you want to do this?
Are these rejected records?
Do you want to do this as the job is running, or is it OK to check in, say, an after-job subroutine once all the input records have been processed but before the job itself has finished?