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 Why won't popen let you redirect both stdin and stdout? Or all three? -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Paul Gilmartin [[email protected]] Sent: Wednesday, March 9, 2022 10:47 AM To: [email protected] Subject: Re: Rexx copy to OMVS On Wed, 9 Mar 2022 14:27:19 +0000, Seymour J Metz wrote: >address SYSCALL foo WITH OUTPUT bar > >would be a lot shorter. It's only been a quarter of a century since >X3.274-1996 came out :-( > IBM dislikes admitting that someone else can do something better. OTOH, I know of no other Rexx with the facility of z/OS STREAM POPEN: <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ibm.com%2Fdocs%2Fen%2Fzos%2F2.1.0%3Ftopic%3Dexplicitly-process-streams&data=04%7C01%7Csmetz3%40gmu.edu%7C35593a33c62d45d98acf08da01e41680%7C9e857255df574c47a0c00546460380cb%7C0%7C0%7C637824376381853357%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=BS9iMYWJTG4xtun9zsqQmDZBSCO1uGO%2BW%2FhsfU7Arso%3D&reserved=0> -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
