BookmarkSubscribeRSS Feed
costasRO
Fluorite | Level 6

Hello SAS users,

 

I was sent a SAS data file that I want to open. The issue is that, when I save the file into a folder on my PC and then create a SAS library that points to this folder, SAS cannot "see" this file, the library seems empty. The extension of the file is .sas7bdat, which suggests a regular file. However, when I right clink on the file it says that it opens with "SAS Enterprise Guide 6.1", and I am not sure what this is. I want to save this file as a regular SAS file that I can access. How can I do this? I am using SAS 9.4.

Thank you Costas

4 REPLIES 4
PaigeMiller
Diamond | Level 26

First thing I would check is to make sure that the folder name in your LIBNAME statement is 100% correct, no spelling errors, and the proper folder name.

 

If that's not it, then show us a screen capture of the folder and file in your operating system and also show us your LIBNAME statement (LIBNAME statement doesn't have to be a screen capture, it can be plain text). When providing screen captures, please use the "Insert Photos" icon. Do NOT attach files.

Capture.PNG

--
Paige Miller
yabwon
Onyx | Level 15

Question, is the file name in low-case letters (like file.sas7bdat) or is it in up-case letters like (like FILE.sas7bdat)?  

Bart

_______________
Polish SAS Users Group: www.polsug.com and communities.sas.com/polsug

"SAS Packages: the way to share" at SGF2020 Proceedings (the latest version), GitHub Repository, and YouTube Video.
Hands-on-Workshop: "Share your code with SAS Packages"
"My First SAS Package: A How-To" at SGF2021 Proceedings

SAS Ballot Ideas: one: SPF in SAS, two, and three
SAS Documentation



costasRO
Fluorite | Level 6
Hi,
Seems that by only changing the file name the problem is solved. It was
inddatanew_2021_final(2).sas7bdat and I changed it to inddatanew_2021_final.sas7bdat
Thanks!
Costas
Tom
Super User Tom
Super User

The name of the file is the member name that SAS will use to reference it.

Member names cannot use () characters, unless you change the VALIDMEMNAME system option to EXTEND.

 

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

Register now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 824 views
  • 0 likes
  • 4 in conversation
OSZAR »