<?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: how to select in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-select/m-p/466606#M119065</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
    select Diagnosis
    from Hf_f
    where Visit='key';
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Not a well worded question!&lt;/P&gt;</description>
    <pubDate>Thu, 31 May 2018 19:32:30 GMT</pubDate>
    <dc:creator>Haris</dc:creator>
    <dc:date>2018-05-31T19:32:30Z</dc:date>
    <item>
      <title>how to select</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-select/m-p/466594#M119059</link>
      <description>&lt;P&gt;i have a Healthfacts databse(Hf_f).I need to write a code to select hf_f diagnosis for the key visits.&lt;/P&gt;</description>
      <pubDate>Thu, 31 May 2018 18:53:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-select/m-p/466594#M119059</guid>
      <dc:creator>lg2</dc:creator>
      <dc:date>2018-05-31T18:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to select</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-select/m-p/466606#M119065</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
    select Diagnosis
    from Hf_f
    where Visit='key';
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Not a well worded question!&lt;/P&gt;</description>
      <pubDate>Thu, 31 May 2018 19:32:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-select/m-p/466606#M119065</guid>
      <dc:creator>Haris</dc:creator>
      <dc:date>2018-05-31T19:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to select</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-select/m-p/466630#M119078</link>
      <description>&lt;P&gt;proc sql;&lt;BR /&gt;select&lt;BR /&gt;distinct DIAGNOSIS_ID&lt;BR /&gt;into&lt;BR /&gt;:dxids SEPARATED BY ","&lt;BR /&gt;from&lt;BR /&gt;HFD17A.HF_D_DIAGNOSIS&lt;BR /&gt;where&lt;BR /&gt;PUT(STRIP(DIAGNOSIS_CODE),$MYDX.) NE "OTHER"&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if i do this my output was&amp;nbsp;&lt;/P&gt;&lt;P&gt;dxids&lt;/P&gt;&lt;P&gt;1324&lt;/P&gt;&lt;P&gt;4320&lt;/P&gt;&lt;P&gt;23345&lt;/P&gt;&lt;P&gt;6120&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now i wanted the output as&lt;/P&gt;&lt;P&gt;diagnosis description&lt;/P&gt;&lt;P&gt;depression&lt;/P&gt;&lt;P&gt;stress&lt;/P&gt;&lt;P&gt;anxiety&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do i modify the above code to get indescpritve way&lt;/P&gt;</description>
      <pubDate>Thu, 31 May 2018 20:33:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-select/m-p/466630#M119078</guid>
      <dc:creator>lg2</dc:creator>
      <dc:date>2018-05-31T20:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to select</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-select/m-p/466633#M119081</link>
      <description>Use variable Diagnosis_Description instead of Diagnosis_ID in your SELECT statement.</description>
      <pubDate>Thu, 31 May 2018 20:38:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-select/m-p/466633#M119081</guid>
      <dc:creator>Haris</dc:creator>
      <dc:date>2018-05-31T20:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to select</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-select/m-p/466635#M119083</link>
      <description>&lt;P&gt;what can i put inplace of dxids.?&lt;/P&gt;</description>
      <pubDate>Thu, 31 May 2018 20:48:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-select/m-p/466635#M119083</guid>
      <dc:creator>lg2</dc:creator>
      <dc:date>2018-05-31T20:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to select</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-select/m-p/466638#M119084</link>
      <description>I don't know the details of your data or what you're trying to accomplish; i.e., why you are writing the diagnoses into a macro...&lt;BR /&gt;</description>
      <pubDate>Thu, 31 May 2018 20:58:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-select/m-p/466638#M119084</guid>
      <dc:creator>Haris</dc:creator>
      <dc:date>2018-05-31T20:58:11Z</dc:date>
    </item>
  </channel>
</rss>

