BookmarkSubscribeRSS Feed
arunrami
Pyrite | Level 9

Hello Guys,

 

I just needed to encrypt or encode user name and password to use it in SAS code instead of using naked user and password . For password , its working fine after using encoded by PROC PWENCODE but it's not the case for User name and I am getting following error message.. Is there any way to hide the user name other than using permanent macro ?

 

ERROR: ORACLE connection error: ORA-010: invalid username/password; logon denied.
ERROR: Error in the LIBNAME statement.

1 REPLY 1
Gaetan
Obsidian | Level 7

Hi @arunrami,

 

Using AUTHDOMAIN option is the best way :

 

For example : Usage Note 38204: Using the AUTHDOMAIN= option with SAS/ACCESS® 9.2 engines

 

Best regards,

Gaetan

AI Navigator GIF.gif


Navigate AI governance with SAS tools for compliance and ethical AI practices. Try SAS Ai Navigator for free for the first six months.

Check it out on Microsoft Marketplace →

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
  • 1583 views
  • 0 likes
  • 2 in conversation