ibm-information-center/dist/eclipse/plugins/i5OS.ic.rbam6_5.4.0.1/jlcontrolinfo.htm

97 lines
5.1 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?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="Control information written in a job log" />
<meta name="abstract" content="You can control what information the system writes in the job log." />
<meta name="description" content="You can control what information the system writes in the job log." />
<meta name="DC.Relation" scheme="URI" content="jblog.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="jlcontrolinfo" />
<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>Control information written in a job log</title>
</head>
<body id="jlcontrolinfo"><a name="jlcontrolinfo"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Control information written in a job log</h1>
<div><p>You can control what information the system writes in the job log.</p>
<div class="section"><p> To do this, you specify the LOG parameter on the <span class="cmdname">Create
Job Description (CRTJOBD)</span> command. You can change these levels
by using the <span class="cmdname">Change Job (CHGJOB)</span> command or the <span class="cmdname">Change
Job Description (CHGJOBD)</span> command. Three values make up the LOG
parameter: Message level, message severity, and message text level.</p>
<p>The
first value, message level, has the following levels: </p>
<dl><dt><strong>Level</strong></dt>
<dd><strong>Description</strong></dd>
<dt class="dlterm">0</dt>
<dd>No data is logged.</dd>
<dt class="dlterm">1</dt>
<dd>The only information to be logged is all messages sent to the job's external
message queue with a severity greater than or equal to the message severity
specified. Messages of this type indicate when the job started, when it ended,
and its status at completion.</dd>
<dt class="dlterm">2</dt>
<dd>The following information is logged: <ul><li>Level 1 logging information.</li>
<li>Any requests that result in high-level messages with a severity greater
than or equal to the severity specified. If the request is logged, all of
its associated messages are also logged.</li>
</ul>
</dd>
<dt class="dlterm">3</dt>
<dd>The following information is logged: <ul><li>Logging level 1 and 2 information.</li>
<li>All requests.</li>
<li>Commands run by a CL program if allowed by the <samp class="codeph">Log CL program
commands</samp> job attribute and the <samp class="codeph">Log</samp> attribute of
the CL program.</li>
</ul>
</dd>
<dt class="dlterm">4</dt>
<dd>The following information is logged: <ul><li>All requests and all messages with a severity code greater than or equal
to the severity specified, including trace messages.</li>
<li>Commands run by a CL program if allowed by the <samp class="codeph">Log CL program
commands</samp> job attribute and the <samp class="codeph">Log</samp> attribute of
the CL program. <div class="note"><span class="notetitle">Note:</span> A high-level message is one that is sent to the program
message queue of the program that receives the request. For example, QCMD
is an IBM-supplied request processing program that receives requests.</div>
</li>
</ul>
</dd>
</dl>
<p>The second value, message severity, specifies the severity
level in conjunction with the log level that causes error messages to be logged
in the job log. Values 0 through 99 are allowed.</p>
<p>The third value in
the LOG parameter, message text level, specifies the level of message text
that is written in the job log. The values are: </p>
<dl><dt class="dlterm">*SAME</dt>
<dd>The current value for the message text level does not change.</dd>
<dt class="dlterm">*MSG</dt>
<dd>Only message text is written to the job log (message help is not included).</dd>
<dt class="dlterm">*SECLVL</dt>
<dd>The message and the message help (cause and recovery) are written to the
job log.</dd>
</dl>
</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>
</body>
</html>