<?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: SAS runs but nothing happens in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/WEIRD-SAS-runs-but-nothing-happens/m-p/497185#M131692</link>
    <description>&lt;P&gt;That is not an error. It is just letting you know that some content may have an issue or perform degradation due to extra processing needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are sharing data with someone else, or receiving SAS data sets in sas7bdat form and never had that message before it means that someone else is making the data sets in a somewhat different environment then your current SAS install. Or possibly someone else appended data to a set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Encoding refers to how various character sets are stored/displayed. You might want to hit the online help and search encoding for more details.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Sep 2018 22:51:45 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2018-09-19T22:51:45Z</dc:date>
    <item>
      <title>WEIRD: SAS runs but nothing happens</title>
      <link>https://communities.sas.com/t5/SAS-Programming/WEIRD-SAS-runs-but-nothing-happens/m-p/497181#M131690</link>
      <description>&lt;P&gt;It's so WEIRD !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I start my SAS session with the lines below every time I visit this particular project.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data a; set z.have;&lt;BR /&gt;if seer_site_group in ('21100') and sequence_number in ('00','01') then output;&lt;BR /&gt;if county in ('005','047','061','081','085') then delete;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If any idea, please let me know. It used to work before. Coz I run this particular lines hundreds of times before which starts with &lt;SPAN&gt;&amp;nbsp;48353&lt;/SPAN&gt;&amp;nbsp;to output 29852 observations.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is the error in the log:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE: Data file Z.REG_PANCREAS.DATA is in a format that is native to another host, or the file&lt;BR /&gt; encoding does not match the session encoding. Cross Environment Data Access will be used,&lt;BR /&gt; which might require additional CPU resources and might reduce performance.&lt;BR /&gt;119 if seer_site_group in ('21100') and sequence_number in ('00','01') then output;&lt;BR /&gt;120 if county in ('005','047','061','081','085') then delete;&lt;BR /&gt;121 run;&lt;/P&gt;
&lt;P&gt;NOTE: There were 48353 observations read from the data set Z.REG_PANCREAS.&lt;BR /&gt;NOTE: The data set WORK.A has 48353 observations and 84 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt; real time 0.20 seconds&lt;BR /&gt; cpu time 0.17 seconds&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 22:48:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/WEIRD-SAS-runs-but-nothing-happens/m-p/497181#M131690</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2018-09-19T22:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: WEIRD: SAS runs but nothing happens</title>
      <link>https://communities.sas.com/t5/SAS-Programming/WEIRD-SAS-runs-but-nothing-happens/m-p/497185#M131692</link>
      <description>&lt;P&gt;That is not an error. It is just letting you know that some content may have an issue or perform degradation due to extra processing needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are sharing data with someone else, or receiving SAS data sets in sas7bdat form and never had that message before it means that someone else is making the data sets in a somewhat different environment then your current SAS install. Or possibly someone else appended data to a set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Encoding refers to how various character sets are stored/displayed. You might want to hit the online help and search encoding for more details.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 22:51:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/WEIRD-SAS-runs-but-nothing-happens/m-p/497185#M131692</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-09-19T22:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: WEIRD: SAS runs but nothing happens</title>
      <link>https://communities.sas.com/t5/SAS-Programming/WEIRD-SAS-runs-but-nothing-happens/m-p/497186#M131693</link>
      <description>&lt;P&gt;I rebooted my computer, shuffled the codes around a lot. No success. same data is output with no reductions in N.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 22:51:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/WEIRD-SAS-runs-but-nothing-happens/m-p/497186#M131693</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2018-09-19T22:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: WEIRD: SAS runs but nothing happens</title>
      <link>https://communities.sas.com/t5/SAS-Programming/WEIRD-SAS-runs-but-nothing-happens/m-p/497187#M131694</link>
      <description>&lt;P&gt;It means those conditions are not met for some reason.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Run a PROC FREQ on the those variables and check your values.&lt;/P&gt;
