The INFOMAPS Procedure |
IMPORT
FILE=fileref |"physical-location"; |
Required Argument |
specifies the fileref or physical location of an XML file from which an information map is imported.
Requirement: | If you use an external text editor to modify the XML file before importing it, then the editor must encode the file using the Unicode UTF-8 format for it to be imported correctly. |
Details |
After importing an information map, you must issue a SAVE statement to save it. If you specify a name in the SAVE statement, then that name overrides the name specified in the XML file. If you save it with the same name and in the same location as an existing information map, then the imported information map replaces the existing information map in the SAS folders tree.
The location where the imported information map is saved is determined according to the following order of precedence:
The MAPPATH specified in the SAVE statement
The MAPPATH specified in the NEW INFOMAP or UPDATE INFOMAP statement
The MAPPATH specified in the PROC INFOMAPS statement
Any changes made to an open information map are lost if those changes are not saved before importing.
Example |
/* Create a new information map from an external file. */ import file="c:\test\test.xml"; save infomap "myMap" mappath="/Users/myUserID/My Folder";
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.