You can control the amount of time the workstation can remain inactive before the subsystem sends a message (called time-out) by specifying a time interval in the Time-out interval for inactive jobs (QINACTITV) system value. Controlling inactive jobs provides security so that users do not leave signed on displays inactive.
The subsystem determines that a workstation is inactive if all of the following are true:
If you specify a message queue name for the QINACTMSGQ system value, a user or program can monitor the message queue and take whatever action is needed, such as ending a job.
If a workstation with a secondary job pair is inactive, the system sends two messages (one of each of the secondary job pairs) to the message queue. The user or program can then use either the ENDJOB command against one or both secondary jobs, or the DSCJOB command against the active job at the display.
If you specify *DSCJOB for the QINACTMSGQ system value, the system disconnects all jobs at the workstation. The system sends a message that indicates that all jobs at the workstation have disconnected from QSYSOPR or the configured message queue. (A configured message queue is the message queue specified in the MSGQ parameter of the display device description. By default it is QSYS or QSYSOPR.) If the interactive job does not support disconnecting the job (for example, TELNET sessions that use QPADEVxxxx device descriptions), the job ends instead.
A message continues to be sent for each interval that the job is inactive.