Hi all,
I'm new to SAS and I keep getting the error ' NOTE: Library DATA does not exist'. I am using cloud SAS Studio from SAS OnDemand for Academics on MacOs Mojave version 10.14.6.
My code looks like:
libname data 'C:\Users\c.rosa\OneDrive\Desktop\SAS\data';
data data.balance;
set sashelp.class;
id_client=_n_;
il=int(ranuni(1)*15)+2;
date=intnx('month',16000+int(ranuni(1)*600),0,'end');
bal=ranuni(1)*1000;
do i=1 to il;
id_account=id_client*1000+i;
date=intnx('month',date,1,'end');
bal=bal+ranuni(1)*500-ranuni(1)*500;
dpd=abs(int(rannor(1)*10));
output;
end;
format date yymmdd10.;
keep name sex id_client id_account date bal dpd;
run;
When I run it I get:
NOTE: Library DATA does not exist
I think there is a problem with a path that I cannot reselve.
If anyone can give me guidance or other suggestions that would be greatly appreciated.
Thank you!
Cezary