<?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: Hi! Does anybody have a clue why this error appeared? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Hi-Does-anybody-have-a-clue-why-this-error-appeared/m-p/149885#M29607</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! Yes, patient is a numeric variable and after the correction it works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Feb 2015 19:48:43 GMT</pubDate>
    <dc:creator>freezingswallow</dc:creator>
    <dc:date>2015-02-02T19:48:43Z</dc:date>
    <item>
      <title>Hi! Does anybody have a clue why this error appeared?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hi-Does-anybody-have-a-clue-why-this-error-appeared/m-p/149881#M29603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;This is my macro code:&lt;/P&gt;&lt;P&gt;%macro printz(patient);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc print data = PT;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where patient = "&amp;amp;patient";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var patient AGE_DERIVED_FUL AGE_DERIVED_UNIT_FUL LstChg_Ts;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;%mend printz;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%printz(10011001)&lt;/P&gt;&lt;P&gt;After submission, I got the error message:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: WHERE clause operator requires compatible variables.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Can I get some help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 19:19:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hi-Does-anybody-have-a-clue-why-this-error-appeared/m-p/149881#M29603</guid>
      <dc:creator>freezingswallow</dc:creator>
      <dc:date>2015-02-02T19:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Hi! Does anybody have a clue why this error appeared?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hi-Does-anybody-have-a-clue-why-this-error-appeared/m-p/149882#M29604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Most likely patient is a numeric variable so your WHERE clause needs a compatible value. Remove the quotes to correct your error: where patient = &amp;amp;patient;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 19:24:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hi-Does-anybody-have-a-clue-why-this-error-appeared/m-p/149882#M29604</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-02-02T19:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Hi! Does anybody have a clue why this error appeared?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hi-Does-anybody-have-a-clue-why-this-error-appeared/m-p/149883#M29605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro printz(patient=);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc print data = PT;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where patient = "&amp;amp;patient";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var patient AGE_DERIVED_FUL AGE_DERIVED_UNIT_FUL LstChg_Ts;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;%mend printz;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%printz(patient=10011001)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 19:25:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hi-Does-anybody-have-a-clue-why-this-error-appeared/m-p/149883#M29605</guid>
      <dc:creator>ftsh</dc:creator>
      <dc:date>2015-02-02T19:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Hi! Does anybody have a clue why this error appeared?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hi-Does-anybody-have-a-clue-why-this-error-appeared/m-p/149884#M29606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! It works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 19:47:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hi-Does-anybody-have-a-clue-why-this-error-appeared/m-p/149884#M29606</guid>
      <dc:creator>freezingswallow</dc:creator>
      <dc:date>2015-02-02T19:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Hi! Does anybody have a clue why this error appeared?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hi-Does-anybody-have-a-clue-why-this-error-appeared/m-p/149885#M29607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! Yes, patient is a numeric variable and after the correction it works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 19:48:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hi-Does-anybody-have-a-clue-why-this-error-appeared/m-p/149885#M29607</guid>
      <dc:creator>freezingswallow</dc:creator>
      <dc:date>2015-02-02T19:48:43Z</dc:date>
    </item>
  </channel>
</rss>

