Or if you prefer macros to control block chasing ...
https://www.ibm.com/docs/en/zos/3.1.0?topic=wto-testauth-test-authorization-caller
  

Either way it's a lot more manager-friendly than S047.

Charles


On Mon, 18 Nov 2024 15:19:02 -0500, Steve Thompson <ste...@wkyr.net> wrote:

>I don't know if it will work for you, but in different products
>I've worked on, we had a test of JSCBAuth(doing this from memory)
>to see if it showed we were in an authorized state. If not, we
>put out a WTO and shutdown with CC > 8. In your case, you could
>put out a WTO and pass back to the caller with an RC= whatever
>you want to show you can't do this.
>
>This way you don't do the MODSET and get terminated.

----------------------------------------------------------------------
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