Updating a COBOL XOM

You can update a COBOL XOM by changing one or several copybooks and then using the Update option to import the changes into the XOM.

About this task

You can update a COBOL XOM at any time after it has been generated. You might want to update the XOM because of changes to a copybook, or you might want to apply a custom type converter. If you update the XOM to incorporate changes made to a copybook, you must also update the BOM to keep the XOM and BOM synchronized.

Procedure

To update a COBOL XOM:

  1. Right-click your rule project and then select Properties > COBOL Management > COBOL Execution Object Model.
  2. On the COBOL Execution Object Model page, select the COBOL XOM and then click Update.

    The Import COBOL XOM page shows the COBOL XOM name, as well as the copybook file names and paths.

  3. Select a copybook and then click Remove if you want to remove it, or Edit if you want to edit it.
  4. Change the configuration of the current copybook.
  5. Click OK.
  6. Click Next to display the summary of the default Java™ types and class attributes derived from each COBOL item in the copybook.
  7. Edit any COBOL XOM configuration items that need to be changed.

    For information about which items can be changed, see Generating a COBOL XOM.

  8. Click Finish and then click OK.