Guidelines for editing alert configuration files  Verifying the ICU_DATA variable setting

Chapter 5: Configuring and Using Alerts

Setting the ims wrapper script path

The ims wrapper script is used to execute alert commands. The PATH environment variable is used by the system to find the ims command within the directory hierarchy. If you execute an ims command in a terminal window (UNIX systems) or at a command line (Windows) and do not have the PATH variable set correctly, the system cannot find the command unless you include the full path to the executable when you type the command.

The ims executable (ims.cmd) is located in x:\Sybase\ImpactServer-5_4\bin on Windows and in ~/Sybase/ImpactServer-5_4/bin on UNIX systems (where “x” and “~” represent the location where the e-Biz Impact 5.4.5 server is installed).

StepsSetting the PATH variable for the ims script on Windows

  1. Select Start | Settings, then double-click Control Panel.

  2. When the Control Panel window opens, double-click the System icon.

  3. When the System Properties window opens, select the Advanced tab, then click Environment Variables.

  4. In the System Variables section of the window, select the PATH variable and click Edit.

  5. In the Edit System Variable dialog box, append the ims wrapper script location to the PATH variable. For example, if the e-Biz Impact server is installed in the root of drive D: on Windows, enter this value at the end of the PATH variable in the Variable Value field:

    ;D:\Sybase\ImpactServer-5_4\bin
    

    NoteSeparate the existing path statement and the new entry with a semicolon (;) with no space after the semi-colon.

  6. Click OK to save your entry and close the Edit System Variable dialog box.

  7. Click OK to close the Environment Variable window, then click OK to close the System Properties window.

  8. Close the Control Panel window.

  9. Restart your machine to implement the modified PATH variable.

StepsSetting the PATH variable for the ims script on UNIX systems

This procedure is for the C-shell user environment. If your UNIX system uses a different shell (for example, the Bourne shell or Korn shell), see your UNIX system documentation for instructions on setting the PATH variable.

NoteTo see which shell is the default on your system, type echo $SHELL in a terminal window.

You can set the PATH variable each time you open a terminal session and start the cluster, or you can set the PATH variable permanently for all terminal sessions by adding the ims wrapper script path to the $HOME/.cshrc file.

  1. To permanently add the ims executable to your path:

    1. Open the $HOME/.cshrc file in a text editor.

    2. Add the following line to the .cshrc after the list of other commands:

      set path = ($path /~/Sybase/ImpactServer-5_4/bin)
      

      where “~” is where the e-Biz Impact server is installed.

    3. Save the .cshrc file and close the text editor.

    4. Log out of the system and log back in to establish the new path.

  2. To add the ims path to the end of your existing path for only the current session, open a terminal window and enter the following command on one line:

    set path = ($path /~/Sybase/ImpactServer-5_4/bin)
    

    where “~” is where the e-Biz Impact server is installed.

NoteIf you did not use step 1 to permanently add the ims wrapper script location to your path, each time you open a terminal window to execute the cluster, you must first enter the command shown in step 2 to set the PATH variable for the ims wrapper script for that session.





Copyright © 2005. Sybase Inc. All rights reserved. Verifying the ICU_DATA variable setting

View this book as PDF