NUSERS parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
Line 15: Line 15:


==Description==
==Description==
<p>The total number of User Language users and Host Language Interface IFAM2 or IFAM4 threads to be supported by <var class="product">Model&nbsp;204</var>. </p>
<p>The total number of User Language users and Host Language Interface <var>[[Using_HLI_and_batch_configurations#IFAM2|IFAM2]]</var> or IFAM4 threads to be supported by <var class="product">Model&nbsp;204</var>. </p>
<p>The algorithm to determine if <var>[[NSERVS_parameter|NSERVS]]</var>, NUSERS, and <var>[[NSUBTKS_parameter|NSUBTKS]]</var> are too large is: </p>
<p>The algorithm to determine if <var>[[NSERVS_parameter|NSERVS]]</var>, NUSERS, and <var>[[NSUBTKS_parameter|NSUBTKS]]</var> are too large is: </p>
<p class="code">IF NUSERS=NSERVS
<p class="code">IF NUSERS=NSERVS

Revision as of 14:06, 16 September 2015

Number of users

Summary

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

Description

The total number of User Language users and Host Language Interface IFAM2 or IFAM4 threads to be supported by Model 204.

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.