Hello SAS community,
I'm having some trouble with the interactive query of a table from a DB (i.e., click 'Run') and the LASR table scheduler (i.e., click the clock symbol and set a nightly query for new records).
When I view my data prep setup within VA Data Builder, I've set the 'Where' clause to include all desired records after a given date (1st May). Running this with the interactive query produces the correct result:
77 RECORDS.trn_dt >= '01May2017'd
The following day howerver, the table comes back missing the current month (July). Looking at the Batch Logs, I see that the SAS code on the scheduler reflects an older version of my Data Prep file, where I only wanted 1st May to 30th June:
77 RECORDS.trn_dt Between '01May2017'd AND '30Jun2017'd
How do I ensure that the scheduler is using the current version of my files, and how can I manage the scheduler directly?
(SAS 9.4 using web browser interface SAS VA)
Thanks!
Did you change the filter after you created the schedule? Because existing schedules do not pick up changes made after they are created. You must reschedule based on the current state of the query.
-------------------------------------------------------------------------
Four tips to remember when you contact SAS Technical Support
Tricks for SAS Visual Analytics Report Builders
SAS Visual Analytics Learning Center
Did you change the filter after you created the schedule? Because existing schedules do not pick up changes made after they are created. You must reschedule based on the current state of the query.
-------------------------------------------------------------------------
Four tips to remember when you contact SAS Technical Support
Tricks for SAS Visual Analytics Report Builders
SAS Visual Analytics Learning Center
That did it! I was under the assumption that the scheduler would run the most recent version of the file, but re-scheduling the query fixed the issue. Thanks!
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.