x cd /pub/data/pl942000/Tools; %let pgm=csv_moschls; filename pgm "&pgm..sas"; *--regeneerate the 2 moschls CSV files (90 and 2000) so they include the desedist variables--; *--we use a modified subset of the pl94trnd macro that is used to generate these files--; libname pl942000 '/pub/data/census_2000/pl942000' access=readonly; libname pl9490tx '/pub/data/pl9490/pl9490tx'; %let htmldir=/pub/reports/pl94trend; %let htmlfile=Missouri_Schools; filename dlmout "&htmldir/&htmlfile.2000.csv"; data csvdata/view=csvdata; retain desedist ' '; set pl942000.moschls; keep sumlev desedist geocode areaname _numeric_; run; %cnvtdlm(setin=csvdata,names=1,round=.1) run; filename dlmout clear; filename dlmout "&htmldir/&htmlfile.1990.csv"; data csvdata2/view=csvdata2; retain desedist ' '; set pl9490tx.moschl00; keep sumlev desedist geocode areaname _numeric_; run; %cnvtdlm(setin=csvdata2,names=1,round=.1) run;