Re: 668 System command cannot be executed - 1: Not owner
Posted in 2006
gavinrifkind wrote:
> I have a Stored Procedure which executes a System command to call a
> 4GE program. When executing the stored procedure directly on the
> server using DBACCESS, everything works correctly.
>
> I have written a Java application which calls the Stored Procedure
> using JDBC The application works on some computers, but not on the
> others.
>
> The error that it gets is "668 System command cannot be executed" and
> ISAM error is "1 Not Owner".>
> Both computers are using the same login credentials, and the same
> version of the JDBC drivers.
>
> The executable 4GE has execute permissions for all users.
>
> I also have similar results trying to execute the Stored Procedure
> with other JDBC clients eg. SQuirreL SQL. It works on some computers
> but not others.
>
> Please can somebody point me in the right direction.
Google is your friend! Check out http://tinyurl.com/o6gb5 (TinyURL.com
is another friend).
I suspect that the exit status from your 4GE is not reliable (sometimes
0, sometimes 1) and you are seeing this in the result from your stored
procedure.
--
Jonathan Leffler #include <disclaimer.h>
Email: jleffler@earthlink.net, jleffler@us.ibm.com
Guardian of DBD::Informix v2005.02 -- http://dbi.perl.org/