86 lines
4.7 KiB
HTML
86 lines
4.7 KiB
HTML
|
<?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="Specify a relational database alias name" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbal1workwith.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="rbal1specifyn" />
|
||
|
<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>Specify a relational database alias name</title>
|
||
|
</head>
|
||
|
<body id="rbal1specifyn"><a name="rbal1specifyn"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Specify a relational database alias name</h1>
|
||
|
<div><p>The next example shows the addition of a directory entry that specifies
|
||
|
an RDB alias name. This allows networks that have relational databases of
|
||
|
the same name to uniquely identify each in a Distributed
|
||
|
Relational Database Architecture™ (DRDA<sup>®</sup>) environment. When an entry using
|
||
|
an alias has been added to the RDB directory, the entry is identified by its
|
||
|
alias name. To display or delete the entry, you must specify the alias name.</p>
|
||
|
<p>The following display has RDBALS specified as the relational database alias
|
||
|
name.</p>
|
||
|
<div class="section"><div class="p"> <pre class="screen">Type choices, press Enter.
|
||
|
|
||
|
Relational database . . . . . . > TEST Character value
|
||
|
Relational database alias . . . RDBALS
|
||
|
Remote location:
|
||
|
Name or address . . . . . . . MP311.spiffy.com
|
||
|
|
||
|
|
||
|
|
||
|
Type . . . . . . . . . . . . . *IP *SNA, *IP
|
||
|
Text . . . . . . . . . . . . . . 'Oak Street Dealership'</pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="section"><p>When you add an entry for an alias using <span class="cmdname">WRKRDBDIRE</span> and
|
||
|
option 1, you should first put the real RDB name in the <strong>Entry</strong> field,
|
||
|
and press Enter. Then, after filling in the other fields including the alias
|
||
|
name in the <strong>Relational database alias</strong> field, you will see the alias
|
||
|
name replace the real RDB name in the <strong>Entry</strong> field of the list of RDB
|
||
|
entries. Note that you must change <strong>Type</strong> for the remote location name
|
||
|
from *SNA to *IP.</p>
|
||
|
</div>
|
||
|
<div class="section"><p>When removing a relational database entry with the <span class="cmdname">Remove
|
||
|
Relational Database Directory Entry (RMVRDBDIRE)</span> command, the alias
|
||
|
name, rather than the real relational database name, is used
|
||
|
to specify which entry to remove.</p>
|
||
|
<p>If you identify a remote database
|
||
|
by an alias, you cannot also refer to it by its real name in the same directory.</p>
|
||
|
</div>
|
||
|
<div class="section"><p>Note that instead of specifying MP311.spiffy.com for the <span class="cmdname">RMTLOCNAME</span>,
|
||
|
you could have specified the IP address (for example, '9.5.25.176'). For IP
|
||
|
connections to another <span class="keyword">iSeries™ server</span>,
|
||
|
leave the PORT parameter value set at the default, *DRDA, unless you need
|
||
|
to use port 447. For example, you might have port 447 configured for transmission
|
||
|
using IP Security Architecture (IPSec). For connections to an IBM<sup>®</sup> Universal
|
||
|
Database (UDB) server on some other platform, for example, you might need
|
||
|
to set the port to a number such as 50000. Refer to the product documentation
|
||
|
for the server you are using. If you have a valid service name defined for
|
||
|
a DRDA port
|
||
|
at a certain location, you can also use that instead of a number. However,
|
||
|
on iSeries,
|
||
|
*DRDA is preferred to the use of the 'drda' service name. </p>
|
||
|
</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>
|
||
|
</body>
|
||
|
</html>
|