<?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: reading sas dataset created in older version in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/reading-sas-dataset-created-in-older-version/m-p/709875#M218401</link>
    <description>&lt;P&gt;According to this:&amp;nbsp;&lt;A href="https://support.sas.com/kb/49/496.html" target="_blank" rel="noopener"&gt;https://support.sas.com/kb/49/496.html&lt;/A&gt;&amp;nbsp;, this message indicates that you are trying to read a dataset created with a&amp;nbsp;&lt;EM&gt;newer&lt;/EM&gt; SAS version in the &lt;EM&gt;older&lt;/EM&gt;&amp;nbsp;9.2. Please check your involved SAS versions.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jan 2021 11:43:18 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2021-01-07T11:43:18Z</dc:date>
    <item>
      <title>reading sas dataset created in older version</title>
      <link>https://communities.sas.com/t5/SAS-Programming/reading-sas-dataset-created-in-older-version/m-p/709867#M218400</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Im trying to read a dataset "application_data" created in sas 9.2 from my sas 9.4 env,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;when running this&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;libname old "s:\work";

&amp;nbsp; &amp;nbsp; data read_old;

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; set old.application_data;

&amp;nbsp; &amp;nbsp; run;

&lt;/PRE&gt;
&lt;P&gt;I gives me the error&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;ERROR: File OLD.APPLICATION_DATA DATA not compatible with this SAS Version&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am able to read the dataset in SASEG 7.1&amp;nbsp;&lt;/P&gt;
&lt;P&gt;by open the dataset from the file menu&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But i need to do this in code because im running in batch mode.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have been looking at cport cimport but that did not solve my issue,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 10:31:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/reading-sas-dataset-created-in-older-version/m-p/709867#M218400</guid>
      <dc:creator>havmaage</dc:creator>
      <dc:date>2021-01-07T10:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: reading sas dataset created in older version</title>
      <link>https://communities.sas.com/t5/SAS-Programming/reading-sas-dataset-created-in-older-version/m-p/709875#M218401</link>
      <description>&lt;P&gt;According to this:&amp;nbsp;&lt;A href="https://support.sas.com/kb/49/496.html" target="_blank" rel="noopener"&gt;https://support.sas.com/kb/49/496.html&lt;/A&gt;&amp;nbsp;, this message indicates that you are trying to read a dataset created with a&amp;nbsp;&lt;EM&gt;newer&lt;/EM&gt; SAS version in the &lt;EM&gt;older&lt;/EM&gt;&amp;nbsp;9.2. Please check your involved SAS versions.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 11:43:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/reading-sas-dataset-created-in-older-version/m-p/709875#M218401</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-01-07T11:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: reading sas dataset created in older version</title>
      <link>https://communities.sas.com/t5/SAS-Programming/reading-sas-dataset-created-in-older-version/m-p/709883#M218402</link>
      <description>Try:&lt;BR /&gt;&lt;BR /&gt;libname old  v6 "s:\work";</description>
      <pubDate>Thu, 07 Jan 2021 12:08:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/reading-sas-dataset-created-in-older-version/m-p/709883#M218402</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-01-07T12:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: reading sas dataset created in older version</title>
      <link>https://communities.sas.com/t5/SAS-Programming/reading-sas-dataset-created-in-older-version/m-p/709947#M218442</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/257901"&gt;@havmaage&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Im trying to read a dataset "application_data" created in sas 9.2 from my sas 9.4 env,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;when running this&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;libname old "s:\work";

&amp;nbsp; &amp;nbsp; data read_old;

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; set old.application_data;

&amp;nbsp; &amp;nbsp; run;

&lt;/PRE&gt;
&lt;P&gt;I gives me the error&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;ERROR: File OLD.APPLICATION_DATA DATA not compatible with this SAS Version&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am able to read the dataset in SASEG 7.1&amp;nbsp;&lt;/P&gt;
&lt;P&gt;by open the dataset from the file menu&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But i need to do this in code because im running in batch mode.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have been looking at cport cimport but that did not solve my issue,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Do you have access to the 9.3 or later version of SAS that likely created the Old.application_data set?&lt;/P&gt;
&lt;P&gt;If so you might get around this by creating a different data set using the option EXTENDOBSCOUNTER data set option. There is header information in later versions of SAS data sets that are not compatible with 32 bit systems likely used by SAS 9.2.&lt;/P&gt;
&lt;P&gt;Run this in the 9.4 SAS system and use the old.app_data_noextobs.&lt;/P&gt;
&lt;PRE&gt;data old.app_data_noextobs (extendobscounter=no);
   set old.application_data;
run;&lt;/PRE&gt;
&lt;P&gt;If you have many data sets to use might consider creating a new library and use the LIBNAME option extendobs=no. Then copy the data sets from OLD to that library using Proc Copy or Proc Datasets. The new library will not have the extended observation count range that is likely to be the issue. Again, the Libname would have to run on SAS 9.3 or later to use the option when files are created there.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 16:40:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/reading-sas-dataset-created-in-older-version/m-p/709947#M218442</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-01-07T16:40:55Z</dc:date>
    </item>
  </channel>
</rss>

