Identifying the OCCURS DEPENDING ON Control Item

  1. In the Catalog Explorer, double-click the File Definitions node, then double-click the required file definition.

    The <file-definition-name> tab is displayed.

  2. Select the group-level data item that does not contain the DEPENDING ON phrase, right-click and select Identify OCCURS DEPENDING ON control item.

    The Select Control Item dialog box is displayed.

  3. In the Control Item field, click and select the control item from the numeric items displayed.
    Note: If the control item is not a part of your file definition (perhaps it is a working-storage item), you will need to re-import the file definition using Advanced Import Options, which allows you to import additional data items not part of an FD.
  4. Click Apply.

    The Occurs property for the group-level item, within the Properties pane, now indicates that it depends on the value of the control item.

  5. Click Save to Catalog.