ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaiq_5.4.0.1/rzaiqjoblog.htm

87 lines
4.9 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="reference" />
<meta name="DC.Title" content="Work with FTP server jobs and job log" />
<meta name="abstract" content="You can research FTP errors by obtaining a spooled file of the FTP server job log." />
<meta name="description" content="You can research FTP errors by obtaining a spooled file of the FTP server job log." />
<meta name="DC.Relation" scheme="URI" content="rzaiqlogserr.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/wrksplf.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2004, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2004, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzaiqjoblog" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Work with FTP server jobs and job log</title>
</head>
<body id="rzaiqjoblog"><a name="rzaiqjoblog"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Work with FTP server jobs and job log</h1>
<div><p>You can research FTP errors by obtaining a spooled file of the
FTP server job log.</p>
<div class="section"><p>A copy of the FTP server job log can be required to obtain additional
information about errors that occur on the FTP server. The FTP server automatically
writes a server job log to a spooled file when it ends with an error.</p>
<p>A
server job log can be written to a spooled file without ending
the server by issuing the following subcommand from an FTP client:</p>
<pre> QUOTE RCMD DSPJOBLOG</pre>
<p>To
obtain a copy of error messages written to the server job log, this subcommand
must be issued after the error has occurred. You can then inspect the job
log using the WRKSPLF command.</p>
<p>This technique is recommended in those
cases where the reply message returned to the client from the server only
provides minimal information about an error occurring on the server machine.
For example, this method is useful for obtaining details about I/O errors
that occur on the server machine.</p>
<p>If the error prevents the FTP server
job log from being obtained by the method described here, enter the following
command to force a spooled job log to be created for each FTP session:</p>
<pre> CHGJOBD JOBD(QUSRSYS/QTMFTPS) LOG(4 00 *SECLVL)</pre>
<p>Then recreate the scenario which causes the error. To restore the original
job log behavior after obtaining the required data, enter the following command:</p>
<pre> CHGJOBD JOBD(QUSRSYS/QTMFTPS) LOG(4 00 *NOLOG)</pre>
<p>To have a spooled job log produced at the end of each FTP session and
each time an FTP server ends (with or without an error), use the Change Job
Description (CHGJOBD) command as follows:</p>
<pre> CHGJOBD JOBD(QUSRSYS/QTMFTPS) LOG(4 00 *SECLVL)</pre>
<p>To
get a spooled job log only when a server ends, use the CHGJOBD command as
follows:</p>
<pre> CHGJOBD JOBD(QUSRSYS/QTMFTPS) LOG(4 00 *NOLIST)</pre>
</div>
<div class="section"><h4 class="sectiontitle">FTP server jobs and job names</h4><p>The FTP server jobs
are started when the STRTCP command is run and the FTP AUTOSTART parameter
is set to *YES, or when the STRTCPSVR command is run with a SERVER parameter
of *FTP or *ALL. These jobs run in the QSYSWRK subsystem and their purpose
is to monitor for incoming FTP users. The format for the names of these jobs
is QTFTPnnnnn. The nnnnn is the job number of the FTP server job submitting
to this server.</p>
<p>To work with FTP server jobs, enter the following CL
command:</p>
<pre> WRKACTJOB JOB(QTFTP*)</pre>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiqlogserr.htm" title="This topic provides basic troubleshooting techniques for problems that occur with the FTP server or FTP client.">Troubleshoot FTP</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="../cl/wrksplf.htm">WRKSPLF</a></div>
</div>
</div>
</body>
</html>