Rational Developer for System z, Version 7.6

Créer des lignes -GG dans un bloc

You can create or modify generation elements related with the Database or the description lines of a Block depending on whether the -GG Lines section is one of the Database Block' editor's or one of the Block's description line.

About this task
The definition and description lines of a Database Block provide all the logical information the System needs to generate the source program of the Block. The physical information must be indicated on the -GG lines associated with the definition of a Block and on the -GG lines associated with a description line to modify it. You can modify or create generation lines in the following table which is available in the -GG Lines section from the -G Lines tab of a Database block's editor or from the -DH Lines, or -DR Lines or -DC Lines tab of a Database block:

Lines identified by the 'VIRT' and 'GUID' notation in the From field of the table correspond to virtual lines and and are generated automatically and cannot be modified. You must create other lines from these lines to add modifications to the generation data so that they are recognized upon generation.

Possible actions on the generation lines:
  1. To create a line, click the Add button and then, in the Type field, and select, in the dropdown menu that automatically displays, G for Generation line or V for Virtual line, * for a comment to be generated. Thus, the lines created in this way are identified by their type. These lines can be modified. Overriding virtual lines will not impact source lines but the lines will be copied into the target instance.
  2. To modify VIRT and GUID lines, you must override them. To do so, click a line to be overriden, then click the Override button. The line is edited, you can modify its description and type. Moreover, the GUID notation turns to FromGUID and the GUID notation turns to FromVIRT.
  3. You can then modify the lines with a FromVIRT or FromGUID notation, you just have to select the one you want to modify and click F2 to edit it. Then you can change its type or description.
  4. You can remove, move up and down only the comment lines, the FromGUID and FromVIRT lines and the ones you have added to the table. To do so, use the buttons on the right side of the table.
  5. You can use the Undo, Redo, Copy, Paste, Revert, Delete options in the contextual menu (right-click) for any edited line.

Conditions d'utilisation | Commentaires en retour

Ce centre de documentation utilise la technologie Eclipse. (http://www.eclipse.org)