Home » Developer & Programmer » Data Integration » Running shellscript as external process in owb?
Running shellscript as external process in owb? [message #195658] Sat, 30 September 2006 08:27
gowthamsen
Messages: 14
Registered: August 2006
Junior Member
HI,

I am trying to run a shell script which concatinates the files in a default directory with ',' as a delimiter and returns the string. ItThe script is running successfully while I tested at unix command prompt.
While I added this script as external process I got the follwing error.

PFPS_SMPL_RUNSHELL is the process flow name.
EXTERNALPROCESS is the external process name.
the parameters as follows.
commnad = /SOURCE_FILES/CollectFiles.sh
Remainanig paramerters are default values.

I am using Workflow server 2.6.3
owb 10g r1

The error is as follows..
-------------------------------
tarting Execution PFPS_SMPL_RUNSHELL
Starting Task PFPS_SMPL_RUNSHELL
Starting Task PFPS_SMPL_RUNSHELL:EXTERNALPROCESS


/SOURCE_FILES/CollectFiles.sh: line 1: ls: command not found
/SOURCE_FILES/CollectFiles.sh: line 1: wc: command not found
/SOURCE_FILES/CollectFiles.sh: line 1: ls: command not found

Completing Task PFPS_SMPL_RUNSHELL:EXTERNALPROCESS
Completing Task PFPS_SMPL_RUNSHELL
Completing Execution PFPS_SMPL_RUNSHELL


>And I am not getting the way to catch the output of external process and pass it as parameter as another external process.

Any suggestions are welcome.

Thanks and regards
Gowtham Sen.
Previous Topic: Handling bad recordsin the bad file?
Next Topic: wat r parameter files and parameter files
Goto Forum:
  


Current Time: Thu Mar 28 07:33:34 CDT 2024