Dave,
It's worse than you think. There is a save area format tag literal for
the save area, but it's not set by the caller. It is set by the callee
saying how he used the previous save area in the chain. Which makes no
sense.
Tony Thigpen
Dave Clark wrote on 1/21/22 9:32 AM:
"IBM Mainframe Assembler List" <ASSEMBLER-LIST@LISTSERV.UGA.EDU> wrote on
01/21/2022 09:16:30 AM:
Dave Clark wrote
<snip>
is there
some other means of knowing whether or not to save the high halves in
the
caller's save area?
</snip>
This has been covered many times. It's your interface. If you documented
that they should provide a save area suitable for saving high halves in
that area then you assume that they have met the interface requirements.
If they didn't (especially with respect to save area), bad things will
happen. It's no different than if you required a 72-byte save area and
they gave you a shorter one.
Yes, I'm fully aware of all that. However, my program is being
called by REXX and I'm not aware of any documentation stating what kind of
register save area REXX provides. That is why I asked and was wondering
if there is, perhaps, a code in the first word of the save area that
indicated the format used -- and, in the absences of such a code, the
72-byte savearea is all there is.
Sincerely,
Dave Clark
--
int.ext: 91078
direct: (937) 531-6378
home: (937) 751-3300
Winsupply Group Services
3110 Kettering Boulevard
Dayton, Ohio 45439 USA
(937) 294-5331
*********************************************************************************************
This email message and any attachments is for use only by the named
addressee(s) and may contain confidential, privileged and/or proprietary
information. If you have received this message in error, please
immediately notify the sender and delete and destroy the message and all
copies. All unauthorized direct or indirect use or disclosure of this
message is strictly prohibited. No right to confidentiality or privilege
is waived or lost by any error in transmission.
*********************************************************************************************