120 lines
8.7 KiB
HTML
120 lines
8.7 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="SBMRMTCMD (Submit Remote Command) command" />
|
|
<meta name="abstract" content="The Submit Remote Command (SBMRMTCMD) command submits a command using DDM to run on the target server." />
|
|
<meta name="description" content="The Submit Remote Command (SBMRMTCMD) command submits a command using DDM to run on the target server." />
|
|
<meta name="DC.subject" content="DDM-specific CL command, SBMRMTCMD (Submit Remote Command), command, CL, DDM-specific, command, CL, command, Submit Remote Command (SBMRMTCMD), SBMRMTCMD (Submit Remote Command), remote command, submitting" />
|
|
<meta name="keywords" content="DDM-specific CL command, SBMRMTCMD (Submit Remote Command), command, CL, DDM-specific, command, CL, command, Submit Remote Command (SBMRMTCMD), SBMRMTCMD (Submit Remote Command), remote command, submitting" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbae5ddmspecificcl.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbae5targt.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbae5scres.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbae5sbmrmtcmdex.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbae5addcons.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbae5partfile.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbae5srcsvraction.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbae5filmgmt.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbae5filmgmt.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="../cl/rclddmcnv.htm" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1999, 2006" />
|
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1999, 2006" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="rbae5sbmcmd" />
|
|
<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>SBMRMTCMD (Submit Remote Command) command</title>
|
|
</head>
|
|
<body id="rbae5sbmcmd"><a name="rbae5sbmcmd"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1"><span class="cmdname">SBMRMTCMD (Submit Remote Command)</span> command</h1>
|
|
<div><p>The <span class="cmdname">Submit Remote Command (SBMRMTCMD)</span> command
|
|
submits a command using DDM to run on the target server.</p>
|
|
<div class="section"><p> The remote location information in the DDM file is used to determine
|
|
the communications line to be used, and thus, indirectly identifies the target
|
|
server that is to receive the submitted command.</p>
|
|
</div>
|
|
<div class="section"><p>You can use the <span class="cmdname">SBMRMTCMD</span> command to send commands
|
|
to any of the following target servers:</p>
|
|
<ul><li><span class="keyword">iSeries™</span></li>
|
|
<li><span class="keyword">System/38™</span></li>
|
|
<li>Any server that supports the <span class="cmdname">Submit System Command (SBMSYSCMD)</span> DDM
|
|
command</li>
|
|
</ul>
|
|
</div>
|
|
<div class="section"><p>The <span class="cmdname">SBMRMTCMD</span> command can be used to send CL
|
|
commands (and only CL) to an <span class="keyword">iSeries server</span> or
|
|
a <span class="keyword">System/38</span>. It can also be
|
|
used to send commands to target servers other than <span class="keyword">iSeries</span> or <span class="keyword">System/38</span> servers if the target server
|
|
supports the DDM architecture Submit System command. The command must be in
|
|
the syntax of the target server. The <span class="cmdname">SBMRMTCMD</span> command
|
|
cannot be used to send operation control language (OCL) commands to a <span class="keyword">System/36™</span> target because the <span class="keyword">System/36</span> server does not support the
|
|
function.</p>
|
|
</div>
|
|
<div class="section"><p>The primary purpose of this command is to allow a user or program
|
|
using the source server to perform file management operations and file authorization
|
|
activities on files located on a target server. The user must have the proper
|
|
authority for the target server objects that the command is to operate on.
|
|
The following actions are examples of what can be performed on remote files
|
|
using the <span class="cmdname">SBMRMTCMD</span> command:</p>
|
|
<ul><li>Create or delete device files</li>
|
|
<li>Grant or revoke object authority to remote files</li>
|
|
<li>Verify files or other objects</li>
|
|
<li>Save or restore files or other objects</li>
|
|
</ul>
|
|
</div>
|
|
<div class="section"><p>Although the command can be used to do many things with files
|
|
or objects, some are not as useful as others. For example, you can use this
|
|
command to display the file descriptions or field attributes of remote files,
|
|
or to dump files or other objects, but the output remains at the target server.
|
|
Another way to display remote file descriptions and field attributes at the
|
|
source system is to use the <span class="cmdname">Display File Description (DSPFD)</span> and <span class="cmdname">Display
|
|
File Field Description (DSPFFD)</span> commands. Specify the SYSTEM(*RMT)
|
|
parameter and the names of the DDM files associated with the remote files.
|
|
This returns the information you want directly to the local server.</p>
|
|
</div>
|
|
<div class="section"><p>A secondary purpose of this command is to allow a user to perform
|
|
nonfile operations (such as creating a message queue) or to submit user-written
|
|
commands to run on the target server. The CMD parameter allows you to specify
|
|
a character string of up to 2000 characters that represents a command to be
|
|
run on the target server.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<ul class="ullinks">
|
|
<li class="ulchildlink"><strong><a href="rbae5targt.htm">iSeries and System/38 target systems on the SBMRMTCMD command</a></strong><br />
|
|
The <span class="cmdname">SBMRMTCMD</span> command can submit any CL command
|
|
that can run in both the batch environment and using the QCAEXEC server program.</li>
|
|
<li class="ulchildlink"><strong><a href="rbae5scres.htm">Restrictions for the SBMRMTCMD command</a></strong><br />
|
|
This topic describes restrictions for the <span class="cmdname">SBMRMTCMD</span> command.</li>
|
|
<li class="ulchildlink"><strong><a href="rbae5sbmrmtcmdex.htm">Examples: SBMRMTCMD command</a></strong><br />
|
|
The examples display different uses for the <span class="cmdname">SBMRMTCMD</span> command.</li>
|
|
<li class="ulchildlink"><strong><a href="rbae5addcons.htm">Additional considerations: SBMRMTCMD command</a></strong><br />
|
|
This topic describes additional considerations for the SBMRMTCMD command.</li>
|
|
</ul>
|
|
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbae5ddmspecificcl.htm" title="This topic covers DDM-specific CL commands.">DDM-specific CL commands</a></div>
|
|
</div>
|
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
|
<div><a href="rbae5partfile.htm" title="A system object with type *FILE exists on the source server to identify a remote file. It combines the characteristics of a device file and a database file. As a device file, the DDM file refers to a remote location name, local location name, device name, mode, and a remote network ID to identify a remote server as the target server. The DDM file appears to the application program as a database file and serves as the access device between a source server program and a remote file.">Parts of DDM: DDM file</a></div>
|
|
<div><a href="rbae5srcsvraction.htm" title="If the target server is not another iSeries server or System/38, only the DDM architecture commands defined in Level 2.0 and earlier of the DDM architecture are used.">Source server actions dependent on type of target server</a></div>
|
|
</div>
|
|
<div class="relref"><strong>Related reference</strong><br />
|
|
<div><a href="rbae5filmgmt.htm" title="i5/OS DDM supports creating, deleting, or renaming of files on a remote server.">Perform file management functions on remote servers</a></div>
|
|
<div><a href="../cl/rclddmcnv.htm">Reclaim DDM Conversations (RCLDDMCNV) command</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |