- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Quick question. I run SAS on a separate computer off to the side. Wondering if there is a way to have SAS produce a sound after running a long set of instructions. Maybe some configurable tone, for a length of time.
So, SAS, after completing the code, will call out to me, "Hey, I'm now done with all that!"
Appreciate your thoughts and suggestions.
Nicholas Kormanik
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I'd just like to add that SAS can run command line programs/scripts. Through the command line, you can do virtually anything. I've used SAS to generate images from data using the open source command line tool Image Magic. You could probably even program SAS to play NetHack (I'll let you google that one).
Here is a link to play a sound from a batch file: http://www.computerhope.com/issues/ch001041.htm
All you need to do is find the commands in SAS to run the batch file. You don't need to search far: http://blogs.sas.com/content/sasdummy/2009/11/19/using-the-x-and-systask-commands-from-sas-enterpris...
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
If you are talking about base SAS take a look at: http://www2.sas.com/proceedings/sugi29/048-29.pdf
For EG, take a look at: 37197 - Generating a sound when a task finishes in SAS® Enterprise Guide®
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Another crazy idea would be for SAS to send me an email when the job is finished.
Would THAT be a possibility?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Email or text to your phone? You can find code that can be used for either in the powerpoint presentation I did at SGF a couple of years ago. Take a look at: http://www.torsas.ca/attachments/File/04032011/Enough_Really_Good_SAS_Tips_To_Fill_a_Book[1].ppt
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I'd just like to add that SAS can run command line programs/scripts. Through the command line, you can do virtually anything. I've used SAS to generate images from data using the open source command line tool Image Magic. You could probably even program SAS to play NetHack (I'll let you google that one).
Here is a link to play a sound from a batch file: http://www.computerhope.com/issues/ch001041.htm
All you need to do is find the commands in SAS to run the batch file. You don't need to search far: http://blogs.sas.com/content/sasdummy/2009/11/19/using-the-x-and-systask-commands-from-sas-enterpris...
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, folks. You are all incredibly helpful.