HP 3000 Manuals

Timing Users Out of HP Desk [ HP DeskManager Administration ] MPE/iX 5.0 Documentation


HP DeskManager Administration

Timing Users Out of HP Desk 

Sometimes, users sign on to HP Desk and then leave it idle for long
periods of time rather than signing off.  This can cause problems if
there is competition for ports to the HP 3000.

Many sites get round this problem by installing a data switch which
automatically logs users off MPE if no data is passing down the line from
their terminal to the HP 3000.  However, when users are in screen edit
mode within HP Desk, data only passes to the HP 3000 when they press
Enter.  The situation could arise where a person is logged off by the
data switch when in screen edit mode.  Any changes they had made since
last pressing Enter will be lost.

You should make sure that problems do not arise on your system by getting
users signed off HP Desk automatically if their line to the HP 3000
remains idle for longer than an appropriate length of time.  HP Desk can
be set up to do this.


NOTE HP Desk will not sign off users who are using any type of editor other than screen edit (for example, HP Slate, TDP etc). If the data switch signs users off when they are using one of these editors, data may be lost.
To set a timeout value in HP Desk, set the JCW MAXNEWMAILSCAN equal to the number of seconds you want HP Desk to remain idle before the user is automatically signed off. This JCW can be set in either of 2 ways: * in the Supervisor job stream file (SUPRVISR.MAILJOB.HPOFFICE) and this will affect all users on the system; * in the HP Desk UDC, which will affect only users who use that particular UDC. If the user is in screen edit, only a MAXNEWMAILSCAN JCW set in the Supervisor job stream file will have effect, in which case the text being edited will be saved. Once the time set by the JCW MAXNEWMAILSCAN is reached, the user is timed out on the next occasion new mail is looked for. This may be immediate or after a period of time, depending on the setting of the JCW MAILSCANTIME. The JCW MAILSCANTIME is set in seconds in the HP Desk UDC, and has a default value of 10 minutes (600 seconds). For timing out users these two JCWs work together, as may be seen in the following examples: 1. SETJCW MAILSCANTIME=120 HP Desk UDC SETJCW MAXNEWMAILSCAN=60 HP Desk UDC HP Desk will time the user out after 120 seconds. The MAXNEWMAILSCAN timeout point is reached after 60 seconds, so the user is timed out when mail is next looked for; that is, when the MAILSCAN period expires. The user will not be timed out of a screen edit in this case. 2. SETJCW MAILSCANTIME=120 HP Desk UDC SETJCW MAXNEWMAILSCAN=60 Supervisor job stream file In this instance, a user in screen edit will also be timed out. For other users the timeout is as above, but a screen edit user is timed out after 60 seconds, the MAXNEWMAILSCAN timeout period (ignoring the MAILSCANTIME delay). If you have another mechanism for logging people off MPE, make sure users will be timed out from HP Desk before this happens. If MAXNEWMAILSCAN is set to 0, this is the same as it not being set at all, in other words HP Desk will never time users out. HP Desk will only time out users who are idle at either: * The main HP Desk prompt. * A screen edit screen (what is on the screen is saved). * The Your DESK is now locked prompt. When a user is timed out of HP Desk, the JCW MAILTIMEDOUT is set to 1. You can force a user who has been timed out of HP Desk off MPE as well by including the following statements in the HP Desk UDC: SETJCW MAILTIMEDOUT=0 RUN HPMAIL.HPMAIL.SYS; LIB=G; PARM=!TRAY; INFO="!USER" IF MAILTIMEDOUT=1 THEN BYE ENDIF * SETJCW MAILTIMEDOUT=0 clears the user timeout flag. * IF MAILTIMEDOUT=1 THEN BYE checks the timeout flag.


MPE/iX 5.0 Documentation