GDSX (Extended General Device Support) Manual

Design and Development
Extended General Device Support (GDSX) Manual529931-001
2-62
MAXFCBPOOL
MAXFCBPOOL
This static parameter may be used to override the calculation of FCB 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 MAXFCBPOOL, 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
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:
10006 maxFCBpool or previous pools too large.
TSCODE allocates the FCB pool from extended memory. (See fcb^template in the
DCCBDECS file in Appendix C.) The size in bytes of the FCB pool is calculated as
follows:
FCB pool size = (MAXFILES + 1) * $LEN(FCB^TEMPLATE)
One is added to MAXFILES for $RECEIVE.
MAXFILES
This static parameter specifies the maximum number of files, except for $RECEIVE,
that GDSX can have open simultaneously. If LINE^HANDLER tasks are to be created,
TSCODE increases any value assigned by you to accommodate ITC files needed.
The actual number of files opened by GDSX may be less than the number specified for
MAXFILES. This is caused by a system limit that takes precedence over the value set
by MAXFILES. The system limit depends on the type of each open, the type of the
device being opened, and the available space for each Access Control Block.
Internal DEFINE
Name
CONFIG^PARAMS
Name Default Value Range
maxfcbpoolsize maxfcbpool^size (see following
equation)
Up to 131,064 bytes
Internal DEFINE Name CONFIG^PARAMS Name Default Value Range
maxfiles maximum^files 48 files 10–2048 files