COBOL Occurs Depending On component rules

When you use the COBOL Copybook Importer to import a COBOL copybook that includes an ODO clause, the ODO restriction is not automatically imported into the type tree. If you need to impose the rules necessary to enforce the ODO in the type tree, you need to make changes to the type tree after it has been imported.

The ODO restrictions are most commonly implemented in a IBM Sterling Transformation Extender type tree as component rules. To implement an ODO restriction as a component rule, put the component rule on the component that is identified with the ODO clause, used to determine the length of the variable-length table. The component rule references the previously defined component, identified by the ODO clause, which limits the number of occurrences of the current component.