On Wed, 6 Aug 2025 02:38:29 +0000, James Mulder wrote:
> The documentation for the STORAGE macro says:
>
>RMODE: For LINKAGE=SVC and LINKAGE=SYSTEM, includes 64-bit
>
Ir would be clearer, more emphatic if instead of
RMODE: ..., includes 64-bit
it sad:
may be called from above the bar.
I just checked:
<https://www.ibm.com/docs/en/hla-and-tf/1.6.0?topic=support-addressing-mode-amode-residence-mode-rmode>:
Note: The 64-bit addressing and residence modes are accepted and
processed by the assembler. However, other operating system components
and utility programs may not be able to accept and process information
related to these operands.
What does that mean? to me, "may not be able"
sounds very close to "unpredictable".
>-----Original Message-----
>From: Jon Perryman
>Sent: Tuesday, August 5, 2025 8:45 PM
>
>On Tue, 5 Aug 2025 12:56:02 +0000, Peter Relson wrote:
>
>>Sorry, but very wrong!
>>If RMODE 64 is not mentioned, then you are expected NOT to invoke the service
>>from a program above 2G.
>
>We loved IBM DOC because it was always consistent. It's sad IBM DOC has become
>inconsistent. We still have 24-bit requirements listed from when AMODE 31 was
>added to each service. It allowed us to remove 24-bit compatibility code when
>a service became 31-bit compatible.
>
>I'm not asking it to be changed but doc is changed for AMODE 64 but they don't
>add 64-bit requirements. I only bring it up because it's a terrible
>inconsistency for IBM.
>
>> It is similar to:fif data above the bar is not mentioned as valid even
>>if AMODE 64 is valid then you are expected NOT to use data above the bar.
>
>By this logic, we can't use STORAGE OBTAIN in an RMODE 64 load module because
>there's no mention of RMODE as a requirement. How about CSRC4RG1 where it says
>AMODE 64-bit addressing mode and All input addresses must be valid 64-bit
>addresses but doesn't mention RMODE. I'm sure I could find additional
>inconsistencies. For instance, I suspect that ATTACHX might allow RMODE 64 but
>prove a negative.
>
>So the new DOC philosophy is to sta e the lifting of a requirement in the
>requirements section and assume that everyone knows about unlisted
>requirements. While I see this in the Linux world, I didn't expect it in z/OS.
>
>>Might an RMODE 64 invocation work? Yes.
>
>I'm guessing it's rare for a service (e.g. SVC, PC, SSI, ...) to be called
>from an RMODE 64 load module. Literals and STORAGE OBTAIN would be above the
>bar thus requiring full AMODE 64 compatibility.
>
>Many TSO services (e.g. ISPLINK & ISPEXEC) don't mention AMODE nor RMODE. In
>fact, they don't state any requirements Many of these services use the
>functions you mention.
>
>>If you want to risk it (and put your customers at such risk), that cannot be
>>stopped.
>
>It's doubtful that vendors are directly with RMODE 64. More likely are risks
>associated to their codes use of RMODE 64.
--
gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN