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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

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
  • 5 replies
  • 848 views
  • 0 likes
  • 4 in conversation