The INFOMAPS Procedure |
The following example shows you how to use the INFOMAPS procedure to create an information map.
proc infomaps metauser="pubhdc1\sasdemo" metapass="Pwd123" metaserver="pubhdc1.na.sas.com" metaport=8561; /* Open a new information map. The specified location is */ /* where, by default, the information map is saved when a */ /* SAVE statement issued. The information map exists only */ /* in memory until a SAVE statement is issued. */ new infomap "xmp_simple" mappath="/Users/sasdemo/My Folder" auto_replace=yes; /* Make the specified table on the specified server accessible. */ insert datasource sasserver="SASApp" table="Sample Data"."CLASS" _all_ ; /* Save the information map that is currently open. Because */ /* no location is specified in the SAVE statement, it is saved */ /* in the location specified in the NEW INFOMAP statement. */ save; run;
The following window shows the resulting information map opened in SAS Information Map Studio. Note that the folder CLASS was created automatically because the INSERT DATASOURCE statement includes the _ALL_ option.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.