95 lines
6.4 KiB
HTML
95 lines
6.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="concept" />
|
|
<meta name="DC.Title" content="Recovery and job accounting" />
|
|
<meta name="abstract" content="If a job ends abnormally, the final accounting entry is written and all previously written accounting entries appear in the journal. If an abnormal system ending occurs, the following accounting data is lost to the last routing step or last end-of-accounting segment, whichever occurred most recently." />
|
|
<meta name="description" content="If a job ends abnormally, the final accounting entry is written and all previously written accounting entries appear in the journal. If an abnormal system ending occurs, the following accounting data is lost to the last routing step or last end-of-accounting segment, whichever occurred most recently." />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaksmanagejobaccounting.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaksjadamaged.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaksjobactscpf1303.htm" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2004-2006" />
|
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2004-2006" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="rzaksjarecovery" />
|
|
<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>Recovery and job accounting</title>
|
|
</head>
|
|
<body id="rzaksjarecovery"><a name="rzaksjarecovery"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Recovery and job accounting</h1>
|
|
<div><p>If a job ends abnormally, the final accounting entry is written
|
|
and all previously written accounting entries appear in the journal. If an
|
|
abnormal system ending occurs, the following accounting data is lost to the
|
|
last routing step or last end-of-accounting segment, whichever occurred most
|
|
recently.</p>
|
|
<ul><li>Information on the number of lines and pages printed</li>
|
|
<li>Number of files created</li>
|
|
<li>Database put, get, and update operations</li>
|
|
<li>Communications read and write operations</li>
|
|
<li>Auxiliary I/O operations</li>
|
|
<li>Transaction time</li>
|
|
<li>Number of transaction fields</li>
|
|
<li>Time active</li>
|
|
<li>Time suspended</li>
|
|
</ul>
|
|
<p>After an abnormal system ending, the job completion time in the journal
|
|
will not be the same as that in the CPF1164 message. The message uses the
|
|
time nearest to that of the system ending, but the job accounting journal
|
|
entries are sent to the journal during IPL, and the job completion time is
|
|
the current system time, which is later than the time when the abnormal system
|
|
ending occurred.</p>
|
|
<div class="p">If the system ends abnormally, some journal entries can be lost. These
|
|
are the entries that are written to the journal but not forced to disk (this
|
|
is equal to FORCE(*NO) on the Send Journal Entry (<span class="cmdname">SNDJRNE</span>)
|
|
command). They include the following:<ul><li>JB entries caused by a Change Accounting Code (<span class="cmdname">CHGACGCDE</span>)
|
|
command</li>
|
|
<li>DP and SP™ entries</li>
|
|
</ul>
|
|
</div>
|
|
<p>Whenever a job completes, the last accounting code entry is forced to disk
|
|
(as if FORCE(*YES) were specified on the <span class="cmdname">SNDJRNE</span> command).
|
|
Whenever an accounting entry is forced to disk, all earlier entries in the
|
|
journal, regardless of which job produced them, are forced to disk.</p>
|
|
<div class="section"><h4 class="sectiontitle">Exception</h4><p>If only *PRINT accounting is specified
|
|
on the system, there will not be any job ending FORCE(*YES) journal entries
|
|
done. therefore, if a critical accounting entry is written by a <span class="cmdname">CHGACGCDE</span> command
|
|
you want to ensure it will not be lost in case of an abnormal system ending,
|
|
you can issue a <span class="cmdname">SNDJRNE</span> command and specify the FORCE(*YES)
|
|
option. If files are also to be journaled to the accounting journal, any database
|
|
changes are always forced to the journal, and this causes all earlier accounting
|
|
entries to also be forced.</p>
|
|
<p>If an abnormal system ending occurs or you
|
|
change an accounting code of a job other than your own, the qualified job
|
|
name in the first 30 bytes of the JARES field in the journal entry describe
|
|
the system job that wrote the JB entry at the next IPL and not the job that
|
|
used the resources. The JAJOB, JAUSER, and JANBR fields should be used for
|
|
analysis purposes.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<ul class="ullinks">
|
|
<li class="ulchildlink"><strong><a href="rzaksjadamaged.htm">Damaged job accounting journal or journal receiver</a></strong><br />
|
|
If damage occurs to the journal or to its current receiver so that the accounting entries cannot be journaled, a CPF1302 message is sent to the QSYSOPR message queue, and the accounting data is written to the QHST log in the CPF1303 message. The job trying to send the journal entry continues normally. Recovery from a damaged journal or journal receiver is the same as for other journals.</li>
|
|
<li class="ulchildlink"><strong><a href="rzaksjobactscpf1303.htm">Access the CPF1303 Message</a></strong><br />
|
|
To access information from the CPF1303 message, create a high-level language program.</li>
|
|
</ul>
|
|
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaksmanagejobaccounting.htm" title="The job accounting function is not active by default. It requires a few initial steps to set it up. The following information describes how to set up job accounting and perform some of the most common tasks associated with job accounting.">Manage job accounting</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |