<?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: Proc SQL in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Proc-SQL/m-p/299151#M1152</link>
    <description>So you got an assignment to replace this code (all of it?) to SQL? &lt;BR /&gt;Is this training or professional? &lt;BR /&gt;If professional, what's the purpose? Assuming that you got a working program.</description>
    <pubDate>Sun, 18 Sep 2016 13:21:30 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2016-09-18T13:21:30Z</dc:date>
    <item>
      <title>Proc SQL</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Proc-SQL/m-p/298959#M1139</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to change this data using Proc SQL. I am unsure how to do so.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc freq data=palomaflores;&lt;BR /&gt;tables x1 x2 c1;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc means data=palomaflores;&lt;BR /&gt;var x1 x2 c1;&lt;BR /&gt;run;&lt;BR /&gt;proc means data=palomaflores n nmiss mean max&lt;BR /&gt;q1 maxdec=2;&lt;BR /&gt;var x1 x2 c1;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;Proc sort data = palomaflores;&lt;BR /&gt;by group;&lt;BR /&gt;Run;&lt;/P&gt;&lt;P&gt;proc means data=palomaflores n nmiss mean max&lt;BR /&gt;q1 maxdec=2;&lt;BR /&gt;var x1 x2 c1;&lt;BR /&gt;By group;&lt;BR /&gt;run;&lt;BR /&gt;proc plot data=palomaflores;&lt;BR /&gt;plot x2*x1;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 15:34:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Proc-SQL/m-p/298959#M1139</guid>
      <dc:creator>palomita_74</dc:creator>
      <dc:date>2016-09-16T15:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SQL</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Proc-SQL/m-p/298989#M1141</link>
      <description>&lt;P&gt;What data?&lt;/P&gt;
&lt;P&gt;Are you trying to direct the output of the procedures to data sets?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 17:07:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Proc-SQL/m-p/298989#M1141</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-09-16T17:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SQL</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Proc-SQL/m-p/299138#M1148</link>
      <description>Hello&amp;nbsp;This is what we were given&amp;nbsp;&lt;BR /&gt;</description>
      <pubDate>Sun, 18 Sep 2016 04:38:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Proc-SQL/m-p/299138#M1148</guid>
      <dc:creator>palomita_74</dc:creator>
      <dc:date>2016-09-18T04:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SQL</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Proc-SQL/m-p/299139#M1149</link>
      <description>&lt;P&gt;*type in your uin after the equals sign in the line below;;&lt;BR /&gt;%let youruin=661947537;&lt;BR /&gt;%let mu=%substr(&amp;amp;youruin,8,2);&lt;BR /&gt;*type in your name for the dataset name;;&lt;BR /&gt;data yournamehere;&lt;BR /&gt;s=sqrt(&amp;amp;mu);&lt;BR /&gt;do i=1 to 100;&lt;BR /&gt;x1=ranuni(&amp;amp;youruin+i);&lt;BR /&gt;x2=&amp;amp;mu+s*rannorm(&amp;amp;youruin-i);&lt;BR /&gt;c1=ranuni(&amp;amp;youruin+1000*i);&lt;BR /&gt;output;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;BR /&gt;data yournamehere;&lt;BR /&gt;set yournamehere;&lt;BR /&gt;if c1 &amp;lt;=.4 then group='A';else&lt;BR /&gt;if .4&amp;lt;c1&amp;lt;.8 then group='B';&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Sep 2016 04:39:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Proc-SQL/m-p/299139#M1149</guid>
      <dc:creator>palomita_74</dc:creator>
      <dc:date>2016-09-18T04:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SQL</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Proc-SQL/m-p/299151#M1152</link>
      <description>So you got an assignment to replace this code (all of it?) to SQL? &lt;BR /&gt;Is this training or professional? &lt;BR /&gt;If professional, what's the purpose? Assuming that you got a working program.</description>
      <pubDate>Sun, 18 Sep 2016 13:21:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Proc-SQL/m-p/299151#M1152</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-09-18T13:21:30Z</dc:date>
    </item>
  </channel>
</rss>

