Jonathon's response indicated that it would take work, but did he say that it 
was not feasible to invoke parsing for a generated string?

For it to be acceptable, HLASM for writing macros in REXX would require not 
only ADDRESS HLASM but also a suite of provided functions and variables that 
provided the same functionality as the existing functionality. I don't believe 
that style would be a major obstacle were IBM to do that.

-- 
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר




________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Paul Gilmartin <[email protected]>
Sent: Tuesday, June 10, 2025 10:37 PM
To: [email protected] <[email protected]>
Subject: Re: HLASM - Is there a simple way to pass &SYSLIST as is to an inner 
macro


External Message: Use Caution


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




----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to