BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
NKormanik
Barite | Level 11

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

1 ACCEPTED SOLUTION

Accepted Solutions
jaredp
Quartz | Level 8

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

5 REPLIES 5
NKormanik
Barite | Level 11

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

Would THAT be a possibility?

art297
Opal | Level 21

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

jaredp
Quartz | Level 8

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


NKormanik
Barite | Level 11

Thanks, folks.  You are all incredibly helpful.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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