BookmarkSubscribeRSS Feed
Alass006
Fluorite | Level 6

Hello there,

 

I have a question. I have never experienced that before. I am running a proc contents on a data saved in a library SAS enterprise guide 7.1. Although the data file exists, there is a message saying ERROR: File STUDATA.SDFDATA17.DATA does not exist. Any inputs?

 

%Let Qdrive=\\dcwdfap002\rp;
libname studata "&Qdrive.\\Ps\Lv\forensics\LA\S17EOC\RPU\Cyc";

options dkricond=nowarning;
proc contents data=studata.sdfdata17; run;

 

Thanks and regards

3 REPLIES 3
PaigeMiller
Diamond | Level 26

What makes you say "although the data file exists"?? Did you check? How? Be specific. Show us a screen capture.

 

In cases like this, where SAS says it's not there, I tend to believe SAS, and not the human users, since all humans make mistakes from time to time.

--
Paige Miller
Astounding
PROC Star

Is this really the right path to the folder?  The number of slashes looks suspicious:

 

\\dcwdfap002\rp\\Ps\Lv\forensics\LA\S17EOC\RPU\Cyc

 

What did the SAS log say about the LIBNAME statement?

Reeza
Super User

@Astounding wrote:

Is this really the right path to the folder?  The number of slashes looks suspicious:

 

\\dcwdfap002\rp\\Ps\Lv\forensics\LA\S17EOC\RPU\Cyc

 

What did the SAS log say about the LIBNAME statement?


SAS ignores duplicate slashes later on in the path, not sure why, but it definitely does sometimes. 

 

 69         libname test '/folders//myfolders//';
 NOTE: Libref TEST was successfully assigned as follows: 
       Engine:        V9 
       Physical Name: /folders//myfolders

sas-innovate-2024.png

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.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 799 views
  • 0 likes
  • 4 in conversation