The right-justify function returns the string that results from:
Syntax:
►►─┬─ RIGHT ─────────┬─ (string) ─────────────────────────────────────────────►◄ ├─ RIGHTJUS ──────┤ ├─ RIGHT-JUST ────┤ └─ RIGHT-JUSTIFY ─┘
Invocation names:
RIGHT RIGHTJUS RIGHT-JUST RIGHT-JUSTIFY
Parameters:
Specifies the string value that is right justified.
Example:
This example right justifies EMP-LAST-NAME-0415 (PIC X(15)). The initial value of EMP-LAST-NAME-0415 is ' OTT '.
select rightjus(emp-last-name-0415) from employee ' OTT'
|
Copyright © 2013 CA.
All rights reserved.
|
|