Hi, I am new to this software. I am trying to run a code but its giving me error that "Libref ALB is not assigned". If anyone can help me in this. How do I assign the Libref? I am trying to run the above code
I am attaching the screenshot of error.
![sas sc.png sas sc.png](https://communities.sas.com/t5/image/serverpage/image-id/78015iB5A0A0C6078A0F83/image-size/large?v=v2&px=999)
Following is the code I'm trying to run.
data ALB.N; set sample_farwa (keep=_ric date_time Ex_Cntrb_ID price volume bid_price ask_price Exch_Time where=(_ric="ALB.N"));
retain ap;
retain bp;
if Date_Time~=lag(Date_Time) then do; bp=.; ap=.; end;
if bid_price=. then bid_price=bp; else bp=bid_price;
if ask_price=. then ask_price=ap; else ap=ask_price;
z=100*mod(price,0.01); run;