47 lines
3.4 KiB
HTML
47 lines
3.4 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="Overview of file resource allocation" />
|
||
|
<meta name="abstract" content="When a high-level language program uses a file, several operations require that the server allocate the resources that are needed to perform that operation. The server generally does this to ensure that multiple users do not use the file in conflicting ways." />
|
||
|
<meta name="description" content="When a high-level language program uses a file, several operations require that the server allocate the resources that are needed to perform that operation. The server generally does this to ensure that multiple users do not use the file in conflicting ways." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbal3waitf.htm" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="rbal3fileresalloc" />
|
||
|
<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>Overview of file resource allocation</title>
|
||
|
</head>
|
||
|
<body id="rbal3fileresalloc"><a name="rbal3fileresalloc"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Overview of file resource allocation</h1>
|
||
|
<div><p>When a high-level language program uses a file, several operations
|
||
|
require that the server allocate the resources that are needed to perform
|
||
|
that operation. The server generally does this to ensure that multiple users
|
||
|
do not use the file in conflicting ways. </p>
|
||
|
<p>For example, the server will not allow you to delete a file
|
||
|
while any application program is using it. The server does this by obtaining
|
||
|
a lock on the file when it opens. The delete file operation also attempts
|
||
|
to get a lock on the file and is unsuccessful because the program using the
|
||
|
file still has the lock from when the file was opened, and the locks conflict.</p>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal3waitf.htm" title="Resources are those parts of the server that are required by a job or task, including main storage, devices, the processing unit, programs, files, libraries, and folders. When you write a high-level language program, you should be aware of what resources the server has allocated for each file type.">Allocate file resources</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|