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.

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Kirk Wolf
Sent: Monday, October 01, 2012 11:56 AM
To: [email protected]
Subject: Re: EDC5167I Access to the UNIX System Services version of the C
RTL is denied

Is there more than one main() program?   If so and they run in the same
enclave, then they need to use the same C RTL.

How are you setting POSIX(ON)? At run time?
We generally set this option in each compile unit, via a #pragma:

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to