|
| [mailto:midrange-l-admin@midrange.com]On Behalf Of Pete Hall | Sent: Wednesday, November 20, 2002 8:29 PM | At 07:27 11/20/2002, Hans Boldt wrote: | >In Unix, | >commands use the predefined streams stdin, stdout, and stderr, all | >of which can be redirected and piped (largely) without the command | >being aware of the redirection. | | There are OpnStdIn() (opens fildes[0]) and OpnStdOut() (opens fildes[1]) | functions in the IS-Toolkit Unix service program. Could the pipe() method | in QP0LLIB1, along with these two functions be used to provide this | capability? The documentation for pipe() says: I guess my question is whether these tools could possibly be used in an CPF/OS/400 commands, something like: OVRSIOF STDIO(*IN) + OPNID(x) + TOFILE(file) + TOMBR(mbr) + TOFLD(fld (*varchar)) + ACCESS(*SEQ/*KEYED/*SRC/*MSGQ?/*DTAQ?/*API/etc...) DLTOVRSIO OPNID(x) (which would actually do the processing of a previous OVR to STDOUT). ?? Or is OS/400 not capable of something like this...?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.