Rational Developer for System z, Version 7.6

-G Lines

This tab contains two sections. The first, the -GC Lines section, enables you to enter comments on the Program. The second, the -GO Lines section, enables you to specify the generation options of the Program. 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

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

For each option, you must enter O in the Type column.

In the Description column, you 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 sub-function 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).
    This breakdown will be effective:
    • For Programs: on the elementary Data Elements of the Segments called in the Call of Data Structures (-CD Lines tab) and in the Work Areas (-W Lines tab).
    • For Dialogs/Screens: on the elementary Data Elements of the Segments called in the Dialog Complement (Complement tab), in the Screen Calls of Segments (-CS Lines tab) and in the Work Areas (-W Lines tab).
    • on Data Elements called in the Work Areas (-W Lines tab).

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

      Example of a date defined with an M-type format (MM/DD/YYYY):

      10 ffnn-date.
       11 ffnn-date-MMX.
        12 ffnn-date-MM PICTURE 99.
       11 ffnn-date-S1  PICTURE X.
       11 ffnn-date-DDX.
        12 ffnn-date-DD PICTURE 99.
       11 ffnn-date-S2  PICTURE X.
       11 ffnn-date-YYX.
        12 ffnn-date-YY PICTURE 9(4).
    Notes:

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

    The Data Elements called in SQL Segments cannot be broken down, except if these SQL Segments are DB2 Segments and if the DESCR=ALL option has been entered on the generation options (-GO Lines section of the -G Lines tab) of the DB2 Block.

    Since host variables cannot be group fields, the elementary fields will be generated under a redefined group field in the following way:
    ffnn-date-BRK REDEFINES ffnn-date
    .


Terms of use | Feedback

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