Unix Script not executing from DataStage
Posted: Thu Oct 30, 2014 10:55 am
Hello,
I am trying to execute the Unix script from DataStage using Execute_Command Stage.
THe Unix script is(test.ksh) :-
#!/bin/ksh
echo "Test"
I have given full permission to this script.
During execution I am getting below mentioned error
Executed: sh /home/test.ksh
Reply=127
Output from command ====>
sh: /home/test.ksh: not found.
Command sh -x /home/test.ksh did not finish OK, reply = '127'
When I am executing the same script from Putty, it is working fine.
PLease guide.
Regards
NM
I am trying to execute the Unix script from DataStage using Execute_Command Stage.
THe Unix script is(test.ksh) :-
#!/bin/ksh
echo "Test"
I have given full permission to this script.
During execution I am getting below mentioned error
Executed: sh /home/test.ksh
Reply=127
Output from command ====>
sh: /home/test.ksh: not found.
Command sh -x /home/test.ksh did not finish OK, reply = '127'
When I am executing the same script from Putty, it is working fine.
PLease guide.
Regards
NM