Returns the value of an environment variable.
Note: When calling this routine, ensure you are using the 1024 calling convention.
CALL "C$GetEnv" USING name, value [, return]
- PIC X(n)
- PIC X (n)
- PIC 9(n) BINARY, where n can be a digit from 1 to 9
- The name of the environment variable.
- The value of the environment variable, returned from the call.
- The result code returned from the call: zero for success and non-zero for failure.
On UNIX, environment variable names are case-sensitive. On Windows, environment variable names are not case-sensitive.