Hello everyone.
A few months ago I installed SAS 9.4 on my computer and everything was working well. I opened it again a few days ago and noticed a new warning message in the log that was not there before : WARNING: One or more libraries in the concatenated library SASHELP do not exist. These libraries were removed from the concentration.
I tried uninstalling it and re-installing SAS but the warning message is still there. I also tried creating a SASCFG folder (see below) like it was suggested in another forum. The warning message disappeared, but the program is still not working properly.
Here is what I tried:
Navigate to the sasroot\nls\en folder and create a folder called SASCFG
C:\Program Files\SASHome\SASFoundation\9.3\nls\en
C:\Program Files\SASHome\x86\SASFoundation\9.3\nls\en
Once you have created the SASCFG folder, the resulting path should resemble one of these examples, depending on which one is applicable to your system and SAS installation:
Does anyone have an idea what the issue could be?
Thanks!
Hello
From the paths listed it appear to be of SAS 9.3, but the earlier statement mentions that it is SAS 9.4 that has been installed.
Please check the corresponding paths for SAS 9.4.
Please attach the applicable portion of log as text (not as image) if further assistance is needed.
Hi, thanks for your reply. I have installed SAS 9.4 not 9.3 so maybe that's why the paths listed didn't work. I'm not sure where to find the corresponding paths for SAS 9.4?
Here is what the log says when I open SAS (9.4):
NOTE: Copyright (c) 2016 by SAS Institute Inc., Cary, NC, USA.
NOTE: SAS (r) Proprietary Software 9.4 (TS1M7)
Licensed to UNIVERSITY OF OTTAWA, Site 70081442.
NOTE: This session is executing on the X64_10HOME platform.
NOTE: Analytical products:
SAS/STAT 15.2
SAS/ETS 15.2
SAS/IML 15.2
SAS/QC 15.2
NOTE: Additional host information:
X64_10HOME WIN 10.0.19041 Workstation
NOTE: SAS initialization used:
real time 22.90 seconds
cpu time 1.23 seconds
WARNING: One or more libraries specified in the concatenated library SASHELP
WARNING: do not exist. These libraries were removed from the concatenation.
NOTE: Unable to open SASUSER.REGSTRY. WORK.REGSTRY will be opened instead.
NOTE: All registry changes will be lost at the end of the session.
WARNING: Unable to copy SASUSER registry to WORK registry. Because of this,
WARNING: you will not see registry customizations during this session.
NOTE: Unable to open SASUSER.PROFILE. WORK.PROFILE will be opened instead.
NOTE: All profile changes will be lost at the end of the session.
NOTE: This SAS session is using a registry in WORK. All changes will be lost at the end of this
NOTE: session.
NOTE: Unable to open SASUSER.PROFILE. WORK.PROFILE will be opened instead.
NOTE: All profile changes will be lost at the end of the session.
Hello
These are Warning messages and you should be able to use SAS.I hope you are running 64 bit SAS.To address the issue of warning message on SASHELP library, try running the following code in the SAS EG
%put %sysfunc(pathname(SASHELP));
You will get a list of folders that constitute the SASHELP library. make sure they are present. If not create them.
For the other warning messages make sure you have the folder C:\Users\<your_user_id>\Documents\My SAS Files\9.4 and have read write permissions to the folders and its contents.
Please let us know if that works.
Thanks again for your help. I ran the code you suggested and looked at each folder one by one; they are all there. I also made sure to have permissions to the folders in C:\Users\<your_user_id>\Documents\My SAS Files\9.4. It looks like it because I can open them.
I also thought I should be able to use SAS despite the warning messages, but there is definitely something wrong. I tried importing my data like I usually did (in the work library) and the import is successful but when I run my analyses it keeps saying my data file does not exist. I thought it was related the the SASHELP warning note, but maybe it's something different (see log below)? It's frustrating because they are new issues that weren't there a few months ago.
NOTE: Copyright (c) 2016 by SAS Institute Inc., Cary, NC, USA.
NOTE: SAS (r) Proprietary Software 9.4 (TS1M7)
Licensed to UNIVERSITY OF OTTAWA, Site 70081442.
NOTE: This session is executing on the X64_10HOME platform.
NOTE: Analytical products:
SAS/STAT 15.2
SAS/ETS 15.2
SAS/IML 15.2
SAS/QC 15.2
NOTE: Additional host information:
X64_10HOME WIN 10.0.19041 Workstation
NOTE: SAS initialization used:
real time 1.27 seconds
cpu time 1.03 seconds
WARNING: One or more libraries specified in the concatenated library SASHELP
WARNING: do not exist. These libraries were removed from the concatenation.
NOTE: The import data set has 689 observations and 49 variables.
NOTE: WORK.OP data set was successfully created.
1 PROC TRAJ DATA=testage3 OUTPLOT=OP OUTSTAT=OS OUT=OF OUTEST=OE ITDETAIL;
ERROR: File WORK.TESTAGE3.DATA does not exist.
2 ID ID; VAR sat17-sat24; INDEP age17-age24;
3 MODEL CNORM; MAX 10; ngroups 3; ORDER 1 1 1;
4 TCOV same17-same24;
5 RUN;
NOTE: The SAS System stopped processing this step because of errors.
WARNING: The data set WORK.OP may be incomplete. When this step was stopped there were 0
observations and 0 variables.
WARNING: Data set WORK.OP was not replaced because this step was stopped.
WARNING: The data set WORK.OS may be incomplete. When this step was stopped there were 0
observations and 0 variables.
WARNING: The data set WORK.OF may be incomplete. When this step was stopped there were 0
observations and 0 variables.
WARNING: The data set WORK.OE may be incomplete. When this step was stopped there were 0
observations and 0 variables.
NOTE: PROCEDURE TRAJ used (Total process time):
real time 0.02 seconds
cpu time 0.03 seconds
You imported data into a SAS dataset OP , but then tried to run PROC TRAJ on a dataset called TESTAGE3. Maybe you meant to use OP with PROC TRAJ?
proc traj data = OP etc.....
run;
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.