Configuring the MQS_HOME system environment variable for the Default layout
To configure the MQS_HOME system environment variable on Windows
- Right-click My Computer and select Properties > Advanced > Environment Variables.
- In the System variables section, click New.
- In the Variable name field, enter MQS_HOME.
- In the Variable Value field, enter the full path to the directory.
- Click OK.
- Reboot the computer to set the system environment variable.
To configure the MQS_HOME system environment variable on UNIX and z/OS USS
The following approaches can be used for defining the MQS_HOME variable:
- /home/$username/.profile or shell equivalent in the users home directory, but this works only for this user when they have a login shell
- /etc/profile works globally for all users who have a shell logon
- /etc/environment works for all users without a shell login. If you do an "su - username" the variable is gone, then /etc/profile is used
- define it for a service in, for example, xinet.d. In /etc/xinetd.d/service_name add env = MQS_HOME=/directory_path
- Set and export the system environment variable to a directory of your choice where all logs and other BTM files are to be saved. This should be done from a logon script such as .profile or whatever is applicable for your default shell. This should be the same directory and set for all users which run an extension.
- Reinitiate your profile to ensure the system environment variable is set. Under Linux it might help to identify if a running process has an environment variable by looking in /proc/PID/env or /proc/PID/environment.
To configure the MQS_HOME system environment variable on i5/OS
- Using WRKENVVAR, create a new system wide environment variable (*SYS) and name it MQS_HOME. It must be located in the IFS. In the Variable Value field, enter the full path to the directory.
- Establish a new command environment to ensure the system environment variable is set.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*