Well, it's redundant in TSO/E, but in OREXX there are object values as well as string values; I forgot to change hats.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Paul Gilmartin [[email protected]] Sent: Thursday, December 17, 2020 4:10 PM To: [email protected] Subject: Re: Rexx APIs (was: IODF address) On Thu, 17 Dec 2020 19:46:13 +0000, Seymour J Metz wrote: >Or at least a function to return the current address of a string variable, >plus some way to control alignment. > I've pondered something similar in connection with wishing for a variant of ATTACH that would leave the subtask running concurrently rather than WAITing for its completion. That's greatly complicated by the uncertain operation of Rexx storage management -- there's no guarantee that a variable wouldn't be moved while the subtask runs. It might be necessary to use IRXEXCOM to copy arguments to aligned OBTAINed storage at ATTACH and back at DETACH. "string variable"? Didn't we agree a few weeks ago that's redundant? >________________________________________ >From: Paul Gilmartin >Sent: Thursday, December 17, 2020 2:18 PM > > ... Should Rexx have >GETMAIN/FREEMAIN (or successor) interfaces? That would >be analogous to malloc()/free(), burdening the programmer with >storage management and hazards wild stores. -- 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
