- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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).
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
So if I send a program like that to the server, wherever the server is, it's making some sort of noise?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Lol, it's possible, but highly unlikely, since the server is unlikely to have any hardware to actually produce the sound with.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Damn, there goes my plans for fun. Though the servers are probably in a room where people don't go on a regular basis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
At least my IBM pSeries can and does make beeps. Would only be useful for guiding service technicians to the correct box.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I have used this code on SEG on server
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thank you.
Is there any solution ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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.