Page 1 of 1

Command Stage Query

Posted: Mon May 21, 2007 9:16 am
by sumesh.abraham
Hi All,

I'm using a command stage and I've specified a command as

Code: Select all

echo "XYZ" > File1.txt
and I've specified the value for Output to file as LogFile1.txt
The Disable output to log checkbox is not checked. Once I run the job, the File1.txt file contains the string XYZ, but LogFile1.txt is empty. Should it contain the output from the command and return code, right? Why is that not happening? Any help will be appreciated.

Thanks,
Sumesh

Posted: Sun May 27, 2007 6:43 pm
by asitagrawal
Coz there is neither a retrun code nor any output of executing this command...
It is echoing your text , which has been piped to file, FILE1.TXT, which is correct...


Try executing the command on the command prompt !!

Posted: Mon May 28, 2007 12:05 am
by sumesh
Asit,

Thanks for the clarification.

Thanks,
Sumesh