&lt;P&gt;Secondly, run a PROC FREQ and check on those values, wiht them formatted as hex codes. If you see 20 or 0A at the end or front you have embedded tabs or EOL characters which is why a straight text match will not work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 22:54:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/WEIRD-SAS-runs-but-nothing-happens/m-p/497187#M131694</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-09-19T22:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: WEIRD: SAS runs but nothing happens</title>
      <link>https://communities.sas.com/t5/SAS-Programming/WEIRD-SAS-runs-but-nothing-happens/m-p/497188#M131695</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;, Neither sharing this data nor receiving in sas7bdat. I'm the only author to this data. Last time I ran these lines before noon. My hard drive was in my bag &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 22:54:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/WEIRD-SAS-runs-but-nothing-happens/m-p/497188#M131695</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2018-09-19T22:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: WEIRD: SAS runs but nothing happens</title>
      <link>https://communities.sas.com/t5/SAS-Programming/WEIRD-SAS-runs-but-nothing-happens/m-p/497189#M131696</link>
      <description>&lt;P&gt;Can you try this change-&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data a; set z.have;&lt;BR /&gt;if seer_site_group in ('21100') and sequence_number in ('00','01') then output;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;where county not in ('005','047','061','081','085') ;&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 22:54:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/WEIRD-SAS-runs-but-nothing-happens/m-p/497189#M131696</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-09-19T22:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: WEIRD: SAS runs but nothing happens</title>
      <link>https://communities.sas.com/t5/SAS-Programming/WEIRD-SAS-runs-but-nothing-happens/m-p/497190#M131697</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/138205"&gt;@novinosrin&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;NOTE: There were 29688 observations read from the data set Z.REG_PANCREAS.&lt;BR /&gt; WHERE county not in ('005', '047', '061', '081', '085');&lt;BR /&gt;NOTE: The data set WORK.A has 29688 observations and 84 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt; real time 0.27 seconds&lt;BR /&gt; cpu time 0.23 seconds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Why? What happened?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 22:58:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/WEIRD-SAS-runs-but-nothing-happens/m-p/497190#M131697</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2018-09-19T22:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: WEIRD: SAS runs but nothing happens</title>
      <link>https://communities.sas.com/t5/SAS-Programming/WEIRD-SAS-runs-but-nothing-happens/m-p/497191#M131698</link>
      <description>&lt;P&gt;Just right way to program the statements . So if that worked out, i am happy. I got to catch the train soon. I hope you have fun:)&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 23:00:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/WEIRD-SAS-runs-but-nothing-happens/m-p/497191#M131698</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-09-19T23:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: WEIRD: SAS runs but nothing happens</title>
      <link>https://communities.sas.com/t5/SAS-Programming/WEIRD-SAS-runs-but-nothing-happens/m-p/497192#M131699</link>
      <description>&lt;P&gt;Now this worked out. I changed the order of lines.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data z.correct; /*N=29,688*/ set z.have /N=48,353/&lt;BR /&gt;if county in ('005','047','061','081','085') then delete;&lt;BR /&gt;if seer_site_group in ('21100') and sequence_number in ('00','01') then output;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 23:01:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/WEIRD-SAS-runs-but-nothing-happens/m-p/497192#M131699</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2018-09-19T23:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: WEIRD: SAS runs but nothing happens</title>
      <link>https://communities.sas.com/t5/SAS-Programming/WEIRD-SAS-runs-but-nothing-happens/m-p/497193#M131700</link>
      <description>&lt;P&gt;Great!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 23:02:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/WEIRD-SAS-runs-but-nothing-happens/m-p/497193#M131700</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-09-19T23:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: WEIRD: SAS runs but nothing happens</title>
      <link>https://communities.sas.com/t5/SAS-Programming/WEIRD-SAS-runs-but-nothing-happens/m-p/497194#M131701</link>
      <description>&lt;P&gt;I still don't understand why i had no problem before but now. Anyways, glad it worked out anyhow. Thanks everybody.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 23:06:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/WEIRD-SAS-runs-but-nothing-happens/m-p/497194#M131701</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2018-09-19T23:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: WEIRD: SAS runs but nothing happens</title>
      <link>https://communities.sas.com/t5/SAS-Programming/WEIRD-SAS-runs-but-nothing-happens/m-p/497250#M131731</link>
      <description>&lt;P&gt;There is a big difference between:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if x then output;
if y then delete;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if y then delete;
if x then output;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It does no good to "delete" on observation after you have already written it to disk.&lt;/P&gt;
&lt;P&gt;In reality all the DELETE statement does is a RETURN. That is it just stops this iteration and immediately starts the next iteration.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It might make more sense to code it this way&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if x  and (not y) then output;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Or&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if (not x) or y then delete;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 20 Sep 2018 04:47:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/WEIRD-SAS-runs-but-nothing-happens/m-p/497250#M131731</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2018-09-20T04:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: WEIRD: SAS runs but nothing happens</title>
      <link>https://communities.sas.com/t5/SAS-Programming/WEIRD-SAS-runs-but-nothing-happens/m-p/497423#M131837</link>
      <description>Thanks a lot!</description>
      <pubDate>Thu, 20 Sep 2018 15:10:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/WEIRD-SAS-runs-but-nothing-happens/m-p/497423#M131837</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2018-09-20T15:10:58Z</dc:date>
    </item>
  </channel>
</rss>

