Hi all,
I'm wondering if this is a training issue for a bug.
Whenever I schedule a SAS program to run, let's say everyday at 6 AM and it is stored in let's say /sas/usr/scheduled/daily.sas
If I need to make a change to daily.sas, i have noticed that if I do no schedule a new job and delete the old job, the old job will run the older version of daily.sas
Even when I am unable to see the old version, it is saved somewhere and being referenced by the job.
Is this in the way I am scheduling my jobs? Ideally, I'd like to schedule code to run and just update the sas program whenever needed without having to reschedule the job.
Kind of like how I did with base SAS awhile back where I just had windows task scheduler run the sas program from a location on my drive and I could just update the sas code referenced by the batch file whenever needed.
Thanks in advance for your input!
It sounds like the job you schedule needs to reference the file you want to update.
If Viya support %INCLUDE (or the equivalent) then create a program that includes the actual file with the real code. And then schedule that little program instead.
It sounds like the job you schedule needs to reference the file you want to update.
If Viya support %INCLUDE (or the equivalent) then create a program that includes the actual file with the real code. And then schedule that little program instead.
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.
Explore Now →