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

72 lines
6.5 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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="Prestart jobs for servers" />
<meta name="abstract" content="In the prestart job model there is one primary listening job, generally called the daemon job or listener job, and multiple server jobs that process the client requests. The daemon job listens on the port for connection requests. When a new connection is received, the daemon does some general work, then gives the socket descriptor to a waiting prestart server job." />
<meta name="description" content="In the prestart job model there is one primary listening job, generally called the daemon job or listener job, and multiple server jobs that process the client requests. The daemon job listens on the port for connection requests. When a new connection is received, the daemon does some general work, then gives the socket descriptor to a waiting prestart server job." />
<meta name="DC.Relation" scheme="URI" content="rzaksaboutworkentries.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaksaboutautostartentry.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaksaboutcommentry.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaksaboutjobqentries.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaksprestartentryx.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaksaboutwrkstationentry.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaksfindperforminfo.htm" />
<meta name="DC.Relation" scheme="URI" content="../experience/work2abstract.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="rzakspjeforservers" />
<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>Prestart jobs for servers</title>
</head>
<body id="rzakspjeforservers"><a name="rzakspjeforservers"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Prestart jobs for servers</h1>
<div><p>In the prestart job model there is one primary listening job, generally
called the daemon job or listener job, and multiple server jobs that process
the client requests. The daemon job listens on the port for connection requests.
When a new connection is received, the daemon does some general work, then
gives the socket descriptor to a waiting prestart server job. </p>
<p>Prestart jobs can be reused. When the job has completed the work for one
client, the environment is reset and the job is made available to handle a
request from a different client. </p>
<p>For server jobs that run user code (for example, the remote command server),
the job typically is not reused. This is because the user code might
have changed something in the job and there is no sure way to reset the environment
for a new client.  If your server does reuse the job, the Change 
Job (QWTCHGJB) API can be used to change the job's attribute back to a known
state after the client's request has completed.  </p>
<p>Servers that use the prestart job model include the host servers, SMTP
server, PPP servers, DDM/DRDA Server, the SQL Server, and others.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaksaboutworkentries.htm" title="Work entries identify the sources where jobs can enter a subsystem. Specific types of work entries are used for different types of jobs. Work entries are part of the subsystem description.">Work entries</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rzaksaboutautostartentry.htm" title="Autostart job entries identify the autostart jobs to start as soon as the subsystem starts. When a subsystem starts, the system allocates several items and starts autostart and prestart jobs before it is ready for work.">Autostart job entries</a></div>
<div><a href="rzaksaboutcommentry.htm" title="The communications work entry identifies to the subsystem the sources for the communications job it will process. The job processing begins when the subsystem receives a communications program start request from a remote system and an appropriate routing entry is found for the request.">Communications entries</a></div>
<div><a href="rzaksaboutjobqentries.htm" title="Job queue entries in a subsystem description specify from which job queues a subsystem is to receive jobs. When the subsystem is started, the subsystem tries to allocate each job queue defined in the subsystem job queue entries.">Job queue entries</a></div>
<div><a href="rzaksprestartentryx.htm" title="You define the prestart job by using a prestart job entry. A prestart job entry does not affect the device allocation or program start request assignment.">Prestart job entries</a></div>
<div><a href="rzaksaboutwrkstationentry.htm" title="An interactive job is a job that starts when a user signs on to a display station and ends when the user signs off. For the job to run, the subsystem searches for the job description, which may be specified in the workstation entry or the user profile.">Workstation entries</a></div>
<div><a href="rzaksfindperforminfo.htm" title="This topic provides steps to help you answer the question, &#34;How do I find the real user of a prestart job and determine the resources used by that prestart job?&#34;">Prestart job investigation</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="../experience/work2abstract.htm">Tuning prestart job entries</a></div>
</div>
</div>
</body>
</html>