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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 1198 views
  • 0 likes
  • 2 in conversation