I am still not quite understanding the usage of Rexx variables with SYSCALL.
If myFileName = "/u/myfile" then do I want to code "SYSCALL open myFileName" or "SYSCALL open" myFileName ? In other words, does myFileName get passed by value, or does SYSCALL do an IRXEXCOM to find its value from its name? Ditto for SYSCALL write. The example on https://www.ibm.com/docs/en/zos/2.1.0?topic=scd-write shows "write" fd "buf" Which makes no sense to me at all. fd is passed by value but "buf" by name? Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Charles Mills Sent: Tuesday, June 28, 2022 2:01 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Some questions on SYSCALL Rexx *documentation* is weird. <g> There is no mention of that in the documentation. Well, I take that back. They show it in an if statement if SYSCALLS("ON") > 3 then ... which is more or less the same thing. The doc could be clearer, but I guess if all the IBM doc were clear we would not have IBM-MAIN. Thanks. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Paul Gilmartin Sent: Tuesday, June 28, 2022 1:55 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Some questions on SYSCALL On Tue, 28 Jun 2022 13:49:53 -0700, Charles Mills wrote: >So are you saying I should be coding > >Foo = SYSCALLS("ON") > Either that or call SYSCALLS "ON" ---------------------------------------------------------------------- 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