On Fri, 31 Aug 2007 21:18:58 -0700, Harry Goldschmitt <[EMAIL PROTECTED]> wrote:
>I've got an LE C++ program that fopens 3 different members of the >same PDS. The first 2 fopens and fcloses work fine, but the 3rd >fopen gets a permission error for some users. I've traced the >problem a to missing OMVS segments for the failing users. I've >resolved this in the past by just defining an OMVS segment in RACF >for the users that wish to run the program. Now, however, I'm trying >to run it at a site with ACF2. All users have a default OMVS segment >defined but I'm still getting the problem. > >My application gets an "EDC5111I Permission denied. >(errno2=0x5b450002) DD:TEST3" message. > I do not follow your logic. If you had permission to use the dataset USERID.TEST for the first two fopens then you have it for the third and your real problem should be something else. Is it really USERID.TEST or &SYSUID..TEST? When you looked up errno2, what did it tell you? http://publibz.boulder.ibm.com/cgi- bin/bookmgr_OS390/BOOKS/BPXZA870/CCONTENTS The current (requesting) process does not have the requested access authority to the file, or directory. Do they have ACF2 access to USERID.TEST? ---------------------------------------------------------------------- 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

