– In the C shell, use the
setenv
command.
Command line settings override settings in the
/etc/environment
file and
.profile
file. These settings apply only to you and are in effect only until you
exit the AIX session from which you issued the command.
You cannot change the environment of a running process. If you change the value
of an environment variable, you must restart any process that was started before
the change if the change is to take effect for that process. For example, an InfoPrint
Manager server is a process. If you change the
/etc/environment
file, you must
stop and start the server again for the change to take effect.
What restrictions apply?
These restrictions apply when you create or define values for environment
variables:
v
Ensure that newly created environment variables do not conflict with standard
variables, such as
,
PS1
,
PS2
, and
IFS
. See AIX documentation for further
information.
v
Ensure that the information in the
/etc/environment
file is in the
NAME=
value
format. The
/etc/environment
file is not a shell script and does not accept data
in any format other than the
NAME=
value
format.
v
Do not use variables to represent values in the
/etc/environment
file. For
example:
PATH=$PATH:/path1:/path2
is not a valid entry in the
/etc/environment
file. Instead of
$PATH
, enter a full
path name.
v
The format in which you specify the value for any variable that defines directory
paths determines whether your value is appended to the current value or
overrides it.
– This format overrides the current value:
export PATH=/path1:/path2
If you do not include the InfoPrint Manager directories in the value you
specify, you will not have automatic access to InfoPrint Manager.
– This format appends your value to the current value:
export PATH=$PATH:/path1:/path2
Querying environment variables
You can use one of these AIX commands to query the value of an environment
variable:
v
In any shell, use the
echo
command.
v
In the Korn shell, use the
command.
For example, to determine the default logical printer, enter:
echo $PDPRINTER
Note:
InfoPrint Manager uses default values for some InfoPrint Manager
environment variables without setting the environment variable. When you query
those environment variables and you have not set a value, the response is a blank
line.
To query all environment variables that have values set, enter:
env
134
InfoPrint Manager for AIX: Procedures
Summary of Contents for InfoPrint Manager for AIX
Page 1: ...InfoPrint Manager for AIX Procedures Version 4 Release 3 G550 1066 04 ...
Page 2: ......
Page 3: ...InfoPrint Manager for AIX Procedures Version 4 Release 3 G550 1066 04 ...
Page 6: ...iv InfoPrint Manager for AIX Procedures ...
Page 8: ...vi InfoPrint Manager for AIX Procedures ...
Page 16: ...2 InfoPrint Manager for AIX Procedures ...
Page 20: ...6 InfoPrint Manager for AIX Procedures ...
Page 58: ...44 InfoPrint Manager for AIX Procedures ...
Page 62: ...48 InfoPrint Manager for AIX Procedures ...
Page 70: ...56 InfoPrint Manager for AIX Procedures ...
Page 96: ...82 InfoPrint Manager for AIX Procedures ...
Page 110: ...96 InfoPrint Manager for AIX Procedures ...
Page 156: ...142 InfoPrint Manager for AIX Procedures ...
Page 170: ...156 InfoPrint Manager for AIX Procedures ...
Page 234: ...220 InfoPrint Manager for AIX Procedures ...
Page 236: ...222 InfoPrint Manager for AIX Procedures ...
Page 256: ...242 InfoPrint Manager for AIX Procedures ...
Page 326: ...312 InfoPrint Manager for AIX Procedures ...
Page 330: ...316 InfoPrint Manager for AIX Procedures ...
Page 331: ...Part 3 Operator and user procedures Copyright InfoPrint Solutions Company 1998 2010 317 ...
Page 332: ...318 InfoPrint Manager for AIX Procedures ...
Page 348: ...334 InfoPrint Manager for AIX Procedures ...
Page 365: ...Part 4 Appendixes Copyright InfoPrint Solutions Company 1998 2010 351 ...
Page 366: ...352 InfoPrint Manager for AIX Procedures ...
Page 370: ...356 InfoPrint Manager for AIX Procedures ...
Page 378: ...364 InfoPrint Manager for AIX Procedures ...
Page 382: ...368 InfoPrint Manager for AIX Procedures ...
Page 406: ...392 InfoPrint Manager for AIX Procedures ...
Page 416: ...402 InfoPrint Manager for AIX Procedures ...
Page 417: ......
Page 418: ...Program Number 5648 F35 Printed in USA G550 1066 04 ...