x cd /mscdc/sas/formats/Tools; %let pgm=comet95; filename pgm "&pgm..sas"; *--create the revised format codes $comet95_ and $metro95_ using the 94 codes with additions/changes (per Wm Frey, U of Mi). jgb, 5-96--; libname library clear; libname library '/mscdc/sasctlgs'; *<--save in library.formats catalog; *--create custom format codes to assign and name the metro areas--; proc format library=library; value $comet95_ '04005', '49025'='2620M' '08077'='2995M' other=[$comet94_]; value $metro95_ '2620'='Flagstaff,AZ-UT' '2995'='Grand Junction, CO' '3290'='Hickory-Morganton-Lenoir, NC' '5602'='New York CMSA + New Haven et al NECMA' other=[$metro94_]; run;