Previous Page | Next Page

The INFOMAPS Procedure

EXPORT Statement


Exports an information map in its XML representation.
EXPORT
FILE=fileref | "physical-location"
<INFOMAP "information-map-name">
<MAPPATH="location">;

Required Argument

FILE=fileref | "physical-location"

specifies an external file to which to export an XML representation of the information map. If the external file already exists, it is replaced.

Requirement: If you use an external text editor to modify the XML file after it has been exported, then the editor must encode the file using the Unicode UTF-8 format in order for the INFOMAPS procedure or SAS Information Map Studio to import it correctly.

Options

INFOMAP "information-map-name"

specifies the name of the information map to export. If you do not specify the INFOMAP option, the current information map is exported.

MAPPATH="location"

specifies the location within the SAS folders tree for the information map to export. Exporting fails if you specify an information map name in the EXPORT statement but no location has been specified. The location from which the information map is exported is determined according to the following order of precedence:

  1. The MAPPATH specified in the EXPORT statement

  2. The MAPPATH specified in the NEW INFOMAP or UPDATE INFOMAP statement

  3. The MAPPATH specified in the PROC INFOMAPS statement


Examples

/* Export an information map to a physical location. */
/* Note that the sample locations are operating system-specific. */
export infomap "my testmap" 
   file="c:\test\test.xml"
   mappath="/Users/myUserID/My Folder";

/* Export an information map to a fileref. */
filename xmlfile "c:\test\test.xml";
export infomap "my testmap"
   file=xmlfile
   mappath="/Users/myUserID/My Folder";

Previous Page | Next Page | Top of Page