Hello. so this issue randomly happened just today, and it was the same libref (never changed) that I was using for a practice exam. I was trying to review my log when it suddenly chose not to work today, and the log for both the correct answer and my own is not working because it can't find a file even though the libref code is submitted and is the one the practice exam advised me to use.
code for the libref (i never changed it since I started the exam);
libname cert "S:/workshop/cert"; libname results "S:/workshop/cert/input";
and here is the log of a code I was trying to run with unchanged code that provides the error. Of course, this libref effects all my other projects, so all of them have a similar error code.
*i apologize, it won't let me copy/paste from the program since its SAS Virtual Labs for the practice exam. OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK; data cleandata36; set cert.input36; ERROR: FILE CERT.INPUT36.DATA does not exist. Group=Upcase(group); if Group in (A'A, 'B') then output; run;
I went through other articles to determine what could be the issue.
I made sure to double check the libname path, the drive and folders are all available and set correctly.
the code does not have anything in uppercase that would suddenly affect the issue.
This is done on Sas Studio Virtual Labs for the practice exam .
Help would be greatly appreciated... there might be an obvious answer and I'm too blind to see it.
thank you guys so much, i've realized how helpful this community is and im glad it exists. 🙂
If i forgot to provide something please let me know.
Have you gone to the Servers Files and Folder pane and confirmed the paths?
Those paths look a touch weird to me, I'd expect your input data to be under input folder, not results.
I would expect a different folder to hold the output/results.
And I would expect the reference to be to the input location to read the file but that's going based on the name of the folders/files not anything else so could be entirely wrong.
@ChaoticSweets wrote:
Hello. so this issue randomly happened just today, and it was the same libref (never changed) that I was using for a practice exam. I was trying to review my log when it suddenly chose not to work today, and the log for both the correct answer and my own is not working because it can't find a file even though the libref code is submitted and is the one the practice exam advised me to use.
code for the libref (i never changed it since I started the exam);
libname cert "S:/workshop/cert"; libname results "S:/workshop/cert/input";and here is the log of a code I was trying to run with unchanged code that provides the error. Of course, this libref effects all my other projects, so all of them have a similar error code.
*i apologize, it won't let me copy/paste from the program since its SAS Virtual Labs for the practice exam. OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK; data cleandata36; set cert.input36; ERROR: FILE CERT.INPUT36.DATA does not exist. Group=Upcase(group); if Group in (A'A, 'B') then output; run;
I went through other articles to determine what could be the issue.
I made sure to double check the libname path, the drive and folders are all available and set correctly.
the code does not have anything in uppercase that would suddenly affect the issue.
This is done on Sas Studio Virtual Labs for the practice exam .
Help would be greatly appreciated... there might be an obvious answer and I'm too blind to see it.
thank you guys so much, i've realized how helpful this community is and im glad it exists. 🙂
If i forgot to provide something please let me know.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.