<?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: Second value assigned to a variable returns a dot instead of the value requested in the code in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Second-value-assigned-to-a-variable-returns-a-dot-instead-of-the/m-p/876506#M346281</link>
    <description>&lt;P&gt;That did the trick. THANK YOU!&lt;/P&gt;</description>
    <pubDate>Thu, 18 May 2023 16:11:20 GMT</pubDate>
    <dc:creator>newtriks</dc:creator>
    <dc:date>2023-05-18T16:11:20Z</dc:date>
    <item>
      <title>Second value assigned to a variable returns a dot instead of the value requested in the code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Second-value-assigned-to-a-variable-returns-a-dot-instead-of-the/m-p/876503#M346279</link>
      <description>&lt;P&gt;Code is below. I'm trying to subset a file and assign a binary variable to an ordinal value in another variable. Problem is that the first value, YesTot=0, gets assigned but the second one, YesTot=1, returns only a dot instead of a 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATA SLOWN;&lt;BR /&gt;SET SLOWNA;&lt;BR /&gt;IF MAT_1 = 'No' OR MAT_2 = 'No' OR MAT_3 = 'No' THEN OUTPUT;&lt;BR /&gt;IF YesTot = 0 THEN Lower3Amt = 0; ELSE Lower3Amt = 1;&lt;BR /&gt;KEEP Record Reapp Matched YesTot Lower3Amt;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any and all help is appreciated. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 15:54:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Second-value-assigned-to-a-variable-returns-a-dot-instead-of-the/m-p/876503#M346279</guid>
      <dc:creator>newtriks</dc:creator>
      <dc:date>2023-05-18T15:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Second value assigned to a variable returns a dot instead of the value requested in the code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Second-value-assigned-to-a-variable-returns-a-dot-instead-of-the/m-p/876505#M346280</link>
      <description>&lt;P&gt;You have written the observation before you gave&amp;nbsp;&lt;SPAN&gt;Lower3Amt&amp;nbsp;any value.&amp;nbsp; So its value is missing.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Move the creation of Lower3Amt&amp;nbsp;to BEFORE the OUTPUT statement.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 19:07:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Second-value-assigned-to-a-variable-returns-a-dot-instead-of-the/m-p/876505#M346280</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-05-18T19:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Second value assigned to a variable returns a dot instead of the value requested in the code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Second-value-assigned-to-a-variable-returns-a-dot-instead-of-the/m-p/876506#M346281</link>
      <description>&lt;P&gt;That did the trick. THANK YOU!&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 16:11:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Second-value-assigned-to-a-variable-returns-a-dot-instead-of-the/m-p/876506#M346281</guid>
      <dc:creator>newtriks</dc:creator>
      <dc:date>2023-05-18T16:11:20Z</dc:date>
    </item>
  </channel>
</rss>

