ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaiu_5.4.0.1/rzaiurzaiu113.htm

69 lines
4.2 KiB
HTML
Raw 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="Use the precheck option" />
<meta name="abstract" content="Use the precheck option explains how to have the server check certain criteria on each object that you save on a library-by-library basis. This option is not required." />
<meta name="description" content="Use the precheck option explains how to have the server check certain criteria on each object that you save on a library-by-library basis. This option is not required." />
<meta name="DC.Relation" scheme="URI" content="rzaiurzaiu290.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiurzaiu305.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2004, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2004, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzaiu113" />
<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>Use the precheck option</title>
</head>
<body id="rzaiu113"><a name="rzaiu113"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Use the precheck option</h1>
<div><p>Use the precheck option explains how to have the server check certain
criteria on each object that you save on a library-by-library basis. This
option is not required.</p>
<p>You can use the precheck (PRECHK) parameter when you save objects to ensure
that all of the objects you intend to save can be successfully saved. If you
specify <samp class="codeph">PRECHK(*YES)</samp>, the server verifies that the following
are true of each object that you are saving on a library-by-library basis:</p>
<ul><li>The object can be allocated during the save operation. No other job has
a conflicting lock on the object.</li>
<li>The object exists.</li>
<li>The object is not marked as damaged. The precheck process looks only for
damage that has already been detected. It does not detect new damage to the
object header or damage to the contents.</li>
<li>All members of an object can be allocated if the object is a database
file.</li>
<li>The person that requests the save operation has sufficient authority to
save the object.</li>
</ul>
<p>When you specify PRECHK(*YES), all of the objects you are saving in a library
must meet the conditions. If they do not, no objects in the library are saved.
If you specify more than one library on the save command, the failure of one
library to meet the PRECHK tests does not typically prevent the server from
saving other libraries. However, if you specify SAVACT(*SYNCLIB),
the entire save operation stops if one object fails the precheck process.</p>
<p>When you specify PRECHK(*NO), the server performs the checking on an object-by-object
basis. The server bypasses any object that does not meet the conditions, but
the save operation continues with other objects in the library.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiurzaiu290.htm" title="Read this information before you save anything on your server.">Before you save anything...</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rzaiurzaiu305.htm">Library synchronization</a></div>
</div>
</div>
</body>
</html>