Applying Database Definition Changes

Use the following procedure to apply any database definition changes you have made through the Database Definition utility (dbdef) to an Environment.

To apply database definition changes to an Environment

  1. Log into the appropriate Environment.
    1. If you installed Lawson Core Technology on an IASP, at the IBM i command prompt, type

      SETASPGRP IASPName

    2. At the IBM i command line, type

      CALL LAWENV

    3. Type the name of an Environment and press Enter.
  2. Build the data dictionary. At the Qshell command line, type

    blddbdict productline

  3. Review the changes for the database reorganization. At the Qshell command line, type

    dbreorg -lc productline

  4. Reorganize the database. At the Qshell command line, type

    dbreorg productline

  5. Recompile any programs or modules affected by the changes you made in the Database Definition utility (dbdef).