No really, but it's sometimes good enough. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר
________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Schmitt, Michael <[email protected]> Sent: Wednesday, July 3, 2024 10:14 AM To: [email protected] Subject: Re: As a long-time Rexx programmer Isn't address linkpgm 'progname var1 var2 var3...' call by reference? -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Paul Gilmartin Sent: Wednesday, July 3, 2024 7:37 AM To: [email protected] Subject: Re: As a long-time Rexx programmer On Wed, 3 Jul 2024 01:03:53 -0500, Jon Perryman wrote: >On Mon, 1 Jul 2024 10:04:46 -0500, Paul Gilmartin wrote: > ... >>REXX lacks call-by-reference, expected by programmers of most other languages, >>in lieu of which it provides a pseudo-call-by-name, confusing such programmers >>(even sometimes me.) > >I'm not sure how call-by-reference is relevant to SDSF REXX interface. >call-by-reference is a parameter passing format used by programs. If you need >call-by-reference, I believe it's either ADDRESS LINK or ADDRESS LINKMVS. If >those can't satisfy call-by-reference, then create a REXX environment specific >to be used for call-by-reference. > No. I once looked at the SMP/E API which depends heavily on passing references. Has anyone been able to address the SMP/E API from Rexx? -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
