> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Paul Schuster
> Sent: Wednesday, March 22, 2006 1:26 PM
> To: IBM-MAIN@BAMA.UA.EDU
> Subject: ESTAE-underTSO question
> 
> 
> Hello:
> 
> I have a program with an ESTAE that gets control and issues a 
> SDUMP.  This
> works fine when submitted as a batch job, as the program is 
> in an authorized
> library.
> 
> When invoking the same program from a TSO REXX EXEC, the SDUMP in the
> ESTAE fails with a S133 abend indicating 'An unauthorized 
> program requested
> an SVC dump.'
> 
> Is there a way to determine from the SDWA if authorization exists to
> issue a SDUMP macro?
> 
> Thank you.
> 
> Paul
> 

If you need to see if you are APF authorized, use the TESTAUTH macro.

        TESTAUTH FCTN=1,STATE=YES,KEY=YES,RBLEVEL=1
        LTR 15,15
      BNZ NOTAUTH
... do SDUMP macro
NOTAUTH DS 0H

--
John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited. 
 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to