-G Lines
This tab contains three subtabs. In the -GC Lines, you enter comments on the Program. In the -GO Lines, you specify the generation options of the Program. In the -GE Lines, you indicate explicit error messages for the errors that are detected by specific controls.
-GC Lines
These lines are used for documentation purposes. You can write or edit text in relation to the selected instance. You can write, modify, move, or delete text lines by using the standard word-processing functions.
- Click Add or select this action in the contextual menu to add a comment line or an alias for a Segment. Then, click in the Type column to select the line type to be inserted. Enter the comment or the alias in the Description field.
- 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 C:
Comments
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.The first column of the table can be used to select contiguous or non-contiguous lines. To select contiguous lines, click this column on the first line to select and press the shift key on your keyboard. Then, select the other lines by clicking the last line to select or by using the arrow keys on your keyboard. To select non-contiguous lines, click a line, and then select the other lines by clicking the first column and pressing the ctrl key on your keyboard.
- If you select Special copy, a dialog box opens. You must select the columns to be copied and indicate whether you want to copy their content to an external editor or to the same tab of another instance of the same entity. The copied content is then placed in the clipboard.
- You can select Special paste to paste a content that was copied from an external editor. In this case, you must select the column where the content is to be pasted. You can also select Special paste to paste a content that was copied from another instance with Special copy.
- 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:
- No value or * to insert a standard documentation line,
- A on a Segment only, to insert an alias for the Segment name.
This column displays a value I on all the Input Aid insertions. This value cannot be selected directly.
- Description
- This column can be entered or not according to the inserted line type:
- If you inserted a comment or an alias line, you must move your cursor to this column and enter
the required information:
- On a line without any line type or with a * line type, enter a free comment. You can use the standard word-processing shortcuts to copy, paste, and delete text content in the comment lines. Double-clicking a word selects the word.
- On an A line type, enter the Segment COBOL name.
- 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.
- If you inserted a comment or an alias line, you must move your cursor to this column and enter
the required information:
- 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.
-GO Lines
In these lines, you enter the generation options of the Program.
- Click Add or select this action in the contextual menu. By default, the type of the new line is set to * (comment). To indicate a generation option, click the Type column and select the O line type. Then, enter the generation option 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 an O: Generation options
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:
- O to specify a generation option line.
- * to insert a comment or an override. It will not be generated. By default, when a line is created, its type is set to this value.
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 an O type line, you must enter the option name followed
by the equals sign (=) and the option name. To activate an option, enter
OPTION=YES (OPTION is the option code).
To make the input of the options easy in the -GO Lines, you can open a content assist wizard by pressing Ctrl+Space. This wizard displays the list of the possible options according to the entity type and COBOL type. You can also indicate the options directly by entering the option name, the equals sign (=), and the option value. To activate an option, enter OPTION=YES (OPTION is the option name).
You can specify options to request the following actions:- Modify the date transformation function. Date transformation is managed by default in the F9520 function. However, if this subfunction contains specific code lines, you must change its number to prevent overriding these lines. To do so, you must enter DATPRO=ffss, where ffss is the chosen function-subfunction.
- Break drown the generated dates into elementary fields by entering BREAKDATE=YES (or inhibit it by entering BREAKDATE=NO if it was set to YES at the Library level).
- Request a multirow option on Segments by entering MULTIROW=ssss,xxx, where ssss is a Segment and xxx is the maximum index.
- Declare the Program as a subprogram by entering SUBPRO=YES. This option is automatically present on all the Programs that were migrated from Pacbase if their Definition contained the value D in the Program classification code field.
- If you inserted a * type line, you must enter the comment.
- 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.
- If you inserted an O type line, you must enter the option name followed
by the equals sign (=) and the option name. To activate an option, enter
OPTION=YES (OPTION is the option code).
- 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.