<?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: Import XML variable longer than 32767 charcters in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Import-XML-variable-longer-than-32767-charcters/m-p/461805#M29775</link>
    <description>&lt;P&gt;I use C# which has XML at its core. Yes, it runs on Linux too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Look at XDocument which reads it straight in. Also, very good paper at this years SGF on VARCHAR and its support right now in SAS (outside of Viya). Some limitations however.&lt;/P&gt;</description>
    <pubDate>Sat, 12 May 2018 21:48:13 GMT</pubDate>
    <dc:creator>AlanC</dc:creator>
    <dc:date>2018-05-12T21:48:13Z</dc:date>
    <item>
      <title>Import XML variable longer than 32767 charcters</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Import-XML-variable-longer-than-32767-charcters/m-p/460625#M29690</link>
      <description>&lt;P&gt;Need to import a hierarchical XML file&amp;nbsp;where one of the tags&amp;nbsp;can contain up to&amp;nbsp;2,147,483,647 characters. I've created the XML map but&amp;nbsp;not able to import this tag into SAS since its longer than 32767 characters. Can anyone help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached a sample XML and its map.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also have to make some changes to this file and export it back as XML.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2018 05:50:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Import-XML-variable-longer-than-32767-charcters/m-p/460625#M29690</guid>
      <dc:creator>cybharg</dc:creator>
      <dc:date>2018-05-08T05:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Import XML variable longer than 32767 charcters</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Import-XML-variable-longer-than-32767-charcters/m-p/460905#M29712</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/139809"&gt;@cybharg&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;SAS 9.4 can't deal with such long strings in a single variable. In SAS Viya the new data type VARCHAR can hold up to 2GB but I don't know to what degree the XML engine has already been implemented there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If using a recent SAS9.4 version: You could try and use Python instead; or use Python or any other tool which allows you to deal with such long strings directly without any SAS involvement.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 03:06:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Import-XML-variable-longer-than-32767-charcters/m-p/460905#M29712</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2018-05-09T03:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Import XML variable longer than 32767 charcters</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Import-XML-variable-longer-than-32767-charcters/m-p/460919#M29714</link>
      <description>Thanks Patrick.. I'll try Python..</description>
      <pubDate>Wed, 09 May 2018 05:31:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Import-XML-variable-longer-than-32767-charcters/m-p/460919#M29714</guid>
      <dc:creator>cybharg</dc:creator>
      <dc:date>2018-05-09T05:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Import XML variable longer than 32767 charcters</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Import-XML-variable-longer-than-32767-charcters/m-p/461805#M29775</link>
      <description>&lt;P&gt;I use C# which has XML at its core. Yes, it runs on Linux too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Look at XDocument which reads it straight in. Also, very good paper at this years SGF on VARCHAR and its support right now in SAS (outside of Viya). Some limitations however.&lt;/P&gt;</description>
      <pubDate>Sat, 12 May 2018 21:48:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Import-XML-variable-longer-than-32767-charcters/m-p/461805#M29775</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2018-05-12T21:48:13Z</dc:date>
    </item>
  </channel>
</rss>

