Use UtilityRunJob as an after job subroutine

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
Dsnew
Participant
Posts: 90
Joined: Tue Apr 19, 2005 2:08 pm

Use UtilityRunJob as an after job subroutine

Post by Dsnew »

Hi,

Is it possible to run a multi instance job using UtilityRunJob after a job?
If yes, how do we call it? Do we need to incorporate it into an After job subroutine? or write a Transform Function?

p.s. I know that I can call it as a Job Activity, but I want to run it as an after job.

Any help appreciated.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Re: Use UtilityRunJob as an after job subroutine

Post by chulett »

I don't really see the point of doing things this way, but sure - create a 'Before/After' routine to leverage UtilityRunJob and then run it After Job. Could even be generic where you pass in the job name to run, etc...
-craig

"You can never have too many knives" -- Logan Nine Fingers
Dsnew
Participant
Posts: 90
Joined: Tue Apr 19, 2005 2:08 pm

Post by Dsnew »

Thanks for confirming chulett.
If possible can you please give me a code snippet of the same.
Post Reply