- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi SAS EG community,
I've been primarily a SAS Windows user and am accustom to both "environment" and "batch submit" processing. Now I am also working in EG and I could use some pointers toward documentation, references, etc. about submitting code for batch processing in EG, if it is even possible 🙂.
Thank you!
Kevin
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
The easiest way is to simply schedule an Enterprise Guide project. Here is a SAS note that explains further:
56648 - Tips for scheduling a SAS® Enterprise Guide® project
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thank you! Quite a bit more than right click. Maybe not so bad once the framework is setup.
-K
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
The "schedule project" feature actually does two things: generates an automation script, and allows you to add to Windows Scheduler. However, for "batch" you don't need to schedule (unless you want to), and you can just craft your own scripts. See this article:
Doing More with SAS Enterprise Guide Automation
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Are you using Enterprise Guide to connect to SAS running on your PC?
Or some remote server?
Either way you could use EG as an editor and save the program file to an actual text file and run it using SAS directly If you only have SAS running remotely you will need to save it to that machine and issue the command to run it on that machine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Sadly, EG never got the batch submit button I was hoping for:
https://communities.sas.com/t5/SASware-Ballot-Ideas/Add-BATCH-SUBMIT-button-to-EG/idi-p/219640
If you're interested in Studio, I think it does have more batch submit-like features built in.
Next up: SAS Trivia Quiz hosted by SAS on Wednesday May 21.
Register now at https://www.basug.org/events.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
>Are you using Enterprise Guide to connect to SAS running on your PC?
>Or some remote server?
I am a non-admin user on a shared Windows server. I use EG by RDPing to the Windows server. In EG, I am connected to one server in my "Servers" tree. I'm not clear whether the SAS server runs on the same Windows server or another box.
>If you're interested in Studio, I think it does have more batch submit-like features built in.
Yes, I was hoping for something like Windows or Studio ease of running background SAS programs.
I'll check out the ref. Nice BASUG presentation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
@kschott - Also if you are interested in a more robust server-based scheduling and batch job running tool, then consider installing SAS Management Console on your PC. This gives you a GUI to schedule and run on demand SAS batch jobs. EG projects have to be exported first to SAS programs though. Your SAS administrator should be able to help with getting you set up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thank you all for your help. This really is a rabbit hole I was not prepared to go down. I may come back to it, but for the moment, it is just too much. I was hoping for the ease plopping a program in the background and going about my business working on other programs. Maybe plugins and such will get me there. When something seemingly this straightforward is complicated to achieve, it makes me think I'm not understanding/using the tool quite right. I'll take another run at this when I have more experience with EG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
OK, if going to server-based scheduling is beyond your requirements, then @ChrisHemedinger 's link to doing more with EG is a good option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hello @kschott
One needs to be an admin user / member of admin group to be able to schedule the job either on the PC/Laptop/Server.
In most corporate environment SAS programmers do not have admin access.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thank you -- that's very likely my situation. We'll see!
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
@kschott wrote:
Thank you all for your help. This really is a rabbit hole I was not prepared to go down. I may come back to it, but for the moment, it is just too much. I was hoping for the ease plopping a program in the background and going about my business working on other programs. Maybe plugins and such will get me there. When something seemingly this straightforward is complicated to achieve, it makes me think I'm not understanding/using the tool quite right. I'll take another run at this when I have more experience with EG.
You can always submit a project in one EG session and work on another project in another EG session. By default, the SAS BI server does not place a limit on workspace server sessions for users. But be diligent in the number of parallel sessions you create, or you'll sooner or later get into trouble with your SAS admin(s).
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Kurt - the thing I don't know (yet -- easy enough to experiment though) is how separate each EG instance is. My primary concern is that I don't want to share the work library, and background jobs are an easy way to the programs separate. I bet they are separate. I'll get there as I use/explore EG more!
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content