ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaii_5.4.0.1/rzaiimst33.htm

60 lines
3.5 KiB
HTML
Raw Permalink 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="Write exit programs" />
<meta name="abstract" content="This topic identifies considerations when specifying an exit program." />
<meta name="description" content="This topic identifies considerations when specifying an exit program." />
<meta name="DC.Relation" scheme="URI" content="rzaiimst31.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiimst35.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzaiimst33" />
<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>Write exit programs</title>
</head>
<body id="rzaiimst33"><a name="rzaiimst33"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Write exit programs</h1>
<div><p>This topic identifies considerations when specifying an exit program.</p>
<p>When you specify an exit program the servers pass the following
two parameters to the exit program before running your request:</p>
<ul><li>A 1-byte return code value</li>
<li>A structure containing information about your request (This structure
is different for each of the exit points.)</li>
</ul>
<p>These two parameters allow the exit program to determine whether your request
is possible. If the exit program sets the return code to X'F1', the server
allows the request. If the return code is set to X'F0' the server rejects
the request. If values other than X'F1' or X'F0' are set, the results will
vary depending upon which server is being accessed.</p>
<p>For multiple servers and exit points, the same program is usable. The program
can determine which server is being called and which function is being used
by looking at the data in the second parameter structure.</p>
<p>Exit program parameters documents the structures of the second parameter
that is sent to the exit programs. You can use this information to write your
own exit programs.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiimst31.htm" title="Shows how to write and register exit programs. You can also find exit program parameters and programming examples in this topic.">Use server exit programs</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rzaiimst35.htm" title="Identify exit points for the servers.">Exit program parameters</a></div>
</div>
</div>
</body>
</html>