Preparing the "From" Product Line
Use the following procedure to ensure that the product line that is to be copied is in a stable, fully functional, and error-free state.
To prepare the "From" product line
- Confirm that prerequisites have been met (such as a system verification, completed database reorganizations, and backups). See Overview of Copying Product Lines.
-
Log in as LAWSON to the "From" 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
-
Run the
appmetadiff
command in order to create a report that shows any inconsistencies between the product line source (including metadata source) and the runtime metadata repository in GEN.When you run
appmetadiff
, it creates the following report file: $LAWDIR/fromPL/Admin/appmetadiff.rptAt the command line, type
perl $GENDIR/bin/appmetadiff fromPL
You must resolve all of the discrepancies before continuing. For information on how to resolve discrepancies, see Resolving appmetadiff Differences.
You may have to run
appmetadiff
repeatedly as you fix discrepancies, until all are resolved. -
Back up the application help text and dump the application help text currently used during the runtime for the application. At the command line, type
cp $LAWDIR/fromPL/Admin/helptext.hlp $LAWDIR/fromPL/Admin/helptext.hlp.bkup
dumphelp fromPL $LAWDIR/fromPL/Admin/helptext.hlp
Note: When you runappmetaload
in the "To" product line, it will load all files in the $LAWDIR/toPL/Admin directory that have a .hlp extension. If you use Infor Security and want to copy the security settings to the new product line, create a dump file of the security information for the profile associated with the "From" product line and copy the file to a location accessible from the "To" system. At the command line, type -
lsdump -f dumpFileName PROFILE profileID -addRoleMapping