Cannot call macro – ERROR 180-322: Statement is not valid or it is used out of proper order
%macro g;
proc sql outobs=1;
create table working_day as select max(calendar_date9) format date9. as WK_day, (select cur_date from cur_date) as current_date format date9.
from rank_job_calendar_list_s1 where (calendar_date9 <= (select cur_date from cur_date)) and rundate_ind = ‘Y’;
quit;