Rational Developer for System z, Version 7.5

-GO Lines section

You use this section to enter the generation options of the Dialog, which can also be entered in the Options field of the Dialog Complement tab, plus the BREAKDATE option, which cannot be specified in the Dialog Complement.

To enter options, you must enter O in the Type column, and enter the option(s) in the Description field.

To activate an option, enter OPTION=YES (’OPTION’ is the option code).

To specify here the breakdown of generated dates into elementary fields, you must enter BREAKDATE=YES. You can also 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), on F-type lines.
  • For Dialogs/Screens: on the elementary Data Elements of the Segments called in the Dialog Complement, in the Screen Calls of Segments (-CS Lines tab) and in the Work Areas (-W Lines tab), on F-type lines.
  • on Data Elements called in the Work Areas (-W Lines tab), 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).

Example of a date defined with an M-type format (MM/DD/YYYY):
   10   ffnn-date.                    
    11  ffnn-date-JJX.                
     12 ffnn-date-JJ    PICTURE 99.   
    11  ffnn-date-S1   PICTURE X.     
    11  ffnn-date-MMX.                
     12 ffnn-date-MM    PICTURE 99.   
    11  ffnn-date-S2   PICTURE X.     
    11  ffnn-date-SSX.                
     12 ffnn-date-AA    PICTURE 9(4). 

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 tab). If a continuation line has been specified, the date will not be broken down.

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 DB2 Block Generation Options (-GO Lines section). 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)