Thanks! That led to solving it. RPTOPTS(ON) did not do anything, which was the clue that LE was not seeing my PARM= run time options, I guess due to one of those "how to parse or not parse PARM=" options (which I can never keep track of).
I moved both RPTOPTS and POSIX to CEEOPTS and both RPTOPTS and my C library call are working. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Kirk Wolf Sent: Monday, October 01, 2012 2:31 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: EDC5167I Access to the UNIX System Services version of the C RTL is denied Have you tried running with RPTOPT(ON) ? This should help you verify what options are being used, and if multiple programs are starting. On Mon, Oct 1, 2012 at 11:44 AM, Charles Mills <charl...@mcn.org> wrote: > Kirk, thanks. > > > Is there more than one main() program? > > Don't think so. My main calls C++ methods one of which in turn calls > gsk_environment_open() and that is where and when the problem occurs. > It all works if I don't do the gsk_xxx() calls. > > > How are you setting POSIX(ON)? At run time? > > Yes, with PARM='POSIX(ON)/other parm options'. > > > We generally set this option in each compile unit, via a #pragma > > That would be my intent once I got things sorted out. > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN