x cd /mscdc/sas/formats/Tools; %let pgm=cmet95; filename pgm "&pgm..sas"; *--create the revised format codes $cmet95_ and $msa95_ using the 94 codes with additions/changes (per Wm Frey, U of Mi). jgb, 5-96--; *--run 12-31-96 to create names cmet95_ and msa95_ as required for some apps such as ds2htm macro. we shall phase out used of _comet95 and metro95_; *--$cmet95_ and $comet95_ are the same formats. Likewise $metro95_ and $msa95_ are the same.--; 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 $cmet95_ '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_]; value $msa95_ '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;