Version 4.2.6 for Mainframes (Update)
 —  Parameter Reference  —

NTASKS - Number of Server Tasks to be Started

For static specification, this parameter is available as a keyword subparameter of the NTRPC macro. For dynamic specification, this parameter is available as a keyword subparameter of the profile parameter RPC.

NTASKS=(min[,max]) specifies the minimum number min of server tasks to be started during server initialization and the maximum number max of server tasks that max be active at any time. If only min is specified, the paranetheses may be omitted.

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.

NTASKS applies only to servers started in batch mode under z/OS or VSE and to servers started by an RPC server front-end.

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

Possible values: min Minimum number of server tasks to be started during server intialization: 1 - 99.
max Maximum number of server tasks that may be active at any time:

0 - n

0 = unlimited.

Default value: 1,0  
Dynamic specification yes  
Specification within session no  

For further information, see the Natural Remote Procedure Call (RPC) documentation and especially Considerations for Mainframe Natural RPC Servers with Replicas.

Top of page