QUOTE (burleson @ Apr 27 2012, 09:02 AM)

Hi Burleson,
Thanks for your reply.
I checked the link which you have given.
Please check the file permission below and the execution of statements.
-rwxr-s--- 1 user1 group1 62 Apr 30 08:24 a.sh
-rwsr-sr-x 1 user1 group1 68 Apr 30 08:28 call_a.sh
I executed 2 UNIX commands , one is "date" command ["date" can be executed by all users] and other is "call_a.sh" as below with output.
SQL> select OSexec('/usr/bin/date') as STDOUT from dual;
STDOUT
--------------------------------------------------------------------------------
Mon Apr 30 08:32:01 EDT 2012
SQL> select OSexec('/home/call_a.sh') as STDOUT from du
al;
STDOUT
--------------------------------------------------------------------------------
126
Here the first query return correct values while the second one gives error, return value as "126".
Kindly let me know if any changes required in file permission.
Thanks & Regards,
Venkatesh S