ibm-information-center/dist/eclipse/plugins/i5OS.ic.dbp_5.4.0.1/rbafonoid21.htm

54 lines
4.5 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<?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 locked file or record wait time (WAITFILE and WAITRCD) parameters" />
<meta name="abstract" content="When you create a file, you can specify how long a program waits for either the file or a record in the file if another job has the file or record locked with the WAITFILE and WAITRCD parameters." />
<meta name="description" content="When you create a file, you can specify how long a program waits for either the file or a record in the file if another job has the file or record locked with the WAITFILE and WAITRCD parameters." />
<meta name="DC.subject" content="specifying, wait time for a locked file or record, wait time, lock, record, specifying wait time, database file, wait time for locked, WAITFILE (Maximum File Wait Time) parameter, WAITRCD (Wait Record) parameter, Wait Record (WAITRCD) parameter, parameter, WAITRCD (Wait Record), WAITFILE" />
<meta name="keywords" content="specifying, wait time for a locked file or record, wait time, lock, record, specifying wait time, database file, wait time for locked, WAITFILE (Maximum File Wait Time) parameter, WAITRCD (Wait Record) parameter, Wait Record (WAITRCD) parameter, parameter, WAITRCD (Wait Record), WAITFILE" />
<meta name="DC.Relation" scheme="URI" content="rbafocrtatt.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafoconcrec.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafoconcfl.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="rbafonoid21" />
<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 locked file or record wait time (WAITFILE and WAITRCD)
parameters</title>
</head>
<body id="rbafonoid21"><a name="rbafonoid21"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Specify the locked file or record wait time (WAITFILE and WAITRCD)
parameters</h1>
<div><p>When you create a file, you can specify how long a program waits
for either the file or a record in the file if another job has the file or
record locked with the WAITFILE and WAITRCD parameters.</p>
<p>If the wait time ends before the file or record is released, a message
is sent to the program indicating that the job was not able to use the file
or read the record.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafocrtatt.htm" title="When you create a database file, database attributes are stored with the file and members. You specify attributes with database command parameters.">Specify database file and member attributes</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rbafoconcrec.htm" title="DB2 Universal Database for iSeries has built-in integrity for records. For example, if PGMA reads a record for update operation, it locks that record. Another program cannot read the same record for update operation until PGMA releases the record, but another program can read the record just for inquiry.">Lock records</a></div>
<div><a href="rbafoconcfl.htm" title="Some file operations exclusively allocate the file for the length of the operation. When the file is allocated exclusively, any program trying to open the file has to wait until it is released. However, you can set a wait time for the file to become available using the WAITFILE parameter .">Lock files</a></div>
</div>
</div>
</body>
</html>