ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzalu_5.4.0.1/rzaluconnpsaccess.htm

123 lines
6.2 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 xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="dc.language" scheme="rfc1766" 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. -->
<meta name="dc.date" scheme="iso8601" content="2005-09-06" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<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))' />
<title>How the network print server is accessed</title>
<link rel="stylesheet" type="text/css" href="ibmidwb.css" />
<link rel="stylesheet" type="text/css" href="ic.css" />
</head>
<body>
<a id="Top_Of_Page" name="Top_Of_Page"></a><!-- Java sync-link -->
<script language = "Javascript" src = "../rzahg/synch.js" type="text/javascript"></script>
<a name="rzaluconnpsaccess"></a>
<h4 id="rzaluconnpsaccess">How the network print server is accessed</h4>
<p>Before a client can communicate with the network print server, a communications
session must be established. A communications session is a logical connection
between two systems through which a client program on a local system can communicate
with a server program on a remote system.</p>
<p>After a communications session has been established, the client can start
the network print server by sending a special record, called a program start
request (PSR), to the iSeries server. The communications session you use can
utilize different protocols. Refer to the appropriate documentation for that
communications type for information on using program start requests (PSRs).</p>
<p>After the network print server program has been started using a PSR, a
communications transaction has been started. A communications transaction
is a logical connection between two programs on a communications session.
After this communications transaction starts, data can be exchanged between
the client and the network print server.</p>
<p><span class="bold">Prestart jobs and the network print server</span></p>
<p>Prestart jobs provide increased performance between a program start request
(PSR) initiated by a client and the network print server. Prestart jobs are
defined within a subsystem. Prestart jobs become active when that subsystem
is started or they can be controlled with the Start Prestart Job (STRPJ) and
End Prestart Job (ENDPJ) commands.</p>
<p>The program name contained in the PSR from the client must be defined in
the prestart job entry. This is how the PSR attaches itself to a prestart
job and therefore achieves better performance.</p>
<p>The network print server has prestart jobs defined in the QBASE and QCMN
subsystems. The number of prestart jobs that automatically start to support
the network print server is small and thus saves system resources.</p>
<p><span class="bold">Monitoring prestart jobs for the network print server</span></p>
<p>Monitoring prestart jobs for the network print server in the QBASE or QCMN
subsystem can be done using the Display Active Prestart Jobs (DSPACTPJ) command.
For the network print server, you need to know the subsystem your prestart
jobs are in (QBASE or QCMN) and the program for which the prestart jobs are
started (QNPSERVR).</p>
<p>This command provides the following information: </p>
<ul>
<li>Prestart jobs:
<ul>
<li>Current number</li>
<li>Average number</li>
<li>Peak number</li></ul></li>
<li>Prestart jobs in use:
<ul>
<li>Current number</li>
<li>Average number</li>
<li>Peak number</li></ul></li>
<li>Program start requests:
<ul>
<li>Current number waiting</li>
<li>Average number waiting</li>
<li>Peak number waiting</li>
<li>Average wait time</li>
<li>Number accepted</li>
<li>Number rejected
<a name="wq66"></a>
<div class="notetitle" id="wq66">Note:</div>
<div class="notebody">The network print server never rejects
a PSR. All PSRs are handled, or they are queued and use the next available
prestart job.</div></li></ul></li></ul>
<p><span class="bold">Changing prestart job entries</span></p>
<p>The information presented for an active prestart job can be refreshed by
pressing the F13 key while on the DSPACTPJ display. Of particular interest
is the information about PSRs. This information can indicate to you whether
or not you need to change the available number of prestart jobs. If you have
information indicating PSRs are waiting for an available prestart job, you
can change prestart jobs using the Change Prestart Job Entry (CHGPJE) command.</p>
<p>Following is an example of a prestart job entry in the QBASE subsystem
for the network print server. </p>
<pre class="xmp">SBSD(QSYS/QBASE) +
PGM(QSYS/QNPSERVR) +
USER(QUSER) +
STRJOBS(*YES) +
INLJOBS(1) +
THRESHOLD(1) +
ADLJOBS(3) +
MAXJOBS(*NOMAX) +
JOB(*PGM) +
JOBD(*USRPRF) +
MAXUSE(200) +
WAIT(*YES) +
POOLID(1) +
CLS(QGPL/QCASERVR *CALC *NONE *CALC)</pre>
<p>If the PSRs were not being acted on fast enough, you could: </p>
<ul>
<li>Increase the Initial number of jobs (INLJOBS) parameter value.</li>
<li>Increase the Additional number of jobs (ADLJOBS) parameter value.</li></ul>
<p>When the Threshold (THRESHOLD) parameter value is reached, the additional
number of jobs are prestarted.</p>
<p>The key is to match the number of prestart jobs to the number of PSRs that
are being sent. Keeping this association as close to one-to-one ratio ensures
peak system performance.</p>
<p>Additional prestart jobs can be started if the number of program start
requests to the network print server exceeds the number of available prestart
jobs.</p>
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
</body>
</html>