Re: stored procedures: system-command?
Posted in 1996
David Williams — — source: Informix-list mailing list archive (1991-1998)
In article <501dkg$ka@next01.biw-ag.de>, Pirmin Braun <braun@biw-ag.de> writes >Hi, >Informix Online 7.1 on Solaris refuses to execute shell commands in the >system statement. >The stored procedure works on HP. I've tried several commands (echo, cd >i.e.). It always says "668 can't execute..." and "1 not owner.". Executing >them in a shell works fine. What's going wrong? > >Thanks in advance, Pirmin. >-- >Pirmin Braun; ONL Department >BIW GmbH; Werkstr. 24; 71384 Weinstadt; Germany >Phone: 0049 7151 602 484; Fax: 0049 7151 602 341 >Home: 0049 711 5170029 >#include <StandardDisclaimers.h> > Make sure the enviroment variable SHELL is set (usually to /bin/sh). -- David Williams