BookmarkSubscribeRSS Feed
marathon2
Fluorite | Level 6
I used the following codes to create a caslib that connects to Netezza databases. However, I can't make the connections successfully.
 

proc cas;
caslib odbctables desc="odbc_conn" sessref=mySession datasource= (srctype="odbc", authenticationDomain="NZAuth", odbc_dsn="INSERT_DSN_NAME", schema="INSERT_SCHEMA_NAME", catalog="*");

quit;

 

ERROR: The connection to the data source driver failed.
ERROR: Invalid value for connection string attribute CATALOG: ODBCCASLIB
ERROR: Function failed.
ERROR: The action stopped due to errors.
 

I set up an odbc connection using "ODBC Data Sources" on Windows, where the dsn name equals "INSERT_DSN_NAME"; I also tested the connection, to make sure the connection worked.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 0 replies
  • 578 views
  • 0 likes
  • 1 in conversation