<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Export data from information map studio to text file in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-data-from-information-map-studio-to-text-file/m-p/860236#M42342</link>
    <description>&lt;P&gt;Hello Grudos20,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is not an easy way to get the data items detail from the Information Map studio.&amp;nbsp; You can use PROC INFOMAPS and the LIST statement to write that information to a file and then read in that file using other SAS code.&amp;nbsp; You can use PROC DOCUMENT to render the ODS output to a CSV file by reading in the log that is generated to a file.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* Redirect the log to a file*/
proc printto log="c:\temp\tempmap.log"; run;&lt;BR /&gt;
/* Run Proc Infomaps to list the dataitems information */
proc infomaps
  metauser="sasdemo"
  metapass="XXXXXXX"
  metaserver="machine.com"
  metaport=8561
  mappath="/Shared Data/Information Maps/";
update infomap "Prdsale Map";
list; 
save;
quit;

/* Turn off the Proc Printto */
proc printto; run;

/* Proc Document to read in the log file and write it to a CSV file using ODS */
proc document name=logfile(write);
import textfile="c:\temp\tempmap.log" to ^;
run;

ods csv file="c:\temp\map.csv";
replay;
run;
quit;
ods csv close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;I have included links to some documentation as well.&lt;/P&gt;
&lt;P&gt;&lt;A title="Documentation to Proc Infomaps" href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/engimap/n1955hsqssj2fkn1o76clu0bqvca.htm" target="_self"&gt;Documentation to Proc Infomaps&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="Documentation to Proc Document" href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/odsproc/n0lzw11swn9gm8n1g6rof0r360wr.htm" target="_self"&gt;Documentation to Proc Document&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Feb 2023 17:46:37 GMT</pubDate>
    <dc:creator>KatS_SAS</dc:creator>
    <dc:date>2023-02-22T17:46:37Z</dc:date>
    <item>
      <title>Export data from information map studio to text file</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-data-from-information-map-studio-to-text-file/m-p/858223#M42218</link>
      <description>&lt;P&gt;Hello dear sas users!&lt;BR /&gt;Please tell me how to output data from the Infromation Map Studio application, for example, to a csv file.&lt;BR /&gt;I really need data on attributes and their relationship with attributes from the data source. My data source is Oracle Data Base.&lt;BR /&gt;Using the example of one attribute, when I open detailed information (see the screenshot), I want to get the following data:&lt;BR /&gt;1. data item name&lt;BR /&gt;2 Location&lt;BR /&gt;3.Description&lt;BR /&gt;4 Expression&lt;/P&gt;
&lt;P&gt;Does anyone have any options on how to do this?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="infomap.gif" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/80301iB49DA58B2A7663CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="infomap.gif" alt="infomap.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 10:06:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-data-from-information-map-studio-to-text-file/m-p/858223#M42218</guid>
      <dc:creator>grudos20</dc:creator>
      <dc:date>2023-02-10T10:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Export data from information map studio to text file</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-data-from-information-map-studio-to-text-file/m-p/860236#M42342</link>
      <description>&lt;P&gt;Hello Grudos20,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is not an easy way to get the data items detail from the Information Map studio.&amp;nbsp; You can use PROC INFOMAPS and the LIST statement to write that information to a file and then read in that file using other SAS code.&amp;nbsp; You can use PROC DOCUMENT to render the ODS output to a CSV file by reading in the log that is generated to a file.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* Redirect the log to a file*/
proc printto log="c:\temp\tempmap.log"; run;&lt;BR /&gt;
/* Run Proc Infomaps to list the dataitems information */
proc infomaps
  metauser="sasdemo"
  metapass="XXXXXXX"
  metaserver="machine.com"
  metaport=8561
  mappath="/Shared Data/Information Maps/";
update infomap "Prdsale Map";
list; 
save;
quit;

/* Turn off the Proc Printto */
proc printto; run;

/* Proc Document to read in the log file and write it to a CSV file using ODS */
proc document name=logfile(write);
import textfile="c:\temp\tempmap.log" to ^;
run;

ods csv file="c:\temp\map.csv";
replay;
run;
quit;
ods csv close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;I have included links to some documentation as well.&lt;/P&gt;
&lt;P&gt;&lt;A title="Documentation to Proc Infomaps" href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/engimap/n1955hsqssj2fkn1o76clu0bqvca.htm" target="_self"&gt;Documentation to Proc Infomaps&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="Documentation to Proc Document" href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/odsproc/n0lzw11swn9gm8n1g6rof0r360wr.htm" target="_self"&gt;Documentation to Proc Document&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 17:46:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-data-from-information-map-studio-to-text-file/m-p/860236#M42342</guid>
      <dc:creator>KatS_SAS</dc:creator>
      <dc:date>2023-02-22T17:46:37Z</dc:date>
    </item>
  </channel>
</rss>

