<?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: sas in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROC-SQL-not-producing-the-desired-output/m-p/475755#M122362</link>
    <description>&lt;P&gt;I don't see anything in your code that would result in information being printed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By the way, it is not time to ask politely that you provide meaningful titles for your posts. "SAS" (in lower case) is not a meaningful title. The title of your previous post "The SAS Supervisor" is not a meaningful title.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For this particular post, a meaningful title could be something like "PROC SQL not producing the desired output".&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jul 2018 18:00:59 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2018-07-05T18:00:59Z</dc:date>
    <item>
      <title>PROC SQL not producing the desired output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-SQL-not-producing-the-desired-output/m-p/475751#M122361</link>
      <description>&lt;P&gt;I wrote this code, to select all information for my study sample from the big marketscan dataset, But i want to print the enrolid from _01_hiv_tb2 but it is not being printed. What can be a good solution to this issue ?&lt;/P&gt;
&lt;PRE&gt;proc sql;
	create table derived._01_itable as
	select  dx1, dx2,dx3,dx4,dx5,dx6,dx7,dx8,dx9,dx10,dx11,dx12,dx13,dx14 
	from dmk_scan.ci_2011 
	where enrolid in (select enrolid from _01_hiv_tb2) 
	union
	select   dx1, dx2,dx3,dx4,dx5,dx6,dx7,dx8,dx9,dx10,dx11,dx12,dx13,dx14 
	from dmk_scan.ci_2012 
	where enrolid in (select enrolid from _01_hiv_tb2)
	union
	select   dx1, dx2,dx3,dx4,dx5,dx6,dx7,dx8,dx9,dx10,dx11,dx12,dx13,dx14
	from dmk_scan.ci_2013 
	where enrolid in (select enrolid from _01_hiv_tb2)
	union
	select   dx1, dx2,dx3,dx4,dx5,dx6,dx7,dx8,dx9,dx10,dx11,dx12,dx13,dx14
	from dmk_scan.ci_2014 
	where enrolid in (select enrolid from _01_hiv_tb2)
	union
	select   dx1, dx2,dx3,dx4,dx5,dx6,dx7,dx8,dx9,dx10,dx11,dx12,dx13,dx14 
	from dmk_scan.ri_2011 
	where enrolid in (select enrolid from _01_hiv_tb2)
	union
	select   dx1, dx2,dx3,dx4,dx5,dx6,dx7,dx8,dx9,dx10,dx11,dx12,dx13,dx14 
	from dmk_scan.ri_2012
	where enrolid in (select enrolid from _01_hiv_tb2)
	union
	select   dx1, dx2,dx3,dx4,dx5,dx6,dx7,dx8,dx9,dx10,dx11,dx12,dx13,dx14 
	from dmk_scan.ri_2013
	where enrolid in (select enrolid from _01_hiv_tb2)
	union
	select   dx1, dx2,dx3,dx4,dx5,dx6,dx7,dx8,dx9,dx10,dx11,dx12,dx13,dx14
	from dmk_scan.ri_2014 ;
quit ;/*697321*/&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Jul 2018 19:49:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-SQL-not-producing-the-desired-output/m-p/475751#M122361</guid>
      <dc:creator>manya92</dc:creator>
      <dc:date>2018-07-05T19:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-SQL-not-producing-the-desired-output/m-p/475755#M122362</link>
      <description>&lt;P&gt;I don't see anything in your code that would result in information being printed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By the way, it is not time to ask politely that you provide meaningful titles for your posts. "SAS" (in lower case) is not a meaningful title. The title of your previous post "The SAS Supervisor" is not a meaningful title.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For this particular post, a meaningful title could be something like "PROC SQL not producing the desired output".&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 18:00:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-SQL-not-producing-the-desired-output/m-p/475755#M122362</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-07-05T18:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-SQL-not-producing-the-desired-output/m-p/475769#M122364</link>
      <description>&lt;P&gt;ENROLID is not part of the table you are creating.&amp;nbsp; If you want it to exist in that data set, it's not enough to mention ENROLID in a WHERE clause.&amp;nbsp; You have to actually add it to the list of fields you select:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;select enrolid, dx1, dx2, dx3..............................&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 18:34:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-SQL-not-producing-the-desired-output/m-p/475769#M122364</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-07-05T18:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-SQL-not-producing-the-desired-output/m-p/475775#M122365</link>
      <description>&lt;P&gt;A side note: You could replace &lt;STRONG&gt;UNION&lt;/STRONG&gt; with &lt;STRONG&gt;UNION ALL&lt;/STRONG&gt; to speed things up.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 18:48:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-SQL-not-producing-the-desired-output/m-p/475775#M122365</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2018-07-05T18:48:16Z</dc:date>
    </item>
  </channel>
</rss>

