Defining your environment
The /etc/profile
file, /etc/environment
file,
and .profile
file contain variables that specify the environment
on your system.
About this task
- Define environment variables in the
/etc/profile
to set defaults for all users on a system. - Define environment variables in the
/etc/environment
to specify the basic environment for all processes. - Define environment variables in the
.profile
file to customize the working environment for an individual user ID.
You need to set environment variables if you will run replication
and Event Publishing programs from a USS command session, a BPXBATCH job,
or from the Replication Center. See Example environment setup for replication and publishing on z/OS for
a complete definition that you can use in your /etc/profile
or .profile
files.