x cd /mscdc/data/stf420/Tools; %let pgm=cnvt420a; filename pgm "&pgm..sas"; *--convert 1990 stf420 file to SAS dataset. Contains data on commuting patterns. This conversion uses an "alternative format" approach which is very idfferent from what you get with our stf420c.sas macro conversion. That method yields a single sas dataset with large observations and lots of hierarchal goegraphic levels. In this conversion approach we strip down to just a few geo summary levels (complete counties, tracts and places within counties) and we create separate summaries for just the total pop vs. the various race/hispanic combinations. Each of the tables that had data with a 21-cell dimension representing the 20 work places have been replaced here by a single table with those 21 cells and now we have new "dimension variables" (race, hispanic, racspan) that tell us what those cells really represent. Setup by J. Blodgett, oseda, 5-99. ----*; ***********Important: check to see if raw data file is zipped. Will need to unzip prior to running the conversion***************************************; %let stab=il; *<====state to be converted===; %let state=%stcnvt(&stab); libname user '/tmp/storage/user'; filename text "/mscdc/sas/formats/S&stab.pow.sas"; libname stf420 '/mscdc/data/stf420'; filename in "/mscdc/data/stf420/&stab"; title "Convert stf420 (Alternative Format)"; *--included code has title2 defined--; %include sascode(stf420a)/nosource2; *-i.e. /mscdc/sascode/stf420a.sas --;