Previous Topic: Output JustificationNext Topic: Input Justification


Fill Characters Output Justification

Fill characters are added to the edited intermediate results prior to being sent to the presentation space. The type of justification determines whether fill characters are added to the beginning or end of the intermediate string.

Left and word-wrap justification adds fill characters to the end of the intermediate string.

Right justification adds fill characters to the beginning of the intermediate string.

Centered justification adds fill characters to the beginning and the end of the intermediate string.

ASIS justification adds only NULL (x'00') characters to the end of the string, if needed. Fill characters are never added to an ASIS justification field.

Truncation of strings, either on the left or the right, is done at a character boundary. Since the terminal codepage may be a multiple-byte character codepage, the truncation may leave an odd number of bytes unaccounted for. These bytes will be filled with the appropriate space character if possible, or nulls if not. These bytes in the intermediate string are called dead positions.