121 lines
7.5 KiB
HTML
121 lines
7.5 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="Display the job log" />
|
||
|
<meta name="abstract" content="The way to display a job log depends on the status of the job." />
|
||
|
<meta name="description" content="The way to display a job log depends on the status of the job." />
|
||
|
<meta name="DC.subject" content="displaying, job log, DSPSPLF (Display Spooled File) command, Display Spooled File (DSPSPLF) command, command, CL, DSPSPLF (Display Spooled File), Display Spooled File (DSPSPLF), spooled file, QPJOBLOG (job log) file, DSPJOBLOG (Display Job Log) command, Display Job Log (DSPJOBLOG) command, command, CL, DSPJOBLOG (Display Job Log), Display Job Log (DSPJOBLOG), job log" />
|
||
|
<meta name="keywords" content="displaying, job log, DSPSPLF (Display Spooled File) command, Display Spooled File (DSPSPLF) command, command, CL, DSPSPLF (Display Spooled File), Display Spooled File (DSPSPLF), spooled file, QPJOBLOG (job log) file, DSPJOBLOG (Display Job Log) command, Display Job Log (DSPJOBLOG) command, command, CL, DSPJOBLOG (Display Job Log), Display Job Log (DSPJOBLOG), job log" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="jblog.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../rzaks/rzaksaboutjoblogpending.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="djobl" />
|
||
|
<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>Display the job log</title>
|
||
|
</head>
|
||
|
<body id="djobl"><a name="djobl"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Display the job log</h1>
|
||
|
<div><p>The way to display a job log depends on the status of the job. </p>
|
||
|
<div class="section"><ul><li><img src="./delta.gif" alt="Start of change" />The Work with Job Logs (WRKJOBLOG) command can be used to display
|
||
|
pending job logs for completed jobs, all job log spooled files, or both.
|
||
|
For example, to display the list of pending job logs for all jobs that have
|
||
|
ended, enter:<pre>WRKJOBLOG JOBLOGSTT(*PENDING)</pre>
|
||
|
<img src="./deltaend.gif" alt="End of change" /></li>
|
||
|
<li>If the job is active or on a job queue, or if the job log is pending,
|
||
|
use the <span class="cmdname">Display Job Log (DSPJOBLOG)</span> command. For example,
|
||
|
to display the job log of the interactive job for user JSMITH at display station
|
||
|
WS1, enter: <pre>DSPJOBLOG JOB(nnnnnn/JSMITH/WS1)</pre>
|
||
|
<p>where <samp class="codeph">nnnnnn</samp> is the job number.</p>
|
||
|
</li>
|
||
|
<li>If the job has ended and the job log is written to an output file but
|
||
|
is not yet printed, use the <span class="cmdname">Display Spooled File (DSPSPLF)</span> command,
|
||
|
as follows: <pre>DSPSPLF FILE(QPJOBLOG) JOB(001293/FRED/WS3)</pre>
|
||
|
<p>to display the job logs for job number 001293 associated with
|
||
|
user FRED at display station WS3.</p>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<p>To display the job log of your own interactive job, do one of the
|
||
|
following:</p>
|
||
|
<ul><li>Enter the following command: <pre>DSPJOBLOG</pre>
|
||
|
</li>
|
||
|
<li>Enter the WRKJOB command and select option 10 (Display job log) from the
|
||
|
Work with Job display.</li>
|
||
|
<li>Press F10=Include detailed messages from the Command Entry display (this
|
||
|
key displays the messages that are shown in the job log).</li>
|
||
|
<li>If the input-inhibited light on your display station is on and remains
|
||
|
on, do the following: <ol><li>Press the System Request key, then press the Enter key.</li>
|
||
|
<li>On the System Request menu, select option 3 (Display current job).</li>
|
||
|
<li>On the Display Job menu, select option 10 (Display Job log, if active
|
||
|
or on job queue).</li>
|
||
|
<li>On the Job Log display, DSPJOB appears as the processing request. Press
|
||
|
F10 (Display detailed messages).</li>
|
||
|
<li>On the Display All Messages display, press the Roll Down key to see messages
|
||
|
that were received before you pressed the System Request key.</li>
|
||
|
</ol>
|
||
|
</li>
|
||
|
<li>Sign off the workstation, specifying LOG(*LIST) on the SIGNOFF command.</li>
|
||
|
</ul>
|
||
|
<p>When you use the <span class="cmdname">Display Job Log (DSPJOBLOG)</span> command,
|
||
|
you see the Job Log display. This display shows program names with special
|
||
|
symbols, as follows:</p>
|
||
|
<dl><dt class="dlterm"><samp class="codeph">>></samp></dt>
|
||
|
<dd>The running command or the next command to be run. For example, if a program
|
||
|
was called, the call to the program is shown.</dd>
|
||
|
<dt class="dlterm"><samp class="codeph"> ></samp></dt>
|
||
|
<dd>The command has completed processing.</dd>
|
||
|
<dt class="dlterm"><samp class="codeph">. .</samp></dt>
|
||
|
<dd>The command has not yet been processed.</dd>
|
||
|
<dt class="dlterm"><samp class="codeph"> ?</samp></dt>
|
||
|
<dd>Reply message. This symbol marks both those messages needing a reply
|
||
|
and those that have been answered.</dd>
|
||
|
</dl>
|
||
|
<p>On the Job Log display, you can do the following: </p>
|
||
|
<ul><li>Press F10 to display detailed messages. This display shows the commands
|
||
|
or operations that were run within an HLL program or within a CL program or
|
||
|
procedure for which LOG is activated.</li>
|
||
|
<li>Use the cursor movement keys to get to the end of the job log. To get
|
||
|
to the end of the job log quickly, press F18 (Bottom). After pressing F18,
|
||
|
you might need to roll down to see the command that is running.</li>
|
||
|
<li>Use the cursor movement keys to get to the top of the job log. To get
|
||
|
to the top of the job log quickly, press F17 (Top).</li>
|
||
|
</ul>
|
||
|
<p>You may use the DSPJOBLOG command to direct the job to a database
|
||
|
file instead of having it printed or displayed. There are two options available.
|
||
|
In the first option, you may specify a file and member name on the command.
|
||
|
In this option, the primary job log information is written to the database
|
||
|
file specified on the command. In the second option you may use the command
|
||
|
in conjunction with the information provided on the QMHCTLJL API which was
|
||
|
run previously. In this option, the job log is written to the file(s) specified
|
||
|
on the API call. With this option, both primary and secondary files can be
|
||
|
produced and message filtering can be performed as the messages are written
|
||
|
to the file. With both these options, when the DSPJOBLOG command completes,
|
||
|
the output will not be displayed nor will there be a spooled file available
|
||
|
for printing.</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="jblog.htm" title="Each job has an associated job log.">Job log</a></div>
|
||
|
</div>
|
||
|
<div class="relinfo"><strong>Related information</strong><br />
|
||
|
<div><a href="../rzaks/rzaksaboutjoblogpending.htm">Job log pending</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|