On Thu, 19 Jan 2006 13:19:00 -0600, Wendell Simmons <[EMAIL PROTECTED]> wrote:
>I have a C application that uses Unix Services and therefore has to run >with POSIX ON - logic has been added to the C program to display the >setting of the POSIX option. > >This C application is invoked from a COBOL program that is linked with a >CEEUOPT module that has the POSIX option turned ON. The COBOL program is >used in both a Batch and SPF environment. > >When the COBOL program is executed in a Batch environment, everything works >OK and the C program displays that the POSIX option is ON. > >When the same COBOL program is executed in the SPF environment with a >different driver module than Batch, the C program displays that the POSIX >option is OFF and I get the following message: > >"GSKSSL: Unable to create log mutex: EDC5167I Access to the UNIX System >Services version of the C RTL is denied" > >For the TSO execution, I placed a RPTOPTS(ON) in the COBOL program and it >shows that POSIX is ON but the C program says that it is OFF??? > >Any suggestions would be greatly appreciated since I've been struggling >with this problem for over a week. What Exactly do you mean by "a different driver module?" How does this driver module invoke the COBOL program? As I understand it the LE options for an Enclave are set by the first program that runs in the Enclave. My immediate reaction would be that the options set in your "driver module" are the ones being taken and are different in batch and ISPF because you have different driver modules An ordinary COBOL CALL (dynamic or otherwise) will not set up a nested Enclave. You need to use LINK or something like ISPEXEC SELECT PGM() ---------------------------------------------------------------------- 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

