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.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.