Help using Base SAS procedures

Produce a sound in SAS

Accepted Solution Solved
Reply
Regular Contributor
Posts: 223
Accepted Solution

Produce a sound in SAS

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
Solution
‎02-22-2013 05:13 PM
Contributor
Posts: 71

Re: Produce a sound in SAS

Posted in reply to NicholasKormanik

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...


View solution in original post


All Replies
PROC Star
Posts: 7,467

Re: Produce a sound in SAS

Posted in reply to NicholasKormanik
Regular Contributor
Posts: 223

Re: Produce a sound in SAS

Another crazy idea would be for SAS to send me an email when the job is finished.

Would THAT be a possibility?

PROC Star
Posts: 7,467

Re: Produce a sound in SAS

Posted in reply to NicholasKormanik

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

Solution
‎02-22-2013 05:13 PM
Contributor
Posts: 71

Re: Produce a sound in SAS

Posted in reply to NicholasKormanik

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...


Regular Contributor
Posts: 223

Re: Produce a sound in SAS

Thanks, folks.  You are all incredibly helpful.

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

Discussion stats
  • 5 replies
  • 907 views
  • 3 likes
  • 3 in conversation