Create the SALETYPEFMT. formats. PROC FORMAT creates formats for SALETYPE.
proc format; value $saletypefmt 'R'='Retail' 'W'='WholeSale'; run;