Rational Programming Patterns

Call of a Logical View in a Business Component

In the -CS Lines tab of the Server and Server Dialog editors, specify, for each Business Component, the Logical View you are using and its characteristics.

For each Logical View, the 'S' organization is automatically selected.

At least one Logical View must be present in an S-type Business Component. You can declare several Logical Views, although it is not advised. In this case, the total number of description lines associated with these Logical Views is limited to 100.

Logical View

The Logical View code must be identical to the code used in the corresponding Logical View called in the associated TUI clients.

Id

There is no category to select for a Logical View call.

Segment code
This field must be entered when the Segment code in the Screen is different from the Segment code stored in the repository.
Line number
Only one 00 line number (default) is authorized in a Segment. This zero line is required to enter the physical characteristics of the Segment (external name, organization), the name of the Segment access key and the name of the Segment in the database Library. It is a pure numeric field. The values from 01 to 99 are required for any other references to this Segment.

Physical characteristics

For a Logical View, the organization field is automatically set to 'S'.

Description type
Table 1. Specification of the description type
Options Description
Conventional (fixed) With this value, you obtain various descriptions in the generated program, from the Segment description in the database. .Complete Segment (common and specific parts).
1: Database Segments Specific part only. (Forced value for a Logical View, DL/1 Segment, or SQL table).
E: Table-Type Table-type Segments: The input format of the Data Elements called in the Segment is taken into account.
2: Conventional (variables) Complete Segment with variable length for and indexed organization (V).
Note: The generated description might vary according to the generation variant.
External Name
By default, this field displays the Data Structure code.

Terms of use | Feedback

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