Page 1 of 1

Subroutines

Posted: Mon Jul 31, 2006 10:59 pm
by swamiar
Hi,

When any before/after job subroutine fails, there is only a warning in the director. Is there any settings that can be made to abort the job when a subroutine fails?

Aravind.

Re: Subroutines

Posted: Mon Jul 31, 2006 11:59 pm
by balajisr
swamiar wrote:Hi,

When any before/after job subroutine fails, there is only a warning in the director. Is there any settings that can be made to abort the job when a subroutine fails?

Aravind.
If you have before job subroutine then the job runs only if before job subroutine returns a 0 value. You job does not run if before job subroutine fails.

If After job subroutine fails then warning is logged to director log. Set your warning limit to 1 to abort the job.