Pathway/iTS System Management Manual (G06.24+)

Terminal Control Process (TCP) Commands
HP NonStop Pathway/iTS System Management Manual426748-002
9-20
SET TCP Command
If you omit this attribute, the default is ON.
ON
directs the TCP to check the SCREEN COBOL program directory file for the
latest accessible version of the called program unit.
This is the recommended setting for a development environment in which
SCREEN COBOL programs change frequently.
OFF
directs the TCP to check its memory for a version of the called program unit. If
the program is already in the TCP code area and the TCP checked the
directory file after the latest REFRESH-CODE command, the TCP uses that
version of the program and does not read the directory file.
If the called program unit is not in memory, the TCP checks the directory file for
the latest accessible version of the called program.
This is the recommended setting for a production environment. Pathway
application performance is better when the TCP does not have to check the
directory file every time a SCREEN COBOL program unit is called. Also,
setting the CHECK–DIRECTORY attribute to OFF and using the REFRESH–
CODE TCP command when a new version of a SCREEN COBOL program is
put into production enables better tracking of SCREEN COBOL programs.
For more information about this option, see the REFRESH-CODE TCP
Command on page 9-14.
CODEAREALEN double-number
specifies the number of bytes that the TCP allocates in its extended data segment
for SCREEN COBOL object code.
double-number can be a value from 0 through 2,147,483,647. If you omit this
value, the default is 65,536 bytes.
Note. This attribute affects the TCLPROG file at the TCP level only; it has no effect on any
TCLPROG file at the TERMINAL or PROGRAM level. In other words, when the
CHECK-DIRECTORY attribute is set to OFF, any TCLPROG file at the TERMINAL or
PROGRAM level is still checked.
Note. This option does not ensure that the TCP uses the latest accessible version of
the called program unit.
Note. The maximum value allowed for this parameter exceeds current system limitations,
and the default value might be too small for some production environments. The code
area length is limited by other aspects of your system, so that the practical maximum value
is not a fixed number. Therefore, it is recommended that you estimate an appropriate
value for the code area length according to the needs of your application.