Page 1 of 1

how to call unix script in a after job subroutine

Posted: Tue Aug 26, 2008 12:29 am
by srilaxmi
Hi,

I want to call a unix script with 2 parameters in a After job Sub Routine.
How can i do that?


Thanks,
Srilaxmi

Use ExecuteSh

Posted: Tue Aug 26, 2008 1:01 am
by tkbharani
For example you have a script as Check_File.sh then you can call it as follows.

1. Select ExecuteSh in AfterJobSubroutine and enter the following

<Script_Path>/<Script_Name>.sh #Parameter1# #parameter2#

The parameter should be declared in parameter list in job.

Example:
/u10/files/script/Check_File.sh #CurrDate# #PinCode#