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

66 lines
4.0 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="RCMD (Send a CL Command to an FTP Server System)" />
<meta name="DC.Relation" scheme="URI" content="rzaiqserversu.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqsscsc.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzal7/rzal7overview.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqquote.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="rzaiqrcmd" />
<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>RCMD (Send a CL Command to an FTP Server System)</title>
</head>
<body id="rzaiqrcmd"><a name="rzaiqrcmd"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">RCMD (Send a CL Command to an FTP Server System)</h1>
<div><div class="section"><h4 class="sectiontitle">FTP server subcommand</h4><p>Use the server subcommand
RCMD to run iSeries™ control
language (CL) commands on the FTP server system. The length of the RCMD subcommand
string is up to 1000 characters. Because no prompting is available for the
RCMD subcommand, the RCMD subcommand string must include all necessary parameters
to run the CL command.</p>
<p>If the CL command called through the RCMD subcommand
runs successfully, a message stating that the subcommand is successful is
displayed. If an error occurrs, it displays a message that states there was
an error. The message does not include what the error was unless the error
occurred because a library, file, or member name was not valid.</p>
<p>This
is an example of using RCMD to run a Delete File (DLTF) command:</p>
<pre> QUOte RCMD DLTF FILE(mylib/myfile)</pre>
<p><samp class="codeph">mylib</samp> is the name of the library from which the file is to be deleted. <samp class="codeph">myfile</samp> is
the name of the file to be deleted.</p>
<p>You might also be interested in
reading about the REXEC server, which provides an alternative method for executing
CL commands on a remote system.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiqserversu.htm" title="These subcommands represent communication between the client and server. This topic includes descriptions for iSeries CL-equivalent subcommands that are unique to iSeries FTP server.">File Transfer Protocol server subcommands</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="../rzal7/rzal7overview.htm">REXEC server</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="rzaiqsscsc.htm" title="The File Transfer Protocol (FTP) server subcommands described in this topic make use of syntax conventions:">File Transfer Protocol server syntax conventions</a></div>
<div><a href="rzaiqquote.htm">QUOTE (Send a Subcommand to an FTP Server)</a></div>
</div>
</div>
</body>
</html>