This seems like a very simple thing but I just can't seem to get it write. When using the code below, SAS is truncating the last character wherever variable length is greater than 9.
DATA bins;
INPUT binnum bin_desc $ @@;
FORMAT bin_desc $10.;
DATALINES;
1 [-20,-15) 2 [-5,0) 3 [0,5) 4 [5,10) 5 [10,15) 6 [15,20) 7 [20,25) 8 [25,30) 8 [30,35) 10 [35,40)
11 [40,45) 12 [45,50) 13 [55,60) 14 [60,65) 15 [65,70) 16 [70,75) 17 [75,80) 18 [80,85) 19 [85,90)
20 [90,95) 21 [95,100) 22 [100,HI)
;
RUN;
... View more