TIME{(format{separator})}

The TIME keyword is used in a free-form definition to indicate that the item has type time.

It must be the first keyword.

The parameter is optional. It specifies the time format and separator. See Time Data Type for information on the default format for time items.

In the following example, field time_dft is defined as a time field with the default format for the module, and field time_mdy is defined with *HMS as the format and period as the separator.

  DCL-S time_dft TIME;
  DCL-S time_hms TIME(*HMS.);