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

66 lines
4.0 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="concept" />
<meta name="DC.Title" content="Write job log to a file" />
<meta name="abstract" content="After the job ends, the job log can be written to either the output file QPJOBLOG or a database file." />
<meta name="description" content="After the job ends, the job log can be written to either the output file QPJOBLOG or a database file." />
<meta name="DC.subject" content="job log, description, log, job" />
<meta name="keywords" content="job log, description, log, job" />
<meta name="DC.Relation" scheme="URI" content="jblog.htm" />
<meta name="DC.Relation" scheme="URI" content="../apis/QMHCTLJL.htm" />
<meta name="DC.Relation" scheme="URI" content="joblg.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="jblog" />
<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>Write job log to a file</title>
</head>
<body id="jblog"><a name="jblog"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Write job log to a file</h1>
<div><p>After the job ends, the job log can be written to either the output
file QPJOBLOG or a database file. </p>
<p><img src="./delta.gif" alt="Start of change" />From the output file QPJOBLOG, the job log can be printed; from
a database file, job log information can be queried using a database feature.
You can also specify to not write job logs for jobs that have run successfully.
When a job's job log output job attribute is *PND, no job log is produced
when the job ends, but the pending job log is still accessible from the Work
with Job logs command (WRKJOBLOG). <img src="./deltaend.gif" alt="End of change" /></p>
<p>You can use the <span class="apiname">QMHCTLJL</span> API to write a job log to a
database file. When directing the job log to the database file, the system
can generate one or two files. The primary file contains the essential information
of a message such as message ID, message severity, message type, and message
data. The secondary file contains the print images of the message text. Parameters
on the QMHCTLJL API control the optional production of the secondary file.
You can use database and query features on the system to externally describe
and process both files.</p>
</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="reltasks"><strong>Related tasks</strong><br />
<div><a href="joblg.htm">Use job log output files</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="../apis/QMHCTLJL.htm">QMHCTLJL API</a></div>
<div><a href="../rzaks/rzaksaboutjoblogpending.htm">Job log pending</a></div>
</div>
</div>
</body>
</html>