In Cobol, Is it possible to right justify alphanumeric variable? For example there is a variable var1 X(10). I want the constant "hello" be displayed in right indent. i.e 'h' will br in 6th position, e in 7th position & so on
In Cobol, Is it possible to right justify alphanumeric variable? For example there is a variable var1 X(10). I want the constant "hello" be displayed in right indent. i.e 'h' will br in 6th position, e in 7th position & so on
Sure! It's as easy as pie.
Right Adjust and Zero Fill with Erase to End of Field Feature