57 lines
3.8 KiB
HTML
57 lines
3.8 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="copyright" content="(C) Copyright IBM Corporation 2005" />
|
||
|
<meta name="DC.rights.owner" content="(C) Copyright IBM Corporation 2005" />
|
||
|
<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="I/O considerations for files shared in a job" />
|
||
|
<meta name="abstract" content="The server uses the same input/output area for all programs sharing the file, so the order of the operations is sequential regardless of which program does the operation." />
|
||
|
<meta name="description" content="The server uses the same input/output area for all programs sharing the file, so the order of the operations is sequential regardless of which program does the operation." />
|
||
|
<meta name="DC.subject" content="job, shared files in, input/output considerations, sharing file, I/O considerations, I/O considerations, shared files" />
|
||
|
<meta name="keywords" content="job, shared files in, input/output considerations, sharing file, I/O considerations, I/O considerations, shared files" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbal3share.htm" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="rbal3ioc" />
|
||
|
<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>I/O considerations for files shared in a job</title>
|
||
|
</head>
|
||
|
<body id="rbal3ioc"><a name="rbal3ioc"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">I/O considerations for files shared in a job</h1>
|
||
|
<div><p>The server uses the same input/output area for all programs sharing
|
||
|
the file, so the order of the operations is sequential regardless of which
|
||
|
program does the operation.</p>
|
||
|
<p>For example, if Program A is reading records sequentially
|
||
|
from a database file and it reads record 1 just before calling Program B,
|
||
|
and Program B also reads the file sequentially, Program B reads record 2 with
|
||
|
the first read operation. If Program B then ends and Program A reads the
|
||
|
next record, it receives record 3. If the programs were not sharing the file,
|
||
|
Program A would read record 1 and record 2, and Program B would read record
|
||
|
1.</p>
|
||
|
<p>For device files, the device remains in the same state as the last I/O
|
||
|
operation.</p>
|
||
|
<p>For display and ICF files, programs other than the first program that opens
|
||
|
the file can acquire more display or program devices or release display or
|
||
|
program devices already acquired to the open data path. All programs sharing
|
||
|
the file have access to the newly acquired devices, and do not have access
|
||
|
to any released devices.</p>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal3share.htm" title="File management on iSeries provides several levels of support for shared files. Files can be shared among many users, many jobs, or many programs within the same job.">Share files</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|