GDSX (Extended General Device Support) Manual

Design and Development
Extended General Device Support (GDSX) Manual529931-001
2-65
MAXLINES
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 MAXLINEPOOL, 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
error message is:
10009 maxLINEpool or previous pools too large.
TSCODE allocates the LINE control block (LCB) pool from extended memory. (See
line^template in the DCCBDECS file in Appendix C.) The size in bytes of the LCB pool
is calculated as follows:
LCB pool size = $LEN(LINE^TEMPLATE) * MAXLINES
MAXLINES
This static parameter specifies the maximum number of LINE^HANDLER tasks that
can be created within the running GDSX process. If GDSX is not being used to handle
a LINE, then MAXLINES should be set to 0, in which case GDSX only allows
DEVICE^HANDLER tasks.
MAXLINKS
By default, the number of system linkage control blocks (XLBs) allocated by a GDSX
process is set to the value of the MAXTASKS parameter. (Note that linkage control
blocks are different from LINE control blocks (LCBs).) With a number of GDSX
processes running on a system, the pool of these blocks can be exhausted, preventing
other system or application processes from dispatching. This static parameter
specifies the maximum number of system linkage control blocks that can be allocated
by the GDSX process.
Internal DEFINE Name CONFIG^PARAMS Name Default Value Range
maxlines maximum^lines 0 L^H tasks 0–15 tasks
Internal DEFINE
Name
CONFIG^PARAMS
Name Default Value Range
max^links maximum^links MAXTASKS From 1 to the system
configured limit