ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzakj_5.4.0.1/rzakjdesc_1.htm

72 lines
4.2 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="Image description" />
<meta name="abstract" content="This image illustrates how a job can use multiple commitment definitions." />
<meta name="description" content="This image illustrates how a job can use multiple commitment definitions." />
<meta name="DC.Relation" scheme="URI" content="rzakjjobs.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="rzakjdesc_1" />
<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>Image description</title>
</head>
<body id="rzakjdesc_1"><a name="rzakjdesc_1"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Image description</h1>
<div><p>This image illustrates how a job can use multiple commitment definitions.</p>
<div class="section">The illustration is as follows:</div>
<ol><li><span>The job calls program MAIN. Program MAIN runs within the Default
Activation Group.</span></li>
<li><span>Program MAIN issues a Start Commitment Control (STRCMTCTL) command
with a lock level (LCKLVL) of *ALL.</span></li>
<li><span>The Commit Scope (CMTSCOPE) parameter is not specified. Therefore
the commitment definition for program MAIN by default is scoped to the Default
Activation Group (*DFTACTGRP).</span></li>
<li><span>Program MAIN updates files F1 and F2.</span></li>
<li><span>Program MAIN calls program PGMX. Program PGMX runs within Activation
Group X.</span></li>
<li><span>Program PGMX issues a STRCMTCTL command with LCKLVL
(*CHG). The CMTSCOPE parameter specifies the *JOB value. Therefore the commitment
definition for program PGMX is scoped to the job.</span></li>
<li><span>Program PGMX updates files F3 and F4.</span></li>
<li><span>Program PGMX calls program PGMY. Program PGMY runs within Activation
Group Y.</span></li>
<li><span>Program PGMY issues a STRCMTCTL command with LCKLVL (*CHG). The
CMTSCOPE parameter is not specified. Therefore the commitment definition for
program PGMY by default is scoped to Activation Group Y.</span></li>
<li><span>Program PGMY updates files F5 and F6.</span></li>
<li><span>Program PGMY detects an error and rolls back files F5 and F6. (The
image displays "1=ROLLBACK").</span></li>
<li><span>Program PGMY updates files F5 and F6 again and commits them. (The
image displays "2=COMMIT").</span></li>
<li><span>Program PGMY returns control to program PGMX.</span></li>
<li><span>Program PGMX calls program PGMZ. Program PGMZ runs within Activation
Group Z. Program PGMZ does not issue a STRCMTCTL command.</span></li>
<li><span>Program PGMZ updates file F7 and returns control to program PGMX.</span></li>
<li><span>Program PGMX commits files F3, F4, and F7 and returns control to
program MAIN. (The image displays "3=COMMIT").</span></li>
<li><span>Program MAIN commits files F1 and F2. (The image displays "4=COMMIT").</span></li>
</ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakjjobs.htm" title="This figure shows an example of a job that uses multiple commitment definitions.">Example: Jobs and commitment definitions</a></div>
</div>
</div>
</body>
</html>