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.

Lignes -GC

Ces lignes sont utilisées à des fins documentaires. Les commentaires sont disponibles pour toutes les entités et vous permettent d'écrire et d'éditer un texte en relation avec l'instance sélectionnée. Cet onglet vous permet d'écrire, de modifier, de déplacer ou de supprimer des lignes de texte en utilisant les fonctions du traitement de texte.

Type
Dans la zone saisissable Type de la section Lignes -GC, positionnez votre curseur et saisissez le type suivant :
Valeur Commentaires
* ou blanc Ligne de documentation standard.
A Alias pour le nom du Segment
Description
Dans la zone Description de la section Lignes -GC, positionnez votre curseur et saisissez votre commentaire :

Sur une ligne de type "blanc", entrez un commentaire libre.

Sur une ligne de type "A", entrez le nom COBOL du Segment.

Remarque : Un double clic entraîne la sélection du mot, un clic dans la marge de gauche entraîne la sélection de la ligne complète.

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


Conditions d'utilisation | Commentaires en retour

Ce centre de documentation utilise la technologie Eclipse. (http://www.eclipse.org)