<?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: Error Openning the SAS Dataset that is converted from an XML file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-Openning-the-SAS-Dataset-that-is-converted-from-an-XML/m-p/276831#M55507</link>
    <description>&lt;P&gt;You have an error on CLientDTO but this name appears nowhere in your program. So it seems that the code provided doesn't match the question.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jun 2016 03:04:28 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2016-06-13T03:04:28Z</dc:date>
    <item>
      <title>Error Openning the SAS Dataset that is converted from an XML file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-Openning-the-SAS-Dataset-that-is-converted-from-an-XML/m-p/276702#M55472</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hi!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I have this script to view the XML file in SAS (I am using SAS 9.4):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;filename ClientDe 'C:\Desktop\Sample1\ClientDetails.xml';&lt;BR /&gt;filename SXLEMAP 'C:\Desktop\Sample1\sample.map';&lt;BR /&gt;libname ClientDe xmlv2 xmlmap=SXLEMAP ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*&lt;BR /&gt;* Catalog&lt;BR /&gt;*/&lt;/P&gt;&lt;P&gt;proc datasets lib=ClientDe; run;&lt;/P&gt;&lt;P&gt;/*&lt;BR /&gt;* Contents&lt;BR /&gt;*/&lt;/P&gt;&lt;P&gt;proc contents data=ClientDe.queryResponse varnum; run;&lt;BR /&gt;proc contents data=ClientDe.entity varnum; run;&lt;BR /&gt;proc contents data=ClientDe.clientDetailsDTO varnum; run;&lt;/P&gt;&lt;P&gt;/*&lt;BR /&gt;* Printing&lt;BR /&gt;*/&lt;/P&gt;&lt;P&gt;title 'Table queryResponse';&lt;BR /&gt;proc print data=ClientDe.queryResponse(obs=10); run;&lt;BR /&gt;title;&lt;/P&gt;&lt;P&gt;title 'Table entity';&lt;BR /&gt;proc print data=ClientDe.entity(obs=10); run;&lt;BR /&gt;title;&lt;/P&gt;&lt;P&gt;title 'Table clientDetailsDTO';&lt;BR /&gt;proc print data=ClientDe.clientDetailsDTO(obs=10); run;&lt;BR /&gt;title;&lt;/P&gt;&lt;P&gt;/*&lt;BR /&gt;* Local Extraction&lt;BR /&gt;*/&lt;/P&gt;&lt;P&gt;DATA queryResponse; SET ClientDe.queryResponse; run;&lt;BR /&gt;DATA entity; SET ClientDe.entity; run;&lt;BR /&gt;DATA clientDetailsDTO; SET ClientDe.clientDetailsDTO; run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But when openning the datasets the following error occured and cannot open it.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The open data operation failed . The following error occured. [Error] File CLientDTO.DATA is sequential. This task requires reading observations in random order, but the engine allows only sequential access.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What does this mean? And how am I able to open the datasets?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thank you!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jun 2016 16:47:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-Openning-the-SAS-Dataset-that-is-converted-from-an-XML/m-p/276702#M55472</guid>
      <dc:creator>jei</dc:creator>
      <dc:date>2016-06-11T16:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error Openning the SAS Dataset that is converted from an XML file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-Openning-the-SAS-Dataset-that-is-converted-from-an-XML/m-p/276831#M55507</link>
      <description>&lt;P&gt;You have an error on CLientDTO but this name appears nowhere in your program. So it seems that the code provided doesn't match the question.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 03:04:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-Openning-the-SAS-Dataset-that-is-converted-from-an-XML/m-p/276831#M55507</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2016-06-13T03:04:28Z</dc:date>
    </item>
  </channel>
</rss>

