<?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: Communication link failure when I load to netezza in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-To-Netezza-Communication-Link-Failure/m-p/509886#M15813</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/37783"&gt;@kiranv_&lt;/a&gt;&amp;nbsp;so just to clarify, instead of splitting my current table into multiple tables and than loading these tables into&amp;nbsp; Netezza, it would be better to create multiple SAS views to load to Netezza? I'm asking because it seems like SAS Views has a slower processing time and I'm wondering if it will be much slower to load data from SAS views into netezza rather than form an actual data file.&lt;/P&gt;</description>
    <pubDate>Fri, 02 Nov 2018 14:37:29 GMT</pubDate>
    <dc:creator>jim_toby</dc:creator>
    <dc:date>2018-11-02T14:37:29Z</dc:date>
    <item>
      <title>Loading SAS To Netezza Communication Link Failure</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-To-Netezza-Communication-Link-Failure/m-p/509501#M15780</link>
      <description>&lt;P&gt;I am trying to load a SAS table with 50 columns and over 34 million rows into netezza.&lt;/P&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;LIBNAME ECLIB000 "\\path\to\SASTables";
libname sdf odbc noprompt="server=xxxx; DRIVER={NetezzaSQL}; port=xxxx; database=xxxxx; username=xxx; password=xxxx;";
proc sql;
create table sdf.myNewTable
(bulkload = YES)
AS SELECT * FROM ECLIB000.MySASTable;
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;When doing this, I get the error: &lt;STRONG&gt;Error terminating Netezza load: Communication link failure.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In this post:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Data-Management/Communication-link-failure-when-upload-table-to-Netezza-database/m-p/486989#M15173&amp;nbsp;" target="_self"&gt;https://communities.sas.com/t5/SAS-Data-Management/Communication-link-failure-when-upload-table-to-Netezza-database/m-p/486989#M15173&amp;nbsp;&lt;/A&gt;&amp;nbsp;I saw that someone else had the same issue, but I don't quite understand the answer or where to place the FORMAT statement in my code.&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2018 13:24:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-To-Netezza-Communication-Link-Failure/m-p/509501#M15780</guid>
      <dc:creator>jim_toby</dc:creator>
      <dc:date>2018-11-01T13:24:43Z</dc:date>
    </item>
    <item>
      <title>Communication link failure when I load to netezza</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-To-Netezza-Communication-Link-Failure/m-p/509507#M15783</link>
      <description>&lt;P&gt;I am trying to load a SAS table with 50 columns and over 34 million rows into netezza.&lt;/P&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;LIBNAME ECLIB000 "\\path\to\SASTables";
libname sdf odbc noprompt="server=xxxx; DRIVER={NetezzaSQL}; port=xxxx; database=xxxxx; username=xxx; password=xxxx;";
proc sql;
create table sdf.myNewTable
(bulkload = YES)
AS SELECT * FROM ECLIB000.MySASTable;
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;When doing this, I get the error: &lt;STRONG&gt;Error terminating Netezza load: Communication link failure.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2018 13:45:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-To-Netezza-Communication-Link-Failure/m-p/509507#M15783</guid>
      <dc:creator>jim_toby</dc:creator>
      <dc:date>2018-11-01T13:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Communication link failure when I load to netezza</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-To-Netezza-Communication-Link-Failure/m-p/509513#M15785</link>
      <description>&lt;P&gt;Can you try distribute_on dataset option. Please pick a unique column for&amp;nbsp;&lt;SPAN&gt;distribute_on. An example picked from sas communities is shown below. or use atleast distrubute_on = random. if you do not specify any column&amp;nbsp; for distrubute_on then datanase will pick a column and can lead to data skewing and probably making everything inefficient and leading to disconnect&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
create table netlib.customtab(DISTRIBUTE_ON='partno') 
   as select partno, customer, orderdat from saslib.orders;
quit;

/* for multiple columns*/

data netlib.mytab(DISTRIBUTE_ON='col1,col2');
col1=1;col2=12345;col4='mytest';col5=98.45;
run;&lt;BR /&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;data netlib.foo(distribute_on=random);
mycol1=1;mycol2='test';
run;&lt;/PRE&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2018 14:07:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-To-Netezza-Communication-Link-Failure/m-p/509513#M15785</guid>
      <dc:creator>kiranv_</dc:creator>
      <dc:date>2018-11-01T14:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Communication link failure when I load to netezza</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-To-Netezza-Communication-Link-Failure/m-p/509537#M15790</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/37783"&gt;@kiranv_&lt;/a&gt;&amp;nbsp;When I use distribute_on I get the error: &lt;STRONG&gt;Invalid option name DISTRIBUTE_ON&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This is my new code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;LIBNAME ECLIB000 "\\path\to\SASTables";
