62 lines
4.3 KiB
HTML
62 lines
4.3 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 job" />
|
||
|
<meta name="abstract" content="The Trace Job (TRCJOB) command is the older of the two tracing tools. As the trace records are generated, the records are stored in an internal trace storage area. When the trace is ended, the trace records can be written to a spooled printer file (QPSRVTRC) or directed to a database output file." />
|
||
|
<meta name="description" content="The Trace Job (TRCJOB) command is the older of the two tracing tools. As the trace records are generated, the records are stored in an internal trace storage area. When the trace is ended, the trace records can be written to a spooled printer file (QPSRVTRC) or directed to a database output file." />
|
||
|
<meta name="DC.subject" content="error reporting, trace jobs, job trace, trace, job, Trace Job, TRCJOB, Start Trace, STRTRC, problem handling, job trace" />
|
||
|
<meta name="keywords" content="error reporting, trace jobs, job trace, trace, job, Trace Job, TRCJOB, Start Trace, STRTRC, problem handling, job trace" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbal1jobt.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbal1ffdcap.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../cl/trcjob.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="rbal1tracejob" />
|
||
|
<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 job</title>
|
||
|
</head>
|
||
|
<body id="rbal1tracejob"><a name="rbal1tracejob"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Trace job</h1>
|
||
|
<div><p>The Trace Job (TRCJOB) command is the older of the
|
||
|
two tracing tools. As the trace records are generated, the records are stored
|
||
|
in an internal trace storage area. When the trace is ended, the trace records
|
||
|
can be written to a spooled printer file (QPSRVTRC) or directed to a database
|
||
|
output file.</p>
|
||
|
<div class="section"> <p>A sample trace scenario is as follows: </p>
|
||
|
<pre>TRCJOB SET(*ON) TRCTYPE(*ALL) MAXSTG(2000)
|
||
|
TRCFULL(*WRAP) EXITPGM($SCFTRC)
|
||
|
CALL QCMD
|
||
|
TRCJOB SET(*OFF) OUTPUT(*PRINT)
|
||
|
WRKOUTQ output-queue-name</pre>
|
||
|
<p>You will see a spooled file with a
|
||
|
name of QPSRVTRC. The spooled file contains your trace. </p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal1jobt.htm" title="Sometimes a problem cannot be tracked to a specific program. In these cases, Start Trace (STRTRC) and Trace Job (TRCJOB) commands can be used for tracing module flow, i5/OS data acquisition and CL commands executed.">Job tracing</a></div>
|
||
|
</div>
|
||
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
||
|
<div><a href="rbal1ffdcap.htm" title="This topic collection provides additional problem-analysis information. It is useful to specialists responsible for problem determination. It is also for suppliers of software products designed to conform to the Distributed Relational Database Architecture who want to test connectivity to an iSeries server.">Interpret trace job and FFDC data</a></div>
|
||
|
</div>
|
||
|
<div class="relinfo"><strong>Related information</strong><br />
|
||
|
<div><a href="../cl/trcjob.htm">Trace Job (TRCJOB) command</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|