Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)
environ(5) OSS System Calls Reference Manual
NAME
environ - Contains the user environment
SYNOPSIS
extern char **environ;
DESCRIPTION
An array of strings called the environment is made available by the execl(), execle(), execlp(),
execv(), execve(), execvp(), tdm_execve(),ortdm_execvep() function when a process begins.
The same array is optionally made available by the tdm_spawn() or tdm_spawnp() function
when a process begins.
COBOL programs also have access to the environment when the COBOL SAVE ALL directive
is used at compile time and the Guardian PARAM SAVE-ENVIRONMENT ON is used before
starting an OSS shell to run the program.
By convention, these strings have the form name=value. The names used by various commands
and utilities are:
AS1 Specifies the pathname of the C or C++ compiler component used when
binary assembly-code conversion to object code is requested. By
default, the program as1 in the directory /usr/lib is used. This environ-
ment variable is used for TNS/R-targeted compilations only.
CCOMBE Determines the pathname of the ccombe component of the C and C++
compilers. | /usr/cmplr/ccombe is the default location for the OSS
environment. |
This environment variable is used for TNS/E-targeted compilations only.
CACHE_CDS_SERVER
Specifies the name of the CDS server to cache. The cached server is not
required to be the initial CDS server. Used during CDS client
configuration by the dce_config command.
CACHE_CDS_SERVER_IP
Specifies the IP address of the CDS server to cache; used by the
dce_config command.
CDPATH Specifies the search path used for the cd command.
CDS_ADVERTISEMENTS
Controls the behavior of the CDS advertiser. When this variable has the
value n, the CDS advertiser is started with the -s switch by the
dce_config command, meaning the server does not send or receive
advertisements.
The default is y.
CDSD_DATABASE_DIR
Specifies the location of the CDS database files, which is a Guardian
subvolume holding NonStop SQL/MP tables. This value is a Guardian
subvolume name, expressed in OSS pathname format and surrounded by
quotation marks; for example, "/G/volume/subvol".
Used by the dce_config command.
12−18 Hewlett-Packard Company 527186-023