-GG Lines

The Segment -GG Lines are used to customize the Segment SQL accesses.

You can access the -GG Lines in two ways:
  • From the -G Lines tab of the Segment editor,
  • From the -G Lines button of the section that is dedicated to the definition of the Segment line calls (filler, group, Data Element, or Segment) in the -CE Lines tab.
The Type and Description columns must be entered to declare clauses.
You can add a line in two ways:
  • Click Add or select this action in the contextual menu to add a generation element line. By default, the type of the new line is set to * (comment). Click in the Type column to select another line type. Enter the generation element in the Description column.
  • Click Add an Input Aid call or select this action in the contextual menu to insert an Input Aid call. A selection box opens. It displays the available Input Aids that have a G: Generation elements type. Select one of them and click OK.

    The variable labels and the symbolic values that are indicated in the selected Input Aid -D Lines tab are then displayed in the Description column, in a read-only mode. The Input Aid name is displayed in the Input Aid column.

    If you click the Input Aid name in the Input Aid column, a button is displayed. Click it to see all the Input Aid description lines in a detail window. In this window, you can modify the variable labels and the symbolic values.
    Note: The length of a variable label cannot exceed the length that is defined in the Input Aid -D Lines tab.
Error
This column displays a dot on all the existing description lines that are not empty.

Moreover, if this line is not correct, this column also displays an error or warning symbol, depending on the severity of the error. A hover help indicates the source of the error.

Type
You can select one of the following values:
  • G for a line that generates a customized SQL access with a delimiter.
  • * for a line that inserts a comment or an override. It will not be generated. By default, when a line is created, its type is set to this value.
  • P for a line that is recognized upon generation.
  • Z for a line that is recognized upon generation.
  • V for a line that is recognized upon generation.

This column displays a value I on all the Input Aid insertions. This value cannot be selected directly.

Description
This column must contain the following information:
  • If you inserted a line other that an Input Aid call, the column content depends on the line type.

    A free reference is set when you frame a Data Element by the symbols < and >, or enter a Data Element after a dash in this field. This Data Element can be preceded by a Segment.

    Content assist is available on this field, as shown by the symbol content assist in front of the field. To activate it, press Ctrl+Space. A subreference link is automatically created, even if the instance does not exist. From the target instance in the subreference results, you can start a super reference search.

    You can activate the content assist if you enter < in the first position. The content assist wizard then displays the list of the available Data Elements. You can also specify a Segment 00 and activate the content assist to select a Data Element (<xx00-delco>). The subreference link is created with the Data Element only. If you do not enter < in the first position, you can also activate the content assist after a dash (-) to select a Data Element.

  • If you inserted an Input Aid call line, the variable labels and the symbolic values that are indicated in the selected Input Aid -D Lines tab are displayed.
    Note: The width of the Description column is limited to 60 characters. To see the whole of an Input Aid call that exceeds 60 characters, hover over the column content. The whole call is then displayed in a tooltip.
Input Aid
This column contains the name of a called Input Aid. If you click the button that is displayed when you click in this column, you can see the Input Aid description in a detail window. In this window, you can modify the variable labels and symbolic values.

Feedback