64 lines
4.6 KiB
HTML
64 lines
4.6 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="reference" />
|
|
<meta name="DC.Title" content="Example: Process multiple requests for remote files with DDM" />
|
|
<meta name="abstract" content="This example shows how multiple programs access multiple files on the same target server." />
|
|
<meta name="description" content="This example shows how multiple programs access multiple files on the same target server." />
|
|
<meta name="DC.subject" content="accessing, processing multiple requests, source DDM (SDDM), remote files, SDDM (source DDM), DDM source considerations, target DDM (TDDM), DDM target considerations, file, sharing, SHARE parameter, sharing file, remote system, file sharing" />
|
|
<meta name="keywords" content="accessing, processing multiple requests, source DDM (SDDM), remote files, SDDM (source DDM), DDM source considerations, target DDM (TDDM), DDM target considerations, file, sharing, SHARE parameter, sharing file, remote system, file sharing" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbae5exampleaccessmultiple.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="rbae5exampleproc" />
|
|
<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>Example: Process multiple requests for remote files with DDM</title>
|
|
</head>
|
|
<body id="rbae5exampleproc"><a name="rbae5exampleproc"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Example: Process multiple requests for remote files with DDM</h1>
|
|
<div><p>This example shows how multiple programs access multiple files
|
|
on the same target server. </p>
|
|
<div class="section"><p>This example shows a <span class="keyword">System/36™</span> target
|
|
server. The SDDM is shown handling requests for two files from two programs
|
|
in different jobs, and two TDDMs are handling the requests on the target server
|
|
(one TDDM for each requesting program). Notice that, although program B is
|
|
accessing two files on the target server, only one TDDM is created if all
|
|
the associated DDM files specify the same remote location information to identify
|
|
the target server.</p>
|
|
</div>
|
|
<div class="section"><p>Notice that both programs A and B are sharing FILEA. However,
|
|
because these programs are shown to be in separate jobs, they <em>cannot</em> share
|
|
the same open data path (ODP) to FILEA. If they were in the same job, programs
|
|
A and B can share both the ODP on the source server <em>and</em> the remote
|
|
file. When multiple programs within the same job are accessing a remote file
|
|
at the same time (by using one TDDM for each program), the rules for file
|
|
sharing are the same for remote files as for local files. These rules are
|
|
based on how the SHARE parameter is specified on the <span class="cmdname">Create DDM File
|
|
(CRTDDMF)</span>, the <span class="cmdname">Override with Database File (OVRDBF)</span>,
|
|
and the <span class="cmdname">Change DDM File (CHGDDMF)</span> commands.</p>
|
|
</div>
|
|
<div class="example"> <div class="fignone" id="rbae5exampleproc__dtmgrs4"><a name="rbae5exampleproc__dtmgrs4"><!-- --></a><span class="figcap">Figure 1. Example: Process
|
|
multiple program and file requests</span><br /><img src="rsll108.gif" alt="This figure is described in the preceding text." /><br /></div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbae5exampleaccessmultiple.htm" title="These examples show a single application program using DDM to access multiple remote files.">Examples: Access multiple remote files with DDM</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |