<?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: Code Technically correct in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Code-Technically-correct/m-p/522660#M141938</link>
    <description>A code can be correct syntax wise, but that doesn't mean the logic is correct. So I suspect an issue you're seeing here is duplicate records being output?  Otherwise, without knowing what logic you're trying to implement we can't really answer that question.</description>
    <pubDate>Wed, 19 Dec 2018 18:05:37 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-12-19T18:05:37Z</dc:date>
    <item>
      <title>Code Technically correct</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Code-Technically-correct/m-p/522656#M141936</link>
      <description>&lt;P&gt;Hello folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I run the code below and get no errors but it is not resulting in the expected output&lt;/P&gt;&lt;P&gt;Is the code technically correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data mitra1617;&lt;BR /&gt;set dad.dad1617;&lt;BR /&gt;ARRAY ARRAY_IC [20] INTERV_CODE_01- INTERV_CODE_20;&lt;BR /&gt;if PROVINCE_ISSUING_HCN='ON' and RESPONSIBILITY_FOR_PAYMENT='01' and HCN_INDEX='H'&lt;BR /&gt;and AGE &amp;gt;=18 ;&lt;BR /&gt;DO I=1 TO 20;&lt;BR /&gt;&lt;BR /&gt;IF SUBSTR(ARRAY_IC[I],1,5) ='1HU80' THEN output;&lt;BR /&gt;&lt;BR /&gt;END;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2018 17:56:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Code-Technically-correct/m-p/522656#M141936</guid>
      <dc:creator>Ranjeeta</dc:creator>
      <dc:date>2018-12-19T17:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Code Technically correct</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Code-Technically-correct/m-p/522659#M141937</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/240770"&gt;@Ranjeeta&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but it is not resulting in the expected output&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Explain this further. Show us the output that is not what you expect, and show us what you do expect.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2018 18:04:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Code-Technically-correct/m-p/522659#M141937</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-12-19T18:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Code Technically correct</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Code-Technically-correct/m-p/522660#M141938</link>
      <description>A code can be correct syntax wise, but that doesn't mean the logic is correct. So I suspect an issue you're seeing here is duplicate records being output?  Otherwise, without knowing what logic you're trying to implement we can't really answer that question.</description>
      <pubDate>Wed, 19 Dec 2018 18:05:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Code-Technically-correct/m-p/522660#M141938</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-12-19T18:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Code Technically correct</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Code-Technically-correct/m-p/522663#M141939</link>
      <description>&lt;P&gt;42&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2018 18:12:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Code-Technically-correct/m-p/522663#M141939</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-12-19T18:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Code Technically correct</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Code-Technically-correct/m-p/522695#M141949</link>
      <description>&lt;P&gt;Please post:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(1) a sample of your data&lt;/P&gt;
&lt;P&gt;(2) The output of that sample&lt;/P&gt;
&lt;P&gt;(3) Point which output is not expected and explain why&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2018 20:52:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Code-Technically-correct/m-p/522695#M141949</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2018-12-19T20:52:49Z</dc:date>
    </item>
  </channel>
</rss>

