Rational Developer for System z, Version 7.6

Library -G lines tab

This tab contains two sections, in the first one, the '-GC Lines' section, dedicated to the comments on the current Library. In the second one, the '-GO Lines' section, you can to specify the generation options for your current Library. Click the downward arrow in front of a section to open it.

-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.

-GO lines

The -GO lines section can be updated by Administrators only. It must be used to enter generation options, the Administrator can:
  • indicate the SCM import environment and application code,
  • request the keeping of the date transformation function,
  • modify the format of the generated indexes
  • request the generation of ’Cursor for Update,
  • request the breakdown of generated dates.

SCM IMPORT ENVIRONMENT

On an option line, you can specify the short code of the SCM import environment recognized upon generation and the application code in the following way:

EEE DE RE DEFAULTAPP REQUIREDAP

with:
  • EEE : entity type
  • DE : short code of default environment,
  • RE : short code of required environment,
  • DEFAULTAPP : default application code (10 char. max.),
  • REQUIREDAP : required application code.

DATE TRANSFORMATION FUNCTION

If:
  • you use a date transformation, by default generated in F9520,
  • the DATPROoption is not used at Program level,
  • you have specific code lines inF95, then you can request, with the option F9
then you can request, with the option F9520=N, the generation of the standard F9520 subfunction and the preservation of the specific lines entered in F95.

The F9520=N option is therefore recommended.

With the opposite option (F9520=Y, default option), the standard F9520 subfunction is not generated ; it is overridden by the specific lines entered in F95.

Note: If you have specific lines in F9520, the date transformation standard subfunction is not generated whichever the option chosen here. It will be generated if you set the DATPRO option in the -GO lines of the specified Program.

FORMAT OF GENERATED INDEXES

This option applies to the indexes which are generated at the beginning or the Working Storage Section of Programs, under the 01 INDICES level.

By default, these indexes are formatted according to the value of the Program generation variant. This format is displayed in the generated Program, on the 01 INDICES line.

If you want to change this format (to increase the size of these indexes, optimize the processing time...), enter the

INDIC=format option (where ’format’ is the new format of the indexes, entered (where ’format’ is the new format of the indexes, entered in full). This option must be entered alone on a line, beginning in column 1. ’Indexes format’ option and, in the ’Line option’ field, enter the new format in full.
Exemple:
Type \ Description
  O   INDIC=COMPUTATIONAL-3

GENERATION OF CURSOR UPDATE

If you enter the CURSUPDT=YES option, the SQL ’Select statements will be replaced with Cursor for Update statements in a read for update access.

BREAKDOWN OF GENERATED DATE

You request the breakdown of generated dates into elementary fields by entering BREAKDATE=YES. This breakdown will be effective:
  • For Programs: on the elementary Data Elements of the Segments called in the -CD lines and in the Work Areas (-W lines), on F-type lines.
  • on Data Elements called in the Work Areas (-W lines), on I, E or S-type lines.

If you indicate the BREAKDATE=YES option, the Data Elements defined with a date format will be generated as elementary fields which correspond to the year, month and day and a separator (if it is included in the date format).

A date will be broken down only if the generated COBOL level of the date field is lower than or equal to 47.

If a VALUE has been entered, it will be generated in the group field.

Any additional information (such as a VALUE) must be entered on the same line as the Data Element call on I, E or S-type lines on the Work Areas (-W lines). If a continuation line has been specified, the date will not be broken down.


Terms of use | Feedback

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