No. Re-read MY code, not the OP's. Here MODESET KEY=ZERO,MODE=SUP GO INTO SUPERVISOR MODE STORAGE OBTAIN,LENGTH=(R9),SP=231,LOC=ANY LR R3,R1 LR R5,R15 MODESET KEY=NZERO,MODE=PROB BACK TO MORTALITY ST R3,somewhere to pass back *------------------------------------------------------------- LR R15,R5 RC for caller EDCEPIL
Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Shmuel Metz (Seymour J.) Sent: Monday, April 08, 2013 7:30 AM To: [email protected] Subject: Re: C and Assembler question In <[email protected]>, on 04/07/2013 at 11:40 AM, Charles Mills <[email protected]> said: >No. Re-read my code. No need; you save the STORAGE rc into a parameter, but that is not the value in R15 when your code encounters EDCEPIL. ST R15,0(R11) RETURN CODE, OK IF ZERO MODESET KEY=NZERO,MODE=PROB BACK TO MORTALITY *------------------------------------------------------------- EDCEPIL -- Shmuel (Seymour J.) Metz, SysProg and JOAT ISO position; see <http://patriot.net/~shmuel/resume/brief.html> We don't care. We don't have to care, we're Congress. (S877: The Shut up and Eat Your spam act of 2003) ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
