<?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: WEIRD ERROR... in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/WEIRD-ERROR/m-p/520257#M3997</link>
    <description>&lt;P&gt;You check&amp;nbsp;&lt;STRONG&gt;if event=.&lt;/STRONG&gt; which means that you expect EVENT to be numeric,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;while it seems to be char type like (see log)&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;Event='Business Inventories'&amp;nbsp;.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Did you mean to check if event is missing/blank/empty ?Then check by&amp;nbsp;&lt;STRONG&gt;if missing(event) then&lt;/STRONG&gt;...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Or maybe you want to check another variable?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Dec 2018 07:01:08 GMT</pubDate>
    <dc:creator>Shmuel</dc:creator>
    <dc:date>2018-12-11T07:01:08Z</dc:date>
    <item>
      <title>WEIRD ERROR...</title>
      <link>https://communities.sas.com/t5/New-SAS-User/WEIRD-ERROR/m-p/520250#M3994</link>
      <description>&lt;DIV&gt;As a part of running a macro, I was just checking if there was any missing value, it would be deleted. Since the dataset doesn't have any missing value, it should return all the rows. Instead, I get this weird note which says "Character values have been converted to numeric value...":&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;10694&amp;nbsp; data US_Summ;&lt;BR /&gt;10695&amp;nbsp; set US_Summ;&lt;BR /&gt;10696&amp;nbsp; if Event=. then delete;&lt;BR /&gt;10697&amp;nbsp; run;&lt;/DIV&gt;&lt;DIV&gt;NOTE: Character values have been converted to numeric values at the places given by: (Line):(Column).&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10696:4&lt;BR /&gt;NOTE: Invalid numeric data, Event='Business Inventories' , at line 10696 column 4.&lt;BR /&gt;Date=03/13/2007 Time=10:00:00.000 Day=Tue Region=United States Category=Economic Releases&lt;BR /&gt;Event=Business Inventories Period=Jan Surv_M=0.002 Surv_A=0.0016 SD=0.14 Actual=0.002 Prior=0&lt;BR /&gt;Revised=0.001 Last_Rev=0.001 Surprise=0 Code=US18 Diff=0 SD_A=0.0018388298 Surprise_A=0 Year=2007&lt;BR /&gt;_TYPE_=3 _FREQ_=10 YSD_A=0.0018135294 _ERROR_=1 _N_=1&lt;BR /&gt;NOTE: Invalid numeric data, Event='Business Inventories' , at line 10696 column 4.&lt;BR /&gt;Date=04/16/2007 Time=10:00:00.000 Day=Mon Region=United States Category=Economic Releases&lt;BR /&gt;Event=Business Inventories Period=Feb Surv_M=0.003 Surv_A=0.0025 SD=0.1 Actual=0.003 Prior=0.002&lt;BR /&gt;Revised=0.003 Last_Rev=0.003 Surprise=0 Code=US18 Diff=0 SD_A=0.0018388298 Surprise_A=0 Year=2007&lt;BR /&gt;_TYPE_=3 _FREQ_=10 YSD_A=0.0018135294 _ERROR_=1 _N_=2&lt;/DIV&gt;&lt;DIV&gt;… … … … … …&lt;/DIV&gt;&lt;DIV&gt;WARNING: Limit set by ERRORS= option reached.&amp;nbsp; Further errors of this type will not be printed.&lt;BR /&gt;Date=10/15/2008 Time=10:00:00.000 Day=Wed Region=United States Category=Economic Releases&lt;BR /&gt;Event=Business Inventories Period=Aug Surv_M=0.005 Surv_A=0.0048 SD=0.25 Actual=0.003 Prior=0.011&lt;BR /&gt;Revised=0.007 Last_Rev=0.007 Surprise=-0.81 Code=US18 Diff=-0.002 SD_A=0.0018388298&lt;BR /&gt;Surprise_A=-1.087648254 Year=2008 _TYPE_=3 _FREQ_=12 YSD_A=0.0028230652 _ERROR_=1 _N_=20&lt;BR /&gt;NOTE: There were 3383 observations read from the data set WORK.US_SUMM.&lt;BR /&gt;NOTE: The data set WORK.US_SUMM has 0 observations and 23 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.12 seconds&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.09 seconds&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any clue where I went wrong???&lt;/DIV&gt;</description>
      <pubDate>Tue, 11 Dec 2018 06:46:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/WEIRD-ERROR/m-p/520250#M3994</guid>
      <dc:creator>d6k5d3</dc:creator>
      <dc:date>2018-12-11T06:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: WEIRD ERROR...</title>
      <link>https://communities.sas.com/t5/New-SAS-User/WEIRD-ERROR/m-p/520257#M3997</link>
      <description>&lt;P&gt;You check&amp;nbsp;&lt;STRONG&gt;if event=.&lt;/STRONG&gt; which means that you expect EVENT to be numeric,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;while it seems to be char type like (see log)&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;Event='Business Inventories'&amp;nbsp;.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Did you mean to check if event is missing/blank/empty ?Then check by&amp;nbsp;&lt;STRONG&gt;if missing(event) then&lt;/STRONG&gt;...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Or maybe you want to check another variable?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 07:01:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/WEIRD-ERROR/m-p/520257#M3997</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2018-12-11T07:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: WEIRD ERROR...</title>
      <link>https://communities.sas.com/t5/New-SAS-User/WEIRD-ERROR/m-p/520261#M3998</link>
      <description>Oh no! Yes, Event is CHAR. So I didn't know that if a variable like Event is CHAR, then I cannot write if Event=.!!! So in case of Event, I should write like: if Event=' ', right?</description>
      <pubDate>Tue, 11 Dec 2018 07:06:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/WEIRD-ERROR/m-p/520261#M3998</guid>
      <dc:creator>d6k5d3</dc:creator>
      <dc:date>2018-12-11T07:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: WEIRD ERROR...</title>
      <link>https://communities.sas.com/t5/New-SAS-User/WEIRD-ERROR/m-p/520276#M4001</link>
      <description>Sorry, I accepted your post as a solution before receiving your reply.</description>
      <pubDate>Tue, 11 Dec 2018 07:53:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/WEIRD-ERROR/m-p/520276#M4001</guid>
      <dc:creator>d6k5d3</dc:creator>
      <dc:date>2018-12-11T07:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: WEIRD ERROR...</title>
      <link>https://communities.sas.com/t5/New-SAS-User/WEIRD-ERROR/m-p/520290#M4006</link>
      <description>&lt;P&gt;Every time you see this:&lt;/P&gt;
&lt;PRE&gt;NOTE: Character values have been converted to numeric values at the places given by:&lt;/PRE&gt;
&lt;P&gt;it has to ring an alarm bell. Find the cause and remove it by implementing an explicit conversion, or make up your code so that it accomodates the variable types (what you are already doing).&lt;/P&gt;
&lt;P&gt;Also see Maxim 25.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 08:56:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/WEIRD-ERROR/m-p/520290#M4006</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-12-11T08:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: WEIRD ERROR...</title>
      <link>https://communities.sas.com/t5/New-SAS-User/WEIRD-ERROR/m-p/520404#M4023</link>
      <description>&lt;P&gt;That's correct.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 15:34:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/WEIRD-ERROR/m-p/520404#M4023</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-12-11T15:34:39Z</dc:date>
    </item>
  </channel>
</rss>

