<?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: Problems with SAS 9.2 - Reading of data by datastep produces error in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Problems-with-SAS-9-2-Reading-of-data-by-datastep-produces-error/m-p/73437#M21276</link>
    <description>Just a little update:&lt;BR /&gt;
&lt;BR /&gt;
I tried to reduce the volume of data - just reduce it to the data of the sampling where the problem occurs - this means that the invalid data entry is still part of the dataset. The result: the datastep worked without any problem. So it seems not to be a data formating problem but a problem with a little bit tricky read algorythm for the data (2 loops) and a big data set.&lt;BR /&gt;
&lt;BR /&gt;
I am surprised about this result as I did not expect problems like these with SAS.&lt;BR /&gt;
&lt;BR /&gt;
Maybe I have mor luck with reading the data directly from Excel. I will inform you about my progress, but first I have to learn the technique.&lt;BR /&gt;
&lt;BR /&gt;
Best regards&lt;BR /&gt;
Holger</description>
    <pubDate>Tue, 10 Feb 2009 16:39:30 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-02-10T16:39:30Z</dc:date>
    <item>
      <title>Problems with SAS 9.2 - Reading of data by datastep produces error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problems-with-SAS-9-2-Reading-of-data-by-datastep-produces-error/m-p/73434#M21273</link>
      <description>Dear all,&lt;BR /&gt;
Hope this is the correct forum.&lt;BR /&gt;
&lt;BR /&gt;
I have a problem regarding SAS version 9.2&lt;BR /&gt;
&lt;BR /&gt;
I have a data reading procedure for a data set like this:&lt;BR /&gt;
&lt;BR /&gt;
data RawData;&lt;BR /&gt;
 input Sampling Treat_ID Taxa_ID @@;&lt;BR /&gt;
 do Replicate = 1 to 4;&lt;BR /&gt;
  do Area = 1 to 4;&lt;BR /&gt;
         input Number Biomass @ ;&lt;BR /&gt;
   output;&lt;BR /&gt;
        end;&lt;BR /&gt;
 end;&lt;BR /&gt;
datalines;&lt;BR /&gt;
Here I copy-paste data directly from my excel spread sheet. - and end up with "run;" I often have 15 samplings, 5 Treat_ID and up to 40 Taxa_ID - to give you an impression about the volume of the dataset.&lt;BR /&gt;
&lt;BR /&gt;
With SAS version 9.1.3 everything worked fine. I never received a message about a problem or a warning in the Log file. &lt;BR /&gt;
&lt;BR /&gt;
Now with 9.2 sometimes I get error messages in the Log window like "Invalid data in line...". Sometimes SAS quits the complete programm without a warning or an error message after pressing the run buttom - and the reason seems to be the dataset as this problem does not occur if I feed it with a small data set. Sometimes (especially if datasets are small) the data step works fine and the resulting table of the dataset is absolutely correct.&lt;BR /&gt;
&lt;BR /&gt;
I do not what to do. Maybe I'll go back to 9.1.3. I checked the data in Excel and it was not corrupt or damaged - but SAS e.g. makes an "." out of an "0.00" - but only at single datapoints of a dataset with thousands of data - and not always at the same. The system seems to be not stable.&lt;BR /&gt;
&lt;BR /&gt;
Does anyone have observed similar problems?&lt;BR /&gt;
Any help is welcome.&lt;BR /&gt;
&lt;BR /&gt;
Best regards&lt;BR /&gt;
Holger</description>
      <pubDate>Tue, 10 Feb 2009 14:10:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problems-with-SAS-9-2-Reading-of-data-by-datastep-produces-error/m-p/73434#M21273</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-02-10T14:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with SAS 9.2 - Reading of data by datastep produces error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problems-with-SAS-9-2-Reading-of-data-by-datastep-produces-error/m-p/73435#M21274</link>
      <description>Copy and paste doesn't sound like organized way of running programs repeatedly. I would much more prefer importing the Excel using PROC IMPORT, or LIBNAME excel engine. Even an export from Excel to a csv/tab-delimited file seems a bit more structured. &lt;BR /&gt;
&lt;BR /&gt;
If you want this copy/paste to work: try to paste your Excel data into any other application, and search for the lines where SAS runs into problems. If this only occurs in SAS, I suggest that open a track to SAS tech support.&lt;BR /&gt;
&lt;BR /&gt;
/Linus</description>
      <pubDate>Tue, 10 Feb 2009 14:46:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problems-with-SAS-9-2-Reading-of-data-by-datastep-produces-error/m-p/73435#M21274</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2009-02-10T14:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with SAS 9.2 - Reading of data by datastep produces error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problems-with-SAS-9-2-Reading-of-data-by-datastep-produces-error/m-p/73436#M21275</link>
      <description>Dear Linus,&lt;BR /&gt;
