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

 

Secure your spot at the must-attend AI and analytics event of 2024: SAS Innovate 2024! Get ready for a jam-packed agenda featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events.

 

Register by March 1 to snag the Early Bird rate of just $695! Don't miss out on this exclusive offer. 

 

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
  • 743 views
  • 0 likes
  • 4 in conversation