Rational Programming Patterns

-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 detected by specific controls.

-GC Lines

These lines are used for documentation purposes. Comments are available with all entities. You can write or edit text in relation to the selected instance. You can write, modify, move, or delete text lines by using basic word-processing functions.

Error
This column displays a dot on all the existing description lines which 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
To add a line, click Add (or select this action in the contextual menu). Click in the Type field and select one of the following values:
Table 1. Types of -GC lines
Value Comments
* or blank Standard documentation line
A Available on the Segment entity only.

Alias for the Segment name.

Description
Move your cursor to the Description field, and enter your comment.

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

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

Note: Double clicking a word selects the word.

-GO Lines

In these lines, you enter the generation options of the Program.

Error
This column displays a dot on all the existing description lines which 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
After clicking Add, you must select O to add an option line.
Description
Specify the generation option. Each option must be entered on a separate line, starting from column 1. You can:
  • 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.
  • Request the breakdown of generated dates into elementary fields by entering BREAKDATE=YES (or inhibit it by entering BREAKDATE=NO if it has been 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.

Terms of use | Feedback

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