GDSX (Extended General Device Support) Manual

Design and Development
Extended General Device Support (GDSX) Manual529931-001
2-75
TRACERECSIZE
If TMF is set to 1, TSCODE does not permit any TMF processing from a user task;
however, it will pass a TMF transaction from an external process to another process.
If TMF is set to 2, TSCODE permits TMF processing from a user task, but it will not
pass a TMF transaction from an external process to another process.
TRACERECSIZE
This dynamic parameter specifies the maximum size of each record added to the trace
file. The maximum record size can also be specified in a call to
USER^OPEN^TRACE^FILE. If the record size specified by TRACERECSIZE differs
from that specified in a call to USER^OPEN^TRACE^FILE, the latter value has
precedence.
TRAPERROR
This dynamic configuration parameter can be used only by converted processes. It is
used to indicate a file error number, which when detected by TSCODE causes
TSCODE to do one of the following:
Invoke DEBUG, which is done if uscode^debug^flag of the DEBUGFLAG
configuration parameter is set to 1.
Send a warning message with the file error number to the home terminal, if
uscode^debug^flag is set to 0.
For both converted and unconverted applications, if you want TSCODE to trap file
errors numbered 1 through 255, you can use debug^error^trap and
uscode^debug^flag. See the description of the DEBUGFLAGS configuration
parameter for more information.
USERFLAGS
You can define this dynamic parameter as desired.
The USAMPLE example program uses the USERFLAGS parameter to define the
following:
handle^break = userflags.<0>
dedicated^rcv = userflags.<1>
clock = userflags.<2>
Internal DEFINE Name CONFIG^PARAMS Name Default Value Range
tracerecsize trace^rec^size 256 words 0–16,383
words
Internal DEFINE Name CONFIG^PARAMS Name Default Value Range
debug^error^trap2 d^series^error 0 0–32,767
Internal DEFINE Name CONFIG^PARAMS Name Default Value Range
userflags user^flags %100000 0-65,535