BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi All,
Just do me ur favor, anyone know 'any code' that we can use to connect ODBC (dsn) via libname function.
Thank
1 REPLY 1
Cynthia_sas
Diamond | Level 26
Hi!
If you are using SAS in a Stored Process, remember that your library should be defined in the metadata. When you define your data libraries in the metadata, they do not have to be SAS libraries, there is a way to define ODBC libraries. You should contact Tech Support for help in setting up the metadata.

If you are NOT using SAS in a Stored Process, then this documentation on ODBC has an example of a LIBNAME statement on page 7:
http://support.sas.com/documentation/onlinedoc/91pdf/sasdoc_91/access_odbc_7365.pdf

There is some setup that has to be done before you can just use the LIBNAME statement, however. So, again, Tech Support is your best bet for help with this setup.

Good luck!

cynthia

To contact Tech Support, refer to: http://support.sas.com/techsup/contact/index.html

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

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 lock in 2025 pricing—just $495!

Register now

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
  • 1 reply
  • 1258 views
  • 0 likes
  • 2 in conversation