Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
ENVAR z/OS Language Environment Programming Reference SA38-0683-00 |
|
Derivation: ENvironmental VARiables ENVAR sets the initial values for the environment variables that can later be accessed or changed using the C functions getenv(), putenv, setenv, and clearenv. The set of environment variables established by the end of runtime option processing reflects all the various sources where environment variables are specified, rather than just the one source with the highest precedence. However, if a setting for the same environment variable is specified in more than one source, the setting with the highest precedence is used. The system() function can be used to create a new environment. Environment variables in effect at the time of the POSIX system() call are copied to the new environment. The copied environment variables are treated the same as those found in the ENVAR runtime option on the command level. When you specify the RPTOPTS runtime option, the output for the ENVAR runtime option contains a separate entry for each source where ENVAR was specified with the environment variables from that source. The default value for non-CICS applications is ENVAR(''). The default value for CICS® applications is ENVAR(''). The default value for AMODE 64 applications is ENVAR(''). Syntax .-,----------. V | >>-ENVAR--(----+--------+-+--)--------------------------------->< '-string-'
z/OS® UNIX considerationsIn a multithreaded environment, the environment variables are shared by all threads in the process. Usage notes
For more information
|
Copyright IBM Corporation 1990, 2014
|