I know I'm catching up with an old thread, but I think this approach is 
REAL SCARY.  If I were a user with anything important on a temp disk and I 
lost it because you forced a CP LOGOFF on me, I would be very upset.   At 
the very least, execute a logoff exec that will check for temp disks and 
do a disconnect instead if there are any. 
--Roger 




Rob van der Heij <[email protected]> 
Sent by: The IBM z/VM Operating System <[email protected]>
11/19/2008 05:48 AM
Please respond to
The IBM z/VM Operating System <[email protected]>


To
[email protected]
cc

Subject
Re: Rexx for auto logoff






Or something to let a REXX program ask for user input and time-out
after 10 minutes?

address command ,
'PIPE (end \) cons asynch | i: faninany | take | var resp',
    '\ literal +600 | delay | spec ,timeout, | i:'

if resp = 'timeout' then 'CP LOGOFF'

-Rob

Reply via email to