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

"Charles Mills" <charl...@mcn.org> wrote on 10/08/2018 06:40:40 PM:

> From: "Charles Mills" <charl...@mcn.org>
> To: ibm-main@listserv.ua.edu
> Date: 10/08/2018 10:01 PM
> Subject: Cross-memory POST ERRET and return codes
> 
> Pursuant to a recent thread here I am converting a cross-memory POST to 
use
> IEAMSXMP instead. However ... I still need to support older systems 
without
> IEAMSXMP support, so I will be dual-pathing the existing POST. I got to
> looking at code that I have not examined in several years, and I am 
trying
> to determine exactly what is or should be going on. It runs without 
apparent
> errors, so this is kind of a theoretical question, not "please help me 
with
> this error." Here's the POST
> 
> POST  (R3),LINKAGE=BRANCH,ASCB=(R2),ERRET=POSTERR,MEMREL=NO
> 
> The questions are these
> - Given that code, will POSTERR indeed get control on an error?
> - The POST documentation documents two error codes, 4 and 8. Will they 
get
> passed to POSTERR? Where?
> 
> Yes, I have RTFM but the FM is showing the effects of years of somewhat
> piecemeal revisions.
> 
> Thanks,
> 
> Charles



----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to