-GG Lines in a Database Block

The physical information that is required to generate a Database Block must be entered on the -GG Lines of the -G Lines tab of the Block. You can also add generation elements that are associated with a Block description line from the -Dx Lines tab (-DR, -DH, -DC lines). It complements the logical information that is entered on the Database Block Definition.

In the -GG Lines tab, you can modify the information that is indicated in the Block description lines before the generation. Lines are automatically displayed to guide you when you enter the physical information of the Block. These lines are identified by VIRT or GUID in the Source column. These lines are called virtual lines. Only the lines that are identified by VIRT are generated.

To modify these lines, you must override them (Override button) and create lines between the beginning and end insertion lines. When you override these lines, the VIRT and GUID identifiers are changed into FROMVIRT and FromGUID. The lines can then be entered.

You can create lines anywhere in the table. To edit a line, select it and press the F2 key.

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: Line to add the following elements:
    • The physical characteristics of a Block on the Block Definition,
    • Generation elements on the Block Description.
    The line is generated instead of the automatically generated elements.
  • *: Line that is not generated. It is used to insert a comment or an override.
  • P: Line that is generated between the automatically generated elements and their descriptions.
  • Z: Line that is generated after the automatically generated elements.
  • V: Line that is generated before the automatically generated elements.
The P, Z, and V types are associated with the SOCRATE databases. P and Z types are also available for -GG lines that are associated with CODASYL Block Definition and -DC Lines.
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 and the Block type. The first part of the description can contain 60 characters, the second part 40.
  • 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.
From
This column identifies the virtual lines that are automatically generated to help you modify the generated lines according to the required format. These lines are identified by VIRT or GUID If these lines are overridden, the VIRT and GUID identifiers are changed into FROMVIRT and FromGUID.
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.

Lines associated with DL/1 Database Blocks

Lines associated with CODASYL databases


Feedback