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

294 lines
14 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="Register exit programs" />
<meta name="abstract" content="Identify an exit program to call." />
<meta name="description" content="Identify an exit program to call." />
<meta name="DC.Relation" scheme="URI" content="rzaiimst31.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="rzaiimst32" />
<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>Register exit programs</title>
</head>
<body id="rzaiimst32"><a name="rzaiimst32"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Register exit programs</h1>
<div><p>Identify an exit program to call.</p>
<div class="section"><h4 class="sectiontitle">Work with the registration facility</h4><p>In order for the servers to know which exit program, if any, to
call, you must register your exit program. You can register the exit program
using the i5/OS™ registration
facility.</p>
<p>In addition to registering an exit program, it is necessary
to restart the prestart jobs for a particular server. Without this step,
the exit program is not called until, through attrition, new server jobs start.
For the file server exit program to be invoked, the QSERVER subsystem must
be restarted.</p>
<p>To register
an exit program with the registration facility, use the Work with Registration
Information (WRKREGINF) command.</p>
<pre>+--------------------------------------------------------------------------------+
| Work with Registration Info (WRKREGINF) |
| |
| Type choices, press Enter. |
| |
| Exit point . . . . . . . . . . . *REGISTERED |
| Exit point format . . . . . . . *ALL Name, generic*, *ALL |
| Output . . . . . . . . . . . . . * *, *PRINT |
| |
+--------------------------------------------------------------------------------+</pre>
<p>Press Enter to view the registered exit points.</p>
<pre>+--------------------------------------------------------------------------------+
| Work with Registration Information |
| |
| Type options, press Enter. |
| 5=Display exit point 8=Work with exit programs |
| |
| Exit |
| Exit Point |
| Opt Point Format Registered Text |
| _ QIBM_QCA_CHG_COMMAND CHGC0100 *YES Change command exit programs |
| _ QIBM_QCA_RTV_COMMAND RTVC0100 *YES Retrieve command exit progra |
| _ QIBM_QHQ_DTAQ DTAQ0100 *YES Original data queue server |
| _ QIBM_QIMG_TRANSFORMS XFRM0100 *YES |
| _ QIBM_QJO_DLT_JRNRCV DRCV0100 *YES Delete Journal Receiver |
| _ QIBM_QLZP_LICENSE LICM0100 *YES Original License Mgmt Server |
| _ QIBM_QMF_MESSAGE MESS0100 *YES Original Message Server |
| _ QIBM_QMH_REPLY_INQ RPYI0100 *YES Handle reply to inquiry mess |
| 8 QIBM_QNPS_ENTRY ENTR0100 *YES Network Print Server - entry |
| _ QIBM_QNPS_SPLF SPLF0100 *YES Network Print Server - spool |
| _ QIBM_QOE_OV_USR_ADM UADM0100 *YES OfficeVision/400 Administrat |
| |
| Command |
| ===&gt; |
| |
+--------------------------------------------------------------------------------+</pre>
<p>Choose option 8 to work with the exit programs for the exit
point defined for the server you would like to work with.</p>
<pre>+--------------------------------------------------------------------------------+
| Work with Exit Programs |
| |
| Exit point: QIBM_QNPS_ENTRY Format: ENTR0100 |
| |
| Type options, press Enter. |
| 1=Add 4=Remove 5=Display 10=Replace |
| |
| Exit |
| Program Exit |
| Opt Number Program Library |
| 1_ __________ __________ |
| |
| (No exit programs found) |
| |
+--------------------------------------------------------------------------------+</pre>
<p>Use option 1 to add an exit program to an exit point.</p>
<div class="note"><span class="notetitle">Notes:</span> <ul><li>If an exit program is already defined, you must remove it before you can
change the name of the program.</li>
<li>Even though the registration facility can support multiple user exits
for a specific exit point and format name, the servers always retrieve exit
program 1.</li>
<li>You must end and restart the prestart jobs for the change to go into affect.</li>
</ul>
</div>
<pre>+--------------------------------------------------------------------------------+
| Add exit program (ADDEXITPGM) |
| |
| Type choices, press Enter. |
| |
|Exit point . . . . . . . . . . . &gt; QIBM_QNPS_ENTRY |
|Exit point format . . . . . . . &gt; ENTR0100 Name |
|Program number . . . . . . . . . &gt; 1 1-2147483647, *LOW, *HIGH |
| Program . . . . . . . . . . . . <span class="uicontrol">MYPGM</span> Name |
| Library . . . . . . . . . . . <span class="uicontrol">MYLIB</span> Name, *CURLIB |
|THREADSAFE . . . . . . . . . . . *UNKNOWN *UNKNOWN, *NO, *YES |
|Multithreaded job action . . . . *SYSVAL *SYSVAL, *RUN, *MSG, |
|Text 'description' . . . . . . . *BLANK |
| |
+--------------------------------------------------------------------------------+</pre>
<p>Enter your program name and library for the program at this
exit point.</p>
<p>The same program is usable for multiple exit points. The
program can use the data that is sent as input to determine how to handle
different types of requests.</p>
<p>The following provides the exit point and
format names for each of the specific i5/OS servers.</p>
<p><strong>QIBM_QPWFS_FILE_SERV</strong> (File
Server)</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><tbody><tr><td valign="top">Format Name</td>
<td valign="top">PWFS0100</td>
</tr>
<tr><td valign="top">Application Name</td>
<td valign="top">*FILESRV</td>
</tr>
</tbody>
</table>
</div>
<p><strong>QIBM_QZDA_INIT</strong> (Database server initiation)</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><tbody><tr><td valign="top">Format Name</td>
<td valign="top">ZDAI0100</td>
</tr>
<tr><td valign="top">Application Name</td>
<td valign="top">*SQL</td>
</tr>
</tbody>
</table>
</div>
<p><strong>QIBM_QZDA_NDB1</strong> (Database server-native database requests)</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><tbody><tr><td valign="top">Format Names</td>
<td valign="top">ZDAQ0100 ZDAQ0200</td>
</tr>
<tr><td valign="top">Application Name</td>
<td valign="top">*NDB</td>
</tr>
</tbody>
</table>
</div>
<p><strong>QIBM_QZDA_ROI1</strong> (Database server retrieve object information
requests)</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><tbody><tr><td valign="top">Format Names</td>
<td valign="top">ZDAR0100 ZDAR0200</td>
</tr>
<tr><td valign="top">Application Name</td>
<td valign="top">*RTVOBJINF</td>
</tr>
</tbody>
</table>
</div>
<p><strong>QIBM_QZDA_SQL1</strong> (Database server SQL requests)</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><tbody><tr><td valign="top">Format Names</td>
<td valign="top">ZDAQ0100</td>
</tr>
<tr><td valign="top">Application Name</td>
<td valign="top">*SQLSRV</td>
</tr>
</tbody>
</table>
</div>
<p><strong>QIBM_QZDA_SQL2</strong> (Database server SQL requests)</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><tbody><tr><td valign="top">Format Names</td>
<td valign="top">ZDAQ0200</td>
</tr>
<tr><td valign="top">Application Name</td>
<td valign="top">*SQLSRV</td>
</tr>
</tbody>
</table>
</div>
<p><strong>QIBM_QZHQ_DATA_QUEUE</strong> (Data queue server)</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><tbody><tr><td valign="top">Format Name</td>
<td valign="top">ZHQ00100</td>
</tr>
<tr><td valign="top">Application Name</td>
<td valign="top">*DATAQSRV</td>
</tr>
</tbody>
</table>
</div>
<p><strong>QIBM_QNPS_ENTRY</strong> (Network print server)</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><tbody><tr><td valign="top">Format Name</td>
<td valign="top">ENTR0100</td>
</tr>
<tr><td valign="top">Application Name</td>
<td valign="top">QNPSERVR</td>
</tr>
</tbody>
</table>
</div>
<p><strong>QIBM_QNPS_SPLF</strong> (Network print server)</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><tbody><tr><td valign="top">Format Name</td>
<td valign="top">SPLF0100</td>
</tr>
<tr><td valign="top">Application Name</td>
<td valign="top">QNPSERVR</td>
</tr>
</tbody>
</table>
</div>
<p><strong>QIBM_QZSC_LM</strong> (Central server license management requests)</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><tbody><tr><td valign="top">Format Name</td>
<td valign="top">ZSCL0100</td>
</tr>
<tr><td valign="top">Application Name</td>
<td valign="top">*CNTRLSRV</td>
</tr>
</tbody>
</table>
</div>
<p><strong>QIBM_QZSC_NLS</strong> (Central server NLS requests)</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><tbody><tr><td valign="top">Format Name</td>
<td valign="top">ZSCN0100</td>
</tr>
<tr><td valign="top">Application Name</td>
<td valign="top">*CNTRLSRV</td>
</tr>
</tbody>
</table>
</div>
<p><strong>QIBM_QZSC_SM</strong> (License server)</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><tbody><tr><td valign="top">Format Name</td>
<td valign="top">ZSCS0100</td>
</tr>
<tr><td valign="top">Application Name</td>
<td valign="top">*CNTRLSRV</td>
</tr>
</tbody>
</table>
</div>
<p><strong>QIBM_QZRC_RMT</strong> (Remote command and distributed program call
server)</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><tbody><tr><td valign="top">Format Name</td>
<td valign="top">CZRC0100</td>
</tr>
<tr><td valign="top">Application Name</td>
<td valign="top">*RMTSRV</td>
</tr>
</tbody>
</table>
</div>
<p><strong>QIBM_QZSO_SIGNONSRV</strong> (Signon server)</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><tbody><tr><td valign="top">Format Name</td>
<td valign="top">ZSOY0100</td>
</tr>
<tr><td valign="top">Application Name</td>
<td valign="top">*SIGNON</td>
</tr>
</tbody>
</table>
</div>
</div>
</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>
</body>
</html>