Create data set REFLIB.CBSTATES. This data set includes a variable, DIVISION, that contains the number of the U.S. Bureau of the Census division for the state. This data step converts letter codes to numeric FIPS codes that match those in the STATE variable of MAPS.US.
data reflib.cbstates;
   length state 8 stcode $ 2 division 4;
   input stcode division;
   state=stfips(stcode);
   drop stcode;
   datalines;
CT 1
MA 1
...more data lines...
OR 9
WA 9
;