The STRTCP command initializes and activates TCP/IP processing, starts the
TCP/IP interfaces, and starts the TCP/IP server jobs. Only TCP/IPinterfaces with
AUTOSTART*YES are started at STRTCP time. Allow a few moments for TCP/IP
to start, and then check to see if the QTCPIP job has started.
Option 20 of the TCP/IPAdministration menu allows you to display the jobs related
with TCP/IP.You can also use the following command:
WRKACTJOB SBS(QSYSWRK) JOB(QT*)
The job QTCPIP should be displayed.
Messages indicating that TCP/IP has been started are sent to the QTCP and
QSYSOPR message queues. Tocheck for the successful start of TCP/IP, enter
either of these commands:
DSPMSG QSYSOPR
DSPMSG QTCP
Figure 25 contains a sample of the messages that are issued.
If the QTCPIP job does not start, look for spooled job logs. Generally,the user for
these job logs is QTCP.Use the Work with Spooled Files (WRKSPLF) command
and specify QTCP for the user (WRKSPLF QTCP) to find the logs.
Application Servers: The TCP/IP application server jobs run under subsystem
QSYSWRK. Several types of TCP/IP server jobs run in the QSYSWRK subsystem.
They are the server jobs for TELNET,POP, FTP, SMTP,LPD, BOOTP, TFTP,
RouteD, REXEC, and SNMP.
The STRTCP command starts the server jobs for an application if the automatic
start attribute for that server is equal to *YES. Tochange the autostart attribute for
an application, do either of the following:
vSelect option 2 from the TCP/IPAdministration menu
vOption 20 from the TCP/IP Configuration menu
Using the Start TCP/IP Server (STRTCPSVR) command starts the servers
individually or together. Youcan monitor the jobs with option 20 (Work with TCP/IP
jobs in QSYSWRK subsystem) from the TCP/IPAdministration menu.
If you want TCP/IP processing and any related TCP/IP servers to start automatically
at the initial program load (IPL), add STRTCP to the QSTRUP CLprogram.
STRTCP issued by job 007138/DJONES/DSP02.
QTCPIP job started.
127.0.0.1 interface started.
QTCPIP job starting 9.5.5.162 interface.
127.0.0.2 interface started.
SNMP Server starting.
TELNET Server starting
FTP Server starting
SMTP Server starting
POP Server starting
LPD Server starting
9.5.5.162 interface started.
STRTCP completed successfully.
Figure 25. Sample Messages from STRTCP with All Applications Autostarted
44 OS/400 TCP/IPConfiguration and Reference V4R4