CL Command Reference - CHGTCPSVR
CL Command List > CHGTCPSVR Reference
Description:
The Change TCP/IP Server (CHGTCPSVR) command is used to change a server that was previously defined using the Add TCP/IP Server (ADDTCPSVR) command. All values defined for the server can be changed except for the server special value (SRVSPCVAL).
Restrictions:
. You must have input/output system configuration (*IOSYSCFG) and all object (*ALLOBJ) special authorities to run this command.
Examples:
CHGTCPSVR SVRSPCVAL(*XYZ)
PGM(MYLIB/MYSTARTXYZ)
AUTOSTART(*NO)
This command changes an existing server in the list of servers supported by the STRTCPSVR (Start TCP/IP Server) and ENDTCPSVR (End TCP/IP Server) CL commands. The user program that is to be called when the XYZ server is started or ended is changed to program MYSTARTXYZ in library MYLIB. The XYZ server will not be started automatically when the STRTCPSVR command is run specifying SERVER(*AUTOSTART), or when the STRTCP (Start TCP/IP) command is run.