<?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: How to import XML file into SAS EG?? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-XML-file-into-SAS-EG/m-p/276756#M19147</link>
    <description>&lt;P&gt;Thanks for your response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code is working fine in SAS EG but I have to assign library and read the files(Requirement).&lt;/P&gt;
&lt;P&gt;I have assigned a library with XML V2 engine and trying to read the file but I could nt read because of the attached Error.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 12 Jun 2016 12:49:46 GMT</pubDate>
    <dc:creator>BharathBandi</dc:creator>
    <dc:date>2016-06-12T12:49:46Z</dc:date>
    <item>
      <title>How to import XML file into SAS EG??</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-XML-file-into-SAS-EG/m-p/276664#M19145</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to import XML file into EG using Assign Library function but couldn't as I couldn't find how to use the file name statement in EG.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried using below code and its working fine but need to convert it into EG tasks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;filename Ref "path";&lt;BR /&gt;filename SXLEMAP 'path';- created by XML Mapper&lt;BR /&gt;libname ref&amp;nbsp;xmlv2 xmlmap=SXLEMAP access=READONLY; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your help will be really appreciated. Thnaks in advance.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jun 2016 09:21:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-XML-file-into-SAS-EG/m-p/276664#M19145</guid>
      <dc:creator>BharathBandi</dc:creator>
      <dc:date>2016-06-11T09:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to import XML file into SAS EG??</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-XML-file-into-SAS-EG/m-p/276669#M19146</link>
      <description>&lt;P&gt;What have you tried sofar and what happened. Can you provide logs?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your code works outside of EG you could paste it as-is into a program node inside EG and run it from there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Keep in mind: depending on your EG configuration your code inside EG may run on a different server and the files may not exist on that machine. Copy them over if that's the case. Work with your IT staff/SAS support people if needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;- Jan.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jun 2016 09:46:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-XML-file-into-SAS-EG/m-p/276669#M19146</guid>
      <dc:creator>jklaverstijn</dc:creator>
      <dc:date>2016-06-11T09:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to import XML file into SAS EG??</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-XML-file-into-SAS-EG/m-p/276756#M19147</link>
      <description>&lt;P&gt;Thanks for your response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code is working fine in SAS EG but I have to assign library and read the files(Requirement).&lt;/P&gt;
&lt;P&gt;I have assigned a library with XML V2 engine and trying to read the file but I could nt read because of the attached Error.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jun 2016 12:49:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-XML-file-into-SAS-EG/m-p/276756#M19147</guid>
      <dc:creator>BharathBandi</dc:creator>
      <dc:date>2016-06-12T12:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to import XML file into SAS EG??</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-XML-file-into-SAS-EG/m-p/276770#M19148</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have to be more precise in explaining what you do when trying to read the datasets. The XML engine is sequential by nature and does not allow for navigating through the rows. So the EG tale viewer may not work. Whatever youdo, keep in mind that the engine may throw up these roadblocks. Your best bet would be to first copy the tables to a SAS library and do your operations on those.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, what do you mean by&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;read the files(Requirement).&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Is it a requirement hat would prevent you from reading a SAS copy?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards, Jan.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jun 2016 16:07:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-XML-file-into-SAS-EG/m-p/276770#M19148</guid>
      <dc:creator>jklaverstijn</dc:creator>
      <dc:date>2016-06-12T16:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to import XML file into SAS EG??</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-XML-file-into-SAS-EG/m-p/276886#M19154</link>
      <description>&lt;P&gt;Sorry that I couldn't explain properly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question is how to read the table when I'm getting that error??&lt;/P&gt;
&lt;P&gt;It is my client requirement that I shouldn't code, that is the reason I'm using this option of assigning library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks Bharath&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 10:45:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-XML-file-into-SAS-EG/m-p/276886#M19154</guid>
      <dc:creator>BharathBandi</dc:creator>
      <dc:date>2016-06-13T10:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to import XML file into SAS EG??</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-XML-file-into-SAS-EG/m-p/276951#M19155</link>
      <description>&lt;P&gt;As &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12460"&gt;@jklaverstijn﻿&lt;/a&gt;&amp;nbsp;mentioned, the XMLV2 engine is a sequential-only engine.&amp;nbsp; EG's data grid did not previously support viewing XMLV2 (or XLSX engine data, since also sequential-only).&amp;nbsp; However, we added support for both of these in EG 7.12 HF2 (Y39002), which you can install via Check for Updates (in EG 7.11 or later, and if your admin allows) or from here:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://ftp.sas.com/techsup/download/hotfix/HF2/Y39.html" target="_blank"&gt;http://ftp.sas.com/techsup/download/hotfix/HF2/Y39.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Casey&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 14:53:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-XML-file-into-SAS-EG/m-p/276951#M19155</guid>
      <dc:creator>CaseySmith</dc:creator>
      <dc:date>2016-06-13T14:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to import XML file into SAS EG??</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-XML-file-into-SAS-EG/m-p/277188#M19164</link>
      <description>&lt;P&gt;I will give it a try. Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 11:59:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-XML-file-into-SAS-EG/m-p/277188#M19164</guid>
      <dc:creator>BharathBandi</dc:creator>
      <dc:date>2016-06-14T11:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to import XML file into SAS EG??</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-XML-file-into-SAS-EG/m-p/277868#M19217</link>
      <description>&lt;P&gt;Sorry Casey. Unfortunately I'm still getting the same error.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 12:19:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-XML-file-into-SAS-EG/m-p/277868#M19217</guid>
      <dc:creator>BharathBandi</dc:creator>
      <dc:date>2016-06-16T12:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to import XML file into SAS EG??</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-XML-file-into-SAS-EG/m-p/278027#M19228</link>
      <description>&lt;P&gt;Hi Bharath,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It still isn't clear to me exactly what you are doing that leads to the problem.&amp;nbsp; Are you running the libname code in your first post then double-clicking the data set in the library in EG's Servers view in an attempt to open it in EG's data grid and then getting the error you posted?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 20:41:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-XML-file-into-SAS-EG/m-p/278027#M19228</guid>
      <dc:creator>CaseySmith</dc:creator>
      <dc:date>2016-06-16T20:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to import XML file into SAS EG??</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-XML-file-into-SAS-EG/m-p/278869#M19242</link>
      <description>&lt;P&gt;Since I cannot read those datasets. I'm trying to take copy of it. I&amp;nbsp; have tried using data builder but there is no visible columns in it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;when I'm using code&amp;nbsp;everythings is working fine.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I used this code :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;filename Ref "path";&lt;BR /&gt;filename SXLEMAP 'path';- created by XML Mapper&lt;BR /&gt;libname ref&amp;nbsp;xmlv2 xmlmap=SXLEMAP access=READONLY;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 23:06:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-XML-file-into-SAS-EG/m-p/278869#M19242</guid>
      <dc:creator>BharathBandi</dc:creator>
      <dc:date>2016-06-20T23:06:28Z</dc:date>
    </item>
  </channel>
</rss>

