ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaks_5.4.0.1/rzaksendjobimmediate.htm

61 lines
3.9 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="End a job: immediate" />
<meta name="abstract" content="Use the immediate end option only if a controlled end has been unsuccessful. When a job ends immediately, you can get undesirable results such as application data that has been partially updated." />
<meta name="description" content="Use the immediate end option only if a controlled end has been unsuccessful. When a job ends immediately, you can get undesirable results such as application data that has been partially updated." />
<meta name="DC.Relation" scheme="URI" content="rzakshowendjob.htm" />
<meta name="DC.Relation" scheme="URI" content="../apis/QTNCHGCO.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="rzaksendjobimmediate" />
<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>End a job: immediate</title>
</head>
<body id="rzaksendjobimmediate"><a name="rzaksendjobimmediate"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">End a job: immediate</h1>
<div><p>Use the immediate end option only if a controlled end has been
unsuccessful. When a job ends immediately, you can get undesirable results
such as application data that has been partially updated.</p>
<p>Before ending the job, you should verify that no logical unit of work is
in an in doubt state due to a two-phase commit operation that is in progress.
If it is, then the value of the Action ifENDJOB commitment option can greatly
impact the ENDJOB processing. This option is part of the Change Commitment
Options (QTNCHGCO) API. For example, if the Action ifENDJOB commitment
option is the default value of WAIT, this job will be held up and will not
complete its end of job processing until the commitment control operation
is completed. This ensures database integrity on all related systems. </p>
<div class="p">When you use the immediate end option, the system performs minimal end-of-job
processing, which can include: <ul><li>Closing the database files </li>
<li>Spooling the job log to an output queue</li>
<li>Cleaning up internal objects in the operating system</li>
<li>Showing the end-of-job display (for interactive jobs)</li>
<li>Completing commitment control processing </li>
</ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakshowendjob.htm" title="You can use the iSeries Navigator or the character-based interface to end a job. The job can be active or on a job queue. You can end a job immediately or by specifying a time interval so that end of job processing can occur.">End a job</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="../apis/QTNCHGCO.htm">Change Commitment Options (QTNCHGCO) API</a></div>
</div>
</div>
</body>
</html>