04-08-2015 12:30 PM
Request you to kindly provide steps on how to schedule a .sas file and .egp file in SAS Enterprise guide 7.1.
I have gone through Chris's paper on scheduling but unfortunately I am unable to connect to steps with 7.1 version.
Is there any pre-requisite for the same.
Please help me.
Apologies if this was a basic question, but I am new to SAS EG.
04-08-2015 01:48 PM
To schedule an EG project, click Schedule Project from the File menu in EG. That will prompt you to save your project if you haven't already, and will then open the Windows Task Scheduler dialog where you can configure the schedule settings...
The Triggers tab is where you specify the time/date and recurrence (or even another event to trigger the task). If you look at the Actions tab, you'll notice that the scheduled task is running a .vbs file created by EG. The .vbs file opens and runs the EG project via automation.
Note: This EG project scheduling is carried out by the Windows Task Scheduler built into Windows. In other words, it is client-side scheduling. Another common approach is to develop .sas files in EG, save them in a location accessible to a server, then use server-side scheduling utilities (ex. LSF, etc.) to run the .sas programs. In the former approach, the EG project is being scheduled/run (exactly as it would if you manually opened and ran the EG project in EG), whereas in the latter, .sas programs are being scheduled/run (independent of the EG project).
If you having problems scheduling and EG project, first make sure you have permissions to create a scheduled task on your Windows machine -- start the Windows Task Scheduler and create any scheduled task (ex. to open notepad). (You can access the Windows Task Scheduler via Control Panel->Administrative Tools->Task Scheduler.)
10-26-2016 12:09 PM - edited 10-26-2016 12:10 PM
This works so well! I did not need a bat file or anything....Glad we upgraded to 7.1.
04-09-2015 08:41 AM
There is also some information about scheduling projects and process flows with the Windows Task Scheduler in the EG online help, if you're interested. Click Help > SAS Enterprise Guide Help and search for "scheduling projects" on the Search tab.
04-09-2015 09:31 AM
If you already have a scheduling system in your organization, I strongly suggest that you use that. Other IT people will not be happy if you set up an insular "solution".