ibm-information-center/dist/eclipse/plugins/i5OS.ic.ddp_5.4.0.1/rbal1workcomm.htm

116 lines
7.3 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="Use the WRKRDBDIRE command" />
<meta name="DC.Relation" scheme="URI" content="rbal1workwith.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/addrmtjrn.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/chgrdbdire.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/chgrmtjrn.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/dsprdbdire.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/rmvrmtjrn.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/rmvrdbdire.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal1savrdbd.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="rbal1workcomm" />
<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>Use the WRKRDBDIRE command</title>
</head>
<body id="rbal1workcomm"><a name="rbal1workcomm"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Use the <span class="cmdname">WRKRDBDIRE</span> command</h1>
<div><div class="p">The <span class="cmdname">Work with RDB Directory Entries</span> display provides
you with options to add, change, display, or remove a relational database
directory entry. <pre class="screen">Work with RDB Directory Entries
Position to . . . . . .
Type options, press Enter.
1=Add 2=Change 4=Remove 5=Display details 6=Print details
Relational Remote
Option Database Location Text
__ KC000 KC000 Kansas City region database
__ MP000 *LOCAL Minneapolis region database
__ MP101 MP101 Dealer database MP101
__ MP102 MP102 Dealer database MP102
__ MP211 MP211 Dealer database MP211
__ MP215 MP215 Dealer database MP215
4_ MP311 MP311 Dealer database MP311
</pre>
</div>
<div class="section"><p>As shown on the display, option 4 can be used to remove an entry
from the relational database directory on the local server. If you remove
an entry, you receive another display that allows you to confirm the remove
request for the specified entry or select a different relational database
directory entry. If you use the <span class="cmdname">Remove Relational Database Directory
Entry (RMVRDBDIRE)</span> command, you have the option of specifying a
specific relational database name, generic names, all directory entries, or
just the remote entries.</p>
</div>
<div class="section"><p>You have the option on the Work with Relational Database Directory
Entries display to display the details of an entry. Output from the Work with
Relational Database Entries display is to a display. However, if you use
the <span class="cmdname">Display Relational Database Directory Entry (DSPRDBDIRE)</span> command,
you can send the output to a printer or an output file. The relational database
directory is not an <span class="keyword">iSeries™</span> object,
so using an output file provides a means of backup for the relational database
directory. For more information about using the (<span class="cmdname">DSPRDBDIRE</span>)
command with an output file for backing up the relational database directory,
see Save and restore relational database directories.</p>
</div>
<div class="section"><p>You have the option on the Work with RDB Directory Entries display
to change an entry in the relational database directory. You can also use
the <span class="cmdname">Change Relational Database Directory Entry (CHGRDBDIRE)</span> command
to make changes to an entry in the directory. You can change any of the optional
command parameters and the remote location name of the server. You cannot
change a relational database name for a directory entry. To change the name
of a relational database in the directory, remove the entry for the relational
database and add an entry for the new database name.</p>
</div>
<div class="section"> <div class="note"><span class="notetitle">Note:</span> If the remote location was changed in the relational database
directory entry, then the remote journal has to be removed using the <span class="cmdname">Remove
Remote Journal (RMVRMTJRN) </span>command or the <span class="apiname">QjoRemoveRemoteJournal</span> API
and readded using the <span class="cmdname">Add Remote Journal (ADDRMTJRN)</span> command
or the <span class="apiname">QjoAddRemoteJournal</span> API. If the remote location
type, or authentication, or something else was changed, then remote journaling
just needs to be ended using the <span class="cmdname">Change Remote Journal (CHGRMTJRN)</span> command
or the <span class="apiname">QjoChangeJournalState</span> API and restarted by also
using the <span class="cmdname">Change Remote Journal (CHGRMTJRN)</span> command or
the <span class="apiname">QjoChangeJournalState</span> API. To get your change used
for distributed files, you need to delete and re-create your node group, and
then re-create the file.</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal1workwith.htm" title="Use these instructions to work with the relational database directory.">Work with the relational database directory</a></div>
</div>
<div class="reltasks"><strong>Related tasks</strong><br />
<div><a href="rbal1savrdbd.htm" title="The relational database directory is not an iSeries object. Instead it is made up of files that are opened by the server at IPL time.">Save and restore relational database directories</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="../cl/addrmtjrn.htm">Add Remote Journal (ADDRMTJRN) command</a></div>
<div><a href="../cl/chgrdbdire.htm">Change Relational Database Directory Entry (CHGRDBDIRE) command</a></div>
<div><a href="../cl/chgrmtjrn.htm">Change Remote Journal (CHGRMTJRN) command</a></div>
<div><a href="../cl/dsprdbdire.htm">Display Relational Database Directory Entry (DSPRDBDIRE) command</a></div>
<div><a href="../cl/rmvrmtjrn.htm">Remove Remote Journal (RMVRMTJRN) command</a></div>
<div><a href="../cl/rmvrdbdire.htm">Remove Relational Database Directory Entry (RMVRDBDIRE) command</a></div>
</div>
</div>
</body>
</html>