ibm-information-center/dist/eclipse/plugins/i5OS.ic.ddm_5.4.0.1/rbae5intrdf.htm

144 lines
12 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="Introduction to i5/OS DDM" />
<meta name="abstract" content="This topic describes the purpose of distributed data management (DDM), the functions that DDM supplies on the iSeries server, and the concepts of i5/OS DDM." />
<meta name="description" content="This topic describes the purpose of distributed data management (DDM), the functions that DDM supplies on the iSeries server, and the concepts of i5/OS DDM." />
<meta name="DC.subject" content="introduction, DDM, DDM introduction, database management, remote system, file processing, distributed data management (DDM), definition, DDM (distributed data management), record file, target system, folder management services (FMS), FMS (folder management services), source DDM (SDDM), overview, SDDM (source DDM), DDM source considerations, target DDM (TDDM), DDM target considerations" />
<meta name="keywords" content="introduction, DDM, DDM introduction, database management, remote system, file processing, distributed data management (DDM), definition, DDM (distributed data management), record file, target system, folder management services (FMS), FMS (folder management services), source DDM (SDDM), overview, SDDM (source DDM), DDM source considerations, target DDM (TDDM), DDM target considerations" />
<meta name="DC.Relation" scheme="URI" content="rbae5kickoff.htm" />
<meta name="DC.Relation" scheme="URI" content="rbae5sytcomp.htm" />
<meta name="DC.Relation" scheme="URI" content="rbae5ddmfunc.htm" />
<meta name="DC.Relation" scheme="URI" content="rbae5bascncp.htm" />
<meta name="DC.Relation" scheme="URI" content="rbae5partsofddm.htm" />
<meta name="DC.Relation" scheme="URI" content="rbae5advcncp.htm" />
<meta name="DC.Relation" scheme="URI" content="rbae5exampleaccessmultiple.htm" />
<meta name="DC.Relation" scheme="URI" content="rbae5prepddm.htm" />
<meta name="DC.Relation" scheme="URI" content="rbae5utlang.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1999, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1999, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rbae5intrdf" />
<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>Introduction to i5/OS DDM</title>
</head>
<body id="rbae5intrdf"><a name="rbae5intrdf"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Introduction to <span class="keyword">i5/OS</span> DDM</h1>
<div><p>This topic describes the purpose of distributed data management
(DDM), the functions that DDM supplies on the <span class="keyword">iSeries™ server</span>,
and the concepts of <span class="keyword">i5/OS™</span> DDM.</p>
<p> DDM is part of the <span class="keyword">i5/OS</span> licensed
program. <span class="keyword">i5/OS</span> DDM as a
source supports Level 2.0 and below of the DDM architecture. <span class="keyword">i5/OS</span> DDM
as a target supports Level 2.0 and below for <dfn class="term">record file</dfn> (a file
on disk in which the data is read and written in records) types and Level
3.0 and below of the DDM architecture for stream files (documents) and directories
(folders).</p>
<p>The DDM support on the <span class="keyword">iSeries server</span> allows
application programs or users to access data files that reside on remote systems,
and also allows remote systems to access data files on the local <span class="keyword">iSeries server</span>, as shown in <a href="#rbae5intrdf__rbae5systyps">Figure 1</a>.
Any system that supports the DDM architecture as a source system can access
data (if authorized to do so) on any other system to which it is attached.
The attached system must support DDM as a <dfn class="term">target system</dfn> (the
system that receives a request from another system to use one or more files
located on the system). However, the source and target systems must support
compatible subsets and levels of the DDM architecture.</p>
<p>The folder management services (FMS) support allows personal computer users
to access folders and documents that reside on an <span class="keyword">iSeries</span> target
server. Remote systems that support Level 3.0 or Level 2.0 of the DDM architecture
for the stream access method can access folders and documents on the local <span class="keyword">iSeries server</span>.</p>
<p>DDM extends the file accessing capabilities of the <span class="keyword">iSeries server</span> database
management support. In this topic collection, <dfn class="term">database management</dfn> refers
to the system function that controls <strong>local</strong> file processing; that is,
it controls access to data in files stored on the local <span class="keyword">iSeries server</span>,
and it controls the transfer of that data to requesting programs on the same
server.</p>
<p><dfn class="term">Distributed data management</dfn> controls <strong>remote</strong> file processing.
DDM enables application programs running on one <span class="keyword">iSeries server</span> to
access data files stored on another server supporting DDM. Similarly, other
systems that have DDM can access files in the database of the local <span class="keyword">iSeries server</span>. DDM makes it easier to distribute
file processing between two or more servers.</p>
<div class="fignone" id="rbae5intrdf__rbae5systyps"><a name="rbae5intrdf__rbae5systyps"><!-- --></a><span class="figcap">Figure 1. Source and target systems</span><br /><img src="rsll101.gif" alt="The systems that might be used as a target when an iSeries system is the source include another iSeries system, System/36, System/38, and other DDM-compatible systems." /><br /></div>
<p>Systems that use DDM communicate with each other using the Advanced Program-to-Program
Communication (APPC) support, Advanced Peer-to-Peer
Networking<sup>®</sup> (APPN) support, or TCP/IP. See the <em>Communications Management</em> manual
on the <a href="http://publib.boulder.ibm.com/iseries/v5r1/ic2924/rzaqhindex.htm">V5R1
Supplemental Manuals</a> Web site<img src="www.gif" alt="Link outside information center" /> and the <a href="../rzahj/rzahjovr.htm">APPC, APPN, and HPR</a> topic for information needed to use
APPC and APPN.</p>
<p><dfn class="term">Folder management services</dfn> (FMS) allows local access to documents
or folders that are on the <span class="keyword">iSeries server</span>.
Personal computers might access folder management functions on the server
by using DDM.</p>
<div class="note"><span class="notetitle">Note:</span> Distributed data management for the IBM<sup>®</sup> Personal Computer uses the <span class="keyword">iSeries</span> portion of the <span class="keyword">iSeries Access Family</span> licensed
program.</div>
<p>As shown in <a href="#rbae5intrdf__rbae5srctgt1">Figure 2</a>, the server
on which a user application issues a request involving a remote file is called
a <dfn class="term">source system</dfn>. The server that receives the request for one
of its files is called the <dfn class="term">target system</dfn>. A system can be both
a source and target system for separate requests received at the same time.</p>
<p>Using DDM, an application program can get, add, change, and delete data
records in a file that exists on a target system. It can also perform file-related
operations, such as creating, deleting, renaming, or copying a file from the
target system to the source system. </p>
<p>When DDM is in use, neither the application program nor the program user
needs to know if the file that is needed exists locally or on a remote system.
DDM handles remote file processing in essentially the same way as local file
processing is handled on the local system, and the application program normally
does not receive any indication of where the requested file is located. (However,
in error conditions, messages are returned to the user that indicate, when
necessary, that a remote system was accessed.) Informational messages about
the use of target system files are included in the source system's job log.</p>
<p>When DDM is to be used, only application programmers need
to know where the file is located and, using control language (CL) commands
outside of the high-level language (HLL) programs, they can control which
file is used. However, the programmers can also choose to use specific recovery
functions to handle certain communications failures; the HLL programs might
need to be changed to include handling any such failure.</p>
<p>Therefore, iSeries BASIC,
ILE COBOL, ILE RPG, ILE C, and <span class="keyword">iSeries</span> programs
that are compiled to process database files on the local server might not
need to be changed or recompiled for DDM to process those same files when
they are moved to or exist on a remote server.</p>
<div class="fignone" id="rbae5intrdf__rbae5srctgt1"><a name="rbae5intrdf__rbae5srctgt1"><!-- --></a><span class="figcap">Figure 2. Move a program from a source
to a target system</span><br /><img src="rsll102.gif" alt="This figure shows a program passing from an iSeries system to a DDM file and finally to the target iSeries system." /><br /></div>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="rbae5sytcomp.htm">System compatibility</a></strong><br />
DDM can be used to communicate between systems that are architecturally different.</li>
<li class="ulchildlink"><strong><a href="rbae5ddmfunc.htm">Overview of DDM functions</a></strong><br />
This topic gives an overview of the types of DDM functions that can be done on a target server.</li>
<li class="ulchildlink"><strong><a href="rbae5bascncp.htm">Basic DDM concepts</a></strong><br />
This topic collection gives the basic concepts of DDM.</li>
<li class="ulchildlink"><strong><a href="rbae5partsofddm.htm">Parts of DDM</a></strong><br />
DDM consists of several parts to handle remote file processing among the systems using DDM.</li>
<li class="ulchildlink"><strong><a href="rbae5advcncp.htm">Additional DDM concepts</a></strong><br />
Most users of DDM will not need the information in the remainder of these topics; it is intended primarily for experienced programmers who need to know more about DDM.</li>
<li class="ulchildlink"><strong><a href="rbae5exampleaccessmultiple.htm">Examples: Access multiple remote files with DDM</a></strong><br />
These examples show a single application program using DDM to access multiple remote files.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbae5kickoff.htm" title="This topic contains i5/OS distributed data management (DDM) concepts, information about preparing for DDM communications, and DDM-related programming information.">Distributed data management</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rbae5prepddm.htm" title="There are several requirements that must be met for DDM to be used properly.">Prepare to use DDM</a></div>
<div><a href="rbae5utlang.htm" title="This topic describes the language, utility, and application program support that is provided on the iSeries server for DDM.">Use language, utility, and application support for DDM</a></div>
</div>
</div>
</body>
</html>