ibm-information-center/dist/eclipse/plugins/i5OS.ic.rbam6_5.4.0.1/remdta.htm

78 lines
4.7 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="Remote data areas" />
<meta name="abstract" content="A remote data area is a data area on a remote server." />
<meta name="description" content="A remote data area is a data area on a remote server." />
<meta name="DC.subject" content="remote data areas" />
<meta name="keywords" content="remote data areas" />
<meta name="DC.Relation" scheme="URI" content="dtaas.htm" />
<meta name="DC.Relation" scheme="URI" content="../ddm/rbae5kickoff.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/crtdtaara.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/rtvdtaara.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/chgdtaara.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/dspdtaara.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/dltdtaara.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="remdta" />
<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>Remote data areas</title>
</head>
<body id="remdta"><a name="remdta"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Remote data areas</h1>
<div><p>A remote data area is a data area on a remote server.</p>
<p>You can access remote data areas by using Distributed Data Management (DDM).
You do not need to change or recompile an application program that resides
on one server when it retrieves data that resides on a remote server. To ensure
that you are accessing the correct data area, you may need to do one of the
following: </p>
<ul><li>Delete the standard data area and create a DDM data area that has the
same name as the original standard data area</li>
<li>Rename the standard data area</li>
</ul>
<p>You can create a DDM data area by doing the following: </p>
<pre> CRTDTAARA DTAARA(LOCALLIB/DDMDTAARA) TYPE(*DDM)
RMTDTAARA(REMOTELIB/RMTDTAARA) RMTLOCNAME(SYSTEMB)
TEXT('DDM data area to access data area on SYSTEMB')</pre>
<p>To use a value from a data area on a remote server in a CL program, use
the <span class="cmdname">Retrieve Data Area (RTVDTAARA)</span> command. Specify the
name of a DDM data area to bring the current value into a variable in your
program. If you change this value in your CL program and want to return the
new value to the remote data area, use the <span class="cmdname">Change Data Area (CHGDTAARA)</span> command
and specify the same DDM data area.</p>
<p>If you specify the name of a DDM data area when using the <span class="cmdname">Display
Data Area (DSPDTAARA)</span> command, the value of the DDM data area is
displayed, rather than the value of the remote data area. You can delete
a DDM data area using the <span class="cmdname">Delete Data Area (DLTDTAARA)</span> command.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dtaas.htm" title="A data area is an object used to hold data for access by any job running on the system.">Use data areas</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="../ddm/rbae5kickoff.htm">Distributed data management</a></div>
<div><a href="../cl/crtdtaara.htm">Create Data Area (CRTDTAARA) command</a></div>
<div><a href="../cl/rtvdtaara.htm">Retrieve Data Area (RTVDTAARA) command</a></div>
<div><a href="../cl/chgdtaara.htm">Change Data Area (CHGDTAARA) command</a></div>
<div><a href="../cl/dspdtaara.htm">Display Data Area (DSPDTAARA) command</a></div>
<div><a href="../cl/dltdtaara.htm">Delete Data Area (DLTDTAARA) command</a></div>
</div>
</div>
</body>
</html>