ibm-information-center/dist/eclipse/plugins/i5OS.ic.ddm_5.4.0.1/rbae5objcmds.htm

214 lines
15 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="Object-oriented commands with DDM" />
<meta name="abstract" content="The DDM file object on the source iSeries server can be accessed by these object-oriented CL commands. These commands work with DDM files as they normally do with any other files on the local server." />
<meta name="description" content="The DDM file object on the source iSeries server can be accessed by these object-oriented CL commands. These commands work with DDM files as they normally do with any other files on the local server." />
<meta name="DC.subject" content="command, DDM-related, CL command list, object-oriented commands" />
<meta name="keywords" content="command, DDM-related, CL command list, object-oriented commands" />
<meta name="DC.Relation" scheme="URI" content="rbae5cmdlsts.htm" />
<meta name="DC.Relation" scheme="URI" content="rbae5cmdlsts.htm" />
<meta name="DC.Relation" scheme="URI" content="../rbam6/rbam6clmain.htm" />
<meta name="DC.Relation" scheme="URI" content="rbae5filmgmt.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="rbae5objcmds" />
<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>Object-oriented commands with DDM</title>
</head>
<body id="rbae5objcmds"><a name="rbae5objcmds"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Object-oriented commands with DDM</h1>
<div><p>The DDM file object on the source <span class="keyword">iSeries™ server</span> can
be accessed by these object-oriented CL commands. These commands work with
DDM files as they normally do with any other files on the local server.</p>
<div class="section"><p>Some of these commands can operate on more than one object, and
one or more of them might be DDM files if, for example, a generic file name
is specified.</p>
<p>Except as noted in the chart, these commands have no effect
on the remote file associated with the DDM file; that is, no reference is
made over a communications line to the target server when one of these commands
specifies a DDM file.</p>
</div>
<div class="section"><p>However, if you do want one of these commands to operate on a
remote file (instead of the DDM file), you can use the <span class="cmdname">Submit Remote
Command (SBMRMTCMD)</span> command to submit the command to run on the
target server, if it is an <span class="keyword">iSeries server</span> or
a <span class="keyword">System/38™</span>. The results of
running the submitted command, in this case, are not sent back to the source
server, except for some indication to the source server user (normally a message)
about whether the function was performed successfully.</p>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" width="100%" frame="hsides" border="0" rules="none"><thead align="left"><tr><th align="left" valign="bottom" width="50%" id="d0e59"><strong>Command name</strong></th>
<th align="left" valign="bottom" width="50%" id="d0e62"><strong>Descriptive name</strong></th>
</tr>
</thead>
<tbody><tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">CHGDDMF</span></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Change DDM File</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">CHGLF</span><sup>1,2,3,4</sup></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Change Logical File</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">CHGOBJOWN</span></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Change Object Owner</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">CHGPF</span><sup>1,2,3,4</sup></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Change Physical File</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">CHGSRCPF</span><sup>1,2,3,4</sup></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Change Source Physical File</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">CHKOBJ</span></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Check Object</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">CRTDDMF</span></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Create DDM File</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">CRTDUPOBJ</span></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Create Duplicate Object</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">CRTLF</span><sup>1,2,3</sup></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Create Logical File</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">CRTPF</span><sup>1,2,3</sup></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Create Physical File</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">CRTSRCPF</span><sup>1,2,3</sup></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Create Source Physical File</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">CRTS36CBL</span><sup>6</sup></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Create S/36 COBOL Program</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">CRTS36DSPF</span><sup>7</sup></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Create S/36 Display File</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">CRTS36MNU</span><sup>7</sup></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Create S/36 Menu</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">CRTS36MSGF</span><sup>7</sup></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Create S/36 Message File</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">CRTS36RPG</span><sup>6</sup></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Create S/36 RPG II Program</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">CRTS36RPGR</span><sup>7</sup></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Create Console Display File</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">CRTS36RPT</span><sup>6</sup></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Create S/36 RPG II Auto Report</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">DLTF</span><sup>1,2,3</sup></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Delete File</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">DMPOBJ</span></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Dump Object</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">DMPSYSOBJ</span></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Dump System Object</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">DSPFD</span><sup>1,2,3</sup></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Display File Description</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">DSPFFD</span><sup>1,2,3</sup></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Display File Field Description</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">DSPOBJAUT</span></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Display Object Authority</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">DSPOBJD</span></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Display Object Description</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">GRTOBJAUT</span></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Grant Object Authority</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">MOVOBJ</span></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Move Object</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">RCLDDMCNV</span></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Reclaim DDM Conversations</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">RNMOBJ</span><sup>1,2,3</sup></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Rename Object</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">RSTLIB</span></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Restore Library</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">RSTOBJ</span></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Restore Object</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">RVKOBJAUT</span></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Revoke Object Authority</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">SAVCHGOBJ</span></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Save Changed Object</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">SAVLIB</span></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Save Library</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">SAVOBJ</span></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Save Object</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">WRKJOB</span><sup>5</sup></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Work with Job</strong></td>
</tr>
<tr><td align="left" valign="top" width="50%" headers="d0e59 "><strong><span class="cmdname">WRKOBJLCK</span><sup>5</sup></strong></td>
<td align="left" valign="top" width="50%" headers="d0e62 "><strong>Work with Object Lock</strong></td>
</tr>
<tr><td colspan="2" align="left" valign="top" headers="d0e59 d0e62 "><dl><dt class="dlterm"><sup>1</sup></dt>
<dd>When run on the source system, this command does not refer to the remote
file when SYSTEM(*LCL) is used.</dd>
<dt class="dlterm"><sup>2</sup></dt>
<dd>The remote operation is performed if SYSTEM(*RMT) is specified, or if
SYSTEM(*FILETYPE) is specified and the file is a DDM file.</dd>
<dt class="dlterm"><sup>3</sup></dt>
<dd>Because DDM file names can be specified on these commands, the <span class="cmdname">SBMRMTCMD</span> command
is not needed to perform these functions on a target <span class="keyword">iSeries server</span> or
a target <span class="keyword">System/38</span>.</dd>
<dt class="dlterm"><sup>4</sup></dt>
<dd>The target must be an <span class="keyword">iSeries server</span> at
release 3.0 and above or support Level 2.0 of DDM architecture.</dd>
<dt class="dlterm"><sup>5</sup></dt>
<dd>When run on the source server, this command displays any locks on the
DDM file, not on the remote file.</dd>
<dt class="dlterm"><sup>6</sup></dt>
<dd>This System/36™ environment
command is supported by DDM. </dd>
<dt class="dlterm"><sup>7</sup></dt>
<dd>This System/36 environment
command is <em>not</em> supported by DDM. </dd>
</dl>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbae5cmdlsts.htm" title="The control language (CL) commands that have a specific relationship with DDM are grouped in charts in these topics to show the command functions that are available with DDM, those having common limitations when used with DDM, and those that cannot be used with DDM.">DDM-related CL command lists</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="../rbam6/rbam6clmain.htm">Control language</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="rbae5cmdlsts.htm" title="The control language (CL) commands that have a specific relationship with DDM are grouped in charts in these topics to show the command functions that are available with DDM, those having common limitations when used with DDM, and those that cannot be used with DDM.">DDM-related CL command lists</a></div>
<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>
</div>
</body>
</html>