Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Running a Shell Script in Apps

448749Nov 22 2005 — edited Nov 22 2005
Hi,
I want to know is it possible to run a shell script and see the output in Apps?
If yes,
I have a shell script shell.sh,

#!/bin/sh
echo "Shell Script"

I saved this script in the correct location.(/u21/app/ildevappl/eoe/11.5.0/bin/shell)
I created the executable with the Method as Host.
I created the conc. pgm.

Now,If i run the concurrent program,
Im getting an error,which says

The executable file /u21/app/ildevappl/eoe/11.5.0/bin/shell for this concurrent program cannot be executed.
Contact your system administrator or support representative.
Verify that the execution path to the executable file is correct.

But I verified the path.It is correct only.

I have set execute permission also.
chmod +x shell.sh

When i execute the script in the command prompt(./shell.sh),it works fine.

Am I wrong anywhere?
Plz help.

thanks.

Message was edited by:
user445746
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 20 2005
Added on Nov 22 2005
4 comments
469 views