libname sdf odbc noprompt="server=xxxx; DRIVER={NetezzaSQL}; port=xxxx; database=xxxxx; username=xxx; password=xxxx;";
proc sql;
create table sdf.myNewTable
(bulkload = YES distribute_on= 'firstColumn')
AS SELECT * FROM ECLIB000.MySASTable;
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I even tried it without the bulkload and I get the same error.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2018 14:34:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-To-Netezza-Communication-Link-Failure/m-p/509537#M15790</guid>
      <dc:creator>jim_toby</dc:creator>
      <dc:date>2018-11-01T14:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Communication link failure when I load to netezza</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-To-Netezza-Communication-Link-Failure/m-p/509545#M15792</link>
      <description>&lt;P&gt;please remove quotes and then try&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;distribute_on&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;firstColumn&lt;/SPAN&gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check this link it has various varitions&amp;nbsp; and above does not work please try the below. I work mostly with teradata that is why I am not well versed with netezza options but one of them should work&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sas.com/partners/directory/ibm/NetezzaDWAppliances-withSAS.pdf" target="_blank"&gt;https://www.sas.com/partners/directory/ibm/NetezzaDWAppliances-withSAS.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
create table nzData.test (DBCREATE_TABLE_OPTS='DISTRIBUTE on (ID)'
BULKLOAD=YES)
 as (select * from SASDATA.SASFoo);
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 01 Nov 2018 14:59:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-To-Netezza-Communication-Link-Failure/m-p/509545#M15792</guid>
      <dc:creator>kiranv_</dc:creator>
      <dc:date>2018-11-01T14:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Communication link failure when I load to netezza</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-To-Netezza-Communication-Link-Failure/m-p/509610#M15797</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/37783"&gt;@kiranv_&lt;/a&gt;&amp;nbsp;I add the distribution and now I'm back to the original error: &lt;STRONG&gt;Error terminating Netezza load: Communication link failure&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;LIBNAME ECLIB000 "\\path\to\SasTable";
libname sdf odbc noprompt="xxx; DRIVER={NetezzaSQL}; port=xxx; database=xxx; username=xxx; password=xxxx;";
proc sql;
create table sdf.NewTable
(DBCREATE_TABLE_OPTS= 'distribute on (col1)' bulkload = YES)
AS SELECT * FROM ECLIB000.SASTable;
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;When I try to load a smaller table, it works fine. Is there something else I can do to help solve this issue?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2018 17:00:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-To-Netezza-Communication-Link-Failure/m-p/509610#M15797</guid>
      <dc:creator>jim_toby</dc:creator>
      <dc:date>2018-11-01T17:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Communication link failure when I load to netezza</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-To-Netezza-Communication-Link-Failure/m-p/509615#M15798</link>
      <description>&lt;P&gt;Try one last thing. distrubute_on =random.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if does not work out this is not a preferable way.&lt;/P&gt;
&lt;P&gt;check the total number of records in your SAS table. Say you have 1000 records in SAS records create several SAS views using data step&lt;/P&gt;
&lt;P&gt;first view--if&amp;nbsp;&amp;nbsp;_n_ ge 1 and le 250;&lt;/P&gt;
&lt;P&gt;second view if _n_ ge 251 and le 500;&lt;/P&gt;
&lt;P&gt;and so on and load one by 1 by 1 into your netezza table by using insert statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please contact your Netezza team admins, looks like you may time limit for your connectivity and discuss your problem. I have seen this happening when we used&amp;nbsp; load into oracle tables&amp;nbsp; from SAS.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2018 17:14:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-To-Netezza-Communication-Link-Failure/m-p/509615#M15798</guid>
      <dc:creator>kiranv_</dc:creator>
      <dc:date>2018-11-01T17:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Communication link failure when I load to netezza</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-To-Netezza-Communication-Link-Failure/m-p/509886#M15813</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/37783"&gt;@kiranv_&lt;/a&gt;&amp;nbsp;so just to clarify, instead of splitting my current table into multiple tables and than loading these tables into&amp;nbsp; Netezza, it would be better to create multiple SAS views to load to Netezza? I'm asking because it seems like SAS Views has a slower processing time and I'm wondering if it will be much slower to load data from SAS views into netezza rather than form an actual data file.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2018 14:37:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-To-Netezza-Communication-Link-Failure/m-p/509886#M15813</guid>
      <dc:creator>jim_toby</dc:creator>
      <dc:date>2018-11-02T14:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: Communication link failure when I load to netezza</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-To-Netezza-Communication-Link-Failure/m-p/509940#M15814</link>
      <description>&lt;P&gt;it should not differ much. the reason I told to make views is that you may need more space in SAS with table. you have lot of space you can very well make tables and then drop them.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2018 16:11:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-To-Netezza-Communication-Link-Failure/m-p/509940#M15814</guid>
      <dc:creator>kiranv_</dc:creator>
      <dc:date>2018-11-02T16:11:09Z</dc:date>
    </item>
  </channel>
</rss>

