ibm-information-center/dist/eclipse/plugins/i5OS.ic.cl_5.4.0.1/wrkreginf.htm

193 lines
6.6 KiB
HTML

<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Work with Registration Info (WRKREGINF)</title>
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body bgcolor="white">
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<a name="WRKREGINF.Top_Of_Page"></a>
<h2>Work with Registration Info (WRKREGINF)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
<b>Threadsafe: </b>No
</td>
<td valign="top" align="right">
<a href="#WRKREGINF.PARAMETERS.TABLE">Parameters</a><br>
<a href="#WRKREGINF.COMMAND.EXAMPLES">Examples</a><br>
<a href="#WRKREGINF.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="WRKREGINF"></a>
<p>The Work with Registration Information Command (WRKREGINF) shows information about exit points and exit programs. Information about a single exit point, multiple exit points and the exit programs associated with the exit points are displayed. The command is similar to the Retrieve Exit Information (QUSRTVEI) Application Programming Interface (API).
</p>
<p>For more information on Registration Information refer to the Application programming interfaces information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter book.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKREGINF.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="WRKREGINF.PARAMETERS.TABLE">Parameters</a></h3>
<table border="1" cellpadding="4" cellspacing="0">
<!-- col1="10" col2="15" col3="30" col4="10" -->
<tr>
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
</tr>
<tr>
<td valign="top"><a href="#WRKREGINF.EXITPNT"><b>EXITPNT</b></a></td>
<td valign="top">Exit point</td>
<td valign="top"><i>Generic name, name</i>, <b><u>*REGISTERED</u></b>, *UNREGISTERED, *ALL</td>
<td valign="top">Optional, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#WRKREGINF.FORMAT"><b>FORMAT</b></a></td>
<td valign="top">Exit point format</td>
<td valign="top"><i>Generic name, name</i>, <b><u>*ALL</u></b></td>
<td valign="top">Optional, Positional 2</td>
</tr>
<tr>
<td valign="top"><a href="#WRKREGINF.OUTPUT"><b>OUTPUT</b></a></td>
<td valign="top">Output</td>
<td valign="top"><b><u>*</u></b>, *PRINT</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#WRKREGINF.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="WRKREGINF.EXITPNT"></a>
<h3>Exit point (EXITPNT)</h3>
<p>Specifies the name of the exit point to work with.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*REGISTERED</u></b></dt>
<dd>All registered exit points are displayed. Registered exit points are exit points that were added to the registration facility.
</dd>
<dt><b>*UNREGISTERED</b></dt>
<dd>All unregistered exit points are displayed. Unregistered exit points are exit points that are created by the registration facility in the absence of the exit point at the time an exit program was added.
</dd>
<dt><b>*ALL</b></dt>
<dd>All registered and unregistered exit points are displayed.
</dd>
<dt><b><i>exit-point</i></b></dt>
<dd>Specify the name of the exit point that is to be displayed.
</dd>
<dt><b><i>generic*-exit-point-name</i></b></dt>
<dd>Specify a generic name for the exit point. A generic name is a character string of one or more characters followed by an asterisk (*); for example, ABC*. If a generic name is specified, all exit points with names that begin with the generic name are shown.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKREGINF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="WRKREGINF.FORMAT"></a>
<h3>Exit point format (FORMAT)</h3>
<p>Specifies the format name of the exit point to work with.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*ALL</u></b></dt>
<dd>All formats for the specified exit point are displayed.
</dd>
<dt><b><i>format</i></b></dt>
<dd>Specify the name of the exit point format.
</dd>
<dt><b><i>generic*-format</i></b></dt>
<dd>Specify a generic name for the exit point format. A generic name is a character string of one or more characters followed by an asterisk (*); for example, ABC*. If a generic name is specified, all formats that begin with the generic name are shown.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKREGINF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="WRKREGINF.OUTPUT"></a>
<h3>Output (OUTPUT)</h3>
<p>Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*</u></b></dt>
<dd>The output is displayed.
</dd>
</dl>
<dl>
<dt><b>*PRINT</b></dt>
<dd>The output is printed with the job's spooled output.
</dd>
</dl>
<dl>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKREGINF.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="WRKREGINF.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Printing Registration Information</b>
</p>
<p>
<pre>
WRKREGINF OUTPUT(*PRINT)
</pre>
</p>
<p>This command produces a report of all registered exit points and their exit programs using the QSYSPRT printer file.
</p>
<p><b>Example 2: Displaying Registration Information</b>
</p>
<p>
<pre>
WRKREGINF EXITPNT(*REGISTERED) FORMAT(FMT*)
</pre>
</p>
<p>This command displays all registered exit points with a format name that starts with the letters 'FMT'.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKREGINF.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="WRKREGINF.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF3CDA</b></dt>
<dd>Registration facility repository not available for use.
</dd>
<dt><b>CPF3CD9</b></dt>
<dd>Requested function cannot be performed at this time.
</dd>
<dt><b>CPF3CEF</b></dt>
<dd>Error occurred displaying exit points.
</dd>
<dt><b>CPF7D41</b></dt>
<dd>Error occurred while logging order assistance request.
</dd>
<dt><b>CPF7D42</b></dt>
<dd>Error occurred while performing database operation.
</dd>
<dt><b>CPF9871</b></dt>
<dd>Error occurred while processing.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKREGINF.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>