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

64 lines
4.3 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="DLTF (Delete File) command" />
<meta name="abstract" content="The Delete File (DLTF) command can be used to delete files on the source and target servers." />
<meta name="description" content="The Delete File (DLTF) command can be used to delete files on the source and target servers." />
<meta name="DC.subject" content="command, DDM-related, CL command considerations, DLTF (Delete File), command, Delete File (DLTF), command, CL, Delete File (DLTF), file, deleting, command, CL, DLTF (Delete File)" />
<meta name="keywords" content="command, DDM-related, CL command considerations, DLTF (Delete File), command, Delete File (DLTF), command, CL, Delete File (DLTF), file, deleting, command, CL, DLTF (Delete File)" />
<meta name="DC.Relation" scheme="URI" content="rbae5cmdcnsd.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="rbae5dltf" />
<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>DLTF (Delete File) command</title>
</head>
<body id="rbae5dltf"><a name="rbae5dltf"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1"><span class="cmdname">DLTF (Delete File)</span> command</h1>
<div><p>The <span class="cmdname">Delete File (DLTF)</span> command can be used to
delete files on the source and target servers.</p>
<div class="section"><p>The following items should be considered when using the SYSTEM
parameter values:</p>
<ul><li>When you specify *LCL, only local files are deleted. This might include
DDM files.</li>
<li>When you specify *RMT, the file is deleted on the remote server. You must
specify a DDM file on the FILE parameter. If a generic name is specified,
the remote files corresponding to any DDM files matching the generic name
are deleted. (The local DDM files are not deleted.)</li>
<li>When you specify *FILETYPE, if a DDM file has been specified, the remote
file is deleted. If a DDM file has not been specified, the local file is deleted.
When you specify generic names, local non-DDM files are deleted first. Remote
files for any DDM files matching the generic name are then deleted. Local
DDM files are not deleted.</li>
</ul>
<div class="note"><span class="notetitle">Notes:</span> <ol><li>Structured Query Language/400 (SQL/400<sup>®</sup>) DROP TABLE and DROP VIEW statements
work only on local files.</li>
<li>If the DLTF command is used to delete the remote file without first releasing
(using the <span class="cmdname">DLCOBJ</span> command) the locks obtained by the <span class="cmdname">ALCOBJ</span> command,
the DDM conversation is not reclaimed until the source job has ended.</li>
</ol>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbae5cmdcnsd.htm" title="This topic collection describes DDM-related specifics about iSeries CL commands when they are used with DDM files. These topics discuss running the commands on the source server and do not discuss them being submitted to run on the target server by the Submit Remote Command (SBMRMTCMD) command.">DDM-related CL command considerations</a></div>
</div>
</div>
</body>
</html>