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

Hi

I am trying to import an Excel file of 8 Lakh Observations and 34 variables into SAS university edition. I have to wait for around 5-10 minutes for data step to process but the proc print step never compiles, not within an hour even.

Even the data step never reads the whole data, it stops at around 6-7 Lakhs Obs. I even tried with 1 lakh Obs still the same result.

 

Can anyone suggest how to read the complete data? and what is the Limit of sas University edition of reading the data?

1 ACCEPTED SOLUTION

Accepted Solutions
Kurt_Bremser
Super User

Do NOT import into the WORK library. That resides in /tmp within the UE VM and is therefore limited.

Instead define a library on a subdirectory of the shared folder you set up when installing UE. That is in the host computer's filesystem and therefore limited only by your available disk storage.

Be aware that your data may still be too large to do anything useful with it, as utility files during processing will exceed the temporary workspace.

What are the attributes of your 34 variables (type, length)?

View solution in original post

3 REPLIES 3
ballardw
Super User

Try saving the Excel file to CSV - File -Save As.

Import that instead.

 

You mention a "data step". So may be you should post the code you use for that.

Shmuel
Garnet | Level 18

What OS you use for SAS University Edition  and what version ?

Is you execl file on same PC or on a server ?

By what excel version is the file created? Is it .xls or .xlsx ?

What is your code to read the execl file and print ?

 

Kurt_Bremser
Super User

Do NOT import into the WORK library. That resides in /tmp within the UE VM and is therefore limited.

Instead define a library on a subdirectory of the shared folder you set up when installing UE. That is in the host computer's filesystem and therefore limited only by your available disk storage.

Be aware that your data may still be too large to do anything useful with it, as utility files during processing will exceed the temporary workspace.

What are the attributes of your 34 variables (type, length)?

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 3 replies
  • 1064 views
  • 1 like
  • 4 in conversation