Sme, but manageable. The article Safe REXX at 
<http://www.rexxla.org/Newsletter/9812safe.html> and 
<http://www.rexxla.org/Newsletter/9901safe.html";> has some tips on avoiding 
REXX pitfalls.



--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
David Crayford [dcrayf...@gmail.com]
Sent: Tuesday, June 28, 2022 11:31 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Some questions on SYSCALL

On 29/06/2022 5:42 am, Charles Mills wrote:
> "write" fd "buf"
>
> Which makes no sense to me at all. fd is passed by value but "buf" by name?

It's horribly inconsistent and unpleasant to use. The buffer HAS to be a
passed by reference (variable) as it could break REXX string length
limits or contain characters that REXX chokes on.
I can't help but think that you've made a rod for your back. REXX is
superficially simple but in my experience, which is 30 years of using
the language, it is anything but and has endless pitfalls.

----------------------------------------------------------------------
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

Reply via email to