The R form (SVC x'A') was functionally replaced by the RU/RC forms (SVC x'78') 
more than 45 years ago. 
I don't know when exactly - I have been at IBM for only 45 years.  The R form 
does not support 31- bit
addresses or any attribute selections (other than subpool).  The same comments 
apply to the LU, LC, 
EU, EC, VU, and VC   (SVC 4/5) forms.  So I would recommend against coding any 
new instances of them.
They will of course remain supported forever for compatibility. But they will 
never be enhanced.
And even the RU/RC forms of the Getmain/Freemain macros are unlikely to be 
enhanced. Those 
macros are very old and difficult to maintain due to all the code for the 
deprecated forms.  That
is why we added the additional LINKAGE options to STORAGE macro, and have added 
options
like EXECUTABLE only to the STORAGE macro.  

Jim Mulder

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Charles Mills
Sent: Saturday, October 19, 2024 2:44 PM
To: [email protected]
Subject: Re: z/OS macros with ARCHLVL=7

> As to "R form" of freemain (or getmain) ... it should probably never be used 
> any longer.

Why? (Serious question.)

Charles

On Sat, 19 Oct 2024 12:20:44 +0000, Peter Relson <[email protected]> wrote:

>In the alternate reality of unlimited resources and time, those sort of 
>expansion might be done.
>
>The only thing that was felt justified was to avoid needing a register to base 
>your code so that you could use relative branch better.
>IBM macros for the most part require addressability to your static data (so 
>that using literals is felt OK).
>
>You can, of course, compare the expansion shown to what you'd get without the 
>specification of SYSSTATE ARCHLVL.
>Now that is the S/360 version.
>
>As to "R form" of freemain (or getmain), we intentionally put no work into 
>that path, as it should probably never be used any longer.

----------------------------------------------------------------------
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