79 lines
4.4 KiB
HTML
79 lines
4.4 KiB
HTML
<?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="SYSCMD (Pass an iSeries CL Command to Your Local iSeries)" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaiqclientsu.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaiqcsubcs.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="rzaiqsyscmd" />
|
|
<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>SYSCMD (Pass an iSeries CL Command to Your Local iSeries)</title>
|
|
</head>
|
|
<body id="rzaiqsyscmd"><a name="rzaiqsyscmd"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">SYSCMD (Pass an iSeries CL Command to Your Local iSeries)</h1>
|
|
<div><div class="section"><h4 class="sectiontitle">FTP client subcommand</h4><p>To run a control language
|
|
(CL) command on your local iSeries™ without leaving the FTP environment, use
|
|
the SYSCMD FTP client subcommand in this format:</p>
|
|
<div class="figborder"><p>SYSCmd <em>commandline</em></p>
|
|
</div>
|
|
<dl><dt class="dlterm">commandline</dt>
|
|
<dd>An iSeries CL
|
|
command. You can precede the command name with a ? to get the prompt for the
|
|
CL command. For example, if you enter:<pre> SYSCMD ? SNDBRKMSG</pre>
|
|
<p>you
|
|
get the display for the Send Break Message (SNDBRKMSG) command.</p>
|
|
</dd>
|
|
</dl>
|
|
<p>If you want to see low level messages that result from your
|
|
CL command, or if you want to enter multiple CL commands before returning
|
|
to the FTP environment, use the iSeries CALL QCMD command.</p>
|
|
<p>For
|
|
example, to get to an iSeries Command Entry display, enter this:</p>
|
|
<pre>SYSCMD CALL QCMD</pre>
|
|
<p>From
|
|
the Command Entry display, you can then call your application programs or
|
|
enter CL commands. At the completion of your application program or the CL
|
|
command, you return to the Command Entry display. From there you can display
|
|
messages, start additional work on the system, or press F3 (Exit) or F12 (Cancel)
|
|
to return to FTP.</p>
|
|
<p>You can enter iSeries CL commands when you press F21
|
|
(CL command line) from the main FTP display. The server does not allow the
|
|
F21 key when an exit program it is an addition to the FTP Client Request Validation
|
|
exit point.</p>
|
|
<div class="note"><span class="notetitle">Notes:</span> <ol><li>Most server systems have a time-out period that ends the session if no
|
|
activity occurs within a specific time period. If the command runs for longer
|
|
than the time-out period, the server ends the connection with the client.</li>
|
|
<li>The iSeries server
|
|
supports the exclamation mark (!) as a synonym for the SYSCMD subcommand.</li>
|
|
<li>The SYSCMD subcommand passes to the iSeries as a CL command exactly what
|
|
the user enters.</li>
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiqclientsu.htm" title="Use File Transfer Protocol (FTP) client subcommands to establish a connection with a remote FTP server, navigate libraries and directories, create and delete files, and transfer files.">File Transfer Protocol client subcommands</a></div>
|
|
</div>
|
|
<div class="relref"><strong>Related reference</strong><br />
|
|
<div><a href="rzaiqcsubcs.htm" title="The File Transfer Protocol (FTP) client subcommands described in this topic make use of syntax conventions:">File Transfer Protocol client syntax conventions</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |