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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 819 views
  • 0 likes
  • 1 in conversation