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

77 lines
4.6 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="MDELETE (Delete Multiple Files on a Remote System)" />
<meta name="DC.Relation" scheme="URI" content="rzaiqclientsu.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqdelete.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqcsubcs.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqctsdfl.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqcslarf.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="rzaiqmdelete" />
<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>MDELETE (Delete Multiple Files on a Remote System)</title>
</head>
<body id="rzaiqmdelete"><a name="rzaiqmdelete"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">MDELETE (Delete Multiple Files on a Remote System)</h1>
<div><div class="section"><h4 class="sectiontitle">FTP client subcommand</h4><div class="figborder"><p>MDelete { <em>remotefile</em> [remotefile...]}</p>
</div>
<dl><dt class="dlterm">remotefile</dt>
<dd>The file or files on the server system you want to delete.</dd>
</dl>
<div class="note"><span class="notetitle">Note:</span> When the remotefile is an iSeries™ QSYS.LIB file, then the server
deletes all members of the iSeries physical file. The file itself remains.</div>
<p>This
is a library file system example in NAMEFMT 0:</p>
<pre> MDELETE MYLIB/FILE1.MBRA YOURLIB/FILE2.MBRB</pre>
<p>This
deletes member MBRA in file FILE1 in library MYLIB and member MBRB in file
FILE2 in library YOURLIB on a remote iSeries server. The same example in NAMEFMT
1:</p>
<pre> MDELETE /QSYS.LIB/MYLIB.LIB/FILE1.FILE/MBRA.MBR
/QSYS.LIB/YOURLIB.LIB/FILE2.FILE./MBRB.MBR</pre>
<p>This is a document
library system example in NAMEFMT 1:</p>
<pre> MDELETE /QDLS/QIWSOS2/PCSMENU.EXE /QDLS/PCSDIR/PCSFILE.EXE</pre>
<p>This
deletes document PCSMENU.EXE in folder QIWSOS2 in the document library services
library, and also deletes PCSFILE.EXE in folder PCSDIR in the QDLS library
on an iSeries.</p>
<p>You
can use an asterisk (<samp class="codeph">*</samp>) to delete the files generically.
For example with NAMEFMT 0, if the remote system is an iSeries, type:</p>
<pre> MDELETE MYLIB/MYFILE.*</pre>
<p>This
example would delete all members of file MYFILE in library MYLIB. Use of the
asterisk is only valid at the end of a character string.</p>
</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="rzaiqdelete.htm">DELETE (Delete a File on a Remote System)</a></div>
<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><a href="rzaiqctsdfl.htm" title="You can use default source and target file names for some subcommands; however, you must specify a file name for other subcommands.">File names for client-transfer subcommands</a></div>
<div><a href="rzaiqcslarf.htm" title="Use the localfile and remotefile parameters to transfer data.">Naming files for transfer</a></div>
</div>
</div>
</body>
</html>