Write and run SAS programs in your web browser

Automate query

New Contributor
Posts: 2

Automate query

Hi, I've done several querys in SAS Studio, saved as SAS programs. Is there any way to run automatically every week?

On the other hand, I have a report that uses the tables that are generated with those querys, what should I do so that every time the querys are executed and the tables are updated, the report also updates automatically?

Thank you in advance!

Super User
Posts: 8,361

Re: Automate query

Anything you do in SAS ends up being SAS code run by the SAS system. Convert that code to .sas files that can be run by SAS in batch mode, and then have these run from a scheduler.

The details depend very much on your setup. Do you have a single machine (desktop only) SAS installation, or do you use a client/server setup? If client/server, which operating system does the server run on, and which scheduling software does your organisation use?

Maxims of Maximally Efficient SAS Programmers
New Contributor
Posts: 2

Re: Automate query

Posted in reply to KurtBremser

Thank you very much Kurt.

Finally I have done the querys in Visual Analityc (with prepare data) and I have used its scheduler tool in order to re-execute the querys every week.



Ask a Question
Discussion stats
  • 2 replies
  • 2 in conversation