Jobs system values: When a job reaches time-out
The When a job reaches time-out system value is also known as QINACTMSGQ. You can use this system value to specify the action the system takes when a job reaches the specified time-out interval.
|Location||From IBM® Navigator for i, select . Right-click on Jobs and click Properties, then select the Interactive Jobs tab.|
|Special authority||All object (*ALLOBJ) and security administrator (*SECADM).|
|Default value||End job.|
|Changes take effect||Immediately.|
(See Lock function of security-related system values for details.)
What can I do with this system value?
You can specify the action the system takes when an interactive job has been inactive for a specified interval of time. The interactive job can be ended or disconnected, or a message can be sent to the message queue you specify.
This system value has the following options:
- End job (*ENDJOB)
- The interactive job is ended, along with any secondary job and any group jobs associated with it. If there are many inactive jobs in a subsystem that are to be ended at once, the interactive response time of that subsystem may be slowed. To minimize this effect, the system changes several job attributes for each job to be ended. The job priority is lowered by 10, the time slice is set to 100 milliseconds, and the purge attribute is set to yes.
- Disconnect job (*DSCJOB)
- The interactive job is disconnected, as are any secondary or group jobs associated with it. If this option is used but the job cannot be disconnected, the End job option is used.
- Send a message
Message CPI1126 is sent to the specified message queue. If the specified message queue does not exist or is damaged, the messages are sent to the system operator message queue.
All messages in the message queue specified by this system value are cleared during a restart. If you assign a user's message queue to this system value, the user loses all messages in the user's message queue during each restart of the system.
The message queue must exist in the system disk pool (also known as auxiliary storage pool) or in a basic user disk pool.