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;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
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.