By default, the scripts affect the user environment for the duration of the current session only. You can change the .profile file to enable it to run the db2profile script automatically when the user logs on using the Bourne or Korn shell. For users of the C shell, you can change the .login file to enable it to run the db2cshrc script file.
Add one of the following statements to the .profile or .login script files.
. INSTHOME/sqllib/db2profile (for Bourne or Korn shell) source INSTHOME/sqllib/db2cshrc (for C shell)where INSTHOME is the home directory of the instance that you want to use.
. USERHOME/db2profile (in Bourne or Korn Shell) source USERHOME/db2cshrc (in C Shell)
For more information, see "Setting the Operating Environment for Each Instance User".
|
Now that you have installed DB2 Extended Enterprise Edition, see Chapter 23. "Setting up Communications on the Server Using the Command Line Processor" for information on how to set up your server to accept in-bound client
connections.
|