When the accesses to the external resources have been specified,
you can assign subschemas to a Data Element or Segment called in a
Logical View and specify information about data transfer (transfer
operator and transfer area) in a wizard. This wizard is accessible
in the Data Element call, Segment call, or group definition sections.
Note: To
open this wizard, you must open the -CE Lines tab
of a Logical View. When you enter or select a Data Element call line,
a Segment call line, or a group call line in the -CE Lines tab,
a section becomes available. Click More after
the Logical View attributes to open the wizard.
Figure 1. Assigning
subschemas and parameters for data transfer
Note: To implement a selection service, data must be
transferred from the Segments to the Logical View, after the accesses
to the external resources. When a check and update service is implemented,
data must be transferred from the Logical View to the Segments, after
the accesses to the external resources for checking and before the
access for updating. These data transfers are automatically generated
by mapping the Data Elements of the Logical View with the Data Elements
of the Segments. This mapping is to be specified in the -CE definition
wizard, for each element that is called in the Logical View.
Subschema belonging
- Subschema 0 to 9
- In this field, you specify that a Data Element call, a group Data
Element, or a Segment call in a Logical View belongs to one or more
subschemas of the Logical View.
- When subschemas are assigned to elements called in the Logical
View, a 0 character is displayed for each subschema
in the Subschemas column of the -CE definition
table.
Note: In the -SS Lines tab of
the Logical View editor, you can define subschemas and create the
list of the subschemas that compose the Logical View.
Values for the data transfer
The values
that are used for the data transfer are to be entered in the columns
of a table in the More pane. To enter the Transfer
operator and Transfer area fields,
you must click Add. A new row is then created
in the table so that you can enter and select the required values.
You can move the lines in the table by clicking the direction buttons.
You can click Remove to remove a row from the
table.
- Transfer area
- You enter the mapped Segment code for the data transfer. This
code is constituted of the Segment code and the Data Element code
if the Data Element code is different from the Data Element of the
Logical View. The Segment and Data Element codes are updated by the
Logical View data or transferred after selection of the data from
the Logical View. It depends on the direction that is selected in
the Direction of transfer field (in the Logical
View attributes pane of the Data Element call section
or Segment call section). Both mapped codes
must be in the same format. The same Data Element can feed several
indexed or table Segments.
- When the codes are entered, you can see them displayed in the
transfer area column of the -CE lines table.
- Transfer operator
- The operator corresponds to the transfer mode (COBOL verb that
is to be generated). Click a cell under the Transfer operator column
and select one of these operators: