Creating and modifying the -GG lines of a Database Block
You can create or modify generation elements that are related to the database on the Database Block editor -GG Lines tab. You can also complete the description lines of a Block and enter generation elements on the -GG lines that are associated with the description lines. To do so, click the -G Lines button that is available on the description line definition in the -DR Lines, -DH Lines, or -DC Lines, according to the Block type.
About this task
- The Block definition
- The -DH, -DR or -DC description lines, according to the Block type
You can modify or create these generation elements.
The lines that are identified by VIRT and GUID in the From column correspond to virtual lines. They are generated automatically. They guide you when you enter your generation elements. They cannot be modified directly. You must create other lines from these lines to insert modifications that will be recognized upon generation.
Procedure
- You can create a line in two ways:
- Click Add or select this action in the contextual menu. Then, click in the Type column and select a value in the drop-down list. In this way, all the lines are identified by their type and can be modified. Enter the line content 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 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.
- To modify VIRT and GUID lines, you must override them. To
do so, click a line to be overridden, then do one of the following actions:
- Click Override or select this action in the contextual menu. The line is edited and you can modify its description and type.
- Click Override with an Input Aid call or select this action in the contextual menu. 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 description lines of this Input Aid are shown in the -GG Lines of the Block. You must then delete the overridden line by selecting Remove.
When you override a virtual line, the GUID identifier becomes FromGUID and the GUID identifier becomes FromVIRT. Overriding virtual lines does not affect source lines but the lines will be copied into the target instance.
- To modify the lines with a FromVIRT or FromGUID identifier. You can change its type or description.
- You can remove or reorder the comment lines, the FromGUID and FromVIRT lines, and the lines you added to the table by clicking the corresponding buttons.
- You can right-click any edited line and select Undo, Redo, Copy, Paste, Revert, or Delete in the contextual menu.