134 lines
10 KiB
HTML
134 lines
10 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="iSeries server as the source server for DDM" />
|
|
<meta name="abstract" content="When an application program or user in a source server job first refers to a DDM file, several actions occur as part of processing the request on the source server." />
|
|
<meta name="description" content="When an application program or user in a source server job first refers to a DDM file, several actions occur as part of processing the request on the source server." />
|
|
<meta name="DC.subject" content="system, iSeries, source, considerations, source DDM (SDDM), server, SDDM (source DDM), DDM source considerations" />
|
|
<meta name="keywords" content="system, iSeries, source, considerations, source DDM (SDDM), server, SDDM (source DDM), DDM source considerations" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbae5advcncp.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbae5ile1.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbae5srcsvraction.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbae5partsddm.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbae5cldsp.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbae5ddmcnv.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbae5ctlcnv.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="rbae5xs3xsrc" />
|
|
<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>iSeries server as the source
|
|
server for DDM</title>
|
|
</head>
|
|
<body id="rbae5xs3xsrc"><a name="rbae5xs3xsrc"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1"><span class="keyword">iSeries server</span> as the source
|
|
server for DDM</h1>
|
|
<div><p>When an application program or user in a source server job first
|
|
refers to a DDM file, several actions occur as part of processing the request
|
|
on the source server.</p>
|
|
<p>All of these actions, as well as those required on the target server, must
|
|
complete successfully before any operations (file or nonfile) requested by
|
|
the source program can be done. When the DDM file is referred to:</p>
|
|
<ul><li>If the request is to open a file, its information is used simultaneously
|
|
to create an open data path (ODP) on the source server and to start the SDDM
|
|
support, which runs within the same job as the source program. The SDDM also
|
|
uses the information: to convert the source server request into a DDM request,
|
|
to communicate with the appropriate target server, and to establish a DDM
|
|
conversation to be used for the source job. (The ODP is partially created
|
|
with the DDM file information; it is not usable until the SDDM processes the
|
|
remaining information after the DDM conversation is established.)</li>
|
|
<li>The communications portion of DDM establishes a communications path with
|
|
the target server. The target <em>server</em> is identified by using the remote
|
|
location information specified in the DDM file, and the target <em>file</em> is
|
|
identified by the remote file name. Other information about e remote location,
|
|
not kept in the DDM file, is stored by the SDDM. This includes
|
|
the transaction program name, user ID, activation group number, and scope
|
|
of the conversation. Using the remote location information, the TDDM is started
|
|
on the target server and a DDM conversation is established when the remote
|
|
server receives the program start request. The conversation is established
|
|
the first time the remote file is accessed, but only if a conversation using
|
|
the same remote location values for that target server does not already exist
|
|
for the source job.</li>
|
|
<li>After the DDM conversation is established, the SDDM (which can be used
|
|
by multiple programs and multiple DDM files in the same source job) sends
|
|
the DDM architecture command to the TDDM, for file-related requests. This
|
|
command describes the file operation to be done and contains the name of the
|
|
remote file (specified in the DDM file) to be accessed. For nonfile-related
|
|
requests, such as when the <span class="cmdname">Submit Remote Command (SBMRMTCMD)</span> command
|
|
is used, the remote file name is not sent to the TDDM; the remote file name
|
|
is ignored.</li>
|
|
</ul>
|
|
<p>The SDDM converts each program request for a file open or input/output
|
|
operation (received by using the DDM file and ODP) into an equivalent DDM
|
|
command request and then sends it to the target server.</p>
|
|
<p>The following figure shows the basic parts on the source <span class="keyword">iSeries™ server</span> that
|
|
are involved in accessing remote files.</p>
|
|
<div class="fignone" id="rbae5xs3xsrc__rbae5s3xsrc"><a name="rbae5xs3xsrc__rbae5s3xsrc"><!-- --></a><span class="figcap">Figure 1. <span class="keyword">iSeries server</span> as
|
|
the DDM source server</span><br /><img src="rsll105.gif" alt="The parts involved in accessing remote files are the user application program, the open data path, SDDM, DDM Communications manager, and the target system." /><br /></div>
|
|
<p>After each request is handled by the target job, the DDM response from
|
|
the target server is returned, converted by the SDDM into the appropriate
|
|
form, and passed back to the user. The response might include data (if data
|
|
was requested) or an indication of status (for other types of file access).
|
|
The source program waits until the function completes and the results are
|
|
received.</p>
|
|
<p>The following figure shows a simplified example of the interchange of data
|
|
between the source and target servers for a typical request to access a remote
|
|
file.</p>
|
|
<div class="fignone" id="rbae5xs3xsrc__rbae5iorqst"><a name="rbae5xs3xsrc__rbae5iorqst"><!-- --></a><span class="figcap">Figure 2. Typical handling of an I/O operation
|
|
request</span><br /><img src="rsll115.gif" alt="The handling of an I/O Operation Request proceeds as follows: Source system opens DDM file;, target system opens the remote file; the source system gets a record by key for later change; target system accesses, locks, and sends the record; source system modifies the record and requests a change; the target system changes the record and releases the lock; the source system closes the DDM file; the target system closes the remote file." /><br /></div>
|
|
<p>After the first DDM file that was opened in the job is closed, the DDM
|
|
conversation that it used is normally kept active. This allows the same program
|
|
or another program in the job to use the same conversation when opening another
|
|
DDM file, or doing other DDM-related operations. (For example, in <a href="rbae5jobcnvs.htm#rbae5jobcnvs__rbae5jobfig">Figure 1</a>,
|
|
source job 3A has two DDM files using the same conversation.) This saves the
|
|
time and resources required to establish a new conversation every time a new
|
|
DDM file that uses the same remote location information is used in that job.</p>
|
|
<p>When a DDM file is closed, the DDM conversation remains active, but nothing
|
|
happens in the conversation until the SDDM processes the next DDM-related
|
|
request from a program. While it is not being used, however, the conversation
|
|
can be dropped. This can occur if the DDMCNV job attribute's default value
|
|
of *KEEP is changed to *DROP using the <span class="cmdname">Change Job (CHGJOB</span>)
|
|
command, or if the<span class="cmdname"> Reclaim DDM Conversations (RCLDDMCNV)</span> command
|
|
or <span class="cmdname">Reclaim Resources (RCLRSC)</span> command is used while the
|
|
job is active. </p>
|
|
</div>
|
|
<div>
|
|
<ul class="ullinks">
|
|
<li class="ulchildlink"><strong><a href="rbae5ile1.htm">Integrated Language Environment and DDM</a></strong><br />
|
|
Integrated
|
|
Language Environment<sup>®</sup> (ILE) introduces the concept of activation groups
|
|
that run within jobs on the <span class="keyword">iSeries server</span>.</li>
|
|
<li class="ulchildlink"><strong><a href="rbae5srcsvraction.htm">Source server actions dependent on type of target server</a></strong><br />
|
|
If the target server is not another <span class="keyword">iSeries server</span> or <span class="keyword">System/38™</span>, only the DDM architecture
|
|
commands defined in Level 2.0 and earlier of the DDM architecture are used.</li>
|
|
</ul>
|
|
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbae5advcncp.htm" title="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.">Additional DDM concepts</a></div>
|
|
</div>
|
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
|
<div><a href="rbae5partsddm.htm" title="The support on the source (or local) iSeries server is started, as needed, within a source job to do DDM functions.">Parts of DDM: Source DDM</a></div>
|
|
<div><a href="rbae5cldsp.htm" title="This topic contains DDM-related information about specific iSeries control language (CL) commands, data description specifications (DDS) considerations, DDS keywords, and DDM user profile authority.">Use CL and DDS with DDM</a></div>
|
|
</div>
|
|
<div class="relref"><strong>Related reference</strong><br />
|
|
<div><a href="rbae5ddmcnv.htm" title="The DDMCNV parameter is a job-related parameter that controls whether Advanced Program-to-Program Communication (APPC) or iSeries conversations in the job that is allocated for DDM use (that is, DDM conversations) are to be automatically dropped or kept active for the source job.">DDMCNV parameter considerations</a></div>
|
|
<div><a href="rbae5ctlcnv.htm" title="Normally, the DDM conversations associated with a source server job are kept active until one of the conditions described in this topic is met.">Control DDM conversations</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |