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