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 a Logical View instance. In the Logical
View editor that opens up, click the -CE Lines tab
or access it by clicking More in the -CE
Lines section of the Overview tab.
When you enter or select a Data Element call line, a Segment call
line, or a group call line in the Logical View -CE Lines tab,
a section is displayed in the second part of the tab. This section
contains parameters to be entered. A More button
is located just after the Logical View attributes. Click it 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 have been specified.
When implementing a check and update service, data must be transferred
from the Logical View to the Segments, after specifying accesses to
external resources for checking and before specifying 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 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. This concept is used on a Logical
View called in any type of Folder node when developing a graphic application
in Folder mode.
- 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 of the -CE Lines tab.
Note: In the -SS Lines tab of
the Logical View editor, you can define subschemas and create the
list of the subschemas which compose the Logical View.
Values for the data transfer
The values
used for the data transfer are to be entered in the columns of a table
in the More pane. To be able to enter the Transfer
operator and Transfer area fields,
you must click the Add button first. A new
row is then created in the table so that you can enter and select
the required values. You can use the direction buttons to reorder
the lines in the table. You can click the Remove button
to remove a row from the table.
- Transfer area
- You enter the mapped Segment code for the data transfer. This
code is made up of the Segment code and the Data Element code updated
by the Logical View data or transferred after selection of the data
from the Logical View. It depends on the direction 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 which
is to be generated). Click a cell under the Transfer operator column,
in the drop-down list, and select one of these operators: