On Tue, 10 Jun 2025 16:58:26 -0500, Jon Perryman wrote: > >Using global variables for &SYSLIST is to be avoided at all cost. The >integrity of those global variables become compromised when calling macro's >using the same implementation. > Might they be qualified?
>As for Inline insert (as opposed to AINSERT), this a parsing issue. > Jonathan Scott has discussed this. AINSERT uses a SYSIN inrerface, not available to macro expansion. I believe that during expansion macros have been converted to internal text incompatible with "Inline insert". >If IBM had implemented REXX as an alternative macro language, we could have >solved this problem for ourselves. > We tried this in a cross assembler for an embedded controller. It was received poorly by programmers, who found it too unlike HLASM conventions. But IBM took an APAR on a bug it uncovered in REXX. Programmers familiar with other languages find HLASM's precedence of COPY vis--a-vis AIF bizarre and restrictive. I suspect it arises from antique processors with too little storage to perform COPY and AIF in the same pass. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
