Rational Programming Patterns

Level, Address and Length

The Level, Address and Length tab gives information about the Data Elements that are called in the Segment or a Table, such as their COBOL descriptions. You also find statistics on the current Segment.

Tjos tab is the equivalent of -LAL and -STA in Pacbase transactional programs. It consists of two tables whose data items are linked to the information you enter in the -CE Lines tab of the Segment or Table editor.

Statistics

The fields of the Statistics section are automatically completed. 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 updated the -CE lines of the Segment, and 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.

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

Level, Address and Length

This tab also contains a table that shows the information from the definition of Data Elements (usage, internal format, output format) with the length and address of the called Data Element. If a Data Element is redefined, the length of the redefined Data Element is taken into account. 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 on the definition of the element called in the Segment -CE Lines tab.

Possible actions in this table from the following choices in the contextual menu:
  • Undo: You cancel the last update in the -CE Lines tab. As a result, the line corresponding to the element called in the Segment is updated in the LAL table.
  • Redo: You cancel the last undo action.
  • Revert: You cancel all the last update in the -CE Lines tab. As a result, the lines corresponding to the elements called in the Segment are updated in the LAL table and you revert to the last saved changes.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)