I have a SAS program, Save_Audit_History, I created several months ago in Viya SAS Studio (using the Develop SAS Code option in the Viya application menu).
I scheduled the code to execute on a schedule in the Jobs application in Environment Manager (Manage Environment in the Viya menu). I scheduled it by selecting the New option on the Scheduling tab and then selecting the job by browsing to it in the New Job window.
The job recently started getting errors due to CAS data limit. I added the code
options casdatalimit=500M;
to increase the limit.
When the scheduled job runs, it still fails. When I look at the log for the job, it does not contain my new code.
Do I need to create a new job every time I change the code for a program?
Thanks!
Jerry
Try wrapping the proc sql command in its casl sibling proc fedsq.
proc cas;
source MPG_toyota;
'your sql command'
endsource;
fedSQL.execDirect / query=MPG_toyota;
quit;
start from my example
proc cas;
source MPG_toyota;
create table public.sum22{options replace=true} as
select a.sales_res as feb_sales_res, b.sales_res, case when round(a.sales_res-b.sales_res,3)=0 then 1 else 0 end as flag
from RISKNOBA.REMA_FEB22_FMT_OUT a inner join RISKNOBA.REMA_DEC21_FMT_OUT b
on a.bastidor=b.bastidor ;
endsource;
fedSQL.execDirect / query=MPG_toyota;
quit;
the best practice to optimize the work.
😞
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.