ibm-information-center/dist/eclipse/plugins/i5OS.ic.cl_5.4.0.1/chgwse.htm

389 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>Change Work Station Entry (CHGWSE)</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="CHGWSE.Top_Of_Page"></a>
<h2>Change Work Station Entry (CHGWSE)</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="#CHGWSE.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CHGWSE.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CHGWSE.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CHGWSE"></a>
<p>The Change Work Station Entry (CHGWSE) command changes one or more attributes of a work station entry in the specified subsystem description.
</p>
<p><b>Notes:</b>
</p>
<ol>
<li>When the <b>Job description (JOBD)</b> parameter is specified, the work station entry will be changed; however, the value of this parameter is not changed for any jobs started through this entry that are active at the time.
</li>
<li>If the value of the <b>Maximum active jobs (MAXACT)</b> parameter is reduced to a number less than the total number of work stations that are active through the work station entry, no additional work stations will be allowed to sign on. Active work stations will not be signed-off. Additional jobs can be created for an active work station by the Transfer Secondary Job (TFRSECJOB) command or the Transfer to Group Job (TFRGRPJOB) command. Other work stations will not be allowed to sign on until the number of active work stations is less than the value specified for the MAXACT parameter.
</li>
<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 the 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 change an entry for which the job description does not exist.
</li>
</ol>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGWSE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CHGWSE.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="#CHGWSE.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="#CHGWSE.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="#CHGWSE.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="#CHGWSE.JOBD"><b>JOBD</b></a></td>
<td valign="top">Job description</td>
<td valign="top">Single values: <b><u>*SAME</u></b>, *USRPRF, *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="#CHGWSE.MAXACT"><b>MAXACT</b></a></td>
<td valign="top">Maximum active jobs</td>
<td valign="top">0-1000, <b><u>*SAME</u></b>, *NOMAX</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGWSE.AT"><b>AT</b></a></td>
<td valign="top">Allocation</td>
<td valign="top"><b><u>*SAME</u></b>, *SIGNON, *ENTER</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#CHGWSE.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CHGWSE.SBSD"></a>
<h3>Subsystem description (SBSD)</h3>
<p>Specifies the name and library of the subsystem description that contains the work station entry that is to be changed.
</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 changed.
<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="#CHGWSE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGWSE.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="#CHGWSE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGWSE.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="#CHGWSE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGWSE.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>*SAME</u></b></dt>
<dd>The job description does not change.
</dd>
<dt><b>*USRPRF</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="#CHGWSE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGWSE.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>*SAME</u></b></dt>
<dd>The maximum number of jobs that can be active at the same time does not change.
</dd>
<dt><b>*NOMAX</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="#CHGWSE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGWSE.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>*SAME</u></b></dt>
<dd>The job entry specification does not change.
</dd>
<dt><b>*SIGNON</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="#CHGWSE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGWSE.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Changing an Entry at Signon</b>
</p>
<p>
<pre>
CHGWSE SBSD(QGPL/BAKER) WRKSTN(A12) AT(*SIGNON)
</pre>
</p>
<p>This command changes the work station job entry for work station A12 in subsystem BAKER found in the general purpose library. A job is created for work station A12 when the user's password is entered on the sign-on prompt and the Enter key is pressed.
</p>
<p><b>Example 2: Changing an Entry</b>
</p>
<p>
<pre>
CHGWSE SBSD(QGPL/BAKER) WRKSTN(B28) JOBD(*USRPRF)
</pre>
</p>
<p>This command changes the work station job entry for work station B28 in subsystem BAKER found in library QGPL. The job description named in the user profile that is used to sign on at this work station is used for jobs started through this entry. The other command parameters default to the *SAME value.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGWSE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGWSE.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF1619</b></dt>
<dd>Subsystem description &amp;1 in library &amp;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 &amp;1 not changed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGWSE.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>