Hello,
When I write this
data _null_;
call sound(659,200);
call sound(587,200);
run;
Sas does not make a sound ?
I want to make a sound for
- the end of the execution of sas program
- sound for error or warning.
Your program is correct, but the sound is made on the SAS server. You won't hear it if you are running SAS in a client-server mode such as through Enterprise Guide (EG).
So if I send a program like that to the server, wherever the server is, it's making some sort of noise?
Lol, it's possible, but highly unlikely, since the server is unlikely to have any hardware to actually produce the sound with.
Damn, there goes my plans for fun. Though the servers are probably in a room where people don't go on a regular basis.
At least my IBM pSeries can and does make beeps. Would only be useful for guiding service technicians to the correct box.
I have used this code on SEG on server
Thank you.
Is there any solution ?
No. This would need an extension of the EG's capabilities, so you might add an "idea" here in the EG sub-community.
BTW it should not really be hard to do, as EG already reacts to the completion of a task and determines (from the log) if the run was successful.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.