Compiling Form and Object Rules

Compile Form and Object Rules compiles the form rules files and the object rules files in a product line. You do not have to define both a form rules file and an object rules file for an application system to run Compile Form and Object Rules.

Each form rules file in a product line is compiled to an individual file (map). The name of each map has the format:

%LAWDIR%\productline\obj\systemcode.SrMap

For example, the form rules file for the product line lawapp9, and the system code AP is:

%LAWDIR%\lawapp9\obj\AP.SrMap

The object rules files in a product line, however, are compiled to a single map. The name of this map has the format:

%LAWDIR%\productline\obj\OrMap

To compile form and object rules

  1. From the Programmer Utilities menu, choose Compile Tools.
  2. Choose Compile Form and Object Rules.
    Field Description
    Product Line The product line of the rule files you want to compile.
    System Code

    The system code of the form rules file you want to compile. Leave this field blank to compile the form rules files for all system codes in the product line.

    Because a product line has only one OrMap, all object rules files in the product line compile regardless of whether or not you enter a system code.

    I/O Options Optional. Lets you redirect output to the screen or to a file. .
  3. Choose OK.

    Command syntax: srgen productline [systemcode . . .]