Thanks for providing the sample code.
It seems to me that the issue with left-alignment is restricted to column labels. But it can be solved by putting two (col. 1) or one (cols. 2 and 3) protected blanks to the end of the format labels. So, with this modification my first suggestion, to insert a blank after the colon, should work. At least it works with my SAS 9.4:
Code:
proc format;
value behand_az16_l8z
5= 'inter- ven- tionell: andere '
6= 'inter- ven- tionell: andere lokale '
7= 'inter- ven- tionell: ausschl. system. '
;
run;
Again, the blanks at the end of the labels are protected blanks, 'A0'x (typed as Alt+0160).
Result:
----------------------------
| |inter- |inter- |
|inter- |ven- |ven- |
|ven- |tionell:|tionell:|
|tionell:|andere |ausschl.|
|andere |lokale |system. |
|--------+--------+--------|
| 1| 1| 1|
----------------------------
... View more