I have a COBOL exe program which calls a COBOL dll which in turn calls a COBOL program using a dos interrupt 'x91 - the calling program uses an 'x91' to activate an EXE file as if it were typed in as an operating system command line entry. The security program which wraps my cobol code is a third party program which wraps around my program. The author has suggested that my program read environment variables to insure that the security has not been hacked. I have been unable to get my cobol to read the variables, so I thought that writing the program in C, the variables could be read. All the present program does is create a small sequential file, write one record to it and close the file - for security, I have the program wrapped by third party security software, and it generates the variables I want to verify to allow the progam to write the record weith the contents of the security check as passed or not passed. the calling program (a cobol dll) then tests for the presence of the file, reads the record and validates whether the code for security has been written into the file.I have a COBOL exe program which calls a COBOL