Look at the definition of expression on the page. It doesn't include 
relocatable symbols.

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




________________________________________
From: IBM Mainframe Assembler List <[email protected]> on behalf 
of Paul Gilmartin <[email protected]>
Sent: Tuesday, February 17, 2026 12:31 PM
To: [email protected] <[email protected]>
Subject: Re: Calculating a SET symbol from a label


External Message: Use Caution


On 2/17/26 10:08, Seymour J Metz wrote:
> I have macros that need to set the values of a SET symbol to the difference 
> of two relocatable symbols. I can generate an EQU and refer to it in the 
> SETA, but that's ugly. Is there a cleaner way, or an RFE to provide one? 
> Ideally I'd like a transfer function or a new pseudo-op.

???
<https://www.ibm.com/docs/en/hla-and-tf/1.6.0?topic=symbols-seta-instruction>:
     variable_symbolSETAexpression

What does "expression" not provide that you need?

--
gil


Reply via email to