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.
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).
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.
ffnn-date-BRK REDEFINES ffnn-date.