Hi,
I designed a sequence job using execute command activity and Iam calling the script . In command tab I gave the path of the script and in parameters Iam passing the value but my script is not running when I run the job and it is running fine from command line . Datastage Job is running successfully but it is not executing the script and in log I found
Test_Seq..JobControl (@Execute_Command_0): Executed: /data/dev/dstag/dataset/som/test1.ksh 6
Reply=1
Output from command ====>
SH: /data/dev/dstag/dataset/som/test1.ksh: cannot execute
where 6 is the parameter Iam passing . Iam using Sun solaris
Please can some body help me here
Thanks,
Somaraju.
Command activity
Moderators: chulett, rschirm, roy
Command activity
somaraju
-
- Premium Member
- Posts: 783
- Joined: Mon Jan 16, 2006 10:17 pm
- Location: Sydney, Australia
Hi Guys,
I changed the permission of the script to 777. Now Iam getting warning
/data/dev/dataset/soma/test1.ksh: !/bin/ksh/: not found
/data/dev/dstage/dataset/soma/test1.ksh: orchadmin: not found
ksh test1.sh 6 where 6 is input parameter . Do I need to invoke the shell before it run.
Thanks,
somaraju.
I changed the permission of the script to 777. Now Iam getting warning
/data/dev/dataset/soma/test1.ksh: !/bin/ksh/: not found
/data/dev/dstage/dataset/soma/test1.ksh: orchadmin: not found
ksh test1.sh 6 where 6 is input parameter . Do I need to invoke the shell before it run.
Thanks,
somaraju.
Last edited by somu_june on Fri Jul 25, 2008 12:23 pm, edited 1 time in total.
somaraju
-
- Premium Member
- Posts: 783
- Joined: Mon Jan 16, 2006 10:17 pm
- Location: Sydney, Australia