Re: ps -f
Posted in 1994
Danni Bauer — — source: Informix-list mailing list archive (1991-1998)
maury@bnr.ca wrote: > create stored procedure maury() > system("echo dogs > /tmp/testout"); > system("echo cats >> /tmp/testout"); > system("ls -l >> /tmp/testout"); > system("ps -f >> /tmp/testout"); > end procedure > The grammar may not be absolutely correct, but the message is > there. The first three system calls work like a champ. The fourth, > gets a 668 system command cannot be executed, 1 not owner. Try building the string for the forth command: LET cmd = "p;s -fu " || USER system(cmd); Also, if possible, put all the commands into 1 SYSTEM command. Danni