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.
Peter sylvester — — source: Informix-list mailing list archive (1991-1998)
cvbryan wrote:
>
> Any thoughts on printing or writing data to a file from within an
> informix stored procedure.
>
> Thanks in advance
Its not pretty, but you could do something like:
system('echo "blah blah blah ..." >> myfile');
system('lp myfile');
Note that each system call is expensive, taking about a 1/2 second or
so.
-Peter
Your privacy choices
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.