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



I have large SAS dababase of clients. In addition, I have a list of about half million clients with special characteristics that I recieved in an Excel file. I would like to tag these clients in my SAS dababase.


I understand that I can import the EXCEL file into SAS and merge the two datasets, but unfortunatelly I'm not allowed to permanently save created databases, (I can only use the WORK directory) So every once in a while, I have to re-create the database I use and the merging and importing of the Excel file takes prohibitively long every time. Do I have any other options?


Can I ask SAS to read the list from an EXCEL file?


Thanks for your help.


Pyrite | Level 9

So there is no way around it?


Diamond | Level 26 RW9
Diamond | Level 26

Half a million rows in Excel, I would have jumped out of the window (assuming on floor > 3 of course) by now.  

If you only have work, import the data to a dataset, then copy that dataset from work to somewhere you have access to and copy + paste it back to work any time you need to use it.  However it sounds like a total mess anyways.

Opal | Level 21

Are you allowed to permanently save other files, such as text files?  SAS formats?


At any rate, it's probably faster to avoid sort + merge.  You can create a format from the Excel file and use the format to flag records.  If you want details, you'll have to give a small example of what is in the Excel file.  (DO NOT post an Excel file, just post a few lines of text.)



Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Get the $99 certification deal.jpg



Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 4 in conversation