The symbols are pair, but that doesn't change either the documentation or implementation of SETA. Relocatable symbols are not allowed even when paired.
-- 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 1:27 PM To: [email protected] <[email protected]> Subject: Re: Calculating a SET symbol from a label External Message: Use Caution On 2/17/26 11:01, Seymour J Metz wrote: > Look at the definition of expression on the page. It doesn't include > relocatable symbols. > ... Are the symbols paired? If so, the difference is absolute; if the SETA fails, report it as a bug. Does EQU support complex relocatable values? Look ahead should make no difference; It should apply alike whether the expression is an operand of SETA or of EQU. > ________________________________________ > From: Paul Gilmartin > Sent: Tuesday, February 17, 2026 12:31 PM > 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 -- gil
