This tab is used to indicate how to access Segments in the validation,
update and display. You specify here the physical attributes
and access conditions of each Segment (standard file or database type, keys,
etc.), and the use characteristics and logical characteristics of the Data
elements called in these Segments.
General characteristics
For each Segment, the following
attributes are specified:
- The category in which the Segment is being processed,
- The type of logical access to the Segment in Reception and/or Display,
and the filling mode of the key,
- Use in generated procedures (for validation, update, display),
- The sequence in which the Segments are to be accessed,
- The physical organization.
The number of Segment description lines called in this screen is
limited to 100 per category. Segments having the same Data Structure codes
must have the same organizations, the same types of description, and, with
a V-type organization, the same external names. For a D-type organization,
Segments having the same Data Structure codes are generated in REDEFINES.
The processing of data external to the Screen is determined by the
call of Segments and, for each of them, by the specification of its physical
characteristics (type of organization...) and type of use (read, update...).
Description of the tab
The -CS tab consists of three parts:
- the list of Segments called in a selected Screen,
- the action buttons,
- and the -CS lines Segment call and Data element call sections.
List of Segments (Persistency objects)
On the left
part of the tab, you find a structured list of Segments called in the Screen.
On the higher branches, you have the

lines (Segments that support
persistent objects), and on the lower branches are listed the persistency
objects represented by Data elements that are grouped under the same physical
storage objects. They are represented by the

lines.
You can
complete and reorganize the list via the choices available in the popup menu
(copy, paste, revert, do, undo) and buttons (Add Segment call, Add Data element
call, Remove, Up, down).
Buttons
The buttons are used to organize the list.
- Add Segment call
- Clicking in list and then on the Add Segment call button
creates a new line in the list that corresponds to a new Segment call. The
code and description of the new Segment is to be completed in the Segment
call section in the right part of the tab.
- Add Data element call
- Clicking on a line and then on the Add Data element call button
opens a selection box in which you can select a Data element code or define
a new one. As a result, a new line is created under the one you have selected
in the list. The information related to the Data element call are to be entered
in the corresponding Data element call section in the
right part of the tab.
- Remove
- Clicking a line in the list and then this button, removes the selection
from the list. If the selected line is a branch regrouping several lines,
they are all removed from the tree.
- The Up and Down buttons
- Use these buttons to move a selected line in the list or a selected branch
in the tree.
Segment call/Data element call sections
The Segment
call section and Data element call section only display when you select respectively
a Segment and a Data element in the list of -CS lines otherwise they are shaded.
- If you select a Segment call line in the list and expand the CS
line - Segment call section, the following section shows up:
- If you select a Data element call line in the list and expand the CS
line - Data element call section, the following section shows
up: