BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
_maldini_
Barite | Level 11

I have multiple SAS datasets in a folder using SAS University Edition. I can load all of the dataset except for one. I get an error: "File CARDIA.UCSFMEDFEB2013.DATA does not exist."

Screenshot 2023-08-04 at 4.30.03 PM.pngI am able to load other datasets in the same folder: 

Screenshot 2023-08-04 at 4.32.13 PM.png

 There is nothing different about these datasets other than the contents and the size of the files. The dataset that can't be found is actually smaller. 

A friend can load this dataset without problem using a desktop version of SAS.

Any ideas as to how I might be able to resolve this problem?

 

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Tom
Super User Tom
Super User

Make sure the actual file on the disk is using only lowercase letters in its name.

You are probably using UNIX and your friend was using WINDOWS.  The WINDOWS file system is case insensitive.  So FRED.sas7bdat and fred.sas7bdat would be the same physical file.

But on UNIX the file system is case sensitive.  

SAS syntax does not care if you use FRED or fred as the member name.  To make it work it lowercases the name when it goes to the operating system.  So both references in SAS will be looking for an actual operating system file named fred.sas7bdat.

View solution in original post

1 REPLY 1
Tom
Super User Tom
Super User

Make sure the actual file on the disk is using only lowercase letters in its name.

You are probably using UNIX and your friend was using WINDOWS.  The WINDOWS file system is case insensitive.  So FRED.sas7bdat and fred.sas7bdat would be the same physical file.

But on UNIX the file system is case sensitive.  

SAS syntax does not care if you use FRED or fred as the member name.  To make it work it lowercases the name when it goes to the operating system.  So both references in SAS will be looking for an actual operating system file named fred.sas7bdat.

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!

Mastering the WHERE Clause in PROC SQL

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.

Discussion stats
  • 1 reply
  • 351 views
  • 1 like
  • 2 in conversation