This tab is used to indicate how to access Segments in
the validation, update, and display processing in a Screen or Dialog.
You specify here the physical attributes and access conditions of
each Segment (standard file or database type, keys...), and the use
characteristics and logical characteristics of the Data Elements called
in these Segments.
The number of Segment description lines called in the Screen
is limited to 100 per category. The Segments with 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, the Segments which have 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 so forth),
and type of use (read, update...).
-CS Lines table
In the first part of the tab,
a table contains the external resources called in the Screen or Dialog.
The table can include Server View calls and their associated resources
(Segments and Data Elements) which are grouped under the same physical
storage objects.
You can complete and reorganize the line calls
by using the choices available in the pop-up menu (Copy, Paste, Revert, Cancel).
With the Show columns choice, you select the
columns which are shown in the table. You can display all the columns
by selecting , or only some of them by selecting . You can also directly click the column labels in the
list.
You can also delete call lines in the table by clicking Remove or
reorganize the order the line calls display by clicking ↑ or ↓.
You
can enter the information on the Data Elements, Segments and Servers
directly in the table. Some of the fields in the table offer values
in a list. When you move your cursor on a value of the list, the label
associated with the value is displayed in a tooltip. You can otherwise
enter this information in the CS Lines- Segment Call, CS
Lines - Data Element Call orCS Lines - Server
Call sections depending the type of calls inserted in
the table.
Type of external resources
You add external
resources by clicking the buttons contained in this tab:
- Segment call creates a
call line,
- Data Element call creates a
call line,
- Server View call creates a .
call
line.
Note: The possible actions with the
buttons are also available in the contextual menu of the table.
-CS Lines - Segment call/Data Element call sections
The
Segment
call section is displayed only when you select a Segment
in the table. The
Data Element call section
is displayed only when you select a Data Element in the table. Otherwise,
these sections are shaded. For each Segment or Data Element, you must
indicate:
- The category (top, repetitive, bottom).
- The type of logical access (check or update) to perform on the
Segment during reception or display, and the key loading mode.
- The use in the generated code.
- If the access is conditioned by an access to another Segment.
- The physical organization (only for the Segment calls).
You can also add Server calls in a TUI client Screen and
Dialog for validation and selection.
- If you add or select a Segment call line in the table and expand
the CS line - Segment call section, you can
enter the Segment id, the Logical View code, the information relating
to the logical and physical characteristics of the Segment, and to
the access key.
- If you add or select a Data Element call line in the table and
expand the CS line - Data Element call section,
it displays information on the selected Data Element in the current
Screen, relating to the Segment id, its logical characteristics and
the access to be completed.
Characteristics of external resources
For each
Segment call, you indicate:
- The logical characteristics, which make the connection with the
Segment description in the repository.
- The physical characteristics, which identify the physical data
storage mode.
- The use characteristics specific to a service. They represent
the nature of the data access and specify an access hierarchy. You
indicate the type of Segment access required to perform the service,
and the sequence relative to the other Segment accesses.
For other calls, only some of these characteristics are required
for Data Element, Logical View, and Server calls.