65 lines
4.6 KiB
HTML
65 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="concept" />
|
|
<meta name="DC.Title" content="Specify the type of processing" />
|
|
<meta name="abstract" content="When you use a file in a program, the system needs to know what type of operation you plan to use for that file. You can specify the type of processing with the OPTION parameter." />
|
|
<meta name="description" content="When you use a file in a program, the system needs to know what type of operation you plan to use for that file. You can specify the type of processing with the OPTION parameter." />
|
|
<meta name="DC.subject" content="specifying, type of processing, processing, type of, specifying, OPTION parameter, parameter, OPTION" />
|
|
<meta name="keywords" content="specifying, type of processing, processing, type of, specifying, OPTION parameter, parameter, OPTION" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbafoprocop.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbafoauthd.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbafoconcc.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="rbafopretyp" />
|
|
<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>Specify the type of processing</title>
|
|
</head>
|
|
<body id="rbafopretyp"><a name="rbafopretyp"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Specify the type of processing</h1>
|
|
<div><p>When you use a file in a program, the system needs to know what
|
|
type of operation you plan to use for that file. You can specify the type
|
|
of processing with the OPTION parameter.</p>
|
|
<p>For example, the system needs to know if you plan to just read data in
|
|
the file or if you plan to read and update the data. The valid operation options
|
|
are: input, output, update, and delete. The system determines the options
|
|
you are using from the information you specify in your high-level language
|
|
program or from the OPTION parameter on the Open Database File (OPNDBF) and
|
|
Open Query File (OPNQRYF) commands.</p>
|
|
<p>The system uses the options to determine which operations are allowed in
|
|
your program. For example, if you open a file for input only and your program
|
|
tries an output operation, your program receives an error.</p>
|
|
<p>Normally, the system verifies that you have the required data authority
|
|
when you do an input/output operation in your program. However, when you use
|
|
the OPNQRYF or OPNDBF command, the system verifies at the time the file is
|
|
opened that you have the required data authority to perform the operations
|
|
specified on the OPTION parameter. </p>
|
|
<p>The system also uses these options to determine the locks to use to protect
|
|
the data integrity of the files and records being processed by your program.</p>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafoprocop.htm" title="These topics describe several runtime processing options.">File processing options</a></div>
|
|
</div>
|
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
|
<div><a href="rbafoauthd.htm" title="Listed here are the types of data authorities, or permissions, to grant users access to physical and logical files.">Types of data authority</a></div>
|
|
<div><a href="rbafoconcc.htm" title="By definition, all database files can be used by many users at the same time. However, some operations can lock the file, member, or data records in a member to prevent them from being shared across jobs.">Lock shared data</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |