Hi,
I am trying to run a shell script (sample.ksh) in a Job Sequence using "Execute command activity"
Here I need to parameterise the Path of my shell script.
If I give #HOM_DIR#/sample.ksh, I am getting an error saying "Executable path cannot contain parameters (I have created a job parameter with the name HOM_DIR).
Please let me know how can I specify a parameter to run my script.
Thanks & Regards
Sheshadri
Passing parameters in Execute cmd stage
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 78
- Joined: Wed Oct 26, 2005 6:12 am
Passing parameters in Execute cmd stage
Thanks & Regards
Shesha
Shesha
Re: Passing parameters in Execute cmd stage
hi,
As this is a ksh script, just confirm that you are using 'ksh -x' in the Command text box under ExecCommand Tab of the Execute Command Activity and #HOM_DIR#/sample.ksh along with the parameters your scripts needs in Parameters text box.
As this is a ksh script, just confirm that you are using 'ksh -x' in the Command text box under ExecCommand Tab of the Execute Command Activity and #HOM_DIR#/sample.ksh along with the parameters your scripts needs in Parameters text box.
Vikas Jawa
-
- Participant
- Posts: 78
- Joined: Wed Oct 26, 2005 6:12 am