<?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 I'm using an if statement and get the error class does not exist. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/I-m-using-an-if-statement-and-get-the-error-class-does-not-exist/m-p/342129#M78410</link>
    <description>&lt;P&gt;DATA two;&lt;BR /&gt;infile 'C:\Users\paul\Downloads\btt.dat';&lt;BR /&gt;input Childid 1-4 Sex 6 Bweight 8-11 Gestage 13-14 Momage 16-17&lt;BR /&gt;Parity 19 Mdbp 31-23 Msbp 25-27 Momeduc 29 Mmedaid 31 socio 33 dbp5 35-37 sbp5 39-41&lt;BR /&gt;ht5 43-47 wt5 49-52 hdl5 54-57 ldl5 59-62 trig5 64-67 smoke5 69 medaid5 71&lt;BR /&gt;socio5 73;&lt;BR /&gt;&amp;nbsp;if (Msbp &amp;gt;= 140) and (Mdbp &amp;gt;= 90) then class = 'Hypertension';&lt;BR /&gt;&amp;nbsp;if (Msbp &amp;gt;= 140) and (Mdbp &amp;lt; 90) then class = 'Isolated systolic hypertension';&lt;BR /&gt;&amp;nbsp;if (Msbp &amp;lt;= 140) and (Mdbp &amp;gt;= 90) then class = 'Isolated siastolic hypertension';&lt;BR /&gt;&amp;nbsp;if (Msbp &amp;lt; 140) and (Mdbp &amp;lt; 90) then class = 'Normotensive';&lt;BR /&gt;run;&lt;BR /&gt;proc print data=two (obs=10);&lt;BR /&gt;var class;&lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Mar 2017 19:28:30 GMT</pubDate>
    <dc:creator>pacruz</dc:creator>
    <dc:date>2017-03-17T19:28:30Z</dc:date>
    <item>
      <title>I'm using an if statement and get the error class does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-m-using-an-if-statement-and-get-the-error-class-does-not-exist/m-p/342129#M78410</link>
      <description>&lt;P&gt;DATA two;&lt;BR /&gt;infile 'C:\Users\paul\Downloads\btt.dat';&lt;BR /&gt;input Childid 1-4 Sex 6 Bweight 8-11 Gestage 13-14 Momage 16-17&lt;BR /&gt;Parity 19 Mdbp 31-23 Msbp 25-27 Momeduc 29 Mmedaid 31 socio 33 dbp5 35-37 sbp5 39-41&lt;BR /&gt;ht5 43-47 wt5 49-52 hdl5 54-57 ldl5 59-62 trig5 64-67 smoke5 69 medaid5 71&lt;BR /&gt;socio5 73;&lt;BR /&gt;&amp;nbsp;if (Msbp &amp;gt;= 140) and (Mdbp &amp;gt;= 90) then class = 'Hypertension';&lt;BR /&gt;&amp;nbsp;if (Msbp &amp;gt;= 140) and (Mdbp &amp;lt; 90) then class = 'Isolated systolic hypertension';&lt;BR /&gt;&amp;nbsp;if (Msbp &amp;lt;= 140) and (Mdbp &amp;gt;= 90) then class = 'Isolated siastolic hypertension';&lt;BR /&gt;&amp;nbsp;if (Msbp &amp;lt; 140) and (Mdbp &amp;lt; 90) then class = 'Normotensive';&lt;BR /&gt;run;&lt;BR /&gt;proc print data=two (obs=10);&lt;BR /&gt;var class;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2017 19:28:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-m-using-an-if-statement-and-get-the-error-class-does-not-exist/m-p/342129#M78410</guid>
      <dc:creator>pacruz</dc:creator>
      <dc:date>2017-03-17T19:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: I'm using an if statement and get the error class does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-m-using-an-if-statement-and-get-the-error-class-does-not-exist/m-p/342140#M78417</link>
      <description>&lt;P&gt;Copy the code an message from the log. Also paste code and logs into a code box using the {i} icon in the forum. Otherwise the pasted text gets reformatted making it harder to read sometimes. Log information often includes position indicators that get moved in that reformat hence use the code box.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2017 19:54:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-m-using-an-if-statement-and-get-the-error-class-does-not-exist/m-p/342140#M78417</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-03-17T19:54:06Z</dc:date>
    </item>
  </channel>
</rss>

