SYSCALL is a command environment. It is created by the initial call to syscalls (which is an external routine).
You can, like all other command environments, either: address SYSCALL "write".... or address SYSCALL "write"... sas On Tue, Jun 28, 2022 at 5:43 PM Charles Mills <[email protected]> wrote: > 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 > > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
