Defining Data Areas and Data IDs Using Database Definition

Use this procedure to define data areas and data area IDs using Database Definition (dbdef). This procedure also describes how to assign database spaces to data area or to system codes within a data area, and to set file sizes and database spaces for files within a data area.

To define a data area

  1. At the command prompt, type:

    dbdef -p dataarea

  2. Select Define or press F6 and choose Data Areas/Data IDs.
  3. On the Data Area Definition form, type a data area name and description. If one or more data areas already exist, tab through the fields until you get to a blank line.

    The name of the data area must be unique, containing no other product line, data area, or data ID with the same name.

  4. In the Database Space field, choose Select or press F4 to select a name.
  5. Save your changes and exit Database Definition.
  6. Create a database driver configuration file for this data area. Editing the Lawson Database Driver Configuration File

    The file location must be:

    %LAWDIR%\ dataarea \IBM

  7. Rebuild the dictionary. Type:

    blddbdict -p dataarea

  8. Reorganize the database. Type:

    dbreorg -p dataarea