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;
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
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;
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 - 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.
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
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.