Updating the Environment Configuration File
Lawson environment variables are already defined in /etc/lawson.env. Infor recommends that you add third-party variables to the file. This ensures that the correct variables will be set each time you execute the LAWENV program and start your Environment.
Add third-party environment variables to the Environment configuration file
-
At the OS400 command line, use edtf or map a drive and use your favorite editor to update
the /etc/lawson.env file:
edtf '/etc/lawson.env'
Note: Do not use Notepad. It does not handle end-of-line characters properly. - Page down to the Environment whose variables you want to modify.
-
Add the following variables:
set QIBM_PASE_CCSID 819
set PASE_LANG en_US
-
Verify that all third party environment variables
exist, including:
Variable Definition JAVA_HOME Path to the Java SDK installation for this Environment.
/QOpenSys/QIBM/ProdData/JavaVM/<version>/64bit
LAW_JAVA_BIN /QOpenSys/QIBM/ProdData/JavaVM/<version>/64bit/bin
BPM_ADDTL_CLASSPATH (MQ Series users only) /MQInstallDir/java/lib/com.ibm.mq.jar:/MQInstallDir/java/lib/connector.jar
Note: The MQInstallDir defaults to /QIBM/ProdData/mqm - Press Save (F2) and then Exit (F3).
- Press Exit (F3).
-
If you installed Lawson Core Technology
on an IASP, at the OS/400 command prompt, type
SETASPGRP IASPName
-
Set the environment variables to pick up the new values.
Type
CALL LAWENV LawEnvName
Note: If you have already called LAWENV, be sure to exit first (F3) so that the environment variables will be reset. -
If you are installing Lawson Core Technology onto
an IASP, make sure the initial ASP group is set for the Lawson Environment
job description.
From an OS/400 command prompt, type the following commands.
CHGJOBD JOBD(QGPL/LSFPROD1) INLASPGRP(IASPName)
where IASPName is the name of your IASP.
-
Stop the Lawson system. From the Qshell (QSH) comment
line, type
stoplaw
-
Start the Lawson system
startlaw