208 lines
8.5 KiB
HTML
208 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 Subsystem (STRSBS)</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="STRSBS.Top_Of_Page"></a>
|
||
|
<h2>Start Subsystem (STRSBS)</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="#STRSBS.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#STRSBS.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#STRSBS.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="STRSBS"></a>
|
||
|
<p>The Start Subsystem (STRSBS) command starts a subsystem using the subsystem description specified in the command. When the subsystem is started, the system allocates the necessary and available resources (storage, work stations, and job queues) that are specified in the subsystem description.
|
||
|
</p>
|
||
|
<p><b>Allocating Storage:</b> Storage is allocated to the subsystem according to the storage pool definitions specified in the subsystem description, starting with the lower numbered storage pool definitions. If all the pool definitions cannot be allocated, because the maximum number of storage pools on the system is reached or because insufficient storage is available, messages indicating which pools could not be allocated are sent to the system operator. If storage becomes available later, or if the number of active storage pools is reduced, the available resources are automatically allocated to the subsystem to satisfy its unfulfilled requirements. Any jobs that would normally run in a storage pool that is not allocated are run in the shared storage pool *BASE.
|
||
|
</p>
|
||
|
<p><b>Allocating Work Stations:</b> Work stations are allocated to the subsystem according to the work station entries in the subsystem description. Each work station whose name (or type, if not specified by name) is contained in one of the subsystem description's work station entries, and whose entry specifies AT(*SIGNON), is allocated to this subsystem unless it is currently signed on to another subsystem. The sign-on prompt is displayed on each work station that is allocated. Work stations that are already signed on in another subsystem remain allocated to that subsystem until the subsystem that allowed the sign-on is ended, or until the user transfers the job to this subsystem.
|
||
|
</p>
|
||
|
<p>If multiple subsystems specify the same work station in their work station entries, each subsystem, as it is started, attempts to allocate that work station. Each successive subsystem allocates that work station unless a user signs on while the work station is allocated to one of the previously started subsystems. When a signed-on work station is signed off, it still remains allocated to the same subsystem until another subsystem is started that specifies that work station. However, if a work station is varied offline and several active subsystems specify that work station, the subsystem to which the work station is allocated when it is varied online is unpredictable.
|
||
|
</p>
|
||
|
<p><b>Allocating Job Queues:</b> If a job queue is specified in the work entries of the subsystem description, the job queue is allocated to the subsystem. If the job queue does not exist or if it is already allocated to an active subsystem, no job queue is allocated to the subsystem and a message is sent to the system operator. If the job queue later becomes available, it is automatically allocated to the subsystem.
|
||
|
</p>
|
||
|
<p><b>Restrictions:</b>
|
||
|
</p>
|
||
|
<ol>
|
||
|
<li>To use this command, you must have:
|
||
|
<ul>
|
||
|
<li>use (*USE) authority to the subsystem description and execute (*EXECUTE) authority to the library that contains that subsystem description.
|
||
|
</li>
|
||
|
<li>job control (*JOBCTL) special authority.
|
||
|
</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ol>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#STRSBS.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="STRSBS.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" rowspan="3"><a href="#STRSBS.SBSD"><b>SBSD</b></a></td>
|
||
|
<td valign="top">Subsystem description</td>
|
||
|
<td valign="top"><i>Qualified object name</i></td>
|
||
|
<td valign="top" rowspan="3">Required, Positional 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Qualifier 1: Subsystem description</td>
|
||
|
<td valign="top"><i>Name</i></td>
|
||
|
</tr><tr>
|
||
|
<td valign="top">Qualifier 2: Library</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
|
||
|
</tr></table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#STRSBS.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="STRSBS.SBSD"></a>
|
||
|
<h3>Subsystem description (SBSD)</h3>
|
||
|
<p>Specifies the name and library of the subsystem description that defines the operational environment (subsystem) being started.
|
||
|
</p>
|
||
|
<p>The name of the subsystem description cannot be the same as the name of a subsystem that is currently active, even though the subsystem descriptions are in different libraries.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<p><b>Qualifier 1: Subsystem description</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the name of the subsystem description that defines the subsystem being started.
|
||
|
<p>
|
||
|
<b>Note: </b>The IBM-supplied object named QLPINSTALL is not allowed for the subsystem description name.
|
||
|
</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Qualifier 2: Library</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*LIBL</u></b></dt>
|
||
|
<dd>All libraries in the thread's library list are searched until a match is found.
|
||
|
</dd>
|
||
|
<dt><b>*CURLIB</b></dt>
|
||
|
<dd>The current library for the thread is used to locate the object. If no library is specified as the current library for the thread, the QGPL library is used.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the library where the subsystem description is located.
|
||
|
<p>
|
||
|
<b>Note: </b>The library QTEMP is not allowed for the library name.
|
||
|
</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#STRSBS.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="STRSBS.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p><b>Example 1: Starting the Batch Subsystem</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
STRSBS SBSD(QBATCH)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command starts the batch subsystem named QBATCH.
|
||
|
</p>
|
||
|
<p><b>Example 2: Starting a User Subsystem</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
STRSBS SBSD(QGPL/TELLER)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command starts the subsystem that is associated with the TELLER subsystem description in the QGPL library. The subsystem name is TELLER.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#STRSBS.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="STRSBS.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>CPF1001</b></dt>
|
||
|
<dd>Wait time expired for system response.
|
||
|
</dd>
|
||
|
<dt><b>CPF1004</b></dt>
|
||
|
<dd>Function check occurred during start subsystem.
|
||
|
</dd>
|
||
|
<dt><b>CPF1010</b></dt>
|
||
|
<dd>Subsystem name &1 active.
|
||
|
</dd>
|
||
|
<dt><b>CPF1011</b></dt>
|
||
|
<dd>Start subsystem failed for SBSD &1 in library &2.
|
||
|
</dd>
|
||
|
<dt><b>CPF1012</b></dt>
|
||
|
<dd>No authority to start subsystem.
|
||
|
</dd>
|
||
|
<dt><b>CPF1013</b></dt>
|
||
|
<dd>Subsystem &1 in library &2 not found.
|
||
|
</dd>
|
||
|
<dt><b>CPF1014</b></dt>
|
||
|
<dd>Subsystem &1 not started.
|
||
|
</dd>
|
||
|
<dt><b>CPF1031</b></dt>
|
||
|
<dd>Not authorized to library &1.
|
||
|
</dd>
|
||
|
<dt><b>CPF1038</b></dt>
|
||
|
<dd>No authority to use command.
|
||
|
</dd>
|
||
|
<dt><b>CPF1049</b></dt>
|
||
|
<dd>Cannot allocate subsystem &1 in library &2.
|
||
|
</dd>
|
||
|
<dt><b>CPF1050</b></dt>
|
||
|
<dd>Not enough storage to start subsystem.
|
||
|
</dd>
|
||
|
<dt><b>CPF1057</b></dt>
|
||
|
<dd>Subsystem &1 in library &2 damaged.
|
||
|
</dd>
|
||
|
<dt><b>CPF1067</b></dt>
|
||
|
<dd>Cannot allocate library &1.
|
||
|
</dd>
|
||
|
<dt><b>CPF1080</b></dt>
|
||
|
<dd>Library &1 not found.
|
||
|
</dd>
|
||
|
<dt><b>CPF1086</b></dt>
|
||
|
<dd>Subsystem &1 in &2 allocated to your job.
|
||
|
</dd>
|
||
|
<dt><b>CPF1099</b></dt>
|
||
|
<dd>Subsystem not started because system ending.
|
||
|
</dd>
|
||
|
<dt><b>CPF3D87</b></dt>
|
||
|
<dd>Attempted to use system program QLPCTLIN in QSYS.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#STRSBS.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|