[Migrated content. Thread originally posted on 24 June 2003]
Hello fellow salt-of-the-earth Cobol types,Does anyone out there know how to ACCEPT the TEMP directory on a SCO Unix system? I've tried:
ACCEPT WS-TEMP-DIR FROM ENVIRONMENT "TEMP-DIR"
(and "TEMP"), but it's just spaces.
Background: We're compiling some programs with a special config that'll let us run in a Windows environment. For temporary files that we'd rather not store in our standard data directory, we thought we'd extract the temp dir path and use that. It works fine on Windows, where it gives (on my PC):
C:\\DOCUME~1\\molin\\LOCALS~1\\Temp
Thanks in advance... Mike