alarming sound



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

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.
/* 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
User avatar
Pedro
 
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Return to TSO & ISPF