GDSX (Extended General Device Support) Manual
Design and Development
Extended General Device Support (GDSX) Manual—529931-001
2-67
MAXPROCESSES
TSCODE allocates the process control block (PCB) pool from extended memory. (See
pcb^template in the DCCBDECS file in Appendix C.) The size in bytes of the PCB
pool is calculated as follows:
PCB pool size = $LEN(PCB^TEMPLATE) * MAXPROCESSES
MAXPROCESSES
This static parameter specifies the maximum number of processes that can be active
simultaneously as a result of GDSX calls to the pseudo Guardian
^PROCESS_CREATE_ procedure. If GDSX is to run as a process pair,
MAXPROCESSES must be at least 1 to allow for the creation of the backup.
MAXRCBPOOL
This static parameter can be used to override the calculation of RCB 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 MAXRCBPOOL, or by
assigning a value to the internal parameter name in the
USER^INIT^CONFIG^PARAMS user exit. TSCODE uses the user-specified setting
unless it is determined that the pool size would be insufficient, in which case TSCODE
uses 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:
10005 maxRCBpool or previous pools too large.
TSCODE allocates the requester control block (RCB) pool from extended memory.
(See rcb^template in the DCCBDECS file in Appendix C.) The size in bytes of the
RCB pool is calculated as follows:
RCB pool size = $LEN(RCB^TEMPLATE) * (MAXOPENS + 1)
One is added to MAXOPENS so that if GDSX is run as a process pair, there will be an
RCB for the backup process open on the primary process.
Internal DEFINE Name CONFIG^PARAMS Name Default Value Range
maxprocesses maximum^processes 2 processes 2–1024
processes
Internal DEFINE
Name
CONFIG^PARAMS
Name Default Value Range
maxrcbpoolsize maxrcbpool^size (see following
equation)
Up to 131,064 bytes