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

94 lines
6.4 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="reference" />
<meta name="DC.Title" content="Examples: Code DDM-related tasks" />
<meta name="abstract" content="The examples in this topic collection are based on representative application programs that might be used for processing data both on the local iSeries server and on one or more remote servers." />
<meta name="description" content="The examples in this topic collection are based on representative application programs that might be used for processing data both on the local iSeries server and on one or more remote servers." />
<meta name="DC.subject" content="application program, program examples, forms of coding" />
<meta name="keywords" content="application program, program examples, forms of coding" />
<meta name="DC.Relation" scheme="URI" content="rbae5kickoff.htm" />
<meta name="DC.Relation" scheme="URI" content="rbae5commsetup.htm" />
<meta name="DC.Relation" scheme="URI" content="rbae5apaex1.htm" />
<meta name="DC.Relation" scheme="URI" content="rbae5apaex2.htm" />
<meta name="DC.Relation" scheme="URI" content="rbae5apaex3.htm" />
<meta name="DC.Relation" scheme="URI" content="rbae5apaex4.htm" />
<meta name="DC.Relation" scheme="URI" content="rbae5filmgmt.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="rbae5code" />
<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>Examples: Code DDM-related tasks</title>
</head>
<body id="rbae5code"><a name="rbae5code"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Examples: Code DDM-related tasks</h1>
<div><p>The examples in this topic collection are based on
representative application programs that might be used for processing data
both on the local <span class="keyword">iSeries™ server</span> and
on one or more remote servers.</p>
<div class="section"><p>The first example is a simple inquiry application, and the second
example is an order entry application. The third example accesses multiple
files on multiple <span class="keyword">iSeries server</span>s.
The fourth example accesses multiple <span class="keyword">iSeries server</span>s
and a <span class="keyword">System/36™</span>.</p>
</div>
<div class="section"><p>The coding for each of these examples and tasks has one or two
parts:</p>
<ul><li>Coding, shown in pseudocode form, not related to DDM but used to build
the programming environment. The examples show you the task steps needed,
independent of the language you use for your applications. You can write or
adapt your programs in your language with the necessary coding to perform
these or similar tasks.</li>
<li>Coding, mostly done in CL, related to communicating with the other servers
using DDM in the network.</li>
</ul>
</div>
<div class="section"><p>References are made to other parts of this topic collection and
to other topics for additional information that is helpful in understanding
or using these examples.</p>
</div>
<div class="section"> </div>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="rbae5commsetup.htm">Communications setup for DDM examples and tasks</a></strong><br />
These topics describe the network in which DDM is used for these task examples.</li>
<li class="ulchildlink"><strong><a href="rbae5apaex1.htm">DDM example 1: Simple inquiry application</a></strong><br />
This first example shows how multiple locations in a customer's business might be processing the same inquiry application on their own servers, using their own primary files. Without DDM, the two locations shown here (Chicago and Toronto) have their own primary file (CUSTMAST), both with different and duplicate levels of information.</li>
<li class="ulchildlink"><strong><a href="rbae5apaex2.htm">DDM example 2: ORDERENT application</a></strong><br />
This second example shows how multiple locations in a customer's business can process the same order entry application using DDM.</li>
<li class="ulchildlink"><strong><a href="rbae5apaex3.htm">DDM example 3: Access multiple iSeries files</a></strong><br />
Using the same communications environment as in the previous examples,
this example is used to ask inventory questions of identically named files
on the two remote <span class="keyword">iSeries server</span>s
and the remote <span class="keyword">System/38™</span>.</li>
<li class="ulchildlink"><strong><a href="rbae5apaex4.htm">DDM example 4: Access a file on System/36</a></strong><br />
This topic shows how the pseudocode program for the previous task
can be changed so a MASTER file on the <span class="keyword">System/36</span> in
Dallas can be accessed in the same way as the MASTER files on the <span class="keyword">iSeries server</span>s and <span class="keyword">System/38™</span> in
Example 3.</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="relref"><strong>Related reference</strong><br />
<div><a href="rbae5filmgmt.htm" title="i5/OS DDM supports creating, deleting, or renaming of files on a remote server.">Perform file management functions on remote servers</a></div>
</div>
</div>
</body>
</html>