Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)
osh(1) OSS Shell and Utilities Reference Manual
Guardian Environment Variables
The following Guardian environment variables affect the execution of the osh command.
ASSIGNs
STDERR Names the Guardian file to be used by osh as its Guardian stan-
dard error file. The default file is the hometerm file for the TACL
session.
No Guardian environment ASSIGN values are passed to the child process.
PARAMs
HOME If this parameter is defined, osh passes the value to the child pro-
cess as its OSS environment variable HOME. If the Guardian
HOME PARAM is not defined, then osh sets the OSS environ-
ment variable HOME according to the rules indicated under Pro-
cess Environment later in this reference page.
LOGNAME If this parameter is defined, osh passes the value to the child pro-
cess as its OSS environment variable LOGNAME. If the Guar-
dian LOGNAME PARAM is not defined, then osh sets the OSS
environment variable LOGNAME to the user’s login name.
The LOGNAME value has no effect on the determination of the
HOME or PWD environment variable value passed to the child
process. Refer to the rules indicated under Process Environment
later in this reference page.
PATH If this parameter is defined, osh interprets the value as a list of
OSS directories, separated by colons. These directories are
searched when resolving a relative OSS pathname for the program
specified with the -p or -prog option.
If the Guardian PATH PARAM is not defined, osh uses the OSS
/bin directory to resolve relative pathnames.
PWD If this parameter is defined, osh passes the value to the child pro-
cess as its OSS environment variable PWD. If the Guardian
PWD PARAM is not defined, then osh sets the OSS environment
variable PWD according to the rules indicated under Process
Environment later in this reference page.
All Guardian PARAMs are converted into OSS environment variables for the
child process. Circumflex (ˆ) and hyphen (-) characters within a PARAM name
are converted to underscore (_) characters in the equivalent OSS environment
variable name.
A single PARAM name and value can contain up to 255 bytes of character infor-
mation for one environment variable. Up to 1024 bytes of PARAM names and
values are supported.
DEFINEs
=_DEFAULTS Provides the default values for the current Guardian volume and
subvolume names.
If the -defmode on option is used, all Guardian DEFINEs inherited by osh are
6−108 Hewlett-Packard Company 527188-021