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

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