Thanks; that the sort of enhancement I would have caught in the era of change bars and TNLs.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר ________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Eric Rossman <[email protected]> Sent: Wednesday, June 11, 2025 8:03 AM To: [email protected] <[email protected]> Subject: Re: Is there an equivalent of an S-con for a long displacement? External Message: Use Caution Maybe I'm misunderstanding what is being looked for but IBM did implement SY. In "HLASM V1R6 Language Reference," (https://www.ibm.com/docs/en/SSLTBW_2.2.0/pdf/asmr1022.pdf) I see it clearly laid out in Table 30. Eric Rossman --------------------------------- ICSF Security Architect z/OS Security --------------------------------- -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Seymour J Metz Sent: Tuesday, June 10, 2025 9:10 PM To: [email protected] Subject: [EXTERNAL] Re: Is there an equivalent of an S-con for a long displacement? The fact that you can't find a use case doesn't mean that there isn't one, and I've occasionally exploited S-cons over the years. Offsets are irrelevant in this context. LAY is only 16-bit displacement; long is 20 bits. Part of submitting an RFE is providing a use case. it's up to Binyamin to determine whether his need is strong enough to justify an RFE. I've never needed anything beyon the 360 style 4+12. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר ________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Jon Perryman <[email protected]> Sent: Tuesday, June 10, 2025 4:27 PM To: [email protected] <[email protected]> Subject: Re: Is there an equivalent of an S-con for a long displacement? External Message: Use Caution >On Wed, 4 Jun 2025 09:44:05 +0300, Binyamin Dissen ><[email protected]> wrote: >> is there an equivalent of an S-con for a long displacement? On Wed, 4 Jun 2025 10:30:58 +0000, Seymour J Metz <[email protected]> wrote: > DC SL3(foo) >is worth trying. If that doesn't work, can you make a case for an RFE? Do you >also need it for "yonder"? These suggestions are wrong in so many ways. RFE should only be suggested when it's useful and changing len has never been a solution for distinguishing between implementations. I've never seen a valid use case for S-CONS. First, passing register number is useless at runtime. Second, offset has been available since the begining of IBM ASM (e.g L R1,PSATOLD-PSA(0), DC AL2(PSATOLD-PSA), ...). This is most likely what Binyamin wants. Third, I'm guessing a long SCON will match the instruction format (low high). If you truly require a long S-CON, then it will be documented in HLASM REF in the S-CON section. Since all long instructions use Y (e.g. LA versus LAY), then my guess would be SY(xxx) if IBM implemented it. As for an RFE, forget about it because if you find a valid use case, then it will be extremely obscure. E.g. abend recovery. ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- 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
