We have AF/Operator.... other products may have similar capabilities... if 
I were trying to do this, I would:

1. Write a trap which runs every N minutes, and which varies the consoles 
in question offline,  because as near as I can tell you can't issue the 
LOGOFF command for a console other than the one you're at. You could vary 
it back as a console as long as LOGON(AUTO) is not in use, or if the ID 
used for LOGON(AUTO) only has display authority.

2. Write a 'command trap' to match any command (i.e. "*") and which calls 
a Rexx Exec (i.e. "Extended Actions").  That Exec would modify the other 
trap, so that the "fire time" was N minutes from "now". 

The net effect being that if any command is issued within the timfreame of 
N minutes, the timeout is reset.

You can make the traps specific to each console, and of course watch out 
for the master console, but it seems to me this could work, although this 
is the end of a long day and I may be overlooking something.


Tim Hare
Senior Systems Programmer
Florida Department of Transportation
(850) 414-4209

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to