@Jim, thanks. A couple of follow-ups if I may. - What is the proper return from an XMPOST ERRET routine? BR 14? I don't see anything in the docs.
- Would an XMPOST LINKAGE=BRANCH ERRET routine get passed the ABEND code? Where? Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Jim Mulder Sent: Monday, October 8, 2018 7:31 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Cross-memory POST ERRET and return codes POSTERR will get control when an abend occurs under the XMPOST SRB in the target address space. Since you specified MEMREL=NO, POSTERR will get control under an SRB running in ASID 1. The return codes 4 and 8 are only for LINKAGE=SYSTEM, so they are not relevant to your LINKAGE=BRANCH request. They are return codes in R15 from POST. They are not passed to the ERRET. For LINKAGE=SYSTEM, return code 8 indicates that the POST is being done asynchronously (under an SRB in the target address space), and that ERRET will not be used if an abend occurs under the SRB. The book doesn't say when you would get return code 8 instead of 4, but I see in the code that 4 is used when the POST is issued in PSW key 0-7, and 8 is used when the POST is issued in PSW key 8-15. So it seems that effectively, ERRET is ignored for LINKAGE=SYSTEM cross-memeory POSTs issue in PSW key 8-15. I don't know why that was done, but it has been that way since the introduction of LINKAGE=SYSTEM in MVS/ESA SP3.1.0. Jim Mulder z/OS Diagnosis, Design, Development, Test IBM Corp. Poughkeepsie NY ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN