NSERVS parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
 
m (misc formatting)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Template:NSERVS parameter subtitle}}
==Summary==
==Summary==
<dl>
<dl>
<dt>Default value
<dt>Default value
<dd>NUSERS
<dd><var>[[NUSERS_parameter|NUSERS]]</var>
<dt>Parameter type
<dt>Parameter type
<dd>System
<dd>System
Line 10: Line 11:
<dd>All
<dd>All
<dt>Introduced
<dt>Introduced
<dd><var class="product">Model 204 V6.1</var> or earlier
<dd><var class="product">Model 204 V2.1</var> or earlier
</dl>
</dl>
==Description==
==Description==
<p>The number of servers</p>
<p>
<p>When NSERVS is not set explicitly, <var class="product">Model&nbsp;204</var> gives it a value equal to the setting of NUSERS. Never set NSERVS greater than NUSERS. Its minimum value is 1.</p>
<var>NSERVS</var> specifies the number of servers.</p>
<p>The algorithm to determine if NSERVS, NUSERS, and NSUBTKS are too large is: </p>
<p>
When <var>NSERVS</var> is not set explicitly, <var class="product">Model&nbsp;204</var> gives it a value equal to the setting of <var>NUSERS</var>. <var>NSERVS</var> cannot be set to a value greater than <var>NUSERS</var> &mdash; if you try to do so, the parameter gets reset to the value of <var>NUSERS</var> during Model&nbsp;204 initialization. The <var>NSERVS</var> minimum value is 1.</p>
<p>
The algorithm to determine if <var>NSERVS</var>, <var>NUSERS</var>, and <var>[[NSUBTKS_parameter|NSUBTKS]]</var> are too large is: </p>
<p class="code">IF NUSERS=NSERVS
<p class="code">IF NUSERS=NSERVS
   NUSERS + NSUBTKS + 1 > 32767
   NUSERS + NSUBTKS + 1 > 32767
Line 21: Line 26:
   NSERVS + NUSERS + NSUBTKS + 1 > 32767
   NSERVS + NUSERS + NSUBTKS + 1 > 32767
</p>
</p>
<p>If too many process control blocks have been requested, the user receives the following message: </p>
<p>
If too many process control blocks are requested, the user receives the following message: </p>
<p class="code">M204.0021: NSERVS+NUSERS(IF SWAPPING)+NSUBTKS+1 > 32767
<p class="code">M204.0021: NSERVS+NUSERS(IF SWAPPING)+NSUBTKS+1 > 32767
</p>
</p>
<p>Each server, user, pseudo subtask, and the Scheduler has a process control block. There may not be more than 32767 process control blocks.</p>
<p>
<p>If you receive the M204.0021 message, adjust the combination of NUSERS, NSERVS, and NSUBTKS + 1 so that it does not exceed 32767.</p>
Each server, user, pseudo subtask, and the Scheduler has a process control block. There may not be more than 32767 process control blocks.</p>
[[Category:System Parameters]]
<p>
If you receive the <code>M204.0021</code> message, adjust the combination of <var>NUSERS</var>, <var>NSERVS</var>, and <var>NSUBTKS</var> + 1 so that it does not exceed 32767.</p>
 
[[Category:System parameters]]
[[Category:Parameters]]
[[Category:Parameters]]

Latest revision as of 20:37, 8 June 2016

Number of servers

Summary

Default value
NUSERS
Parameter type
System
Where set
On User 0's parameter line
Related products
All
Introduced
Model 204 V2.1 or earlier

Description

NSERVS specifies the number of servers.

When NSERVS is not set explicitly, Model 204 gives it a value equal to the setting of NUSERS. NSERVS cannot be set to a value greater than NUSERS — if you try to do so, the parameter gets reset to the value of NUSERS during Model 204 initialization. The NSERVS minimum value is 1.

The algorithm to determine if NSERVS, NUSERS, and NSUBTKS are too large is:

IF NUSERS=NSERVS NUSERS + NSUBTKS + 1 > 32767 ELSE NSERVS + NUSERS + NSUBTKS + 1 > 32767

If too many process control blocks are requested, the user receives the following message:

M204.0021: NSERVS+NUSERS(IF SWAPPING)+NSUBTKS+1 > 32767

Each server, user, pseudo subtask, and the Scheduler has a process control block. There may not be more than 32767 process control blocks.

If you receive the M204.0021 message, adjust the combination of NUSERS, NSERVS, and NSUBTKS + 1 so that it does not exceed 32767.