Page 1 of 1

Running Shell Script and DS Routine in after job

Posted: Wed Sep 17, 2008 6:05 am
by shershahkhan
I have a Server job and i need to run a Shell script and DS routine after the job completes in a after job routine section; Is it possible to do this.
Details:
for shell script i can do this
ExecSH - SheelScriptName param1 param2

for Routine i can do this
RoutineName - Param1 param2


Is it possible to run both in the after routine part?

Posted: Wed Sep 17, 2008 6:08 am
by ray.wurlod
Yes but you have to write your own after-job subroutine that encapsulates both. Use DSExecute() to invoke the shell script.