NSERVS parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
Line 17: Line 17:
<p>The number of servers</p>
<p>The number of servers</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. NSERVS cannot be set to a value greater than NUSERS - if it is, then the parameter is reset to the value of NUSERS during Model 204 initialization. Its minimum value is 1.</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. NSERVS cannot be set to a value greater than NUSERS - if it is, then the parameter is reset to the value of NUSERS during Model 204 initialization. Its minimum value is 1.</p>
<p>The algorithm to determine if NSERVS, NUSERS, and NSUBTKS are too large is: </p>
<p>The algorithm to determine if NSERVS, NUSERS, 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

Revision as of 13:26, 16 September 2015

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

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 it is, then the parameter is reset to the value of NUSERS during Model 204 initialization. Its 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 have been 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.