Components tab

In this tab, you indicate the composition of the instance.

You can add the following components:
  • An internal Data Aggregate description.
  • An internal Data description.
  • A Data Union description to manage redefinitions. A union description can include all the other component types of the Components tab.
  • A Data Aggregate that is already defined.
  • A Data that is already defined.
  • A filler.
When you add a component other than a filler, the section Component usage opens. You can then indicate the characteristics of this component call in the instance:
  • Usage name: This field is available for a Data or Data Aggregate call. It is the name of this Data or Data Aggregate in the instance.
  • OCCURS FROM: Enter the minimum number of repetitions (OCCURS clause) of the element in a table with a variable length.
  • OCCURS TO: Enter the maximum number of repetitions (OCCURS clause) of the element in a table with a variable length.
  • OCCURS DEPENDING ON: Enter the field that determines the number of repetitions of the element in a table with a variable length.
  • OCCURS INDEXED BY: Enter the name of the index that manages the table with a variable length.
  • Discriminant: Select this option if an element is a unicity criterion.
  • SQL: This group is available in the Data and Data Aggregate calls. You use it to give additional information for SQL requests.

If you call a Data Aggregate description, the COBOL alias and label fields become available. If the discriminant option is selected, you must specify its value.

If you call a Data description, the COBOL alias, label, picture, and usage fields become available.

If you call a union description, the label field becomes available.

If you call a filler, the filler length field becomes available.


Feedback