Rational Developer for System z, Version 7.5

Adding -G Lines to Elements Called in a Segment

In the -G lines wizard, you find a second level of -G lines which are dedicated to the Fillers, Groups, Data Elements and Segments called the -CE of a Segment.

The -G lines wizard opens via the -CE tab, in Segment editor, from the Data Element call section, Segment call section, Filler Definition section, and Group Definition section. It consists in three sections: the -GC lines, the -GE lines and -GG lines to define for the element called in the Segment.
In the -GC lines section, you can enter lines of comments for the element called in your Segment.

-GC Lines

These lines are used for documentation purposes. Comments are available with all entities and allow you to write, edit text in relation to the selected instance. This tab allows you to write, modify, move or delete text lines using basic word processing functions.

Type
In the Type input field of the -GC lines section, put your cursor and enter the type of line:
Value Comments
* or blank Standard documentation line.
A Alias for the Segment name.
Description
In the Description input field of the -GC lines section, put your cursor and enter your comment.

On a blank-type line, you enter a free comment.

On an A-type line, enter the COBOL Segment name.

Note: A double click on a word selects the word, clicking in the left margin selects the entire line.

-GE Lines

In the -GE lines section, you can specify error messages and online help for the element called in your Segment.
Type
Enter in this field, one of the following values:
Values Comments
T Call of a text section.
* Line which will not be generated. It is used to insert a comment or an override.
S Replacement of an automatic error message.

Automatic messages can be replaced by specific messages such as: ’THE ORDER NUMBER IS REQUIRED These messages are indicated on ’S’ type lines assigned to data element call lines (-CE lines tab) in the Segments.

F Data Element call
U Error message
C Comment
D Documentary messages.

-GG Lines

You indicate here the generation elements for the element called in your Segment. These lines are used to customize SQL accesses. The lines indicated in this section are taken into account when the instance is generated.

Type
The value is one character long.
Value  
G
You use a G line to:
  • generate, from a Segment, a customized SQL access with a delimiter.
  • indicate the physical characteristics of a Block on the Block Definition.
  • add generation data on the Block Description.
  • override generated constants in a Screen or TUI Client.
.
V Generate, from a Segment, a customized SQL access without a delimiter.
* Line which will not be generated. It is used to insert a comment or an override.
P Line taken into account at generation.
Z Line taken into account at generation.
V Line taken into account at generation.
Description
The first part of the description may contain 60 characters, the second part 40.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)