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.

Note: In the procedure below, fromPL refers to the name of the product line that you are copying from.

To prepare the "From" product line

  1. Confirm that prerequisites have been met (such as a system verification, completed database reorganizations, and backups). See Overview of Copying Product Lines.
  2. Log in as lawson to the "From" machine.

    This user should have access to all Environment executables.

  3. 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.

  4. 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.rpt

    At 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.

  5. 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 run appmetaload 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

  6. lsdump -f dumpFileName PROFILE profileID -addRoleMapping