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.
-
Set the environment variables.
Open a command line window as an administrator and run the
enter.cmd
command for the "From" Environment. The enter.cmd command is located in the root directory of the Environment. -
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