SAS Studio

Write and run SAS programs in your web browser
BookmarkSubscribeRSS Feed
raghuvenkata
Fluorite | Level 6

Hi,

 

I have a few issues with uploading files in SAS studio. I am not using SAS University Edition.
Below is the error message.

 

An error occurred while files were being uploaded. Possible cause: The size of the uploaded files might be too large. The combined size cannot be greater than 10MB.

 

SAS_Studio.JPG

 

We have SAS running on windows 2012 server. Any suggestion would be much appreciated. 

10 REPLIES 10
34reqrwe
Quartz | Level 8

What are you trying to upload . how big is it ? 

raghuvenkata
Fluorite | Level 6

I am trying to upload a data set into SAS studio and it says the size of uploaded files cannot be greater than 10 MB. Almost all of my data files will be greater than 10MB. Is there a way to get around this?

CaseySmith
SAS Employee

Yes, there is a file upload size limit, however it is configurable.  By default it is 10MB, but there is a config option you can use to change it, which you can see in this snippet from the SAS Studio 3.8 doc:

 

webdms.maxUploadSize

Specifies the number of bytes allowed for file upload. The default value is 10485760 (10MB).

Note: Large files can take a long time to load. If you have a large amount of content to upload, divide your content into smaller files if possible.

 

And here is the doc for SAS Studio 5.1 and 4.4.

 

Casey


Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF

View now: on-demand content for SAS users

raghuvenkata
Fluorite | Level 6

thank you casey smith for the sas studio admin doc. I will look into it.

raghuvenkata
Fluorite | Level 6

casey, where can i found this property name location? I want to !SASRoot directory location too dont see a file.

CaseySmith
SAS Employee

Hi @raghuvenkata,

 

It depends on which version of SAS Studio, edition, and OS you are using.  This doc shows you the location of the config.properties file for SAS Studio 3.8:

https://go.documentation.sas.com/?docsetId=webeditorag&docsetTarget=n0ke09ir9n1sdfn19f9iwz8j8z60.htm...

 

Here are instructions for SAS Studio 4.x:

https://go.documentation.sas.com/?cdcId=calcdc&cdcVersion=3.4&docsetId=calconfig&docsetTarget=n03003...

 

And for SAS Studio 5.x...  You set SAS Studio 5.x properties in the same way as the other SAS Viya applications and services. For more information, see Configuration Properties: How to Configure Services.

 

Casey


Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF

View now: on-demand content for SAS users

raghuvenkata
Fluorite | Level 6

Casey, thank you very much for the doc, location of config properties file. We are using 3.71 version of SAS studio, and SAS running on windows 2012 server.

 

Raghu.

 

 

 

Tom
Super User Tom
Super User

Where are you placing the files?

Why not just upload them to the server using some other tool and then point your SAS code at the location.

 

Or better still just make sure your SAS server can see the files where they already are. 

 

For example if the files are on a Windows shared folder and your SAS code is running on a Windows server make sure that your account that is running SAS can see the files where they currently live.  So if the files are in a directory named foldername on share named sharename hosted by a server name server then your libname would look like this:

libname mydata '\\server\sharename\foldername';

If your server is running on Unix then mount the drive with the SAS dataset where the Unix server can see them.  So if \\server\sharename is mounted at /mountpoint/ then the libname will look like:

libname mydata '/mountpoint/foldername';
raghuvenkata
Fluorite | Level 6

I was trying to upload in a folder under ‘Server Files and Folders’.

raghuvenkata
Fluorite | Level 6

Than you tom for the suggestion.I’m able to access the data using libname statement to local workstation.

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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