411 lines
15 KiB
HTML
411 lines
15 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>Print Internal Data (PRTINTDTA)</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="PRTINTDTA.Top_Of_Page"></a>
|
||
|
<h2>Print Internal Data (PRTINTDTA)</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="#PRTINTDTA.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#PRTINTDTA.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#PRTINTDTA.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="PRTINTDTA"></a>
|
||
|
<p>The Print Internal Data (PRTINTDTA) command is used primarily for problem analysis tasks. It writes the machine internal data to a spooled printer file. The data is used to service the system.
|
||
|
</p>
|
||
|
<p><b>Restrictions:</b>
|
||
|
</p>
|
||
|
<ol>
|
||
|
<li>This command is shipped with public *EXCLUDE authority and the QPGMR, QSYSOPR, QSRV, and QSRVBAS user profiles have private authorities to use the command.
|
||
|
</li>
|
||
|
<li>To use this command, you must have service (*SERVICE) special authority, or be authorized to the Service dump function of Operating System through iSeries Navigator's Application Administration support. The Change Function Usage (CHGFCNUSG) command, with a function ID of QIBM_SERVICE_DUMP, can also be used to change the list of users that are allowed to perform dump operations.
|
||
|
</li>
|
||
|
<li>The command must be issued from within the job with internal data being printed, or the issuer of the command must be running under a user profile which is the same as the job user identity of the job with internal data being printed, or the issuer of the command must be running under a user profile which has a job control (*JOBCTL) special authority. The job user identity is the name of the user profile by which a job is known to other jobs. It is described in more detail in the Work Management Guide.
|
||
|
</li>
|
||
|
<li>This command is intended to be used only at the direction of your iSeries service representative.
|
||
|
</li>
|
||
|
</ol>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#PRTINTDTA.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="PRTINTDTA.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="#PRTINTDTA.TYPE"><b>TYPE</b></a></td>
|
||
|
<td valign="top">Type of data</td>
|
||
|
<td valign="top">*DMP, *INTCFG, *NOTES, *JOB</td>
|
||
|
<td valign="top">Required, Positional 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#PRTINTDTA.DMPID"><b>DMPID</b></a></td>
|
||
|
<td valign="top">Dump identifier</td>
|
||
|
<td valign="top"><i>Character value</i>, <b><u>*NONE</u></b>, *ALL</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" rowspan="7"><a href="#PRTINTDTA.PERIOD"><b>PERIOD</b></a></td>
|
||
|
<td valign="top">Time period for internal data</td>
|
||
|
<td valign="top"><i>Element list</i></td>
|
||
|
<td valign="top" rowspan="7">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 1: Start time and date</td>
|
||
|
<td valign="top">
|
||
|
<i>Element list</i></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" style="padding-left:10pt">Element 1: Beginning time</td>
|
||
|
<td valign="top">
|
||
|
<i>Time</i>, <b><u>*AVAIL</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" style="padding-left:10pt">Element 2: Beginning date</td>
|
||
|
<td valign="top">
|
||
|
<i>Date</i>, <b><u>*CURRENT</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 2: End time and date</td>
|
||
|
<td valign="top">
|
||
|
<i>Element list</i></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" style="padding-left:10pt">Element 1: Ending time</td>
|
||
|
<td valign="top">
|
||
|
<i>Time</i>, <b><u>*AVAIL</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" style="padding-left:10pt">Element 2: Ending date</td>
|
||
|
<td valign="top">
|
||
|
<i>Date</i>, <b><u>*CURRENT</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" rowspan="4"><a href="#PRTINTDTA.JOB"><b>JOB</b></a></td>
|
||
|
<td valign="top">Job name</td>
|
||
|
<td valign="top">Single values: <b><u>*</u></b>, *SVRTYPE<br>Other values: <i>Qualified job name</i></td>
|
||
|
<td valign="top" rowspan="4">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Qualifier 1: Job name</td>
|
||
|
<td valign="top"><i>Name</i></td>
|
||
|
</tr><tr>
|
||
|
<td valign="top">Qualifier 2: User</td>
|
||
|
<td valign="top"><i>Name</i></td>
|
||
|
</tr><tr>
|
||
|
<td valign="top">Qualifier 3: Number</td>
|
||
|
<td valign="top">000000-999999</td>
|
||
|
</tr><tr>
|
||
|
<td valign="top"><a href="#PRTINTDTA.SLTTHD"><b>SLTTHD</b></a></td>
|
||
|
<td valign="top">Thread ID to include</td>
|
||
|
<td valign="top">Single values: <b><u>*ALL</u></b>, *SELECT<br>Other values (up to 20 repetitions): <i>Hexadecimal value</i></td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#PRTINTDTA.SVRTYPE"><b>SVRTYPE</b></a></td>
|
||
|
<td valign="top">Server type</td>
|
||
|
<td valign="top">Single values: <b><u>*NONE</u></b><br>Other values (up to 5 repetitions): <i>Generic name, name</i></td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#PRTINTDTA.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="PRTINTDTA.TYPE"></a>
|
||
|
<h3>Type of data (TYPE)</h3>
|
||
|
<p>Specifies the type of data to be printed.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>*DMP</b></dt>
|
||
|
<dd>The data to print was dumped by a previously issued Dump Job Internal (DMPJOBINT) command or by the machine when it was processing a device error or object damage. The dump identifier of the data or *ALL must be specified for the <b>Dump identifier (DMPID)</b> parameter.
|
||
|
</dd>
|
||
|
<dt><b>*INTCFG</b></dt>
|
||
|
<dd>The machine internal configuration and resource information is printed.
|
||
|
</dd>
|
||
|
<dt><b>*NOTES</b></dt>
|
||
|
<dd>The notes portion of the machine internal data, for the period specified for the <b>Time period for internal data (PERIOD)</b> parameter, is printed.
|
||
|
</dd>
|
||
|
<dt><b>*JOB</b></dt>
|
||
|
<dd>The data to be printed is for the job specified for the JOB parameter.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#PRTINTDTA.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="PRTINTDTA.DMPID"></a>
|
||
|
<h3>Dump identifier (DMPID)</h3>
|
||
|
<p>Specifies, for internal dumps only, the dump identifiers associated with the machine internal data that is printed. This parameter must be specified <b>only</b> if *DMP is specified on the <b>Type of data (TYPE)</b> parameter; otherwise, it is ignored.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NONE</u></b></dt>
|
||
|
<dd>No dump identifier is specified.
|
||
|
</dd>
|
||
|
<dt><b>*ALL</b></dt>
|
||
|
<dd>The dump portion of the machine internal data, for the period specified on the <b>Time period for internal data (PERIOD)</b> parameter, is printed.
|
||
|
</dd>
|
||
|
<dt><b><i>character-value</i></b></dt>
|
||
|
<dd>Specify the dump identifier of the dump output that is printed. The identifier specified must contain 8 characters.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#PRTINTDTA.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="PRTINTDTA.PERIOD"></a>
|
||
|
<h3>Time period for internal data (PERIOD)</h3>
|
||
|
<p>Specifies the period of time for which the notes or dump portion of the machine internal data is printed. This parameter is valid only if *NOTES is specified for the <b>Type of data (TYPE)</b> parameter or if *DMP is specified on the TYPE parameter and *ALL is specified for the <b>Dump identifier (DMPID)</b> parameter; otherwise, it is ignored.
|
||
|
</p>
|
||
|
<p><b>Element 1: Start time and date</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b></b></dt>
|
||
|
<dd>
|
||
|
<p><b>Element 1: Beginning time</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*AVAIL</u></b></dt>
|
||
|
<dd>The notes or dump data that are available from the beginning date to the ending date (or for the current day only) are printed.
|
||
|
</dd>
|
||
|
<dt><b><i>time</i></b></dt>
|
||
|
<dd>Specify the beginning time for the specified beginning date for which you want the notes or dump data printed. The time can be specified with or without a time separator:
|
||
|
<ul>
|
||
|
<li>Without a time separator, specify a string of 4 or 6 digits (hhmm or hhmmss) where hh = hours, mm = minutes, and ss = seconds.
|
||
|
</li>
|
||
|
<li>With a time separator, specify a string of 5 or 8 digits where the time separator specified for your job is used to separate the hours, minutes, and seconds. If you enter this command from the command line, the string must be enclosed in apostrophes. If a time separator other than the separator specified for your job is used, this command will fail.
|
||
|
</li>
|
||
|
</ul>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</dd>
|
||
|
<dt><b></b></dt>
|
||
|
<dd>
|
||
|
<p><b>Element 2: Beginning date</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*CURRENT</u></b></dt>
|
||
|
<dd>The notes or dump data that are available for the current day and between the specified beginning and ending times (if specified) are printed.
|
||
|
</dd>
|
||
|
<dt><b><i>date</i></b></dt>
|
||
|
<dd>Specify the beginning date for which you want the notes or dump data printed. The job date format must be used.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Element 2: End time and date</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b></b></dt>
|
||
|
<dd>
|
||
|
<p><b>Element 1: Ending time</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*AVAIL</u></b></dt>
|
||
|
<dd>The notes or dump data available from the beginning date to the ending date (or for the current day only) are printed.
|
||
|
</dd>
|
||
|
<dt><b><i>time</i></b></dt>
|
||
|
<dd>Specify the ending time for the specified ending date for which you want the notes or dump data printed. See the <b>Beginning time</b> description on this parameter for details about how time must be specified.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</dd>
|
||
|
<dt><b></b></dt>
|
||
|
<dd>
|
||
|
<p><b>Element 2: Ending date</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*CURRENT</u></b></dt>
|
||
|
<dd>The notes or dump data available for the current day and between the specified starting and ending times (if specified) are printed.
|
||
|
</dd>
|
||
|
<dt><b><i>date</i></b></dt>
|
||
|
<dd>Specify the ending date for which you want the notes or dump data printed. The system date format must be used.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#PRTINTDTA.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="PRTINTDTA.JOB"></a>
|
||
|
<h3>Job name (JOB)</h3>
|
||
|
<p>Specifies the qualified name of the job for which the data will be dumped. This parameter must be specified <b>only</b> if *JOB is specified for the <b>Type of data (TYPE)</b> parameter; otherwise, it is ignored.
|
||
|
</p>
|
||
|
<p><b>Single values</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*</u></b></dt>
|
||
|
<dd>The job that issued this command is the job that will be dumped.
|
||
|
</dd>
|
||
|
<dt><b>*SVRTYPE</b></dt>
|
||
|
<dd>All jobs whose server type matches the server type attribute specified for the <b>Server type (SVRTYPE)</b> parameter will be dumped.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Qualifier 1: Job name</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the name of the job to be dumped.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Qualifier 2: User</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the user name that identifies the user profile under which the job was run.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Qualifier 3: Number</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>000000-999999</i></b></dt>
|
||
|
<dd>Specify the system-assigned job number of the job to be dumped.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#PRTINTDTA.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="PRTINTDTA.SLTTHD"></a>
|
||
|
<h3>Thread ID to include (SLTTHD)</h3>
|
||
|
<p>Specifies a list of up to twenty threads whose information is to be included. This parameter must be specified <b>only</b> if *JOB is specified for the <b>Type of data (TYPE)</b> parameter; otherwise, it is ignored.
|
||
|
</p>
|
||
|
<p><b>Single values</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*ALL</u></b></dt>
|
||
|
<dd>All threads are dumped.
|
||
|
</dd>
|
||
|
<dt><b>*SELECT</b></dt>
|
||
|
<dd>A list of thread identifiers is shown from which the user can select up to twenty to be included. *SELECT is only valid if the PRTINTDTA command is run in an interactive session; otherwise, an error message is sent.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Other values</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>thread-identifier</i></b></dt>
|
||
|
<dd>Specify the identifiers of up to twenty threads whose information is to be included. A thread identifier is a string of eight hexadecimal characters.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#PRTINTDTA.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="PRTINTDTA.SVRTYPE"></a>
|
||
|
<h3>Server type (SVRTYPE)</h3>
|
||
|
<p>Specifies the server type attribute to identify the job to be dumped. This parameter must be specified <b>only</b> if *SVRTYPE is specified for the <b>Job name (JOB)</b> parameter; otherwise, it is ignored. All jobs whose server types matches this value will be dumped. For a list of possible server types, see Work Management information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter
|
||
|
</p>
|
||
|
<p><b>Single values</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NONE</u></b></dt>
|
||
|
<dd>No server types are dumped.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Other values</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>generic-name</i></b></dt>
|
||
|
<dd>Specifies the generic server type used to identify the job to be dumped. A generic name is a character string of one or more characters followed by an asterisk (*); for example, ABC*.
|
||
|
<p>The asterisk substitutes for any valid characters. All jobs whose server type matches the specified generic prefix will be dumped.
|
||
|
</p>
|
||
|
</dd>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the server type used to identify the job to be dumped. A list of up to five server types can be specified.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#PRTINTDTA.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="PRTINTDTA.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p><b>Example 1: Dump by Dump Identifier</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
PRTINTDTA TYPE(*DMP) DMPID(0102FA3C)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command prints the job internal dump output that has a dump identifier of 0102FA3C.
|
||
|
</p>
|
||
|
<p><b>Example 2: Dump by Job Identifier</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
PRTINTDTA TYPE(*JOB) JOB(201230/ALMATM/QPADEV0008)
|
||
|
SLTTHD(*ALL)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command prints the job internal dump output for the selected job including all threads information.
|
||
|
</p>
|
||
|
<p><b>Example 3: Dump by Task Name</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
PRTINTDTA TYPE(*TASK) TASK(MSCP)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command prints the dump output for the task named MSCP.
|
||
|
</p>
|
||
|
<p><b>Example 4: Dump a Job by Specifying Server Type</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
PRTINTDTA TYPE(*JOB) JOB(*SVRTYPE) SVRTYPE(QIBM_FTP)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command prints the dump output for the job with the server type set to QIBM_FTP.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#PRTINTDTA.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="PRTINTDTA.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>CPF3517</b></dt>
|
||
|
<dd>Cannot specify *SELECT for the thread ID to include.
|
||
|
</dd>
|
||
|
<dt><b>CPF3519</b></dt>
|
||
|
<dd>Cannot start service function.
|
||
|
</dd>
|
||
|
<dt><b>CPF6801</b></dt>
|
||
|
<dd>Command prompting ended when user pressed &1.
|
||
|
</dd>
|
||
|
<dt><b>CPF98A2</b></dt>
|
||
|
<dd>Not authorized to &1
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#PRTINTDTA.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|