JUSTIFIED clause

The JUSTIFIED clause overrides standard positioning rules for receiving items of category alphabetic, alphanumeric, DBCS, or national.

Read syntax diagramSkip visual syntax diagram
Format

>>-+-JUSTIFIED-+--+-------+------------------------------------><
   '-JUST------'  '-RIGHT-'   

You can specify the JUSTIFIED clause only at the elementary level. JUST is an abbreviation for JUSTIFIED, and has the same meaning.

You cannot specify the JUSTIFIED clause:

When the JUSTIFIED clause is specified for a receiving item, the data is aligned at the rightmost character position in the receiving item. Also:

If you omit the JUSTIFIED clause, the rules for standard alignment are followed (see Alignment rules).

The JUSTIFIED clause does not affect initial settings as determined by the VALUE clause.