BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Is there any difference whether I use File>Import Data and File>Open>Data from a the same Excel file?
2 REPLIES 2
Doc_Duke
Rhodochrosite | Level 12
yes.

Import data (and the create a SAS dataset option under File>Open>data) create a SAS dataset from the excel sheet. To re-import, you have to re-run the task.

file>open>data also allows you to open the excel file "in place" so changes to the excel file appear immediately to the project.

IMHO, import data allows a little more flexibility at the expense of immediacy.

Doc Muhlbaier
deleted_user
Not applicable
I agree, and I have a number of memories of batches and projects failing because one piece of software locked something required by another.

Excel was a particular issue, but then often the Excel objects were not created for the SAS process but used as an input. It would be unkind to blame Excel for blocking something it wasn't designed to do.

Import will allow the data to be taken (and the import to be bypassed in some project updates if required), whereas Open will require that a file lock can be obtained every time the project is opened.

Kind regards

David

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 2 replies
  • 894 views
  • 0 likes
  • 2 in conversation