To prepare the "To" product line before you copy over it
-
Log in as LAWSON to the "To" machine.
This user should have access to all Environment executables.
-
If your login does not include a call to LAWENV, set the environment variables.
-
If you installed Infor Lawson Core Technology on an IASP, at the
IBM i command prompt, type
SETASPGRP IASPName
-
To set the variables, at the IBM i command line, type
CALL LAWENV
The list of available Infor Lawson Environments appears on your screen.
- Type the appropriate Environment name and press Enter.
-
If you installed Infor Lawson Core Technology on an IASP, at the
IBM i command prompt, type
-
Turn off security. At the command line, type
lsconfig -c password OFF
-
Save a copy of the database configuration files and any customized metadata source files. These are files unique to the "To" product line. You will need to restore them after the product line copy (assuming you want to preserve the customizations).
-
Create a new directory outside of the product line, for example,
$LAWDIR/SavedFiles
. At the command line, typemkdir $LAWDIR/SavedFiles
-
Save a copy of the database configuration file ("CAPS" file) and the editdafile file in the new directory.
The database configuration file is named IBM. It is located in the top level directory of the product line. At a Qshell command line, type
cp $LAWDIR/toPL/dbConfigFile $LAWDIR/SavedFiles/dbConfigFile
cp $LAWDIR/toPL/editdafile $LAWDIR/SavedFiles/editdafile
-
Save a copy of any application source files and corresponding
metadata source files for customizations in the SavedFiles directory. (This assumes
you want to preserve those customizations.) You must record the absolute location of
the files such that they can be put in the appropriate location when the "To" product
line is overlaid with the "From" product line directory structure. The files will be
put into the resulting "To" product line later in the process such that
appmetaload
will populate GEN. The application source files are in the $LAWDIR/toPL/syscodesrc/ directories and the metadata source files are in the $LAWDIR/metadata/syscodemeta directories.
-
Create a new directory outside of the product line, for example,
- Back up the "To" product line application data using your backup procedures.
- Back up the "To" product line directory structure using your backup procedures.
-
Completely remove the existing "To" product line directory. At the command line, type
rm -rf $LAWDIR/toPL
-
Create the "To" product line directory structure. At the command line, type
mkproddir toPL