System execute output

Hello, I am not able to send system execute Linux command output to the output port.

I have the following code in the SYSTEM_EXECUTE component and its output port is connected to trash; the graph is attached.

#!/usr/bin/ksh
echo “HELLO”

This throw the following error:
Component [SystemExecute:SYSTEM_EXECUTE] finished with status ERROR. (Out0: 0 recs)
Unexpected null value.

Should I be able to get “HELLO” in the output port? How can this be resolved?

Many thanks,
Parsa

Hi Parsa,

in order to run shell scripts from Clover, please use ExecuteScript instead. For more information about ExecuteScript please refer to our documentation: http://doc.cloveretl.com/documentation/ … cript.html

In case you cannot see ExecuteScript in Components Palette (under Job Control section) right click the Palette and select Customize. Then go to Job Control, select ExecuteScript and uncheck Hide check-box.