There are three environment variables that you can set to point to files that ADSM uses:
The error log is intended for IBM service personnel to help you diagnose severe errors.
If you define DSM_LOG, ADSM writes messages to dsmerror.log in the directory you specify. If ADSM cannot write in that directory, it writes messages to dsmerror.log in the current directory.
If you do not define DSM_LOG, ADSM writes messages to dsmerror.log in the current directory.
If ADSM attempts to write to the current directory and cannot, it issues a warning message that it cannot write to the log file and continues processing.
For the Bourne or Korn shell, enter the environment variables in the .profile file in your $HOME directory. For example:
DSM_DIR=/home/davehil DSM_CONFIG=/home/davehil/dsm.opt DSM_LOG=/home/davehil export DSM_DIR DSM_CONFIG DSM_LOG
where /home/davehil/dsm.opt is the path and file name for your client user options file, and /home/davehil is the directory where you want to store the dsmerror.log file, the executable file, the resource files, and the dsm.sys file.
For the C shell, add the DSM_CONFIG and DSM_LOG variables to .cshrc in your $HOME directory. For example:
setenv DSM_CONFIG /home/davehil/dsm.opt setenv DSM_LOG /home/davehil
where /home/davehil/dsm.opt is the path and file name for your client user options file, and /home/davehil is the directory where you want to store the dsmerror.log file.
If you have installed the API, set the following environmental variables:
Note: | End users of applications developed with the API should consult the installation directions for that application for special path names or guidelines for options. The location of the API library is especially important. |