BookmarkSubscribeRSS Feed
japsas100
Pyrite | Level 9

Hello,

 

We are getting the error after changing the password of xyz user however we noticed  xzy are not used in share library .

 

Could you please confirm which password we need to pass it here in lib statement? we are not getting error with old password. We have the changed OS level and in metadata password. Is there any other files we need to update the password for sas share? 

 

%let hostname = XXXXXXXXX;
%let SHRID = __8551;
%let sapw = "{sas002}XXXXXXXXXXXXXXXXXXXXX";
%let SHRSERV = &hostname..&shrid sapw=&sapw;
libname temp "/tmp" server=&SHRSERV;

5 REPLIES 5
SASKiwi
PROC Star

According to the SAS/SHARE documentation a LIBNAME pointing to a SAS/SHARE server and library should look like this:

libname temp server=&SHRSERV user=MyUserID password="{sas002}xxxxxxxxxxxxxxxx";

You can check the doc here 

japsas100
Pyrite | Level 9

@SASKiwi 

 

Thanks for reply. How we can check which user we have defined for sas/share? In sas library we have not defined any user, we just passing the password.

 

%let hostname = XXXXXXXXX;
%let SHRID = __8551;
%let sapw = "{sas002}XXXXXXXXXXXXXXXXXXXXX";
%let SHRSERV = &hostname..&shrid sapw=&sapw;
libname temp "/tmp" server=&SHRSERV;

SASKiwi
PROC Star

What version of SAS/SHARE are you using? As far as I know the SAPW option is merely the password to access a SAS/SHARE server - it is assigned in the PROC SERVER statement that starts the SHARE server.

 

This is separate from the userid / password you might use to access a particular SAS library on the SHARE server. I suggest you test this against the same library without using SAS/SHARE. If the LIBNAME still fails then it is not a SAS/SHARE problem. 

japsas100
Pyrite | Level 9
Thanks

We are using sas 9.2 version. How I can change the saspw password?
SASKiwi
PROC Star

@japsas100  - According to the documentation the SAPW password needs to match the UAPW password set on the PROC SERVER statement that starts your SAS/SHARE server. From that I assume UAPW is hardcoded in your SHARE server startup script. 

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
  • 5 replies
  • 1291 views
  • 2 likes
  • 2 in conversation