Conversion Table for Source Field Type t

Target Conversion
c The content is treated in the same way as a source field of type c.
d Not supported. Leads to a syntax error or to an untreatable exception.
f If the source field contains only digits, the content is interpreted as a time entry in the format SE> HHMMSS, from which the value HH*3600+MM*60+SS is calculated, which is then converted into the internal representation of a floating point number. If the source field does not contain only digits, the target field receives the value 0.
i, b, s If the source field contains only digits, the content is interpreted as a time entry in the format HHMMSS, from which the value HH*3600+MM*60+SS is calculated, which is then converted into the internal representation of an integer. If the source field does not only contain digits, the target field receives the value 0. If the value range of the data types b and s is not sufficient, an untreatable exception is raised.
n The characters in the source field are inserted in the target field, left-aligned. Trailing blanks in the source field are transferred. If the target field is longer than the source field, it is filled out to the right with the character "0". If the target field is shorter, the number is truncated to the right.
p If the source field contains only digits, the content is interpreted as a time entry in the format HHMMSS from which the value HH*3600+MM*60+SS is calculated, which is then converted into the internal representation of a packed number. If the value range of the target field is too small, an untreatable exception is raised. If the source does not contain only digits, the target field receives the value 0.
string The content is treated in the same way as a source field of type c.
t The content of the source field is transferred without conversion.
x The content of the source field is first converted into data type i (see above) and then into type x (see conversion table for source field type i, b, or s).
xstring The content of the source field is first converted into data type i (see above) and then into type xstring (see conversion table for source field type i, b, or s).

Note

The conversion rules are designed in such a way that when data objects of type t are assigned to character-like data objects they behave as character-like data objects. When assigned to numeric data objects, they behave as numeric data objects. The latter serves as the basis for calculating time in arithmetic expressions. If the content of data objects of type t are time entries in the format HHMMSS, and the values only correspond to valid times of day (HH is between 00 and 23, MM and SS are between 00 and 59), the value assigned to a numeric data object corresponds to the number of seconds since midnight. Although the conversion rules actually permit the assignment of time fields that contain invalid data, this is not recommended.