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

91 lines
6.7 KiB
HTML

<?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="How work gets processed" />
<meta name="abstract" content="When the iSeries server is started, a subsystem monitor job begins running. The subsystem monitor job controls the jobs within subsystems. It also starts and ends work, as well as manages the resources for work in the subsystem." />
<meta name="description" content="When the iSeries server is started, a subsystem monitor job begins running. The subsystem monitor job controls the jobs within subsystems. It also starts and ends work, as well as manages the resources for work in the subsystem." />
<meta name="DC.Relation" scheme="URI" content="rzakshowworkgetsdone.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakswhatswrk.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaksbfrwrkentsys.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakshowwrkgetsinsys.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakshowwrklvs.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="rzakshowwrkgetsproc" />
<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>How work gets processed</title>
</head>
<body id="rzakshowwrkgetsproc"><a name="rzakshowwrkgetsproc"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">How work gets processed</h1>
<div><p>When the iSeries™ server is started, a subsystem monitor job
begins running. The subsystem monitor job controls the jobs within subsystems.
It also starts and ends work, as well as manages the resources for work in
the subsystem. </p>
<p> Work (or jobs) enters a subsystem through work entries where it becomes
active and eligible to run. Work can only be completed when the subsystem
has allocated memory to run. Memory is allocated to the subsystem by a memory
pool.</p>
<div class="section"><h4 class="sectiontitle">How the subsystem description helps process work</h4><p>Like
a job, a subsystem has a description, called a subsystem description. The
subsystem description contains important information that tells how, where,
how much work can be active in a subsystem at one time, and which resources
it can use to perform the work.</p>
<dl><dt class="dlterm">Routing entry</dt>
<dd>A routing entry exists within the subsystem description and tells the
subsystem what program to run for the job, what memory pool to run the job
in, and which class object to use to run the job.</dd>
<dt class="dlterm">Class Object</dt>
<dd>The Class object defines the run priority, default wait time, time slice,
and other attributes. The run priority is important because it determines
when a job will get processor time in order to run. The run priority scale
goes from 0 to 99, with 0 being the highest priority. (Only system jobs are
given priority of 0 because they are the jobs that run the iSeries server.)</dd>
</dl>
<p>When a job enters the subsystem, the subsystem tries to
match the routing data with the compare value in the routing entry. If the
routing data and the compare value in a routing entry match, the routing entry
is assigned to the job. If a match is not made in any routing entry, the job
ends.</p>
<p>Another factor that affects when a job runs in the subsystem is
the number of jobs that are allowed to be active in the subsystem at one time
(also known as maximum active jobs in the subsystem). When the maximum number
of active jobs in a subsystem has been met, no more jobs can enter the subsystem
until existing active jobs complete running. Memory has to be allocated to
the subsystem for a job to run. Memory pool activity levels tell the iSeries server
how many threads can be active within a memory pool. Remember, an active job
contains at least one thread. When the memory pool activity level has been
reached, the job has to wait for another thread to give up its use of the
activity level. Thus, a job can be active in a subsystem and
not be running.</p>
<div class="note"><span class="notetitle">Note:</span> Do not confuse the subsystem maximum active jobs
with the memory pool activity level.</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakshowworkgetsdone.htm" title="Use this information to learn about what work is, what needs to be set up before work can begin, how work travels through the system, and what happens to work after it is done running.">How work gets done</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rzakswhatswrk.htm" title="On the iSeries server, work is always being done, whether you initiate it or the system initiates it. Any action done on the iSeries server has some type of work being performed to complete it.">What work is</a></div>
<div><a href="rzaksbfrwrkentsys.htm" title="All jobs, with the exception of system jobs, run within subsystems. For work to start in an active subsystem, memory pools and at least one source of work entry point need to be established. Job queues are an example of a source of work.">What happens before work enters the system</a></div>
<div><a href="rzakshowwrkgetsinsys.htm" title="Work entries identify the sources where jobs enter a subsystem to become available to run. Each type of job on the iSeries has different types of work entries that it uses.">How work enters the system</a></div>
<div><a href="rzakshowwrklvs.htm" title="The output queue works similarly to a job queue in that it schedules output to be printed. Both the printer output and the output queue carry attributes that are used to print the information.">How work leaves the system</a></div>
</div>
</div>
</body>
</html>