Personally, I really would like the Linkage Stack to become generally useful. So I could just use a BAKR to save state on entry and PC to return. Not likely, but y can dream. At least until I retire sometime next year. Dates to get rid of our z9BC keep getting pushed back. But my boss says he's planning to leave on Jun. And when he goes, I go.
On Mon, Oct 25, 2021, 08:55 Peter Relson <rel...@us.ibm.com> wrote: > This discussion has morphed into a discussion of linkage conventions which > are clearly spelled out in the publications, such as with respect to save > area sizes and formats. > I suggest that those interested take the time to re-read those sections. > > A "legacy" AMODE 24 or AMODE 31 routine will not even know about high > halves and thus has no need to save/restore them and thus its 72-byte save > area linkage works just fine. For z/OS, unless otherwise stated, the high > halves of regs 0,1,15 are not to be expected to be preserved across any > interface. > > Whether the target routine saves information in a caller-provided save > area, or some in such an area and more elsewhere, or on the linkage stack > is up to its interface definition that the caller is expected to comply > with. > > Peter Relson > z/OS Core Technology Design > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN