<?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: Bulk load from SAS to Greenplum with Pipes in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Bulk-load-from-SAS-to-Greenplum-with-Pipes/m-p/635220#M188581</link>
    <description>The documentation here:&lt;BR /&gt;&lt;A href="https://documentation.sas.com/?docsetId=acreldb&amp;amp;docsetTarget=p1pes2rr12b4g3n14nnqluay2te7.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=acreldb&amp;amp;docsetTarget=p1pes2rr12b4g3n14nnqluay2te7.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;BR /&gt;Indicates ODBC is an alternative?&lt;BR /&gt;I will try the other way and hopefully that supports pipes.</description>
    <pubDate>Fri, 27 Mar 2020 06:46:22 GMT</pubDate>
    <dc:creator>jharri3470</dc:creator>
    <dc:date>2020-03-27T06:46:22Z</dc:date>
    <item>
      <title>Bulk load from SAS to Greenplum with Pipes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Bulk-load-from-SAS-to-Greenplum-with-Pipes/m-p/635173#M188569</link>
      <description>&lt;P&gt;I am trying to bulk load data from SAS (9.4M4) to Greenplum (6.4) using pipes.&amp;nbsp; The documentation seems to indicate that it should be possible.&amp;nbsp; However, I keep getting an error saying "Named pipes not currently available."&amp;nbsp; SAS is running on Windows Server 2016, while Greenplum is running on Linux.&amp;nbsp; I am able to load the data to Greenplum using gpfdist and the flat file method, but I am trying to improve the speed.&amp;nbsp; The documentation indicates that I could get about 30% more speed using pipes.&lt;/P&gt;&lt;P&gt;My SAS code looks like this:&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;libname mydatalib "c:\sasfiles\";&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;libname mydblib greenplm DSN='&amp;lt;name of odbc dsn' schema=&amp;lt;name of schema&amp;gt; user=&amp;lt;gp user name&amp;gt; password='&amp;lt;gp user password&amp;gt;';&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;proc sql;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;connect using mydblib;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;create table mydblib.my_test_table&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;(BULKLOAD=YES&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;BL_USE_PIPE=YES&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;BL_HOST='&amp;lt;ip address of greenplum server&amp;gt;'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;BL_PORT='&amp;lt;port of greenplum server&amp;gt;'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;as&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;select * from mydatalib.sasfile;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;quit;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 01:19:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Bulk-load-from-SAS-to-Greenplum-with-Pipes/m-p/635173#M188569</guid>
      <dc:creator>jharri3470</dc:creator>
      <dc:date>2020-03-27T01:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk load from SAS to Greenplum with Pipes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Bulk-load-from-SAS-to-Greenplum-with-Pipes/m-p/635177#M188572</link>
      <description>&lt;P&gt;I am a bit confused as to why you use the &lt;FONT size="2"&gt;&lt;STRONG&gt;greenplm&lt;/STRONG&gt; engine, but use ODBC connection parameters.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;Do have SAS/ACCESS to greenplum? &lt;/FONT&gt;&lt;FONT size="2"&gt;You can run proc setinit to verify that.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;I don't think ODBC supports the &lt;A href="https://documentation.sas.com/?docsetId=acreldb&amp;amp;docsetTarget=p0whyrg1954nxbn1151bil1spdbr.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;BL_USE_PIPE&lt;/A&gt; option.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 03:01:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Bulk-load-from-SAS-to-Greenplum-with-Pipes/m-p/635177#M188572</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-03-27T03:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk load from SAS to Greenplum with Pipes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Bulk-load-from-SAS-to-Greenplum-with-Pipes/m-p/635220#M188581</link>
      <description>The documentation here:&lt;BR /&gt;&lt;A href="https://documentation.sas.com/?docsetId=acreldb&amp;amp;docsetTarget=p1pes2rr12b4g3n14nnqluay2te7.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=acreldb&amp;amp;docsetTarget=p1pes2rr12b4g3n14nnqluay2te7.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;BR /&gt;Indicates ODBC is an alternative?&lt;BR /&gt;I will try the other way and hopefully that supports pipes.</description>
      <pubDate>Fri, 27 Mar 2020 06:46:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Bulk-load-from-SAS-to-Greenplum-with-Pipes/m-p/635220#M188581</guid>
      <dc:creator>jharri3470</dc:creator>
      <dc:date>2020-03-27T06:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk load from SAS to Greenplum with Pipes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Bulk-load-from-SAS-to-Greenplum-with-Pipes/m-p/635222#M188583</link>
      <description>&lt;P&gt;The doc states&lt;/P&gt;
&lt;P&gt;DSN=&amp;lt;'&amp;gt;&lt;EM class="xisDoc-userSuppliedValue"&gt;Greenplum-data-source&lt;/EM&gt;&amp;lt;'&amp;gt;&lt;/P&gt;
&lt;P&gt;not what you wrote:&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt; DSN='&amp;lt;name of odbc dsn' &lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 07:14:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Bulk-load-from-SAS-to-Greenplum-with-Pipes/m-p/635222#M188583</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-03-27T07:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk load from SAS to Greenplum with Pipes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Bulk-load-from-SAS-to-Greenplum-with-Pipes/m-p/635224#M188584</link>
      <description>Ok...I tested with this lib statement:&lt;BR /&gt;libname mydblib greenplm server='&amp;lt;ip address&amp;gt;' db=&amp;lt;dbname&amp;gt; schema=&amp;lt;schema name&amp;gt; port=&amp;lt;port number&amp;gt; user=&amp;lt;user name&amp;gt; password=&amp;lt;password&amp;gt; conopts='EncryptionMethod=1;ValidateServerCertificate=0';&lt;BR /&gt;I could load a flat file using gpfdist. However, when I switch on BL_USE_PIPE=YES, I get the same error as before:&lt;BR /&gt;Error: Named pipes are not currently supported.&lt;BR /&gt;Is there a way to confirm which scenario for Greenplum bulk load from SAS supports named pipes?</description>
      <pubDate>Fri, 27 Mar 2020 07:33:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Bulk-load-from-SAS-to-Greenplum-with-Pipes/m-p/635224#M188584</guid>
      <dc:creator>jharri3470</dc:creator>
      <dc:date>2020-03-27T07:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk load from SAS to Greenplum with Pipes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Bulk-load-from-SAS-to-Greenplum-with-Pipes/m-p/635228#M188587</link>
      <description>&lt;P&gt;Sorry, no other idea. You might want to ask tech support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 07:45:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Bulk-load-from-SAS-to-Greenplum-with-Pipes/m-p/635228#M188587</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-03-27T07:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk load from SAS to Greenplum with Pipes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Bulk-load-from-SAS-to-Greenplum-with-Pipes/m-p/635802#M188829</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt;&amp;nbsp; thanks for the thoughts offered.&amp;nbsp; By the way, I did some further digging and it seems that for Greenplum, SAS uses the same DataDirect ODBC driver that I was using in the first instance.&lt;/P&gt;&lt;P&gt;Note that I did find the following text in a 2012 SAS Global Forum document.&amp;nbsp; Any way to find out if that is still the case (since my load is from a Windows environment to Greenplum which is on a Linux environment).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GREENPLUM&lt;/STRONG&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Bulkload Support Using Pipes on UNIX&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Bulkloading capabilities have been extended on UNIX platforms to loadtables load pipes. To leverage this new &lt;/FONT&gt;&lt;FONT size="2"&gt;feature, you must add the BL_USE_PIPE=YES option when starting the bulkload facility:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;data user.dbtab (bulkload=yes&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;bl_format='CSV'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;bl_quote='"'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;bl_host='mypc.na.acme.com'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;bl_port='8080'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;bl_protocol='gpfdist'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;BL_USE_PIPE=YES);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;set work.worktab;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;run;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;We have seen a 30 percent average performance gain in load speed when using pipes rather than traditional flat &lt;/FONT&gt;&lt;FONT size="2"&gt;files. &lt;STRONG&gt;Greenplum does not currently support pipes on Windows platforms&lt;/STRONG&gt;.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 13:18:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Bulk-load-from-SAS-to-Greenplum-with-Pipes/m-p/635802#M188829</guid>
      <dc:creator>jharri3470</dc:creator>
      <dc:date>2020-03-30T13:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk load from SAS to Greenplum with Pipes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Bulk-load-from-SAS-to-Greenplum-with-Pipes/m-p/636376#M189063</link>
      <description>&lt;P&gt;You are right. And it's in the &lt;A href="https://documentation.sas.com/?docsetId=acreldb&amp;amp;docsetTarget=p0whyrg1954nxbn1151bil1spdbr.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;documentation&lt;/A&gt; too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; Restrictions: Applies to UNIX environments only [Greenplum, HAWQ]&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 21:09:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Bulk-load-from-SAS-to-Greenplum-with-Pipes/m-p/636376#M189063</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-03-31T21:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk load from SAS to Greenplum with Pipes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Bulk-load-from-SAS-to-Greenplum-with-Pipes/m-p/636379#M189065</link>
      <description>Can't believe I missed that little nugget! Thanks for making me look harder. So basically SAS has to be running on a Unix environment in order for named pipes to be usable for bulk-loading Greenplum.</description>
      <pubDate>Tue, 31 Mar 2020 21:16:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Bulk-load-from-SAS-to-Greenplum-with-Pipes/m-p/636379#M189065</guid>
      <dc:creator>jharri3470</dc:creator>
      <dc:date>2020-03-31T21:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk load from SAS to Greenplum with Pipes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Bulk-load-from-SAS-to-Greenplum-with-Pipes/m-p/636389#M189067</link>
      <description>&lt;P&gt;I missed it too. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Considering the number of Greenplum customers, and even lower numbers accessing it from Windows, I would not expect an update.&lt;/P&gt;
&lt;P&gt;Unless maybe a very large new sale is at stake. (Making many assumptions here).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 21:41:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Bulk-load-from-SAS-to-Greenplum-with-Pipes/m-p/636389#M189067</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-03-31T21:41:14Z</dc:date>
    </item>
  </channel>
</rss>

