Re: ISGENQ REASON CODE 0404

2014-01-11 Thread Joseph W Gentile
Hello, The 040D Rsncode is proof enough that your program is running authorized. It is a warning that your authorized program is not using an authorized Qname, but, the Rsncode also indicates the resource is available. If your authorized program does not use an authorized Qname then your

Re: ISGENQ REASON CODE 0404

2014-01-11 Thread Peter Relson
Did I misread? ... A dump taken immediately after the macro was issues shows the enque is not available. Why would you expect reason 040D if the resource is not available (i.e., if it is held by someone else)? Isn't that exactly what 0404 is? The ENQ of the resource was not immediately

Re: ISGENQ REASON CODE 0404

2014-01-10 Thread Donald Likens
Jon... Are you sure about that because all is says in the manual is... Meaning: For REQUEST=OBTAIN. An authorized caller requested an ENQ with an unauthorized QNAME. Note: I also check for a zero return code (in case it is not authorized).

Re: ISGENQ REASON CODE 0404

2014-01-10 Thread Joe Gentile
Hello, In your ISGENQ, you requested that you wish to be told the availability of a resource via TEST=YES. As a result, ISGENQ returned an indication that the resource is not available, but currently held by another work unit. You may need to retry your request later. If the resource was

Re: ISGENQ REASON CODE 0404

2014-01-10 Thread Jon Perryman
Likens dlik...@infosecinc.com To: IBM-MAIN@LISTSERV.UA.EDU Sent: Friday, January 10, 2014 7:05 AM Subject: Re: ISGENQ REASON CODE 0404 Jon... Are you sure about that becauseĀ  all is says in the manual is... Meaning: For REQUEST=OBTAIN. An authorized caller requested an ENQ with an unauthorized QNAME

Re: ISGENQ REASON CODE 0404

2014-01-10 Thread Tom Marchant
On Fri, 10 Jan 2014 10:18:07 -0800, Jon Perryman wrote: Linking a program AC(1) does not mean it runs authorized. It simply means it can make it's self authorized thru MODESET MODE=SUP. quote To use OWNINGTTOKEN, ENQMAX, or when the specified QNAME is one of the authorized QNAMEs,

Re: ISGENQ REASON CODE 0404

2014-01-10 Thread Tony Harminc
On 10 January 2014 13:18, Jon Perryman jperr...@pacbell.net wrote: Linking a program AC(1) does not mean it runs authorized. True. It simply means it can make it's self authorized thru MODESET MODE=SUP. It's a good deal more subtle than that. Linking with AC(1) is only one possible part of

Re: ISGENQ REASON CODE 0404

2014-01-10 Thread Ed Jaffe
On 1/10/2014 2:09 PM, Tony Harminc wrote: It is also quite normal for a program that is not linked with AC(1) to quite legitimately find itself running APF authorized. Good point. I would suggest that the *vast* majority of programs intended to run in privileged mode are not themselves linked

ISGENQ REASON CODE 0404

2014-01-09 Thread Donald Likens
My authorized program is checking an if an enque is available and the return code is 4 reason code return is 02340404. My ISGENQ macro follows: ISGENQ REQUEST=OBTAIN,QNAME=WKPROD,RNAME=STCNAME, SCOPE=SYSTEM,ENQTOKEN=TASKTOK,

Re: ISGENQ REASON CODE 0404

2014-01-09 Thread Jon Perryman
Are you saying that your program did a MODESET AUTH=SUP prior to issuing ISGENQ? If not, then you are not running authorized. Otherwise you are correct and you should get reason code 040D. Jon Perryman. From: Donald Likens dlik...@infosecinc.com My