Calling multiple after job routines sequencely from same job

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
satishkumar25_dw
Participant
Posts: 3
Joined: Wed Jun 13, 2007 10:03 pm

Calling multiple after job routines sequencely from same job

Post by satishkumar25_dw »

How to call two or more after job routines from job properties general tab ?
Raghavendra
Participant
Posts: 147
Joined: Sat Apr 30, 2005 1:23 am
Location: Bangalore,India

Post by Raghavendra »

Are these sub routines are unix shell scripts??
Are these sub routines are of same type.
satishkumar25_dw
Participant
Posts: 3
Joined: Wed Jun 13, 2007 10:03 pm

Post by satishkumar25_dw »

These routines are regular before/after job routines (BASIC). Not unix scripts.
Maveric
Participant
Posts: 388
Joined: Tue Mar 13, 2007 1:28 am

Post by Maveric »

See if this post helps

viewtopic.php?t=99037
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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)
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