Add third party environment variables to enter.cmd

When you installed Lawson, a file called enter.cmd was delivered to the base directory. Always run this script before you start the Lawson system and application server to ensure that all required variables are set.

Lawson environment variables are already defined in enter.cmd. You must add third party variables to the file.

  1. Using a text editor, open the enter.cmd file, which is located in the base directory for your Lawson installation.
  2. Update the file to include definitions for third party environment variables, including:
    Variable Definition
    JAVA_HOME Path to the Java SDK installation for this Environment.
    PERL_HOME Path to the Perl installation for this Environment.
    COBDIR Path to the COBOL compiler for this Environment.
    PATH

    %COBDIR%\bin

    %JAVA_HOME%\bin

    %PERL_HOME%\bin

    Database_HOME\bin

    WEBDIR

    Location of the document root directory for the web server.

    Example

    lfsprod1\web

    WAS_HOME

    WebSphere installation directory.

    Example

    IBM\WebSphere\AppServer

    WAS_LOGS

    Location of WebSphere log files for your Environment.

    Example

    WAS_HOME\profiles\lsfprod1\logs\lsfprod1_app

    IHS_HOME

    HTTP Server installation directory.

    Example

    IBM\IBMIHS

    Database_HOME Database installation directory.
    BPM_ADDTL_CLASSPATH (MQ Series users only) MQInstallDir\java\lib
  3. Save the file.