Create a temporary data set named scale. The first two variables in the data lines, called BEGIN and END, will be used to specify a range in the format. The third variable in the data lines, called AMOUNT, contains a percentage that will be used as the formatted value in the format. Note that all three variables are character variables as required for PROC FORMAT input control data sets.
data scale; input begin $ 1-2 end $ 5-8 amount $ 10-12; datalines; 0 3 0% 4 6 3% 7 8 6% 9 10 8% 11 16 10% ;