Executing Unix script from routine...
Posted: Tue May 15, 2007 7:58 am
Good Morning All,
I wrote a routine to execute UNIX script. As I need the ouptut of the UNIX scirpt, I wrote a new routine instead of using the 'Execute Command' in the sequencer.
This routine compiles but when I am testing it gives an error as bad option.
Thanks in advance,
I wrote a routine to execute UNIX script. As I need the ouptut of the UNIX scirpt, I wrote a new routine instead of using the 'Execute Command' in the sequencer.
Code: Select all
Command="ksh +x" : Arg: "/InputFilesCount.sh"
Call DSExecute("UNIX",Command, Output, SystemReturnCode)
Ans= Output <1>
Thanks in advance,