Version 8.2.2 for Mainframes
 —  Parameter Reference  —

NTASKS - Number of Server Tasks to be Started

This parameter specifies the minimum number of server tasks to be started during server initialization, and the maximum number of server tasks that max be active at any time.

Possible values: See NTASKS Parameter Syntax.
Default value: 1,0  
Dynamic specification yes  
Specification within session no  

Notes:

  1. NTASKS applies only to servers started in batch mode under z/OS or z/VSE, and to servers started by an RPC server front-end.
  2. If the server has to handle a large number of client requests, you can use this subparameter to improve the throughput by starting multiple (identically named) replicas of the same server task.
  3. For static specification, this parameter is available as a keyword subparameter of the NTRPC macro.
  4. For dynamic specification, this parameter is available as a keyword subparameter of the profile parameter RPC.
  5. For further information, see the Natural Remote Procedure Call (RPC) documentation, and especially Considerations for Mainframe Natural RPC Servers with Replicas.

NTASKS Parameter Syntax

The NTASKS parameter syntax is as follows:

NTASKS=(min,max)

Or:

NTASKS=min

Note:
If only min is specified, the parantheses can be omitted.

Where:

Syntax Element Value Explanation
min 1 - 99 Minimum number of server tasks to be started during server intialization.
max

1 - n

0 (unlimited)

Maximum number of server tasks that may be active at any time.

Note:
The maximum number max of server tasks applies only to servers started by an RPC server front-end.

Top of page