You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

Problem in Peoplecode function Exec in Linux machine

1 reply [Last post]
Guest's picture

I hav created a shell file which ftp a pdf from a linux machine to windows. Its working when am executing it mannually from command prompt. In case when running through appengine program and using function Exec it is not executing however the AppEngine program gets success and posted. The code is given below.
&ExitCode = Exec("/ps/psoft/", %Exec_Asynchronous + %FilePath_Absolute);
&ExitCode returns -1 and 127 respectively when used %Exec_Asynchronous and %Exec_Synchronous

FYI.... the PeopleSoft runs on a single machine (App, Prcs and DB servers are in a single machine) with linux enviroment.

Thanks in advance.

Lepa's picture
User offline. Last seen 2 years 6 weeks ago. Offline
Joined: 06/23/2008
Posts: 591
Re: Problem in Peoplecode function Exec in Linux machine

You need &PS_HOME path before /ps/psoft/ since you are using %FilePath_Absolute

Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog