Format the transposed variables. The FORMAT statement permanently associates these formats with the variables in the output data set.
format timespan $timefmt. choice $pgmfmt.; run;