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

63 lines
4.6 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="Example: Single notify object for all programs" />
<meta name="abstract" content="Using a single notify object for all programs is advantageous because all information required to start again is in the same object and a standard approach to the notify object can be used in all programs. In this situation, use a unique combination of user and program identifications to make sure that the program accesses the correct information when it starts again." />
<meta name="description" content="Using a single notify object for all programs is advantageous because all information required to start again is in the same object and a standard approach to the notify object can be used in all programs. In this situation, use a unique combination of user and program identifications to make sure that the program accesses the correct information when it starts again." />
<meta name="DC.Relation" scheme="URI" content="rzakjusenotify.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakjnotifyeach.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="rzakjnotifyall" />
<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>Example: Single notify object for all programs</title>
</head>
<body id="rzakjnotifyall"><a name="rzakjnotifyall"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Example: Single notify object for all programs</h1>
<div><p>Using a single notify object for all programs is advantageous because
all information required to start again is in the same object and a standard
approach to the notify object can be used in all programs. In this situation,
use a unique combination of user and program identifications to make sure
that the program accesses the correct information when it starts again.</p>
<p>Because the information required to start again might vary from program
to program, do not use an externally described data structure for the commit
identification. If a single notify object is used, the preceding program can
describe the data structure within the program rather than externally. For
example:</p>
<pre> 1 10 USER
11 20 PGMNAM
21 23 PRODCT
24 29 LOCATN
30 49 DESC
50 51 0 QTY
52 220 DUMMY</pre>
<p>In each program that uses this notify object, the information specified
for the commit identification is unique to the program (the user and program
names are not unique). The notify object must be large enough to contain the
maximum information that any program can place in the commit identification.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakjusenotify.htm" title="When a program is started after an abnormal end, it can look for an entry in the notify object. If the entry exists, the program can start a transaction again. After the transaction has been started again, the notify object is cleared by the program to prevent it from starting the same transaction yet another time.">Example: Use a notify object to start an application</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rzakjnotifyeach.htm" title="Using a single, unique notify object for each job allows use of an externally described commit identification even though there might be multiple users of the same program.">Example: Unique notify object for each program</a></div>
</div>
</div>
</body>
</html>