GDSX (Extended General Device Support) Manual
Design and Development
Extended General Device Support (GDSX) Manual—529931-001
2-68
MAXRCVPOOL
MAXRCVPOOL
This static parameter may be used to override the calculation of RCV pool space done
automatically by TSCODE during process initialization. In general, you should not
need to set this parameter.
The size that TSCODE calculates for the pool can be overridden by using a TACL
PARAM command to assign a value to the external name MAXRCVPOOL, or by
assigning a value to the internal parameter name in the
USER^INIT^CONFIG^PARAMS user exit. TSCODE will use the user-specified setting
unless it is determined that the pool size would be insufficient, in which case TSCODE
will use the value that it calculated.
If the pool size specified by this parameter is too large (more than 131,064 bytes), or if
the size causes the running total calculated for control block pools, the extended buffer
pool, and the extended message pool to exceed 16,777,216 bytes, an error message
is sent to the home terminal, and the GDSX process stops with abend error 020. The
configuration error message is:
10004 maxRCVpool or previous pools too large.
TSCODE calculates the size in bytes of the RCV pool as follows:
RCV pool size = RECEIVEDEPTH * 2
MAXTASKS
This static parameter specifies the total number of user tasks that may be active
simultaneously within the GDSX process.
TSCODE uses system tasks that each require a TCB: a monitor task, a listener task, a
backup task if GDSX is running as a process pair, and six other kinds of system tasks.
Therefore, when allocating the TCB pool, TSCODE adds five to MAXTASKS to handle
all the system tasks. However, as more than five system tasks could be active
simultaneously, it is a good idea to set MAXTASKS a little higher than the number of
DEVICE^HANDLER and LINE^HANDLER tasks needed, because if TSCODE
determines that all TCBs are in use, it does not allow a new task to be created.
Internal DEFINE
Name
CONFIG^PARAMS
Name Default Value Range
maxrcvpoolsize maxrcvpool^size (see following
equation)
Up to 131,064 bytes
Internal DEFINE Name CONFIG^PARAMS Name Default Value Range
maxtsk maximum^tasks 34 tasks 7–846 tasks