filename pgm '\sascode\zipnam94.sas'; *--convert the usps zip names file for Oct 94 off .dbf file on cd-rom--; *--upload resulting file to oseda/unix--; *--jgb, 10-19-95---*; DATA uspsname; INFILE 'd:\zipbase\names\uspsname.dbf' recfm=n lrecl=256 end=_eod; START= 321 ; INPUT +START @; DO J=1 TO 9999999 until(_eod); ** 135836 ; INPUT +1 ZIP $5. enclzip $5. STATE $2. CITY $28. TYPE $1. lastline $1. FACILITY $1. pcounty $5. county2 $5. @ ; label pcounty='Primary county' county2='Secondary co.' enclzip='Enclosing ZIP (if pt ZIP only)' ; if zip=enclzip then enclzip=' '; *<----note recode---; OUTPUT; END; DROP START J; STOP; RUN; ****following invocation used to generate skeleton of this pgm: *dbftosas(in=%str(d:\zipbase\names\uspsname.dbf), out=uspsname,formats=0,parms=1,runpgm=0) ; run; options comamid=tcp remote=oseda; signon oseda; rsubmit; libname zipcit '\mscdc\data\zipcit'; proc upload data=uspsname out=zipcit.zipnam94("US ZIP Names Oct 94"); run; endrsubmit;