&lt;BR /&gt;
thank you very much for your response.&lt;BR /&gt;
&lt;BR /&gt;
Meanwhile I did several tests:&lt;BR /&gt;
I copied the data from Excel into an simple editor - everything seemed to be OK.&lt;BR /&gt;
I copied the data into Open Office Calc - everything seemed to be OK.&lt;BR /&gt;
&lt;BR /&gt;
I copied the data from Open Office into the SAS programm - the programm immediatelly disappeared from my screen when pressing the Run button.&lt;BR /&gt;
(Same data could be read when copying them from Excel - but with error messages).&lt;BR /&gt;
&lt;BR /&gt;
The line where the problem occured was a very simple data line with only 0.00 values - so I copied a similar line where there was no problem just over the line where the problem occured - but the problem remained.&lt;BR /&gt;
&lt;BR /&gt;
I made an installation of SAS 9.2 on a different computer - same problem.&lt;BR /&gt;
&lt;BR /&gt;
What I should do next is to test your suggestions regarding Proc import or the technique with the Libname. I am not used to use these techniques but I know I should try to learn them. Hope I will make any progress soon.&lt;BR /&gt;
&lt;BR /&gt;
Thank you again!&lt;BR /&gt;
Best regards&lt;BR /&gt;
Holger</description>
      <pubDate>Tue, 10 Feb 2009 15:14:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problems-with-SAS-9-2-Reading-of-data-by-datastep-produces-error/m-p/73436#M21275</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-02-10T15:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with SAS 9.2 - Reading of data by datastep produces error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problems-with-SAS-9-2-Reading-of-data-by-datastep-produces-error/m-p/73437#M21276</link>
      <description>Just a little update:&lt;BR /&gt;
&lt;BR /&gt;
I tried to reduce the volume of data - just reduce it to the data of the sampling where the problem occurs - this means that the invalid data entry is still part of the dataset. The result: the datastep worked without any problem. So it seems not to be a data formating problem but a problem with a little bit tricky read algorythm for the data (2 loops) and a big data set.&lt;BR /&gt;
&lt;BR /&gt;
I am surprised about this result as I did not expect problems like these with SAS.&lt;BR /&gt;
&lt;BR /&gt;
Maybe I have mor luck with reading the data directly from Excel. I will inform you about my progress, but first I have to learn the technique.&lt;BR /&gt;
&lt;BR /&gt;
Best regards&lt;BR /&gt;
Holger</description>
      <pubDate>Tue, 10 Feb 2009 16:39:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problems-with-SAS-9-2-Reading-of-data-by-datastep-produces-error/m-p/73437#M21276</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-02-10T16:39:30Z</dc:date>
    </item>
    <item>
      <title>Problem solved - thank you all!</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problems-with-SAS-9-2-Reading-of-data-by-datastep-produces-error/m-p/73438#M21277</link>
      <description>First of all: Thank you for your help!&lt;BR /&gt;
&lt;BR /&gt;
The problem seems to be solved:&lt;BR /&gt;
The code as I used it first (you'll find it in my thread opening message &lt;BR /&gt;
quoted below) runs fine with the simple editor but the enhanced editor of &lt;BR /&gt;
9.2 has some problems with it.&lt;BR /&gt;
&lt;BR /&gt;
I changed the code like this:&lt;BR /&gt;
data RawData;&lt;BR /&gt;
 input Sampling Treat_ID Taxa_ID @@;&lt;BR /&gt;
 do Replicate = 1 to 4;&lt;BR /&gt;
  do Area = 1 to 4;&lt;BR /&gt;
         input Number Biomass @@ ;&lt;BR /&gt;
   output;&lt;BR /&gt;
        end;&lt;BR /&gt;
 end;&lt;BR /&gt;
datalines;&lt;BR /&gt;
&lt;BR /&gt;
-&amp;gt; the only thing I changed was filling in a second "@" in the line where I &lt;BR /&gt;
read Number and Biomass.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
With the changed code the programm runs fine also in 9.2 enhanced editor.&lt;BR /&gt;
All data are read into the file fine (I checked it).&lt;BR /&gt;
&lt;BR /&gt;
So the problem is solved.&lt;BR /&gt;
&lt;BR /&gt;
But I will try to learn how to read the data directly from the Excel file &lt;BR /&gt;
as you suppose it as the better way.&lt;BR /&gt;
&lt;BR /&gt;
Thank you again and&lt;BR /&gt;
best regards&lt;BR /&gt;
&lt;BR /&gt;
Holger</description>
      <pubDate>Wed, 11 Feb 2009 08:54:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problems-with-SAS-9-2-Reading-of-data-by-datastep-produces-error/m-p/73438#M21277</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-02-11T08:54:30Z</dc:date>
    </item>
    <item>
      <title>Hotfixes were the answer to my problem!</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problems-with-SAS-9-2-Reading-of-data-by-datastep-produces-error/m-p/73439#M21278</link>
      <description>Dear all,&lt;BR /&gt;
&lt;BR /&gt;
I found a way to solve my problem - even without using the simple - not the enhanced - editor or using strange code.&lt;BR /&gt;
&lt;BR /&gt;
The answer was: I installed several hotfixes. Some of them have to do with the enhanced editor, which seems to cause problems in several cases.&lt;BR /&gt;
&lt;BR /&gt;
Here's the page with the hotfixes regarding 9.2:&lt;BR /&gt;
&lt;A href="http://ftp.sas.com/techsup/download/hotfix/f9_win_sbcs.html#ba" target="_blank"&gt;http://ftp.sas.com/techsup/download/hotfix/f9_win_sbcs.html#ba&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Best regards&lt;BR /&gt;
Holger</description>
      <pubDate>Fri, 20 Feb 2009 13:59:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problems-with-SAS-9-2-Reading-of-data-by-datastep-produces-error/m-p/73439#M21278</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-02-20T13:59:49Z</dc:date>
    </item>
  </channel>
</rss>

