BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
emmad511
Fluorite | Level 6

Hello, I was wondering about how to import a sas7bdat file with proc import.

I've done some search for it but all I can find was using LIB with DATA.

Thanks in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User
Your search is correct. PROC IMPORT is to create a sas7bdat file but if you already have you use it directly by referencing it, no need for an import step. It's kind of like asking how to open an Excel file with Excel?

libname myfiles '/folders/myfolders/';

data myData;
set myFiles.dataSetName;
run;

View solution in original post

2 REPLIES 2
Reeza
Super User
Your search is correct. PROC IMPORT is to create a sas7bdat file but if you already have you use it directly by referencing it, no need for an import step. It's kind of like asking how to open an Excel file with Excel?

libname myfiles '/folders/myfolders/';

data myData;
set myFiles.dataSetName;
run;
emmad511
Fluorite | Level 6

Thank you for the explanation! That makes a lot more sense 🙂

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 2 replies
  • 2284 views
  • 1 like
  • 2 in conversation