On Wed, 9 Mar 2022 16:26:36 +0000, Seymour J Metz wrote: >address SYSTEM mycmd myopts WITH INPUT foo OUTPUT FIFO >address SYSTEM mycmd myopts WITH INPUT foo OUTPUT STEM bar. >address SYSTEM mycmd myopts WITH INPUT foo OUTPUT STEM bar. ERROR APPEND baz > Each of those is synchronous, not returning control to the Rexx scriipt until "mycmd myopts" terminates, not suitable for a long-running command.
(Isn't myopts merely part of the command string?) >Why won't popen let you redirect both stdin and stdout? Or all three? > Desirable, but entailing synchronization problems unless Rexx were also to provide the lacking SYSCAL SELECT: <https://pubs.opengroup.org/onlinepubs/9699919799/functions/pselect.html#tag_16_400> >________________________________________ >From: Paul Gilmartin >Sent: Wednesday, March 9, 2022 10:47 AM > ... >OTOH, I know of no other Rexx with the facility of z/OS STREAM POPEN: -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN