Hi everyone, I am learning to using SAS this week. Here is the problem I was stuck for a long time.
There is no log and result after I run the code in sas online studio. I have entered the username and password.
%let wrds=wrds.wharton.upenn.edu 4016;
options comamid=TCP remote=WRDS;
signon username=*** password="***";
rsubmit;
libname comp '/wrds/comp/sasdata/nam';
libname compc '/wrds/comp/sasdata/nam/company';
libname crsp '/wrds/crsp/sasdata/a_stock';
endrsubmit;
rsubmit;
proc sql; create table sas_try as select distinct gvkey, datadate, cogs, csho, ni, ppet, prcc_f
from comp.funda
where year(datadate)>=1986
order by gvkey, datadate;
quit;
proc print data=sas_try (obs=100);
run;
endrsubmit;
Hope someone can help me to solve it. Thank you so much!