Help using Base SAS procedures

SAS University Edition data import limit from .XLSX file

Accepted Solution Solved
Reply
New Contributor
Posts: 3
Accepted Solution

SAS University Edition data import limit from .XLSX file

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?


Accepted Solutions
Solution
‎03-24-2017 02:44 PM
Super User
Posts: 7,854

Re: SAS University Edition data import limit from .XLSX file

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

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers

View solution in original post


All Replies
Super User
Posts: 11,343

Re: SAS University Edition data import limit from .XLSX file

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.

Trusted Advisor
Posts: 1,584

Re: SAS University Edition data import limit from .XLSX file

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 ?

 

Solution
‎03-24-2017 02:44 PM
Super User
Posts: 7,854

Re: SAS University Edition data import limit from .XLSX file

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

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 216 views
  • 1 like
  • 4 in conversation