376 lines
14 KiB
HTML
376 lines
14 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>Add Work Station Entry (ADDWSE)</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="ADDWSE.Top_Of_Page"></a>
|
||
|
<h2>Add Work Station Entry (ADDWSE)</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="#ADDWSE.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#ADDWSE.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#ADDWSE.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="ADDWSE"></a>
|
||
|
<p>The Add Work Station Entry (ADDWSE) command adds a work station job entry to the specified subsystem description. Each entry describes one or more work stations that are controlled by the subsystem. The work stations identified in the work station entries are allowed to sign on or enter the subsystem and run jobs.
|
||
|
</p>
|
||
|
<p><b>Notes:</b>
|
||
|
</p>
|
||
|
<ol>
|
||
|
<li>The job associated with an active subsystem can only find objects that exist in the system auxiliary storage pool (ASP) or in a basic user ASP. Therefore, objects that are referenced by this command should exist in the system ASP or in a basic user ASP.
|
||
|
</li>
|
||
|
</ol>
|
||
|
<p><b>Restrictions:</b>
|
||
|
</p>
|
||
|
<ol>
|
||
|
<li>To use this command, you must have:
|
||
|
<ul>
|
||
|
<li>object operational (*OBJOPR), object management (*OBJMGT), and read (*READ) authority to the specified subsystem description and execute (*EXECUTE) authority to the library containing that subsystem description.
|
||
|
</li>
|
||
|
<li>object operational (*OBJOPR) and read (*READ) authority to the job description and execute (*EXECUTE) authority to the library containing that job description.
|
||
|
</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li>Only a user with all object (*ALLOBJ) special authority is allowed to add an entry for which the job description does not exist.
|
||
|
</li>
|
||
|
</ol>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ADDWSE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="ADDWSE.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="#ADDWSE.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><tr>
|
||
|
<td valign="top"><a href="#ADDWSE.WRKSTN"><b>WRKSTN</b></a></td>
|
||
|
<td valign="top">Work station name</td>
|
||
|
<td valign="top"><i>Generic name, name</i></td>
|
||
|
<td valign="top">Optional, Positional 2</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#ADDWSE.WRKSTNTYPE"><b>WRKSTNTYPE</b></a></td>
|
||
|
<td valign="top">Work station type</td>
|
||
|
<td valign="top">*ALL, 3179, 3180, 3196, 3197, 3277, 3278, 3279, 3476, 3477, 3486, 3487, 5251, 5291, 5292, 5555, *ASCII, CONS, *CONS, *NONASCII</td>
|
||
|
<td valign="top">Optional, Positional 3</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" rowspan="3"><a href="#ADDWSE.JOBD"><b>JOBD</b></a></td>
|
||
|
<td valign="top">Job description</td>
|
||
|
<td valign="top">Single values: <b><u>*USRPRF</u></b>, *SBSD<br>Other values: <i>Qualified object name</i></td>
|
||
|
<td valign="top" rowspan="3">Optional, Positional 4</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Qualifier 1: Job 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><tr>
|
||
|
<td valign="top"><a href="#ADDWSE.MAXACT"><b>MAXACT</b></a></td>
|
||
|
<td valign="top">Maximum active jobs</td>
|
||
|
<td valign="top">0-1000, <b><u>*NOMAX</u></b></td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#ADDWSE.AT"><b>AT</b></a></td>
|
||
|
<td valign="top">Allocation</td>
|
||
|
<td valign="top"><b><u>*SIGNON</u></b>, *ENTER</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ADDWSE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="ADDWSE.SBSD"></a>
|
||
|
<h3>Subsystem description (SBSD)</h3>
|
||
|
<p>Specifies the name and library of the subsystem description to which the work station job entry is added.
|
||
|
</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 where the work station job entry is being added.
|
||
|
<p><b>Note:</b> The following IBM-supplied objects are not valid on this parameter:
|
||
|
</p>
|
||
|
<ul>
|
||
|
<li>QLPINSTALL
|
||
|
</li>
|
||
|
<li>QSYSSBSD
|
||
|
</li>
|
||
|
</ul>
|
||
|
</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.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ADDWSE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="ADDWSE.WRKSTN"></a>
|
||
|
<h3>Work station name (WRKSTN)</h3>
|
||
|
<p>Specifies the name of the work station used by the subsystem. The device description name that was specified in the Create Device Desc (Display) (CRTDEVDSP) command associated with the work station is the name used.
|
||
|
</p>
|
||
|
<p><b>Double-Byte Character Set Considerations:</b> For double-byte character set (DBCS), a work station whose type is 5555 must be specified for either this parameter or the <b>Work station type (WRKSTNTYPE)</b> parameter, but not for both.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>generic-name</i></b></dt>
|
||
|
<dd>Specify a generic name. Examples include: DSP*, RMT*,...
|
||
|
<p>
|
||
|
<b>Note: </b>Specifying a generic work station name does not result in multiple entries being added, changed, or removed.
|
||
|
</p>
|
||
|
</dd>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the name of a specific work station. Examples include: DSP10, DSP11, RMT55,...
|
||
|
<p>A value must be specified on either this parameter or the <b>Work station type (WRKSTNTYP)</b> parameter, but not for both.
|
||
|
</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ADDWSE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="ADDWSE.WRKSTNTYPE"></a>
|
||
|
<h3>Work station type (WRKSTNTYPE)</h3>
|
||
|
<p>Specifies the type of work station associated with the entry being added, changed, or removed. This entry applies to all work stations of this type that do not have specific entries for an individual work station.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>*ALL</b></dt>
|
||
|
<dd>All work station devices. This includes devices with 5250, ASCII, and 327x device types.
|
||
|
</dd>
|
||
|
<dt><b>3179</b></dt>
|
||
|
<dd>3179 work station.
|
||
|
</dd>
|
||
|
<dt><b>3180</b></dt>
|
||
|
<dd>3180 work station.
|
||
|
</dd>
|
||
|
<dt><b>3196</b></dt>
|
||
|
<dd>3196 work station.
|
||
|
</dd>
|
||
|
<dt><b>3197</b></dt>
|
||
|
<dd>3197 work station.
|
||
|
</dd>
|
||
|
<dt><b>3277</b></dt>
|
||
|
<dd>3277 work station.
|
||
|
</dd>
|
||
|
<dt><b>3278</b></dt>
|
||
|
<dd>3278 work station.
|
||
|
</dd>
|
||
|
<dt><b>3279</b></dt>
|
||
|
<dd>3279 work station.
|
||
|
</dd>
|
||
|
<dt><b>3476</b></dt>
|
||
|
<dd>3476 work station.
|
||
|
</dd>
|
||
|
<dt><b>3477</b></dt>
|
||
|
<dd>3477 work station.
|
||
|
</dd>
|
||
|
<dt><b>3486</b></dt>
|
||
|
<dd>3486 work station.
|
||
|
</dd>
|
||
|
<dt><b>3487</b></dt>
|
||
|
<dd>3487 work station.
|
||
|
</dd>
|
||
|
<dt><b>5251</b></dt>
|
||
|
<dd>5251 work station.
|
||
|
</dd>
|
||
|
<dt><b>5291</b></dt>
|
||
|
<dd>5291 work station.
|
||
|
</dd>
|
||
|
<dt><b>5292</b></dt>
|
||
|
<dd>5292 color work station.
|
||
|
</dd>
|
||
|
<dt><b>5555</b></dt>
|
||
|
<dd>5555 double-byte character set (DBCS) capable work station.
|
||
|
</dd>
|
||
|
<dt><b>*ASCII</b></dt>
|
||
|
<dd>All ASCII work station device types.
|
||
|
</dd>
|
||
|
<dt><b>CONS</b></dt>
|
||
|
<dd>System console display. This entry overrides a device type entry that specifies the same device type as the device being used as the console.
|
||
|
</dd>
|
||
|
<dt><b>*CONS</b></dt>
|
||
|
<dd>System console display. This entry overrides a device type entry that specifies the same device type as the device being used as the console.
|
||
|
</dd>
|
||
|
<dt><b>*NONASCII</b></dt>
|
||
|
<dd>All work station devices that use the 5250 data stream, as well as, 327x device types.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>A value must be specified on either this parameter or the <b>Work station name (WRKSTN)</b> parameter, but not for both.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ADDWSE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="ADDWSE.JOBD"></a>
|
||
|
<h3>Job description (JOBD)</h3>
|
||
|
<p>Specifies the name and library of the job description used for jobs started through this work station entry. If the job description does not exist when the entry is added, a library qualifier must be specified because the qualified job description name is kept in the subsystem description.
|
||
|
</p>
|
||
|
<p>
|
||
|
<b>Note: </b>Only a user with all object (*ALLOBJ) special authority is allowed to add or change an entry for which the job description does not exist.
|
||
|
</p>
|
||
|
<p><b>Single values</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*USRPRF</u></b></dt>
|
||
|
<dd>The job description named in the user profile that is used to sign on at this work station (or at this type of work station) is used for jobs started through this entry.
|
||
|
</dd>
|
||
|
<dt><b>*SBSD</b></dt>
|
||
|
<dd>The job description having the same name as the subsystem description, specified on the <b>Subsystem description (SBSD)</b> parameter, is used for jobs started through this entry.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Qualifier 1: Job description</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the name of the job description.
|
||
|
</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 job description is located.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ADDWSE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="ADDWSE.MAXACT"></a>
|
||
|
<h3>Maximum active jobs (MAXACT)</h3>
|
||
|
<p>Specifies, for work stations that use this work station job entry, the maximum number of work station jobs that can be active at the same time.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NOMAX</u></b></dt>
|
||
|
<dd>There is no maximum number of jobs (work stations) that can be active at the same time through this work entry.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl>
|
||
|
<dt><b><i>0-1000</i></b></dt>
|
||
|
<dd>Specify the maximum number of jobs that can be active at the same time through this work entry.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ADDWSE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="ADDWSE.AT"></a>
|
||
|
<h3>Allocation (AT)</h3>
|
||
|
<p>Specifies how the work stations associated with this job entry are allocated. For more information on how work stations are allocated to subsystems, see the Start Subsystem (STRSBS) command.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*SIGNON</u></b></dt>
|
||
|
<dd>The work stations are allocated when the subsystem is started if the work station is not already in use (signed on) in another subsystem. A sign-on prompt is displayed at each work station associated with this work entry. If a work station becomes allocated to a different subsystem, interactive jobs associated with the work station are allowed to enter this subsystem through the Transfer Job (TFRJOB) command.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl>
|
||
|
<dt><b>*ENTER</b></dt>
|
||
|
<dd>The work stations associated with this work entry are not allocated when the subsystem is started. However, the interactive jobs associated with the work stations are allowed to enter this subsystem through the TFRJOB command.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ADDWSE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="ADDWSE.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p><b>Example 1: Adding a Work Station Job Entry</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
ADDWSE SBSD(LIB7/ORDER) WRKSTNTYPE(5251) JOBD(QCTL) AT(*SIGNON)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command adds a work station job entry to a subsystem description named ORDER in library LIB7. All type 5251 work stations are allocated to this subsystem when the subsystem is started, unless they are already active in a previously started subsystem. After sign-on is complete, the IBM-supplied job description QCTL is used to start the routing step.
|
||
|
</p>
|
||
|
<p><b>Example 2: Adding a Work Station Job Entry</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
ADDWSE SBSD(LIB7/ORDER) WRKSTN(A12) JOBD(LIB7/ORDER) AT(*ENTER)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command adds a work station job entry for work station A12 to a subsystem description named ORDER in library LIB7. Interactive jobs associated with work station A12 are allowed to enter this subsystem through the Transfer Job (TFRJOB) command.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ADDWSE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="ADDWSE.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>CPF1619</b></dt>
|
||
|
<dd>Subsystem description &1 in library &2 damaged.
|
||
|
</dd>
|
||
|
<dt><b>CPF1691</b></dt>
|
||
|
<dd>Active subsystem description may or may not have changed.
|
||
|
</dd>
|
||
|
<dt><b>CPF1697</b></dt>
|
||
|
<dd>Subsystem description &1 not changed.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ADDWSE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|