Page 1 of 1

Calling multiple after job routines sequencely from same job

Posted: Fri Aug 17, 2007 3:45 am
by satishkumar25_dw
How to call two or more after job routines from job properties general tab ?

Posted: Fri Aug 17, 2007 4:34 am
by Raghavendra
Are these sub routines are unix shell scripts??
Are these sub routines are of same type.

Posted: Fri Aug 17, 2007 5:37 am
by satishkumar25_dw
These routines are regular before/after job routines (BASIC). Not unix scripts.

Posted: Fri Aug 17, 2007 6:09 am
by Maveric
See if this post helps

viewtopic.php?t=99037

Posted: Fri Aug 17, 2007 6:11 am
by ray.wurlod

Code: Select all

InputArg = 0  ; * or as needed

Call DSU.Subroutine1(InputArg, ErrorCode)

If ErrorCode = 0
   Then Call DSU.Subroutine2(InputArg, ErrorCode)

If ErrorCode = 0
   Then Call DSU.Subroutine3(InputArg, ErrorCode)