185 lines
8.5 KiB
HTML
185 lines
8.5 KiB
HTML
|
|
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<title>Start Host Server (STRHOSTSVR)</title>
|
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
|
</head>
|
|
<body bgcolor="white">
|
|
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<a name="STRHOSTSVR.Top_Of_Page"></a>
|
|
<h2>Start Host Server (STRHOSTSVR)</h2>
|
|
<table width="100%">
|
|
<tr>
|
|
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
|
|
<b>Threadsafe: </b>No
|
|
</td>
|
|
<td valign="top" align="right">
|
|
<a href="#STRHOSTSVR.PARAMETERS.TABLE">Parameters</a><br>
|
|
<a href="#STRHOSTSVR.COMMAND.EXAMPLES">Examples</a><br>
|
|
<a href="#STRHOSTSVR.ERROR.MESSAGES">Error messages</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div> <a name="STRHOSTSVR"></a>
|
|
<p>The Start Host Server (STRHOSTSVR) command is used to start the optimized host server daemons and the server mapper daemon.
|
|
</p>
|
|
<p>There is one server daemon for each of the host server types. In addition, there is one server mapper daemon for all host servers which provides support for client applications to obtain a particular host server daemon's port number. This port number is then used by the client application to connect to the host server's daemon. The daemon accepts the incoming connection request and routes it to the server job for further processing.
|
|
</p>
|
|
<p>The daemons are batch jobs submitted to either the QSYSWRK or QSERVER subsystem, depending on the value or values specified for the SERVER keyword. All daemon jobs are submitted to the QSYSWRK subsystem with the exception of the *DATABASE and *FILE server daemons which are submitted to the QSERVER subsystem.
|
|
</p>
|
|
<p>In order for the server daemons and the server mapper daemon to start successfully, the QSYSWRK subsystem and, for *DATABASE and *FILE server, the QSERVER subsystem must be active. If the required subsystem is not active, then the submission of the daemon job will fail. Additionally, the QUSRWRK subsystem or the user-defined subsystem must be active in order to start the associated server jobs. All associated server jobs can run in the QUSRWRK subsystem or a user-defined subsystem, except for the following:
|
|
</p>
|
|
<ul>
|
|
<li>Server jobs QPWFSERVSO and QPWFSERVSS - these jobs run in the QSERVER subsystem or a user-defined subsystem
|
|
</li>
|
|
<li>Server job QPWFSERVS2 - this job runs in the QSERVER subsystem
|
|
</li>
|
|
<li>Server job QIWVPPJT - this job runs in the QSYSWRK subsystem
|
|
</li>
|
|
<li>Server job QTFPJTCP - this job runs in the QSERVER subsystem.
|
|
</li>
|
|
</ul>
|
|
<p>There are no server jobs associated with the server mapper daemon.
|
|
</p>
|
|
<p>The server daemons must be active in order to allow client applications to establish a connection with the host server using sockets communication support. Once started, the server daemons and the server mapper daemon remain active until they are ended explicitly using the End Host Server (ENDHOSTSVR) command or an error occurs.
|
|
</p>
|
|
<p><b>Restrictions:</b>
|
|
</p>
|
|
<ul>
|
|
<li>This command is used only for enabling client applications to communicate with any of the host servers using sockets communication support. This command does not start any of the APPC host servers; these are started as a result of a program start request.
|
|
</li>
|
|
<li>Only one server daemon can be active for a specific server type. Requests to start a server daemon that is already active will result in an informational message to the user issuing this command.
|
|
</li>
|
|
</ul>
|
|
<h3>Error messages for STRHOSTSVR</h3>
|
|
<p><b><u>*ESCAPE Messages</u></b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>PWS300D</b></dt>
|
|
<dd>Unable to start host server daemon jobs.
|
|
</dd>
|
|
<dt><b>PWS3006</b></dt>
|
|
<dd>Errors occurred starting server daemon jobs.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#STRHOSTSVR.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
|
|
<div>
|
|
<h3><a name="STRHOSTSVR.PARAMETERS.TABLE">Parameters</a></h3>
|
|
<table border="1" cellpadding="4" cellspacing="0">
|
|
<!-- col1="10" col2="15" col3="30" col4="10" -->
|
|
<tr>
|
|
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
|
|
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
|
|
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
|
|
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#STRHOSTSVR.SERVER"><b>SERVER</b></a></td>
|
|
<td valign="top">Server type</td>
|
|
<td valign="top">Single values: *ALL<br>Other values (up to 8 repetitions): *CENTRAL, *DATABASE, *DTAQ, *FILE, *NETPRT, *RMTCMD, *SIGNON, *SVRMAP</td>
|
|
<td valign="top">Required, Positional 1</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#STRHOSTSVR.RQDPCL"><b>RQDPCL</b></a></td>
|
|
<td valign="top">Required protocol</td>
|
|
<td valign="top"><b><u>*ANY</u></b>, *NONE, *TCP</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#STRHOSTSVR.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</div>
|
|
<div> <a name="STRHOSTSVR.SERVER"></a>
|
|
<h3>Server type (SERVER)</h3>
|
|
<p>Specifies the host server daemons to be started by this command.
|
|
</p>
|
|
<p>The possible values are:
|
|
</p>
|
|
<dl>
|
|
<dt><b>*ALL</b></dt>
|
|
<dd>All of the server daemons and the server mapper daemon are started.
|
|
</dd>
|
|
<dt><b>*CENTRAL</b></dt>
|
|
<dd>The central server daemon is started in the QSYSWRK subsystem. The daemon job is named QZSCSRVSD. The associated server job is named QZSCSRVS.
|
|
</dd>
|
|
<dt><b>*DATABASE</b></dt>
|
|
<dd>The database server daemon is started in the QSERVER subsystem. The daemon job is named QZDASRVSD. The associated server jobs are named QZDASOINIT, QZDASSINIT, and QTFPJTCP.
|
|
</dd>
|
|
<dt><b>*DTAQ</b></dt>
|
|
<dd>The data queue server daemon is started in the QSYSWRK subsystem. The daemon job is named QZHQSRVD. The associated server job is named QZHQSSRV.
|
|
</dd>
|
|
<dt><b>*FILE</b></dt>
|
|
<dd>The file server daemon is started in the QSERVER subsystem. The daemon job is named QPWFSERVSD. The associated server jobs are named QPWFSERVSO, QPWFSERVSS, and QPWFSERVS2.
|
|
</dd>
|
|
<dt><b>*NETPRT</b></dt>
|
|
<dd>The network print server daemon is started in the QSYSWRK subsystem. The daemon job is named QNPSERVD. The associated server jobs are named QNPSERVS and QIWVPPJT.
|
|
</dd>
|
|
<dt><b>*RMTCMD</b></dt>
|
|
<dd>The remote command and distributed program call server daemon is started in the QSYSWRK subsystem. The daemon job is named QZRCSRVSD. The associated server job is named QZRCSRVS.
|
|
</dd>
|
|
<dt><b>*SIGNON</b></dt>
|
|
<dd>The signon server daemon is started in the QSYSWRK subsystem. The daemon job is named QZSOSGND. The associated server job is named QZSOSIGN.
|
|
</dd>
|
|
<dt><b>*SVRMAP</b></dt>
|
|
<dd>The server mapper daemon is started in the QSYSWRK subsystem. The daemon job is named QZSOSMAPD.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#STRHOSTSVR.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="STRHOSTSVR.RQDPCL"></a>
|
|
<h3>Required protocol (RQDPCL)</h3>
|
|
<p>Specifies which communication protocols are required to be active for the host server daemons to start.
|
|
</p>
|
|
<p><b>Single Values </b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ANY:</u></b></dt>
|
|
<dd>The TCP/IP communication protocol must be active at the time the STRHOSTSVR command is issued. If TCP/IP is not active, escape message PWS300D will be issued and the host server daemons will not be started. A diagnostic message (PWS3008) will be issued if TCP/IP is found to be inactive.
|
|
</dd>
|
|
<dt><b>*NONE:</b></dt>
|
|
<dd>No communication protocols need to be active at the time the STRHOSTSVR command is issued for the host server daemons to start. No messages will be issued for protocols which are inactive.
|
|
</dd>
|
|
<dt><b>*TCP:</b></dt>
|
|
<dd>The TCP/IP communication protocol must be active at the time the STRHOSTSVR command is issued. If TCP/IP is not active, diagnostic message PWS3008 and escape message PWS300D will be issued and the host server daemons will not be started.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#STRHOSTSVR.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div>
|
|
<h3><a name="STRHOSTSVR.COMMAND.EXAMPLES">Examples</a></h3>None
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#STRHOSTSVR.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="STRHOSTSVR.ERROR.MESSAGES">Error messages</a> </h3>
|
|
<p><b><u>*ESCAPE Messages</u></b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>PWS300D</b></dt>
|
|
<dd>Unable to start host server daemon jobs.
|
|
</dd>
|
|
<dt><b>PWS3006</b></dt>
|
|
<dd>Errors occurred starting server daemon jobs.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#STRHOSTSVR.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|