Hi All,
I am running one SQl query. The data is containing only ~90k observations. However, the code keeps on running without going to the next step. Can anybody suggest way to speed up the code. Below attached is the query which I am running:
proc sql;
create table nr&otfile as
select a.*,b.bucket as bucket_tmp,b.cur_bal as cur_bal_tmp,
b.tot_prin as tot_prin_tmp,b.ac_no as ac_tmp
from ajmb2.nr&otfile a left join ncir&otfile b
on a.ac_no = b.ac_no;
quit;
How many records in each table? Are both stored in the same location, I notice ones in a work library and one is in a ajmb2 library, is the second a server of some kind?
Also are you sure your macro variables are assigned?
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.