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

77 lines
5.5 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="Example: Use a standard processing program to start an application" />
<meta name="abstract" content="A standard processing program is one way to start your application again using one database file as the notify object for all applications. This approach assumes that user profile names are unique by user for all applications using the standard program." />
<meta name="description" content="A standard processing program is one way to start your application again using one database file as the notify object for all applications. This approach assumes that user profile names are unique by user for all applications using the standard program." />
<meta name="DC.Relation" scheme="URI" content="rzakjscenario.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakjprogramexample.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakjstndcommit.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakjdeciderestart.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakjloggingfile.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="rzakjproccprog" />
<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: Use a standard processing program to start an application</title>
</head>
<body id="rzakjproccprog"><a name="rzakjproccprog"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Example: Use a standard processing program to start an application</h1>
<div><p>A standard processing program is one way to start your application
again using one database file as the notify object for all applications. This
approach assumes that user profile names are unique by user for all applications
using the standard program.</p>
<div class="note"><span class="notetitle">Note:</span> By using the code example, you agree to the terms of the <a href="codedisclaimer.htm">Code license and disclaimer information</a>.</div>
<p>For this approach, the physical file NFYOBJP is used as the notify object
and defined as:</p>
<pre>Unique user profile name 10 characters
Program identification 10 characters
Information for
starting again Character field
(This must be large
enough to contain the maximum
amount of information for starting
programs again that require
information for starting again.
This field is required by
the application programs.
In the example, it is
assumed to be a length of 200.)</pre>
<p>The file is created with SHARE(*YES). The first two fields in the file
are the key to the file. (This file can also be defined as a data structure
in RPG programs.)</p>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="rzakjprogramexample.htm">Example: Code for a standard processing program</a></strong><br />
This is an example of using a standard processing program.</li>
<li class="ulchildlink"><strong><a href="rzakjstndcommit.htm">Example: Code for a standard commit processing program</a></strong><br />
The standard commit (STDCMT) processing program performs the functions required to communicate with a single notify object used by all applications.</li>
<li class="ulchildlink"><strong><a href="rzakjdeciderestart.htm">Example: Use a standard processing program to decide whether to restart the application</a></strong><br />
This example is about a sample CL code for using a standard processing program to decide whether to restart an application after an abnormal IPL.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakjscenario.htm" title="You can read scenarios and examples in this topic to see how one company sets up commitment control. Read code examples for programs that use commitment control.">Scenarios and examples: Commitment control</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rzakjloggingfile.htm" title="This example provides sample code and instructions of how to use a transaction logging file to start an application after an abnormal end.">Example: Use a transaction logging file to start an application</a></div>
</div>
</div>
</body>
</html>