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

Hello,

 

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.

 

1 ACCEPTED SOLUTION
5 REPLIES 5
GKati
Pyrite | Level 9

So there is no way around it?

 

RW9
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.

Astounding
PROC Star

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.)

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 5 replies
  • 1289 views
  • 0 likes
  • 4 in conversation