BookmarkSubscribeRSS Feed
Dawn_Wu
Obsidian | Level 7

Hi All,

I usually access HIVE data via SAS through below ODBC access:

libname rbana odbc user=XXXXXXX password="XXXXXXXX." datasrc=prod schema=my_schema;

(user and password is my staff_id and password.)

 

This hard coding method disallowed due to some reason.

Any other solutions to connenct to the HIVE data via SAS?

Say connect first, then let me to input my user-id and password?

Thanks & Regards,

Dawn

 

 

2 REPLIES 2
SASKiwi
PROC Star

Please post the SAS log containing your LIBNAME statement and any following messages.

gwootton
SAS Super FREQ
If the issue is with hard-coding your credentials you can store them in Metadata and then use the AUTHDOMAIN option instead of specifying a user name and password in the code.
--
Greg Wootton | Principal Systems Technical Support Engineer

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 491 views
  • 0 likes
  • 3 in conversation