# python code heret
Hi All,
I have recently started to use the SAS Jupyter notebook in my university. It works generally well, but I have a problem if I want to do some downloads from rsubmit sessions.
A remote session like this works okay:
%let wrds = wrds.wharton.upenn.edu 4016;options comamid = TCP remote=WRDS;
signon username=.....;
rsubmit;
data c;
set crsp.dsf;
if _n_ = 2;
run;
endrsubmit;
and I get a log with no problems:
NOTE: There were 90591326 observations read from the data set CRSP.DSF.
NOTE: The data set WORK.C has 1 observations and 20 variables.
NOTE: DATA statement used (Total process time):
real time 4.65 seconds
cpu time 4.64 seconds
NOTE: Remote submit to WRDS complete.
But if I want to download the file, it seems to be a problem there. The * (see picture below) never goes away, which I think it might mean that it is still working? and it gives me no log at all.
When I check the folders, there is a file created as file c, but it is empty. Is there something that I shoud do to solve the problem? does it have anything to do with Jupyter notebook, or what?
Another point: I am not sure if it matters or not, but I am running the code on a server on my university computers, not my local computer.
As always,
Thanks a lot!
Add STATUS=N to the PROC DOWNLOAD statement. Perhaps it is trying to show the progress of the download.
Also arre you sure that you have write access to the target library? What happens when you write to WORK library instead?
I do not see anywhere in your code where you ever attempted to download anything.
You connected to a remote SAS session and ran a data step to create a WORK dataset on the remote session.
What do you want to "download"?
Tom, Please see the figure that is attached at the bottom. The first code is just to make sure that connection is working before the download,
So what does the SAS log say?
Post the log as text, not photographs.
Add STATUS=N to the PROC DOWNLOAD statement. Perhaps it is trying to show the progress of the download.
Also arre you sure that you have write access to the target library? What happens when you write to WORK library instead?
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.
Ready to level-up your skills? Choose your own adventure.