On Thu, 17 Dec 2020 18:47:27 +0000, Seymour J Metz wrote: >I know of no REXX facility to enumerate environments, but z/OS Version 2 >Release 4 TSO/E REXX Reference describes the relevant environment, LINKPGM. > LINKPGM, which is essentially Assembler LINK macro, works well for such as ICSF; less well for such as SMP/E which require the programmer to pass structures containing addresses of user allocated request/reply buffers. 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.
In any case, LINKPGM in a loop may incur heavy LOAD/DELETE overhead. That might be alleviated with Rexx Content Supervision interfaces, or LPA, or cached DASD. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
