Level, Address, and Length

The Level, Address, and Length tab gives information about the elements that are called in the Segment or a Table, such as their COBOL descriptions. It also displays statistics on the Segment.

This tab is the equivalent of -LAL and -STA in Pacbase. It consists of two tables whose values are related to the information that is entered in the -CE Lines tab of the Segment or Table editor.

Statistics

The fields of the Statistics section are automatically displayed. If you add or remove an element in the -CE Lines tab, statistics are updated simultaneously.

If you add a Data Element call to the Segment or remove one of them, the Number of Data Elements field is updated. It is the same for a Segment: the Number of Segment calls field is updated. When you add a filler, group, elementary Data Element call, the Number of elementary fields is modified. You can cancel this action with the Undo choice of the contextual menu. As a result, the fields in the Statistics section are reset to their initial values and the call line is removed from or reinserted in the -CE lines of the Segment. A Redo action is still possible.

If you have updated the -CE lines of the Segment but have not saved these changes yet, you can still revert to the last saved updates. To do so, select Revert in the statistics contextual menu.

You can refresh the display by clicking Refresh.

Segment
Name and label of the Segment.
Number of Data Elements
Number of Data Elements that are called in the Segment -CE Lines.
Number of Elementary fields
Total number of elementary Data Elements and fillers that are called in the Segment -CE Lines.
Input length
Total of the input lengths of the elementary fields. This total is calculated with the input format that is indicated in the Data Element Definition.
Note: The lengths of Large Object-type Data Elements (L type) are ignored.
Internal length
Total of the internal lengths of the elementary fields. This total is calculated with the internal format that is indicated in the Data Element Definition.
Note: The lengths of Large Object-type Data Elements (L type) are ignored.
Output length
Total of the output lengths of the elementary fields. This total is calculated with the output format that is indicated in the Data Element editor, in the Definition tab.
Note: The lengths of Large Object-type Data Elements (L type) are ignored.

Level, Address, and Length

The Level, Address, and Length table displays information that comes from the Definition of Data Elements, such as the usage, internal format, and output format.

The Relational label column displays, in the following priority order:
  • The relational label that is specified with an alias in the controls definition wizard of the -CE Lines (A* in the Update target column),
  • The relational label that is indicated in the Data Element -D Lines (R-type line)
  • The Data Element name.

The length, address, and COBOL level of the Data Element in the Segment are also indicated. If a Data Element is redefined, the length of the redefined Data Element is calculated.

If the called element is not a Data Element, the numbers that are displayed in the Internal format and Input format columns are always identical. The Occurs values are the values that are entered in the Definition of the called element in the Segment -CE Lines tab.

The contextual menu contains the following choices:
  • Undo. You cancel the last update in the -CE Lines tab. As a result, the line that corresponds to the called element in the Segment is updated in the table.
  • Redo. You cancel the last undo action.
  • Revert. You cancel all the last updates in the -CE Lines tab. As a result, the lines that correspond to the called elements in the Segment are updated in the table and you revert to the last saved changes.

Feedback