<?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 do i store data that is executed in pass through statement? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-i-store-data-that-is-executed-in-pass-through-statement/m-p/526302#M143304</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname MySASLib "c:\MySASFolder";

proc sql;
   connect to hadoop (
      server="myserver" port=10000 schema=myschema);
create table MySASLib.MySASTable as
select * 
from connection to hadoop
(
select * from `myschema`.`table1` wherecofee = 'mocha'
);
disconnect from hadoop;

QUIT;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Jan 2019 08:25:33 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2019-01-11T08:25:33Z</dc:date>
    <item>
      <title>How do i store data that is executed in pass through statement?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-i-store-data-that-is-executed-in-pass-through-statement/m-p/526290#M143302</link>
      <description>&lt;P&gt;Hi. I have a pass through statement to connect to hadoop server.&lt;/P&gt;&lt;P&gt;The code is as below:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
   connect to hadoop (
      server="myserver" port=10000 schema=myschema);
execute
(
select * from `myschema`.`table1` wherecofee = 'mocha'
) by hadoop;
disconnect from hadoop;

QUIT;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If i want to store the result into a SAS work table or a proper SAS table with library, how do i do so?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 06:10:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-i-store-data-that-is-executed-in-pass-through-statement/m-p/526290#M143302</guid>
      <dc:creator>WorkingMan</dc:creator>
      <dc:date>2019-01-11T06:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do i store data that is executed in pass through statement?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-i-store-data-that-is-executed-in-pass-through-statement/m-p/526302#M143304</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname MySASLib "c:\MySASFolder";

proc sql;
   connect to hadoop (
      server="myserver" port=10000 schema=myschema);
create table MySASLib.MySASTable as
select * 
from connection to hadoop
(
select * from `myschema`.`table1` wherecofee = 'mocha'
);
disconnect from hadoop;

QUIT;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 08:25:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-i-store-data-that-is-executed-in-pass-through-statement/m-p/526302#M143304</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-01-11T08:25:33Z</dc:date>
    </item>
  </channel>
</rss>

