/* Create the input data set. */
data vendors;
input city $char16. state $char22. company $char34.;
datalines;
Detroit MI Ford Motor
Dallas Texas Wal-mart Inc.
Washington District of Columbia Federal Reserve Bank
SanJose CA Wal mart
New York New York Ernst & Young
Virginia Bch VA TRW INC - Space Defense
Dallas TX Walmart Corp.
San Francisco California The Jackson Data Corp.
New York NY Ernst & Young
Washington DC Federal Reserve Bank 12th District
New York N.Y. Ernst & Young
San Francisco CA Jackson Data Corporation
Atlanta GA Farmers Insurance Group
RTP NC Kaiser Permanente
New York NY Ernest and Young
Virginia Beach VIRGINIA TRW Space & Defense
Detroit Michigan Ford Motor Company
San Jose CA Jackson Data Corp
Washington District of Columbia Federal Reserve Bank
Atlanta GEORGIA Target
;
run;
/* Create the analysis data set. */
proc dqscheme data=vendors;
create analysis=a_state
matchdef='State (Scheme Build)'
var=state
locale='ENUSA';
run;
/* Print the analysis data set. */
title 'Analysis of state name variations';
proc print data=a_state;
run;