The issuer sees the same values in R2-R12 before and after the ATTACH.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Tony Harminc [t...@harminc.net] Sent: Saturday, February 12, 2022 5:14 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Registers at entry to subtask (from ATTACH) On Sat, 12 Feb 2022 at 13:54, Binyamin Dissen <bdis...@dissensoftware.com> wrote: > The manual (MVS Programming: Assembler Services Reference, Volume 1 > (ABE-HSP)) states > > 2-12 Used as work registers by the system. > > but I am looking at some old functional code which seems to expect > (several?) > registers values at ATTACH time be passed as is to the subtask. > Isn't the "Used as work registers by the system" talking about the registers the issuer sees after the ATTACH, rather than what the ATTACHed subtask sees? Tony H. ---------------------------------------------------------------------- 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