justify right
Posted: Mon Jun 07, 2010 12:13 am
what exactly does justify right clause do would anybody explain with example?
Mainframe Technical Support Forums
https://www.ibmmainframeforum.com/
These variables are left justified by default (unlike numeric variables, which are justified to the decimal point either actually specified in the PIC or implied). If you have variable X defined as PIC X(5) and move 'AB' to it, the actual value in X is AB<B><B><B> where <B> represents a blank (space) character. With PIC X(5) JUST RIGHT, the value would be stored as <B><B><B>AB.5.3.9 JUSTIFIED clause
The JUSTIFIED clause overrides standard positioning rules for receiving items of category alphabetic, alphanumeric, DBCS, or national.