ibm-information-center/dist/eclipse/plugins/i5OS.ic.dm_5.4.0.1/rbal3open.htm

83 lines
6.1 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="Open files" />
<meta name="abstract" content="When you want an application to use a file, you do so by referring to that file by name. The file description for that file will then control how the program and the server will interact." />
<meta name="description" content="When you want an application to use a file, you do so by referring to that file by name. The file description for that file will then control how the program and the server will interact." />
<meta name="DC.subject" content="file, opening, opening file, scope, open operation" />
<meta name="keywords" content="file, opening, opening file, scope, open operation" />
<meta name="DC.Relation" scheme="URI" content="rbal3workwith.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal3openscope.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal3opentemp.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal3openddm.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal3detectdesc.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal3dspopen.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal3openiofba.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal3ft.htm" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rbal3open" />
<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>Open files</title>
</head>
<body id="rbal3open"><a name="rbal3open"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Open files</h1>
<div><p>When you want an application to use a file, you do so by referring
to that file by name. The file description for that file will then control
how the program and the server will interact.</p>
<div class="p">You have two options regarding how your application program
uses the file description: <ul><li>You can use the file description as it currently exists. In this case,
the server uses the file description as is, without any change.</li>
<li>You can change some or all of the parameters that are associated with
the file description. A change made to a file description can be permanent
or temporary. See the appropriate book for the device that you are using
for information about permanent changes.</li>
</ul>
</div>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="rbal3openscope.htm">Scope of opened files</a></strong><br />
Files that are opened within the user default activation group
are scoped to the call level number of the calling program (default). A <dfn class="term">call
level number</dfn> is a unique number that the server assigns to each call
stack entry. Files that are opened within a named activation group are scoped
to the activation group level (default).</li>
<li class="ulchildlink"><strong><a href="rbal3opentemp.htm">Open files using temporary file descriptions</a></strong><br />
Temporary changes can provide greater flexibility to the application. The server makes temporary changes when the program is first establishing a path to the file by opening the file.</li>
<li class="ulchildlink"><strong><a href="rbal3openddm.htm">Open considerations when using *LIBL with a DDM file</a></strong><br />
There are certain considerations when you open DDM files and specify *LIBL for the library.</li>
<li class="ulchildlink"><strong><a href="rbal3detectdesc.htm">Detect file description changes</a></strong><br />
When a program that uses externally described files is compiled, the high-level language compiler extracts the record-level and field-level descriptions for the files referred to in the program and makes those descriptions part of the compiled program. When you run the program, you can verify that the descriptions with which the program was compiled are the current descriptions.</li>
<li class="ulchildlink"><strong><a href="rbal3dspopen.htm">Display information about open files</a></strong><br />
You can display information about your open files by typing <samp class="codeph">dspjob
option(*opnf)</samp> on any command line and press Enter, or by typing <samp class="codeph">wrkjob
option(*opnf)</samp> on any command line and press Enter.</li>
<li class="ulchildlink"><strong><a href="rbal3openiofba.htm">Monitor file status with the open and I/O feedback area</a></strong><br />
The server monitors the status of a file in feedback areas once it has successfully opened the file. As the server performs operations on a file, it updates the feedback areas to reflect the latest status. These feedback areas give you greater control over applications and provide important information when errors occur.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal3workwith.htm" title="This topic describes the various tasks that can be used to ensure that files are used effectively.">Work with database files</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rbal3ft.htm">File types</a></div>
</div>
</div>
</body>
</html>