161 lines
4.9 KiB
HTML
161 lines
4.9 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 RDB Directory Entry (WRKRDBDIRE)</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="WRKRDBDIRE.Top_Of_Page"></a>
|
||
|
<h2>Work with RDB Directory Entry (WRKRDBDIRE)</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="#WRKRDBDIRE.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#WRKRDBDIRE.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#WRKRDBDIRE.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="WRKRDBDIRE"></a>
|
||
|
<p>The Work with Relational Database Directory Entry (WRKRDBDIRE) command allows you to show and work with one or more entries from the relational database (RDB) directory.
|
||
|
</p>
|
||
|
<p>With this command, you can do the following with the RDB directory:
|
||
|
</p>
|
||
|
<ul>
|
||
|
<li>Add new entries
|
||
|
</li>
|
||
|
<li>Change existing entries
|
||
|
</li>
|
||
|
<li>Remove entries
|
||
|
</li>
|
||
|
<li>Show the details of an entry
|
||
|
</li>
|
||
|
<li>Print an entry
|
||
|
</li>
|
||
|
<li>Print a list of all entries
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKRDBDIRE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="WRKRDBDIRE.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="#WRKRDBDIRE.RDB"><b>RDB</b></a></td>
|
||
|
<td valign="top">Entry</td>
|
||
|
<td valign="top"><i>Generic name, name</i>, <b><u>*ALL</u></b></td>
|
||
|
<td valign="top">Optional, Positional 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#WRKRDBDIRE.OUTPUT"><b>OUTPUT</b></a></td>
|
||
|
<td valign="top">Output</td>
|
||
|
<td valign="top"><b><u>*</u></b>, *PRINT</td>
|
||
|
<td valign="top">Optional, Positional 2</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKRDBDIRE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="WRKRDBDIRE.RDB"></a>
|
||
|
<h3>Entry (RDB)</h3>
|
||
|
<p>Specifies the relational database directory entry. If an entry has no alias, the relational database name is used as the entry name. If an entry has an alias, the alias is used as the entry name.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<p>The possible values are:
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*ALL</u></b></dt>
|
||
|
<dd>All entries in the relational database directory.
|
||
|
</dd>
|
||
|
<dt><b><i>generic*-relational-database-name</i></b></dt>
|
||
|
<dd>Specify the generic name of the relational database entries. A generic name is a character string that contains one or more characters followed by an asterisk (*).
|
||
|
</dd>
|
||
|
<dt><b><i>relational-database-name</i></b></dt>
|
||
|
<dd>Specify the name of the relational database directory entry.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKRDBDIRE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="WRKRDBDIRE.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 (if requested by an interactive job) or printed with the job's spooled output (if requested by a batch job).
|
||
|
</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="#WRKRDBDIRE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="WRKRDBDIRE.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p><b>Example 1: Displaying All Directory Entries</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
WRKRDBDIRE
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command shows a list of all relational database directory entries and allows you to work with them.
|
||
|
</p>
|
||
|
<p><b>Example 2: Directing Information to a Database File</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
WRKRDBDIRE RDB(YOURRDB) OUTPUT(*PRINT)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command directs the information from the relational database directory entry YOURRDB to a printer file.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKRDBDIRE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="WRKRDBDIRE.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>CPF3EC4</b></dt>
|
||
|
<dd>Work with relational database directory entry failed.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKRDBDIRE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|