system execute output

Support questions related to CloverETL Server

hparsa
Posts: 8
Joined: Tue Apr 02, 2013 2:47 pm

system execute output

Postby hparsa » Fri Oct 31, 2014 8:00 pm

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
Attachments
TEST_SYSEXE.grf
(1.12 KiB) Downloaded 67 times

slechtaj
Posts: 192
Joined: Wed Aug 15, 2012 8:18 am

Re: system execute output

Postby slechtaj » Thu Nov 06, 2014 3:49 pm

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.
Jan Slechta
CloverCARE Support
CloverETL | Rapid Data Integration

Visit us online at http://www.cloveretl.com

How to speed up communication with CloverCARE support


cron