Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
gerrit.schutte@gmail.com said:
> All -
>
> I have installed Informix 11.50 DB on my Windows XP box. When running
> the 'system' via the 'dbaccess' command such as in:
>
>
> create procedure test_procedure()> define command varchar(255);
> let command = 'dir > c:\\tmp\\text.txt';
Try:
let command = 'dir c:\\ > c:\\tmp\\text.txt';
The system command does not, by default, have a directory that it can
list, AFAIK.
> system command;
> end procedure;
> grant execute on procedure test_procedure() to 'public'; execute> procedure test_procedure();
>
> I receive the following error message:
>
> 668: The system command cannot be executed or it exited with a non-> zero status
> 2: No such file or directory
>
> What is it that I do wrong? Any help very appreciated.
>
> Thanks in advance,
> Gerrit
> _______________________________________________
> Informix-list mailing list
> Informix-list@iiug.org
> http://www.iiug.org/mailman/listinfo/informix-list
>
>
--
Bye now,
Obnoxio
http://obotheclown.blogspot.com/
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.