ibm-information-center/dist/eclipse/plugins/i5OS.ic.cl_5.4.0.1/dmpsysobj.htm

504 lines
20 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<!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 System Object (DMPSYSOBJ)</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="DMPSYSOBJ.Top_Of_Page"></a>
<h2>Dump System Object (DMPSYSOBJ)</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="#DMPSYSOBJ.PARAMETERS.TABLE">Parameters</a><br>
<a href="#DMPSYSOBJ.COMMAND.EXAMPLES">Examples</a><br>
<a href="#DMPSYSOBJ.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="DMPSYSOBJ"></a>
<p>The Dump System Object (DMPSYSOBJ) command is used primarily for various problem analysis tasks. It dumps the contents or attributes of machine interface (MI) system objects to a spooled printer file named QPSRVDMP. Any MI object that is stored in any context or that is addressable through an object stored in a context can be dumped.
</p>
<p><b>Restrictions:</b>
</p>
<ul>
<li>To use this command, you must be signed on as QPGMR, QSYSOPR, QSRV, or QSRVBAS, or have all object (*ALLOBJ) special authority.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#DMPSYSOBJ.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="DMPSYSOBJ.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="#DMPSYSOBJ.OBJ"><b>OBJ</b></a></td>
<td valign="top">Object</td>
<td valign="top"><i>Character value</i>, <b><u>*PCS</u></b>, *MCHCTX, *ALL</td>
<td valign="top">Optional, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#DMPSYSOBJ.CONTEXT"><b>CONTEXT</b></a></td>
<td valign="top">Context or library</td>
<td valign="top"><i>Name</i>, <b><u>*NONE</u></b>, *MCHCTX</td>
<td valign="top">Optional, Positional 2</td>
</tr>
<tr>
<td valign="top"><a href="#DMPSYSOBJ.TYPE"><b>TYPE</b></a></td>
<td valign="top">Internal object type</td>
<td valign="top"><b><u>*ALL</u></b>, 01, 02, 03, 04, 07, 08, 09, 0A, 0B, 0C, 0D, 0E, 0F, 10, 11, 12, 13, 14, 15, 18, 19, 1A, 1B, 1C</td>
<td valign="top">Optional, Positional 3</td>
</tr>
<tr>
<td valign="top"><a href="#DMPSYSOBJ.SUBTYPE"><b>SUBTYPE</b></a></td>
<td valign="top">Internal object subtype</td>
<td valign="top"><i>Character value</i>, <b><u>*ALL</u></b></td>
<td valign="top">Optional, Positional 4</td>
</tr>
<tr>
<td valign="top"><a href="#DMPSYSOBJ.OBJTYPE"><b>OBJTYPE</b></a></td>
<td valign="top">Object type</td>
<td valign="top">*ALL, *ALRTBL, *AUTL, *BNDDIR, *CFGL, *CHTFMT, *CLD, *CLS, *CMD, *CNNL, *COSD, *CRG, *CRQD, *CSI, *CSPMAP, *CSPTBL, *CTLD, *DEVD, *DIR, *DOC, *DTAARA, *DTADCT, *DTAQ, *EDTD, *EXITRG, *FCT, *FILE, *FLR, *FNTRSC, *FNTTBL, *FORMDF, *FTR, *GSS, *IGCDCT, *IGCSRT, *IGCTBL, *IMGCLG, *IPXD, *JOBD, *JOBQ, *JOBSCD, *JRN, *JRNRCV, *LIB, *LIND, *LOCALE, *MEDDFN, *MENU, *MODD, *MGTCOL, *MODULE, *MSGF, *MSGQ, *M36, *M36CFG, *NODL, *NTBD, *NWID, *NWSCFG, *NWSD, *OUTQ, *OVL, *PAGDFN, *PAGSEG, *PDFMAP, *PDG, *PGM, *PNLGRP, *PRDAVL, *PRDDFN, *PRDLOD, *PSFCFG, *QMFORM, *QMQRY, *QRYDFN, *RCT, *SBSD, *SCHIDX, *SPADCT, *SQLPKG, *SQLUDT, *SRVPGM, *SSND, *SVRSTG, *S36, *TBL, *TIMZON, *USRIDX, *USRPRF, *USRQ, *USRSPC, *WSCST</td>
<td valign="top">Optional, Positional 5</td>
</tr>
<tr>
<td valign="top"><a href="#DMPSYSOBJ.OFFSET"><b>OFFSET</b></a></td>
<td valign="top">Hexadecimal offsets</td>
<td valign="top">Single values: <b><u>*NONE</u></b><br>Other values (up to 50 repetitions): 00000000-00FFFFFF</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#DMPSYSOBJ.SPACE"><b>SPACE</b></a></td>
<td valign="top">Area of space to dump</td>
<td valign="top">Single values: <b><u>*</u></b><br>Other values: <i>Element list</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: Hexadecimal offset</td>
<td valign="top">
00000000-00FFFFFF</td>
</tr>
<tr>
<td valign="top">Element 2: Hexadecimal length or *</td>
<td valign="top">
00000001-00FFFFFF, <b><u>*</u></b></td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#DMPSYSOBJ.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="DMPSYSOBJ.OBJ"></a>
<h3>Object (OBJ)</h3>
<p>Specifies which of the system objects are to be dumped. The name of a specific object, the generic name of a group of objects, the process control space of the job, the machine context, or all of the objects in a context can be specified. If a library name is specified, the library is dumped, but not the objects in it. If QTEMP is specified here along with either *LIB on the <b>Object type (OBJTYPE)</b> parameter, or <b>04</b> on the <b>Internal object type (TYPE)</b> parameter and <b>01</b> on the <b>Internal object subtype (SUBTYPE)</b> parameter, then the temporary job context associated with the job that this command is entered from, or the job being serviced as a result of the Start Service Job (STRSRVJOB) command, is dumped. In either case, the <b>Context or library (CONTEXT)</b> parameter value is ignored.
</p>
<dl>
<dt><b><u>*PCS</u></b></dt>
<dd>The process control space of the current job or that of the job being serviced as a result of the Start Service Job (STRSRVJOB) command is dumped. *PCS specified here can be used with the <b>Hexadecimal offsets (OFFSET)</b> parameter and the <b>Area of space to dump (SPACE)</b> parameter to dump objects in the job structure. If *PCS is specified, the following parameters are ignored:
<ul>
<li><b>Object type</b> (OBJTYPE parameter).
</li>
<li><b>Internal object subtype</b> (SUBTYPE parameter).
</li>
<li><b>Internal object type</b> (TYPE parameter).
</li>
<li><b>Context or library</b> (CONTEXT parameter).
</li>
</ul>
</dd>
<dt><b>*MCHCTX</b></dt>
<dd>The machine context (which contains a list of the objects in the context) is dumped. If *MCHCTX is specified here, all the other parameters in this command are ignored.
</dd>
<dt><b>*ALL</b></dt>
<dd>All the system objects in the specified context are dumped if they match the requirements specified on either the OBJTYPE parameter or the TYPE and SUBTYPE parameters.
</dd>
<dt><b><i>generic-name</i></b></dt>
<dd>Specify the generic object name that identifies the group of system objects to dump. An object name can have as many as 30 characters in it.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the object that is to be dumped. A maximum of 30 characters can be entered. If more than one object has the same name, all objects having that name and matching the attributes specified are dumped.
<p>If a specific object is being dumped, values should be specified for on one of the following groups of parameters:
</p>
<ul>
<li>CONTEXT, TYPE, and SUBTYPE
</li>
<li>CONTEXT and OBJTYPE
</li>
</ul>
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DMPSYSOBJ.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DMPSYSOBJ.CONTEXT"></a>
<h3>Context or library (CONTEXT)</h3>
<p>Specifies in which context or library the objects to be dumped are located.
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>The object specified on the <b>Object (OBJ)</b> parameter is not in any context. *NONE is valid only if *PCS or *MCHCTX is specified or defaulted for the OBJ parameter, or if QTEMP is specified on the OBJ along with either *LIB for the OBJTYPE parameter, or <b>04</b> for the TYPE parameter and <b>01</b> for the SUBTYPE parameter.
</dd>
<dt><b>*MCHCTX</b></dt>
<dd>The objects to dump are in the machine context. The following operating system object types, whose system object names are given in parentheses, can reside <b>only</b> in the <b>machine</b> context: library (context), user profile, device description, line description, network interface description, and controller description. *MCHCTX is valid only if one of these five object types is dumped.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the context containing the objects being dumped. The name of a library, such as QGPL or QTEMP, can be specified. If QTEMP is specified, the objects to dump are in the temporary job context associated with the job that this command is entered from or the job being serviced as a result of the Start Service Job (STRSRVJOB) command.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DMPSYSOBJ.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DMPSYSOBJ.TYPE"></a>
<h3>Internal object type (TYPE)</h3>
<p>Specifies the type of MI objects to dump.
</p>
<dl>
<dt><b><u>*ALL</u></b></dt>
<dd>All object types in the specified context that have the specified name (if used) are dumped.
</dd>
<dt><b><i>MI-system-object-type-in-hex</i></b></dt>
<dd>Specify the hexadecimal value that specifies the type of system objects to dump. The value must be specified with both characters, but it does not have to be enclosed in apostrophes.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DMPSYSOBJ.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DMPSYSOBJ.SUBTYPE"></a>
<h3>Internal object subtype (SUBTYPE)</h3>
<p>Specifies the subtype of the specified MI objects to dump, or specifies that all subtypes are being dumped. This parameter is valid only if the <b>Internal object type (TYPE)</b> parameter is also specified.
</p>
<dl>
<dt><b><u>*ALL</u></b></dt>
<dd>All the sub-types of the specified objects are dumped.
</dd>
<dt><b><i>MI-system-object-subtype-in-hex</i></b></dt>
<dd>Specify the specific subtype of the system objects to dump. The subtypes are in the range of 00 through FF. However, the subtype specified must be for an MI object actually in the specified context. If *ALL is specified on the TYPE parameter, a specific subtype <b>cannot</b> be specified.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DMPSYSOBJ.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DMPSYSOBJ.OBJTYPE"></a>
<h3>Object type (OBJTYPE)</h3>
<p>Specifies the object type of the operating system objects to have their associated MI system objects dumped. If an object type is specified, values cannot be specified on either the <b>Internal object type (TYPE)</b> parameter or the <b>Internal object subtype (SUBTYPE)</b> parameter.
</p>
<dl>
<dt><b><u>*ALL</u></b></dt>
<dd>The specified MI objects of all operating system object types are dumped.
</dd>
<dt><b><i>operating-system-object-type</i></b></dt>
<dd>Specify the Operating System object type for the objects to be dumped.
<p>To see a complete list of object types when prompting this command, position the cursor on the field for this parameter and press F4 (Prompt). For a description of the object types, see "Object types" in the CL concepts and reference topic in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
</p>
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DMPSYSOBJ.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DMPSYSOBJ.OFFSET"></a>
<h3>Hexadecimal offsets (OFFSET)</h3>
<p>Specifies a list of values to use as offsets to indirectly address a single object that is being dumped. The values must be positive hexadecimal values or zeros that, when added to a pointer, result in valid addresses. If an offset of zero is added to a system pointer, the result is a pointer to the start of the space associated with the object that is addressed by the system pointer.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>No offset is specified. The object located through the context is dumped.
</dd>
</dl>
<p><b>Other values</b>
</p>
<dl>
<dt><b><i>X'00000000'-X'00FFFFFF'</i></b></dt>
<dd>Specify the list of offsets to pointers to use to address the object or space to dump. A maximum of 50 offset values can be specified.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DMPSYSOBJ.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DMPSYSOBJ.SPACE"></a>
<h3>Area of space to dump (SPACE)</h3>
<p>Specifies the area of a space or associated space to be dumped. The space is pointed to by the final pointer determined by the <b>Hexadecimal offsets (OFFSET)</b> parameter. If no value is specified for the OFFSET parameter, the final pointer is a system pointer to the specified object in the context.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*</u></b></dt>
<dd>If the final pointer is a system pointer, the object pointed to by that pointer is dumped. If the final pointer is a space pointer, the portion of the space that starts at the location pointed to by that pointer is dumped.
</dd>
</dl>
<p><b>Element 1: Hexadecimal offset</b>
</p>
<dl>
<dt><b><i>X'00000000'-X'00FFFFFF'</i></b></dt>
<dd>Specify the value to add to the final pointer to point to the beginning of the area to dump. The value specified must be a positive hexadecimal value or zero and, when added to the final pointer, must result in a valid address.
</dd>
</dl>
<p><b>Element 2: Hexadecimal length or *</b>
</p>
<dl>
<dt><b><u>*</u></b></dt>
<dd>The rest of the space pointed to as a result of the offset value is being dumped.
</dd>
<dt><b><i>X'00000000'-X'00FFFFFF'</i></b></dt>
<dd>Specify a positive hexadecimal value that specifies the length of the area to dump. If the length specified is greater than the actual length of the space, only the actual space available is dumped.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DMPSYSOBJ.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DMPSYSOBJ.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Dumping Indexes</b>
</p>
<p>
<pre>
DMPSYSOBJ CONTEXT(QTEMP) TYPE(0E)
</pre>
</p>
<p>This command dumps the contents and attributes of all the indexes in the temporary job context to a spooled file for printing. MI indexes are identified by the type code 0E.
</p>
<p><b>Example 2: Dumping a Device Description</b>
</p>
<p>
<pre>
DMPSYSOBJ OBJ(WS1) CONTEXT(*MCHCTX) OBJTYPE(*DEVD)
</pre>
</p>
<p>This command dumps the device description for work station WS1, which is stored in the machine context.
</p>
<p><b>Example 3: Dumping Process Control Space</b>
</p>
<p>
<pre>
DMPSYSOBJ OBJ(*PCS) SPACE(0 2A0)
</pre>
</p>
<p>This command dumps the work control block from the space associated with the process control space for the job.
</p>
<p><b>Example 4: Specifying Offset Values</b>
</p>
<p>
<pre>
DMPSYSOBJ OBJ(*PCS) OFFSET(60 E0 10 10) SPACE(0 20)
</pre>
</p>
<p>This command dumps the second call entry of the process automatic storage area (offset 60 E0) for a length of 32 bytes (SPACE(0 20)). If the third call level is dumped, OFFSET(60 E0 10 10 10) is specified.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#DMPSYSOBJ.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DMPSYSOBJ.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF3502</b></dt>
<dd>No objects printed because no objects found.
</dd>
<dt><b>CPF3508</b></dt>
<dd>SUBTYPE (&amp;5) value is not permitted.
</dd>
<dt><b>CPF3523</b></dt>
<dd>Starting offset &amp;8 greater than size of space.
</dd>
<dt><b>CPF3534</b></dt>
<dd>Not authorized to object.
</dd>
<dt><b>CPF3537</b></dt>
<dd>Object &amp;2 is damaged.
</dd>
<dt><b>CPF3538</b></dt>
<dd>Cannot allocate object.
</dd>
<dt><b>CPF3539</b></dt>
<dd>Object destroyed while being dumped.
</dd>
<dt><b>CPF3560</b></dt>
<dd>Job being serviced not running.
</dd>
<dt><b>CPF3561</b></dt>
<dd>Context &amp;8 &amp;9 &amp;7 not found.
</dd>
<dt><b>CPF3562</b></dt>
<dd>Object &amp;7 not found.
</dd>
<dt><b>CPF3563</b></dt>
<dd>Overflow value for file &amp;1 in &amp;2 too large.
</dd>
<dt><b>CPF3566</b></dt>
<dd>No objects dumped because no objects found.
</dd>
<dt><b>CPF3577</b></dt>
<dd>Data object &amp;7 not found.
</dd>
<dt><b>CPF3578</b></dt>
<dd>Base data object &amp;7 not found.
</dd>
<dt><b>CPF3642</b></dt>
<dd>Address of chain pointer &amp;7 not permitted.
</dd>
<dt><b>CPF3643</b></dt>
<dd>Address for chain pointer &amp;7 not 16-byte aligned.
</dd>
<dt><b>CPF3644</b></dt>
<dd>Base object &amp;7 has no associated space.
</dd>
<dt><b>CPF3645</b></dt>
<dd>Not authorized to base object &amp;7.
</dd>
<dt><b>CPF3646</b></dt>
<dd>Base object &amp;2 is damaged.
</dd>
<dt><b>CPF3647</b></dt>
<dd>Base object &amp;8 or previous base object destroyed.
</dd>
<dt><b>CPF3648</b></dt>
<dd>Base object &amp;2 data area not found.
</dd>
<dt><b>CPF3649</b></dt>
<dd>Chaining pointer &amp;7 does not exist at location specified.
</dd>
<dt><b>CPF3650</b></dt>
<dd>Chaining pointer &amp;7 is instruction pointer.
</dd>
<dt><b>CPF3651</b></dt>
<dd>Offset too large for base object &amp;7.
</dd>
<dt><b>CPF3652</b></dt>
<dd>Offset to last chaining pointer too large.
</dd>
<dt><b>CPF3653</b></dt>
<dd>Location for last chaining pointer not 16-byte aligned.
</dd>
<dt><b>CPF3654</b></dt>
<dd>Object &amp;2 is damaged.
</dd>
<dt><b>CPF3655</b></dt>
<dd>Last base object or final object previously deleted.
</dd>
<dt><b>CPF3656</b></dt>
<dd>Base object &amp;2 data area not found.
</dd>
<dt><b>CPF3663</b></dt>
<dd>Base object number &amp;7 not found.
</dd>
<dt><b>CPF3664</b></dt>
<dd>Object &amp;2 has no associated space.
</dd>
<dt><b>CPF3665</b></dt>
<dd>Not authorized to dump object &amp;2.
</dd>
<dt><b>CPF3666</b></dt>
<dd>Object &amp;2 is damaged.
</dd>
<dt><b>CPF3667</b></dt>
<dd>Object to be dumped was destroyed.
</dd>
<dt><b>CPF3668</b></dt>
<dd>Object &amp;2 data area not found.
</dd>
<dt><b>CPF3669</b></dt>
<dd>Final pointer does not exist at specified location.
</dd>
<dt><b>CPF3670</b></dt>
<dd>Final pointer is instruction pointer.
</dd>
<dt><b>CPF3671</b></dt>
<dd>Starting offset &amp;8 too large.
</dd>
<dt><b>CPF3672</b></dt>
<dd>Object specified by final pointer not found.
</dd>
<dt><b>CPF3673</b></dt>
<dd>Not authorized to library &amp;7.
</dd>
<dt><b>CPF3909</b></dt>
<dd>Service command will not be processed.
</dd>
<dt><b>CPF3913</b></dt>
<dd>Context &amp;7 previously deleted.
</dd>
<dt><b>CPF3914</b></dt>
<dd>Context &amp;7 data area not found.
</dd>
<dt><b>CPF3915</b></dt>
<dd>Context &amp;7 damaged.
</dd>
<dt><b>CPF3916</b></dt>
<dd>Context &amp;7 not available.
</dd>
<dt><b>CPF3918</b></dt>
<dd>Service request canceled.
</dd>
<dt><b>CPF3925</b></dt>
<dd>Cannot open file &amp;1.
</dd>
<dt><b>CPF3935</b></dt>
<dd>Job being serviced ended during dump.
</dd>
<dt><b>CPF3941</b></dt>
<dd>CONTEXT(*MCHCTX) and TYPE(&amp;4) cannot be used together.
</dd>
<dt><b>CPF3942</b></dt>
<dd>CONTEXT(*MCHCTX) and OBJTYPE(*&amp;6) cannot be used together.
</dd>
<dt><b>CPF3946</b></dt>
<dd>Context damaged.
</dd>
<dt><b>CPF3947</b></dt>
<dd>Library &amp;7 not available.
</dd>
<dt><b>CPF3948</b></dt>
<dd>Library &amp;3 previously deleted.
</dd>
<dt><b>CPF3949</b></dt>
<dd>Library &amp;7 damaged.
</dd>
<dt><b>CPF3950</b></dt>
<dd>Error message &amp;2 received for file &amp;1. Request ended.
</dd>
<dt><b>CPF3951</b></dt>
<dd>File &amp;1 cannot be overridden by file name &amp;2.
</dd>
<dt><b>CPF3967</b></dt>
<dd>Dump not started because serviced job not running.
</dd>
<dt><b>CPF3968</b></dt>
<dd>Dump not started because serviced job completed running.
</dd>
<dt><b>CPF3969</b></dt>
<dd>Error during close of file &amp;1. Output may not be complete.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DMPSYSOBJ.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>