Hi,
I want to call a unix script with 2 parameters in a After job Sub Routine.
How can i do that?
Thanks,
Srilaxmi
how to call unix script in a after job subroutine
Moderators: chulett, rschirm, roy
Use ExecuteSh
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#
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#
Thanks, BK