ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaks_5.4.0.1/rzaksinactivejobs.htm

94 lines
6.4 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="concept" />
<meta name="DC.Title" content="Control inactive jobs and workstations" />
<meta name="abstract" content="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." />
<meta name="description" content="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." />
<meta name="DC.Relation" scheme="URI" content="rzaksmanageintjobs.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2004-2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2004-2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzaksinactivejobs" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Control inactive jobs and workstations</title>
</head>
<body id="rzaksinactivejobs"><a name="rzaksinactivejobs"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Control inactive jobs and workstations</h1>
<div><p>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.</p>
<div class="section"><h4 class="sectiontitle">How the system determines a workstation is inactive</h4><p>The
subsystem determines that a workstation is inactive if all of the following
are true:</p>
<ul><li>The job has not processed any additional transactions during the timer
interval.<div class="note"><span class="notetitle">Note:</span> A transaction is defined as any operator interaction, like
scrolling, pressing enter, pressing function keys, and so on. Typing at the
workstation without pressing enter is not considered a transaction. If a job
at the workstation does not meet the inactive criteria, the job is considered
active.</div>
</li>
<li>The job status is display wait.</li>
<li>The job is not disconnected.</li>
<li>The job status has not changed.</li>
<li>The subsystem in which the job is running is not in the restricted state.</li>
</ul>
</div>
<div class="section"><h4 class="sectiontitle">Handling inactive jobs</h4><div class="p">To handle an inactive job
found on the system, use the When a job reaches time-out (QINACTMSGQ) system
value. To determine the processing options choose from the following:<ul><li>Set the QINACTMSGQ system value to a message queue name. <p>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.</p>
<p>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 <span class="cmdname">ENDJOB</span> command
against one or both secondary jobs, or the <span class="cmdname">DSCJOB</span> command
against the active job at the display.</p>
</li>
<li>Set the QINACTMSGQ system value to *DSCJOB. <p>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 <span class="parmname">MSGQ</span> 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.</p>
<p>A
message continues to be sent for each interval that the job is inactive.</p>
</li>
<li>Set the system value QINACTMSGQ to *ENDJOB.<div class="p">If you specify *ENDJOB for
the QINACTMSGQ system value, the system ends all of the jobs at the workstation.
The system sends a message that indicates that all jobs at the workstation
have ended to QSYSOPR or the configured message queue.<div class="note"><span class="notetitle">Note:</span> Source pass-through
jobs, client VTM (virtual terminal manager) jobs, and 3270 device emulation
jobs are excluded from the time-out because they always appear inactive. System/36™ environment
MRT jobs are also excluded since they appear as batch jobs.</div>
</div>
</li>
</ul>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaksmanageintjobs.htm" title="An interactive job starts when you sign on to the system or, transfer to a secondary or group job. The interactive job ends when you sign off. Working from a display station, you interact with the system by issuing commands, using function keys, and running programs and applications. The following information discusses the various methods for managing and controlling interactive jobs.">Manage interactive jobs</a></div>
</div>
</div>
</body>
</html>