x cd /pub/data/Tools; %let pgm=invoke_gendshtm; filename pgm "&pgm..sas"; /* NOTE: **Not** to be confused with the gendshtm.sas module that just does 1 filetype at a time and is being used as part of v9 migration, 12-04 */ title "regenerate all existing Datasets.html pages using (presumably revised) gendshtm macro"; %include '/pub/sas/autoexec.sas'; options nomprint nosymbolgen; %macro doit(ft); %libname(&ft); *libname &ft "/pub/data/census_1990/&ft"; %let subdir=%scan(&ft,2,%str(/)); %if &subdir eq %then %let lr=&ft; %else %let lr=%scan(&ft,1,%str(/)); libname &lr "/pub/data/&ft"; *libname &lr "/pub/data/census_1990/&ft"; %gendshtm(libname=&lr); libname &lr clear; %mend doit; /* %doit(acs2005/base_tables); %doit(acs2006/base_tables); %doit(acs2007/base_tables); %doit(acs); %doit(acs2005); %doit(acs2006); %doit(acs2007); %doit(acs2008); %doit(acs2009); %doit(acs2010); %doit(acs2011); %doit(acs2012); %doit(acs2013); %doit(acs2014); %doit(acs2015); %doit(acs2016); %doit(acspums); %doit(ag2007); %doit(ag2012); %doit(bankdeps); %doit(beareis); %doit(cntypage); %doit(corrlst); %doit(desex); %doit(dpro2010); %doit(empwage); %doit(georef); %doit(govfin); %doit(hudcdbg); %doit(hudusps); %doit(indctrs); %doit(irsmig); %doit(irstaxes); %doit(kidscnt); %doit(mable2k); %doit(mig2000); %doit(modotx); %doit(moprojs); %doit(mosenior); %doit(pl942000); %doit(pl942010); %doit(popests); %doit(pums2000); %doit(saipe); %doit(sf12000x); %doit(sf12010); %doit(sf12010x); %doit(sf32000); %doit(sf32000x); %doit(taxsales); %doit(workflow); *-- These require manually entering the path into the macro above. ; *-- census_1980 ; %doit(stf803); %doit(stf803x2); *-- census_1990 ; %doit(stf420); %doit(stf901); %doit(stf902); %doit(stf903); %doit(stf903x2); %doit(stf904); *-- use /pub/data/popests/nchsbri in the path: ; %doit(nchsbri); */