Pathway/iTS Management Programming Manual
Terminal Control Process (TCP) Commands
NonStop Pathway/iTS Management Programming Manual—426749-002
7-13
REFRESHCODE TCP
REFRESHCODE TCP
Use the REFRESHCODE TCP command to have the TCP read the SCREEN COBOL 
directory file for the latest version of a called program. This command is effective only if 
the TCP is running and the ZCHECKDIRECTORY field has the value ZPWY-VAL-OFF. 
Use this command when a new version of a SCREEN COBOL program (in the 
TCLPROG file) becomes available to the TCP.
This command affects only TCPs controlled by the PATHMON process in your 
subsystem. It does not affect external TCPs (TCPs that are controlled by another 
PATHMON process and are therefore outside this PATHMON environment).
Continuation
To issue a REFRESHCODE for all TCPs, initialize the ZTCP field in 
ZPWY-DDL-SEL-TCP to ZPWY-VAL-ALLTCP. Reissue the command repeatedly, 
using the context token returned by the PATHMON process, until no data is returned in 
the reply buffer. For more information, see Specifying Continuation on page 3-21.
Command Syntax
For tokens that might be present in the command and response buffers but are not 
listed, see Unlisted Tokens on page 3-36. For descriptions of tokens and fields, see 
Section 4 through Section 6. 
Command
ZPWY-CMD-REFRESHCODE
Object Type
ZPWY-OBJ-TCP
Tokens in Command Buffer
ZSPI-TKN-CONTEXT token-type ZSPI-TYP-BYTESTRING. 
ZPWY-MAP-SEL-TCP token-type ZPWY-DDL-SEL-TCP. !r
ZPWY-MAP-QUAL-TCP token-type ZPWY-DDL-QUAL-TCP.
Tokens in Response Buffer
ZSPI-TKN-CONTEXT token-type ZSPI-TYP-BYTESTRING.
ZPWY-MAP-SEL-TCP token-type ZPWY-DDL-SEL-TCP.
ZSPI-TKN-RETCODE token-type ZSPI-TYP-INT.










