In the Execute command stage i given command line as "sh /data/customer/Personal/fine.sh" this is hard coded.
We tried parametterzing the Execute command path and the name but datastage doesn't allow us to parameterize the shellscript path.The script to run should be soft-coded.so please tell me how to make the parameterize the shell script path?.and also is any other stage used to parameterize the shell script
Parameterize the shell script path in Execute command stage
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Varun,
I believe you should be able to do this, the way Ray has mentioned.
To your next question, there is no particular stage just for parameterization. It is for this purpose (pass parameters) that the Parameters box is given in the execute command stage, so that you can set the parameter names here.
Regards,
The Bird.
I believe you should be able to do this, the way Ray has mentioned.
To your next question, there is no particular stage just for parameterization. It is for this purpose (pass parameters) that the Parameters box is given in the execute command stage, so that you can set the parameter names here.
Regards,
The Bird.
Hi,
If the path is going to be changed less, you have another option.
Create a environmental varible and use it in the execute command.
-Kumar
If the path is going to be changed less, you have another option.
Create a environmental varible and use it in the execute command.
Code: Select all
$PATH/shell.sh