alarming sound

TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...
User avatar
Pedro
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Skillset: ISPF
Referer: google
Location: Silicon Valley

alarming sound

Postby Pedro » Fri Sep 26, 2014 9:32 pm

Sometimes I am easily amused. I hope you are too:

You have to start the ISPF workstation agent first.

Code: Select all

/* rexx */                                       
ip    = 'pedro.abc.com'                     
title = 'PEDRO'                                 
Address ISPEXEC     
"WSCON ip(ip) title(title) codepage(1140) ",     
         "charset(0695) noguidsp panel(onerror)"
wsname = "C:/Windows/Media/Ringout.wav"         
"SELECT WSCMD("wsname") MODELESS MIN INVIS"     
"WSDISCON"                                       

This example launches the media player and plays the wave file. The file name can be other types. For example, if you specify the name of an html file, it will launch your browser to display that page. The file has to exist on your workstation.
Pedro Vera