Do for SAS datasets what we did for SAS variables with our %dovar macro. I.e. create a %doset macro that will help us capture metadata at the dataset level. With vars like DSName, DSLabel, CreateDate, CreatedJob, ByVars, IdVars, NObs, NVars, SumLevs, GeoUniverse, DSComment, DSType, Engine, SortedBy, Filters, VariableSet, Contact, SourceData, DSYears, ... We need to have a pair of meta sets for describing out datasets (library members). These would be: 1. dsets1: Data that can be automatically captured via a proc contents run. This includes the libname, memname, label, nobs, nvars, engine, dates created and modified, obslen, nindexes etc . See the contdir macro for code to create such a piece. 2. dsets2: This is the (mostly) manually entered metadata. Contains description, key variables, geographic universe and summary levels, related views, years, etc. These items can be created via parms to the doset macro in meta mode or they can be entered using an interactive editor such as fsb or vt. We need to generate a Datasets.html/pdf report comparable to what we now do for Variables within the filetype directory. These reports will provide a good overview of what sets are available in the directory. They could/should be seen as a possible replacement for Contents files. The next generation of uexplore/xtract should be SAS dataset driven instead of Contents-file driven. Related idea: Develop a series of small filter macros that can be compiled into a special macro catalog. A meta sas dataset will describe each such filter and we can tag datasets with lists of such filters. For example, if the Filters variable for a dataset had the value "SumLev StateS StateL CountyS CountyL CousubS CousubL PlaceS PlaceL TractS TractL BGS BGL" it would indicate that all these filter macros would be relevant. Some of these filters would have positional parms associated with them. Examples: %macro countyL(slvar ); %if &slvar eq %str() %then %let slvar=SumLev; where also &slvar ='050'; %mend countyL; %macro countyS(fips,cvar=county,clen=5); where also &cvar = "&fips"; %mend countyS; Another idea is to specify certain variables as being keys for datasets within a directory. Instead of using genkeys.sas macro to generate a permanent html doc for each dataset, we could develop a dynamic SAS web app that would accept the dataset name and the variable and would generate the keyvals data listing on the fly. Maybe even generate it as a select list for some apps. Rev. 12/27/2002 11:18AM