Which tables contribute to that SAS information map?

This post was kindly contributed by The SAS Dummy - go there to comment and to read the full post.

About a year ago (wow, has it been that long?), I posted an example program that lets you report on the contents of a SAS information map. Using my example, you can see the data items, filters, and folder structure within a given information map.

Last week a reader posted a comment, wondering how to also learn the names of the SAS tables that contribute to the SAS information map’s definition. I know that you can’t get to that information using the information map dictionary tables, but I did learn that it is possible using PROC INFOMAPS and the LIST statement.

Here is an example that relates to the information map that I reported on earlier:

proc infomaps ;
 update infomap "Cars" mappath="/Shared Data/Maps";
 list datasources;
run;
 

The output goes to the SAS log:

Total datasources: 1
Data source: Sample Data.CARS_1993
ID: CARS_1993
Name: CARS_1993
Description:
 

Wow, I guess that was a pretty simple information map, with only one data source. I’m sure that you can come up with more complex examples.

This post was kindly contributed by The SAS Dummy - go there to comment and to read the full post.