Page 1 of 1

After Job routine

Posted: Wed Apr 11, 2007 9:11 am
by shrey3a
Hi,

I checked the checkbox only run after job subroutine after successful completition of Job. If the job finished with warning then will my After job subroutine will execute.

We need to execute the after job subroutine even if the job finished with warning but not if job aborts.

Thanks

Posted: Wed Apr 11, 2007 9:26 am
by DSguru2B
:idea: Why dont you test it out and let us know.

Posted: Wed Apr 11, 2007 9:38 am
by shrey3a
If you check the box (after succesful completition of job run the after job subroutine).....and if your job finishes with warnings it executes the command for after job subroutine.

Lil confusing as I thought succesful completition means clean run....but works for me :-)

Thanks....

DSguru2B wrote::idea: Why dont you test it out and let us know.

Posted: Wed Apr 11, 2007 10:09 am
by DSguru2B
In datastage, jobstatus 1 (Finished) and 2 (finished with warnings) is considered successful and hence the behaviour.