Ah! Interesting. Thanks. Never used it before. SYNCH = "CALL with MODESET and Return as you were."
Got it all working with CALL and EPSW and so forth but this would have been a better way. Will keep it in mind. What would be the performance difference? (Serious question -- sorry if it sounds sarcastic.) Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Shmuel Metz (Seymour J.) Sent: Tuesday, August 19, 2014 6:42 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Best way to tell in code if in Supervisor State? In <01f101cfbb91$6ff171a0$4fd454e0$@mcn.org>, on 08/19/2014 at 11:39 AM, Charles Mills <charl...@mcn.org> said: >But what would be the best way to determine whether the caller had >entered in Supervisor State so I could return to the caller in his >original mode Is performance an issue? I've found SYNCH to be a convenient way to preserve state. -- 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 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