Rational Developer for System z, Version 7.5

-G Lines tab in the Segment editor

In this tab, you can enter comments, error messages, generation elements or generation options in the section dedicated to this use.

There are four sections in this tab that you open by clicking each downward arrow:
  • the -GC Lines section,
  • the -GE Lines section,
  • the -GG Lines section,
  • and the -GO Lines section.

-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 specify error messages and online help for the current entity.
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.
Description
You can modify the error messages which are generated for the current entity and generate documentation messages of the same format.
Type Description
D

Column 1:

  • 0 : Message before Element Description.
  • A: Message after Element Description.
  • 2–5 Message after an error message of type 2 to 5.

Column 2: blank

Column 3:
  • blank = a documentary message
  • T = the call of a text

Column 4: blank

Column 5: Begin the documentary message or Enter the text and paragraph code being called. Two asterisks (**) for the paragraph code is a permitted value, it will call all the paragraphs of the text.

S

Column 1: ERROR TYPE (2, 3, 4 or 5)

Column 2: blank

Column 3: ERROR GRAVITY (E, C or W)

Column 4: blank

Column 5: enter the message beginning here.

-GG Lines

You indicate here the generation elements. 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.

-GO Lines

In this section, you enter the generation options of the Segment.

Type
Values Comments
*

Line which will not be generated. It is used to insert a comment or an override.

O Generation options.
Description
On an 'O'-type line, Enter the option followed by an equal sign and the value (with no space).
On a Segment, only the 'UPPER=NO : No uppercase' option is available. If you enter this option, you inhibit the automatic conversion, upon generation, of lowercase letters into uppercase letters in customized SQL accesses.
Related reference
Segment Overview
Segment definition tab
Segment -CE lines tab
Keywords tab
Documentation tab

Terms of use | Feedback

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