Rational Programming Patterns

-CS Lines in a Screen or a Dialog

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 Show columns > All, or only some of them by selecting Show columns > Select. 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:
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.

Characteristics of external resources

For each Segment call, you indicate:

For other calls, only some of these characteristics are required for Data Element, Logical View, and Server calls.


Terms of use | Feedback

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