90 lines
5.4 KiB
HTML
90 lines
5.4 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="task" />
|
||
|
<meta name="DC.Title" content="Trace the REXEC server" />
|
||
|
<meta name="abstract" content="The REXEC server can be traced by creating a data area. Note that running the REXEC server with trace running may cause a significant performance impact." />
|
||
|
<meta name="description" content="The REXEC server can be traced by creating a data area. Note that running the REXEC server with trace running may cause a significant performance impact." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzal7pdrex.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2000, 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2000, 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="tracerex" />
|
||
|
<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>Trace the REXEC server</title>
|
||
|
</head>
|
||
|
<body id="tracerex"><a name="tracerex"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Trace the REXEC server</h1>
|
||
|
<div><p>The REXEC server can be traced by creating a data area. Note that
|
||
|
running the REXEC server with trace running may cause a significant performance
|
||
|
impact.</p>
|
||
|
<div class="section"> To trace the REXEC server, follow these steps:</div>
|
||
|
<ol><li class="stepexpand"><span>Create the data area using the following command: </span> <pre></pre>
|
||
|
<pre>CRTDTAARA DTAARA(QUSRSYS/QTMXRXCDBG) TYPE(*LGL) LEN(1)</pre>
|
||
|
</li>
|
||
|
<li class="stepexpand"><span>Perform the REXEC operation that you want to trace.</span></li>
|
||
|
<li class="stepexpand"><span>Delete the data area using the following command: </span> <pre>DLTDTAARA DTAARA(QUSRSYS/QTMXRXCDBG)</pre>
|
||
|
</li>
|
||
|
<li class="stepexpand"><span>Enter the following command to find the output queue: </span> <pre>DSPSYSVAL QPRTDEV</pre>
|
||
|
<p>For
|
||
|
example, the following display appears:</p>
|
||
|
<div class="fignone"><span class="figcap">Figure 1. Display
|
||
|
System Value Display</span><pre class="screen"> Display System Value
|
||
|
System value . . . . . : QPRTDEV
|
||
|
Description . . . . . : Printer device description
|
||
|
<span class="uicontrol"> Printer device . . . . : PRT01 Name</span></pre>
|
||
|
</div>
|
||
|
<p>The printer device is also the name of the default system output
|
||
|
queue.</p>
|
||
|
</li>
|
||
|
<li class="stepexpand"><span>Record the name of the printer device. In this example, PRT01
|
||
|
is the printer device.</span></li>
|
||
|
<li class="stepexpand"><span>Press F12 (Cancel) to return to the display where you entered the
|
||
|
DSPSYSVAL command.</span></li>
|
||
|
<li class="stepexpand"><span>Type the following command: </span> <pre>WRKOUTQ OUTQ(printer-device)</pre>
|
||
|
<p>Replace <samp class="codeph">printer-device</samp> with
|
||
|
the printer device recorded in the previous display. PRT01 is the output queue
|
||
|
in this example. For example, the following display appears:</p>
|
||
|
<div class="fignone"><span class="figcap">Figure 2. Work with Output Queue Display</span><pre class="screen"> Work with Output Queue
|
||
|
Queue: PRT01 Library: QGPL Status: RLS
|
||
|
Type options, press Enter.
|
||
|
1=Send 2=Change 3=Hold 4=Delete 5=Display 6=Release 7=Messages
|
||
|
8=Attributes 9=Work with printing status
|
||
|
Opt File User User Data Sts Pages Copies Form Type Pty
|
||
|
_ QTCPPRT QTCP QTMSMTP HLD 46 1 *STD 5
|
||
|
<strong> _ QPSRVTRC QSECOFR HLD 44 1 *STD 5</strong></pre>
|
||
|
</div>
|
||
|
</li>
|
||
|
<li class="stepexpand"><span>Press F18 (Bottom) to get to the bottom of the spooled file list
|
||
|
if More... appears on the display.</span></li>
|
||
|
<li class="stepexpand"><span>Find the last file named QPSRVTRC with the same user as the user
|
||
|
who was logged on the REXEC server when the trace was created.</span></li>
|
||
|
<li class="stepexpand"><span>Press F11 (View 2) to view the date and time of the file you want
|
||
|
to work with.</span></li>
|
||
|
<li class="stepexpand"><span>Verify that you are working with the most recent spooled file,
|
||
|
QPSRVTRC.</span></li>
|
||
|
<li class="stepexpand"><span>Indicate in the problem report that the trace was tried and it
|
||
|
failed. Send whatever trace information there is with the problem report.</span></li>
|
||
|
</ol>
|
||
|
<div class="section"></div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzal7pdrex.htm" title="Read the following information to learn how to determine problems with REXEC.">Determine problems with REXEC</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|