-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 must specify the physical attributes and access conditions of each Segment (standard file or database type, keys for example). You must also indicate the use characteristics and logical characteristics of the Data Elements that are called in these Segments.

The number of Segment description lines that are 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 that have the same Data Structure codes are generated in REDEFINES.
The processing of external data is determined by the call of Segments and for each of them, by the specification of its physical characteristics (type of organization for example), and type of use (read or update for example).

-CS Lines table

This tab contains a table with the external resources that are called in the Screen or Dialog. The table can include Server calls and their associated resources (Segments and Data Elements), which are grouped under the same physical storage objects.

You can create call lines and remove or reorder the existing call lines from the contextual menu or the buttons that are associated with the table. From the contextual menu, you can also copy, paste, expand, or collapse the existing call lines.

You can enter the information on the call lines in the corresponding definition sections. For example, you enter the call information of a Segment in the -CS Lines - Segment call definition section.

You can also enter the information directly in the table. Some of the columns in the table display values in a list. When you move your cursor on a value of the list, the label that is associated with the value is displayed in a tooltip.

In the Access key, Seg / LV, D. Block, and Server columns, you can call an instance directly or replace a called instance.

Type of external resources

You add external resources by clicking the buttons that are present in this tab:
  • Segment call creates a Segment call line (Segment)
  • Data Element call creates a Data Element call line (Data Element)
  • Server call creates a Server call line (Server View)
Note: The possible actions with the buttons are also available in the contextual menu of the table.

-CS Lines - Segment call or 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 disabled. For each Segment or Data Element, you must indicate the following elements:
  • The category (top, repetitive, bottom)
  • The type of logical access (check or update) on the Segment during reception or display, and the key loading mode
  • The use in the generated code
  • The access conditioning, if any, by another Segment access
  • 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 and Logical View name. You can also specify the information about the logical and physical characteristics of the Segment, and 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 called Data Element in the Screen. It shows the Segment, its logical characteristics, and the access to be completed.

Characteristics of external resources

For each Segment call, you indicate the following characteristics:
  • 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 that are specific to a service. They represent the nature of the data access and specify an access hierarchy. You indicate the type of Segment access that is required to complete the service, and the sequence relative to the other Segment access.

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


Feedback