When I used the following codes to upload tables from SAS to Netezza
PROC SQL;
CREATE TABLE OUT.&table_name
(bulkload=YES bl_options='logdir "f:\sasuser\netlog"')
as
select * from &Libname..&Table;
quit;
I got the error.
ERROR: Error terminating Netezza load: Communication link failure
There were no log and bad files from Netezza.
It is difficult to find the real causes.
One of the common cause I found is the SAS format issue.
If the SAS numeric columns were formatted as decimal format like '8.2' , the communication link failure would be found.
The solution is to modify the SAS tables with those format to no format, using the following (column_name is an example the the column with the decimal format).
format column_name;
One of the common cause I found is the SAS format issue.
If the SAS numeric columns were formatted as decimal format like '8.2' , the communication link failure would be found.
The solution is to modify the SAS tables with those format to no format, using the following (column_name is an example the the column with the decimal format).
format column_name;
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.
Find more tutorials on the SAS Users YouTube channel.