125 lines
4.8 KiB
HTML
125 lines
4.8 KiB
HTML
|
|
||
|
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
|
<html>
|
||
|
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
<title>Dump Object (DMP)</title>
|
||
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
||
|
</head>
|
||
|
<body bgcolor="white">
|
||
|
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<a name="DMP.Top_Of_Page"></a>
|
||
|
<h2>Dump Object (DMP)</h2>
|
||
|
<table width="100%">
|
||
|
<tr>
|
||
|
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
|
||
|
<b>Threadsafe: </b>No
|
||
|
</td>
|
||
|
<td valign="top" align="right">
|
||
|
<a href="#DMP.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#DMP.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#DMP.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="DMP"></a>
|
||
|
<p>The Dump (DMP) command dumps the contents and/or attributes of the specified integrated file system object to a spooled printer file named QPSRVDMP. Whether the contents and/or attributes can be dumped depends upon the object type. Any integrated file system object can be dumped, but only one object can be specified at a time on this command.
|
||
|
</p>
|
||
|
<p><b>Restrictions:</b>
|
||
|
</p>
|
||
|
<ul>
|
||
|
<li>You must have read and execute (*RX) authorities to the directory containing the object and read (*R) to the object. If the object is in QSYS.LIB file system, you must have use (*USE) authority to the object and execute (*EXECUTE) authority to the library. To dump internal document library objects all object (*ALLOBJ) special authority is required.
|
||
|
</li>
|
||
|
<li>The Dump (DMP) command will not allow a pattern to be specified for a directory in the path name, only for the object name. You can invoke the Work with Object Links (WRKLNK) command to see objects in directories.
|
||
|
</li>
|
||
|
<li>For more information on specifying path names, refer to Chapter 2 of the CL information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter. Additional information about object name patterns is in the Integrated file system information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
|
||
|
</li>
|
||
|
<li>Not all file systems support the DMP command. The following list of local file systems are supported:
|
||
|
<ul>
|
||
|
<li>Root file system
|
||
|
</li>
|
||
|
<li>QOpenSys file system
|
||
|
</li>
|
||
|
<li>QSYS.LIB file system
|
||
|
</li>
|
||
|
<li>QDLS file system
|
||
|
</li>
|
||
|
<li>User-defined file systems
|
||
|
</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DMP.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="DMP.PARAMETERS.TABLE">Parameters</a></h3>
|
||
|
<table border="1" cellpadding="4" cellspacing="0">
|
||
|
<!-- col1="10" col2="15" col3="30" col4="10" -->
|
||
|
<tr>
|
||
|
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
|
||
|
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
|
||
|
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
|
||
|
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#DMP.OBJ"><b>OBJ</b></a></td>
|
||
|
<td valign="top">Object</td>
|
||
|
<td valign="top"><i>Path name</i>, <b><u>*</u></b></td>
|
||
|
<td valign="top">Optional, Positional 1</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DMP.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="DMP.OBJ"></a>
|
||
|
<h3>Object (OBJ)</h3>
|
||
|
<p>Specifies the path name of the object to dump.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*</u></b></dt>
|
||
|
<dd>If invoked from an interactive job, the Select Object menu is shown, listing all directories and files in the job's current directory. From this display, you can select an object to be dumped. You can use the Change Current Directory (CHGCURDIR or CD or CHDIR) command to change the current directory before running the DMP command.
|
||
|
</dd>
|
||
|
<dt><b><i>path-name</i></b></dt>
|
||
|
<dd>Specifies the path name of the object to be dumped. If a pattern is specified on this parameter and more than one object matches the pattern, you can select the object from a list in an interactive job. If this is a batch job, the command fails with an error message.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DMP.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="DMP.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p><b>Example 1: Dumping Stream File Contents</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
DMP OBJ('/user/Test.stmf')
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command dumps the contents of the stream file named <i>/user/Test.stmf</i>. The dump is spooled to the printer output file QPSRVDMP.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DMP.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="DMP.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>CPFA08E</b></dt>
|
||
|
<dd>More than one name matches pattern.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DMP.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|