Migrating a Rules for COBOL project

Use the migration wizard in Rule Designer to migrate Rules for COBOL projects to Decision Server.

Before you begin

If the project you are about to migrate depends on another Rules for COBOL project that has not yet been migrated, you must migrate that project first. See Preparing to migrate a Rules for COBOL project for more information.

Procedure

To migrate a Rules for COBOL project:

  1. In the Rule Explorer pane in Rule Designer, right-click the Rules for COBOL project you want to migrate.
  2. Select COBOL Generation Project Migration > Migrate Rules for COBOL Project.
  3. In the Rule Project Migration window, choose one of the following options:
    • To continue migrating the project you selected, click Next.

    • To select a different project:

      1. Click Browse

      2. Select a new project from the New project window.

      3. Click OK to close the window.

      4. Click Next.

  4. In the COBOL XOM field of the Configure Migration Settings window:
    1. Enter a name for the COBOL execution object model (XOM).

    2. Press Enter.

    3. Edit any names you want to change.

    4. If your project uses Rules for COBOL domains, specify the following information to generate the domain Java™ XOM project:

      • In the Domain model field, enter the name of the BOM model that contains the domain class.

      • In the Domain package field, enter the package name that contains the domain class.

      • In the Domain project field, enter a name for the Java project.

  5. If the COBOL copybook contains a REDEFINES statement, select the data item to be imported as an attribute into the generated XOM. The default data item to be imported is the data item that is redefined.
    • To accept the default data item, click Finish.

    • To select an alternative data item:

      1. Click Next.

      2. In the Configure Redefines window, select the data item to import.

      3. Click Finish.

Results

If the migration is successful, the Rule Explorer pane displays the XOM project.

If any errors occurred in the migration, the Problems pane displays diagnostic messages. If you must take additional actions to complete the migration, the Follow-up actions pane identifies the necessary actions. The follow-up actions are also saved as a Microsoft Excel spreadsheet in the Resources folder.

For more information about the migration changes and follow-up actions, see Migration changes. Also refer to this topic for information about optional migration actions you can take.