> Must the host environment be SYSTEM? That's just one of the example it was convenient to copy. The token after address must be a symbol or a string literal that matches a registered environment.
> Regina's "popen" is just one of the ADDRESS ... STEM variants; ITYM that it is equivalent. Of course, popen is a function while address is not. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Paul Gilmartin [0000000433f07816-dmarc-requ...@listserv.ua.edu] Sent: Saturday, May 16, 2020 10:46 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: OoRexx (was: ... byte file size ... ?) On Sun, 17 May 2020 02:13:16 +0000, Seymour J Metz wrote: >> What does it lack? > >ADDRESS SYSTEM "myprog" WITH INPUT STEM somefood. , > OUTPUT STREAM 'prg.out' ERROR STEM oops. > Ah! I had seen that in Regina but didn't know it is ANSI. Must the host environment be SYSTEM? Something I see only in z/OS UNIX Rexx is https://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.bpxb600/stream.htm file=stream('ls | wc','c','popen read') Regina's "popen" is just one of the ADDRESS ... STEM variants; no stream; no concurrency. I like pipes. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN