Hello there,
I assigned the same SAS library reference to two data sets:
It worked out well for the first data as shown in the log :
%Let Qdrive=\\dcwdfap002\\rpuprojects;
Libname SG "&Qdrive.\PA\LA\forensics\LA\SAS Library\ScoreGain";
Log message:
NOTE: Libref SG was successfully assigned as follows:
Engine: V9
Physical Name: \\dcwdfap002\\rpuprojects\PA\LA\forensics\LA\SAS Library\ScoreGain
When reading the second data set, it gives and error
%Let Qdrive=\\dcwdfap002\\rpuprojects;
Libname SG "&Qdrive.\PA\LA\forensics\LA\SAS Library\Time Analysis";
log message:
NOTE: Library SG does not exist.
I am reading both data files once.
Does anyone know why the second one is not working?
Thanks and regards,
Almost...except for the final folder.
So can you see
\\dcwdfap002\rpuprojects\PA\LA\forensics\LA\SAS Library\Time Analysis
In another tool, like Windows Explorer? Also, I notice you have a double-slash in the middle of the path:
%Let Qdrive=\\dcwdfap002\\rpuprojects;
The most common cause of this error: the path doesn't exist (or you don't have read access to it). Double-check the path name to be sure it's correct.
Almost...except for the final folder.
So can you see
\\dcwdfap002\rpuprojects\PA\LA\forensics\LA\SAS Library\Time Analysis
In another tool, like Windows Explorer? Also, I notice you have a double-slash in the middle of the path:
%Let Qdrive=\\dcwdfap002\\rpuprojects;
Thanks Chris for your time and inputs. Even though the log says "NOTE: Libref SG was successfully assigned as follows: ", the library SG does not appear in the libraries folder under SASApp. I am running the codes on Enterprise Guide 7.1. When I run other codes and want to save my sas data in the same library, it says library SG does not exist.
Best regards,
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.