75 lines
5.1 KiB
HTML
75 lines
5.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="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="Close considerations for files shared in a job or activation group" />
|
||
|
<meta name="abstract" content="Listed here are the considerations for closing a database file that is shared in the same job or activation group." />
|
||
|
<meta name="description" content="Listed here are the considerations for closing a database file that is shared in the same job or activation group." />
|
||
|
<meta name="DC.subject" content="database file, sharing in a job, close, sharing in an activation group, file, closing database, shared in a job, shared in an activation group" />
|
||
|
<meta name="keywords" content="database file, sharing in a job, close, sharing in an activation group, file, closing database, shared in a job, shared in an activation group" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbafosfile.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbafocloseex1.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbafocloseex2.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbafocloseex3.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="rbafoclose" />
|
||
|
<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>Close considerations for files shared in a job or activation group</title>
|
||
|
</head>
|
||
|
<body id="rbafoclose"><a name="rbafoclose"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Close considerations for files shared in a job or activation group</h1>
|
||
|
<div><p>Listed here are the considerations for closing a database file
|
||
|
that is shared in the same job or activation group.</p>
|
||
|
<div class="p"><ul><li>The complete processing of a close operation (including releasing file,
|
||
|
member, and record locks; forcing changes to auxiliary storage; and destroying
|
||
|
the open data path) is done only when the last program to open the shared
|
||
|
open data path closes it.</li>
|
||
|
<li>If the file was opened with the Open Database File (OPNDBF) or the Open
|
||
|
Query File (OPNQRYF) command, use the Close File (CLOF) command to close the
|
||
|
file. The Reclaim Resources (RCLRSC) command can also be used to close a file
|
||
|
opened by the OPNQRYF command when one of the following parameters is specified: <ul><li>OPNSCOPE(*ACTGRPDFN), and the open is requested from the default activation
|
||
|
group.</li>
|
||
|
<li>TYPE(*NORMAL)</li>
|
||
|
</ul>
|
||
|
If one of the following parameters is specified, the file remains open
|
||
|
even if the Reclaim Resources (RCLRSC) command is run: <ul><li>OPNSCOPE(*ACTGRPDFN), and the open is requested from an activation group
|
||
|
other than the default.</li>
|
||
|
<li>OPNSCOPE(*ACTGRP)</li>
|
||
|
<li>OPNSCOPE(*JOB)</li>
|
||
|
<li>TYPE(*PERM)</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<ul class="ullinks">
|
||
|
<li class="ulchildlink"><strong><a href="rbafocloseex1.htm">Example 1: A single set of files with similar processing options</a></strong><br />
|
||
|
In this example, the user signs on and most of the programs that are used process the same set of files.</li>
|
||
|
<li class="ulchildlink"><strong><a href="rbafocloseex2.htm">Example 2: Multiple sets of files with similar processing options</a></strong><br />
|
||
|
In this example, different files are used for each application. The user normally works with one application for a considerable length of time before selecting a new application.</li>
|
||
|
<li class="ulchildlink"><strong><a href="rbafocloseex3.htm">Example 3: A single set of files with different processing requirements</a></strong><br />
|
||
|
This example shows the methods that can be used if some programs need read-only file processing and others need some or all of the options (input/update/add/delete).</li>
|
||
|
</ul>
|
||
|
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafosfile.htm" title="By default, the database management system lets one file be read and changed by many users at the same time. However, you can share the database files in the same job or activation group through the SHARE parameter.">Share database files in the same job or activation group</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|