The format of the response to this command would be a set of messages that
would look similar to the following:
TCP45B7 TRCTCPAPP APP(*FTP) SET(*ON) USER(JOECOOL)
MAXSTG(*DFT) TRCFULL(*WRAP)
TCP45B1 Tracing active for *FTP.
TCP45B2 Data capture begun for *FTP.
TCP45B3 Data buffer wrapped for *FTP.
Tracing FTP Client
Totrace the FTP client:
Toproduce an FTP client trace or display the subcommands sent to the FTP server,
use the DEBUG FTP client subcommand. The DEBUG subcommand toggles the
debugging mode. If an optional debug-value is specified, it is used to set the
debugging level. When debugging is on, each subcommand sent to the server is
displayed and preceded by the string ’>>>’. The debug-value must be set to 100 to
produce an FTP client trace.

debug value

If the debug-value is 0, debugging is off. If the debug-value is a positive
integer, debugging is on.
If no value is specified, the debug-value is toggled from zero to one or from
a positive integer to zero.
100 Initiate an FTP client trace. The client continues running the trace until
DEBUG is turned off or until the FTP client is ended. (When the trace is
ended, there may be a significant delay while the trace data is formatted.)
Note: The FTP client trace should only be used for reporting software
problems to IBM. System performance may be adversely affected by
this function.
A new capability has been added to the FTP client for debugging for V4R4.This
function is similar to the DEBUG 100 described above. When the V4R4 client is
started, it first checks for the existence of a dataarea named QTMFTPD100.
Youneed to create the dataarea QTMFTPD100 in the QTEMP library using this
command:
CRTDTAARA DTAARA(QTEMP/QTMFTPD100) TYPE(*LGL) AUT(*USE)
If the QTMFTPD100 dataarea exists, then it will set the debug value to 100 and
start an FTP client trace. The purpose of this capability is to enable FTP client
debug traces to be done in those situations when an FTP client trace

cannot

be
started by issuing the DEBUG 100 subcommand.
Getting a Copy of an FTP Server Job Log
A copy of the FTP server job log may be required to obtain additional information
about errors that occur on the FTP server. Issuing the following subcommand from
the FTP client causes the server to create a spooled file of its job log:
QUOTE RCMD DSPJOBLOG
DEBug [debug value]
456 OS/400 TCP/IPConfiguration and Reference V4R4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||
|||
|||
||
|
||||