You can update a BOM that was generated from a COBOL copybook-based
XOM.
About this task
When you modify, add, or remove a copybook on which your
XOM is based, you can automatically update the corresponding BOM in
the same flow.
Procedure
To update the BOM after a copybook has changed:
- Right-click your rule project and then select .
- 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, if you have based the XOM on
more than one copybook.
- Select a copybook and edit it or remove it, as appropriate. You can also add a new copybook.
- Click Next to display the summary
of the default Java™ types and
class attributes derived from each COBOL item in the copybook. At the bottom of this page, you see a check box labelled Update
BOM.
- Make sure the check box Update BOM is
selected.
Note: If the Update BOM check
box is disabled, it means that no BOM entry has been created from
the COBOL copybook-based Java XOM.
- Click Finish.
- Click OK to close the COBOL
Execution Object Model properties window.
You
can also update the BOM in the following way:
- In the Rule Explorer, in the bom folder,
right-click the BOM entry you want to update and select BOM
Update.
- Click Configure Cobol XOM.
This brings
you to the Import COBOL XOM page where you can
add, edit, or remove copybooks.
- Proceed until you reach the last page and click Finish.
Results
The BOM is updated based on the changes that you have applied
to the COBOL XOM.