Given that REXX in an OMVS environment supports ANSI stream I/O, why use EXECIO?
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר ________________________________________ From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of Paul Gilmartin <0000042bfe9c879d-dmarc-requ...@listserv.ua.edu> Sent: Sunday, April 21, 2024 1:11 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: REXX vs other languages -- EXECIO intuitiveness On Sat, 20 Apr 2024 23:58:18 -0400, Steve Thompson wrote: >I concur about REXX EXECIO I/O is not exactly intuitive. > >REXX, first implemented in CMS used the CMS I/O utilities.... >Over in TSO they created EXECIO which does not operate in the >same way as does the CMS EXECIO. And it causes me headaches when >I work on CMS for a year or two and then come back to TSO to have >it NOT be have as it did in CMS. Especially the STEM variable and >trying to write a record. > Note the fundamental difference in file specs: CMS: FN FT FM Z/OS: DDNAME ... but I have written portable EXECs -- on z/OS my FileSpec variable is one word; on CMS three. And, irritatingly, the syntax of ADDRESS MVS EXECIO differs depending on whether the EXEC is started from a UNIX or non-UNIX address space. The lack of (VAR string is probably impelled by TSO RECFM=F, which would have a trailing blank entanglement. >And so after working in TSO for a year or so to go back to CMS -- >I need to learn and make use of PIPEs which is not supported over >on TSO.... Most shops do not see the need to pay for TSO Pipes. >Sigh. > Is TSO Pipes even marketed except, an obsolete version bundled with BatchPipes? >And so, with Windows I/O is different (still talking REXX), same >problem with Linux. I/O is not handled the same for simple reads >and writes from my perspective. > Files on desktop systems are largely character streams; on mainframes, record oriented. Beyond that, standard Rexx stream I/O came late to CMS because developers economized by using the available EXECIO. >Never-the-Less, I really appreciate REXX over EXEC, EXEC2 and CLIST. > Which Rexx do you use on desktop systems? BTW, is the Regina mailing list active? -- 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