lawson.env reference
File Layout of /etc/lawson.env
lawson.env file element | What it means |
---|---|
_Global
|
Indicates that the environment variable settings
apply globally to all Environments. If a variable is set differently
in a particular Environment, the local Environment's setting overrides
the _Global default for that Environment only.
|
Active list of
environments
|
A list of the Environments that users can
scroll through using the Change Environment (. cv ) command.
|
Default environment
|
The default Environment for users who have access to the command line. Users automatically go into this Environment when they first execute the Change Environment command after logging in, unless their startup file has been modified to override this default. |
environment
|
The name of an Environment. Defines the beginning of a list of Environment variables that apply to a specific Environment. |
Set variable
value
|
Sets the value for an environment variable. |
Keep variable
value
|
Sets the value for an environment variable, if it is not already set. If the variable is already set, the new value defined here does not take effect. |
Unset variable
|
Clears a variable setting. |
/etc/lawson.env Variables
The values for the following variables for each Environment
in the /etc/lawson.env
file may be reset or verified
if changes are made after installation:
Variable | Description |
---|---|
$GENDIR
|
The path to the directory where your Infor Lawson Environment utilities, original server configuration files, and Infor Lawson SQL scripts are stored. |
$LAWDIR
|
The path to the directory where your Infor Lawson applications, configuration files, and spooled print output are stored. |
$LADBDIR
|
The path to the directory where your Infor Lawson database and dictionary files are stored. |
$LAWENVNAME
|
The name of the Environment |
$LAW_JAVA_HOME
|
The path to the Java SDK Example: /opt/java15 |
$LAW_JAVA_BIN
|
The path to the platform-specific Java executables Examples:
Note: For customers installing Infor Lawson System
Foundation 9.0.1 for the first time, the path for LAW_JAVA_BIN is automatically
set upon running the Infor Lawson Core Technology installation program. However,
customers upgrading from 9.0 must manually add LAW_JAVA_BIN to /etc/lawson.env and
all other scripts where LAW_JAVA_HOME is used.
|
Shared Libraries
The installation procedure also puts shared library information
in the /etc/lawson.env
during installation and upgrades.
Shared Library Path |
The Environment specified in The definition of the shared library path must include all Infor Lawson, third-party, and database system shared libraries. Relative paths may not be used. The name of this variable is as follows for the platforms named:
|
Sample /etc/lawson.env file for Hewlett-Packard HP-UX (PA-RISC processors)
Set SHLIB_PATH/usr/lib:${GENDIR}/lib/shared:${COBDIR}/
coblib:${ORACLE_HOME}/lib:${ARBORPATH}/bin:/opt/taxware/api/
commonapi
Other /etc/lawson.env Variables
After installation, if the setup at your organization requires other variables, add them to the/etc/lawson.env by editing the file. Variables you may need to add or edit during configuration or because of ongoing maintenance include:
LAWIPC
|
Value used in inter-process communication. Its primary function
is to ensure that programs in each Environment communicate with the correct
message queues. Each Infor Lawson Environment must have a unique The |
TMPDIR
|
The directory in which COBOL sort files are stored. |
Third-party product interface variables |
In some cases, Environment variables are required by third-party products that interface with Infor Lawson, including a database (such as Oracle® or DB2®), a data analysis tool (such as Hyperion®), or BSI TaxFactory™). You would typically change these variables when you are installing Infor Lawson. The installation instructions tell you what changes are needed. Examples include |
Sample /etc/lawson.env with multiple Environments
# Environment TST1
TST1
{
Set GENDIR /techcst1/univ
Set LAWDIR /techcst1/apps
Set LADBDIR /techcst1/DB
Set COBDIR /opt/cobolse5-64
Set LIBPATH /usr/java15
Set LAWIPC 0xa1
Set LAWENVNAME TST1
Set PA2 /techcst1/univ/bin:/opt/sql/db2v8/sqllib/bin:
${COBDIR}/bin
Set PR2 90bldR-tst1
Set DB2INSTANCE db2v7
# Set ORACLE_HOME /opt/sql/oracle/app/oracle/product/v10g
# Set ORACLE_SID csto7
Set LAW_JAVA_HOME /opt_java5_64
Set LAW_JAVA_BIN /opt_java5_64/bin
}
# Environment TST2
TST2
{
Set GENDIR /techcst2/univ
Set LAWDIR /techcst2/apps
Set LADBDIR /techcst2/DB
Set COBDIR /opt/cobolse5-64
Set LIBPATH /usr/java15
Set LAWENVNAME TST2
Set LAWIPC 0xa2
Set PA2 /techcst2/univ/bin:${ORACLE_HOME}/bin:
${COBDIR}/bin
Set PR2 90bldD-tst2
Set DB2INSTANCE db2v8
Set LAW_JAVA_HOME /opt_java5_64
Set LAW_JAVA_BIN /opt_java5_64/bin
}
#