These formatting options override the predefined formats
of the statement WRITE for list output. The formatting result is adjusted to the
output length. If the system executes a
conversion routine during output, the other format_options are ignored.
The formatting options are the same as for the statement WRITE ... TO, except for the following special aspects:
If the additions NO-SIGN, CURRENCY, DECIMALS,
ROUND, UNIT are used with the length specification
* or ** after AT, they are applied first and the output length is determined based on the result.
If USING EDIT MASK is used and the
output length specified explicitly using
len, the conversion routine is executed for the length specified; in all other cases, it is executed
for the implicit output length. If * or ** is specified for the output length, the corresponding rules are applied to the converted result.
If USING EDIT MASK is used and the output length *
specified, the system sets the exact length required in the list display. If characters of the edit
mask are replaced by Unicode characters occupying more than one column on the list, the system extends the output length accordingly and fills the output in the list buffer with blanks.
If USING EDIT MASK is used and the output length ** is specified, double the length of the edit mask mask is used.
If USING EDIT MASK is used, a character "_" in the edit mask does not necessarily
correspond to one column in the list display since the space required for the display depends on the replacement Unicode character.
If DD/MM/YY ... is used and the output length specified using *
or **, the length is set to the length of the specified edit mask (6, 8, or 10).