70 lines
3.8 KiB
HTML
70 lines
3.8 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="Reasons for allocation errors when copying files" />
|
||
<meta name="DC.Relation" scheme="URI" content="rbal3preall.htm" />
|
||
<meta name="DC.Relation" scheme="URI" content="../rbam6/rbam6clmain.htm" />
|
||
<meta name="DC.Format" content="XHTML" />
|
||
<meta name="DC.Identifier" content="rbal3reasons" />
|
||
<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>Reasons for allocation errors when copying files</title>
|
||
</head>
|
||
<body id="rbal3reasons"><a name="rbal3reasons"><!-- --></a>
|
||
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
<h1 class="topictitle1">Reasons for allocation errors when copying files</h1>
|
||
<div><p>If another job allocates a member with too strong a lock state, the copy
|
||
operation might end with an error message. This is also true if the library
|
||
containing the file is renamed during the copy operation.</p>
|
||
<div class="p">When a copy command runs, the to-file might be locked (similar to an *EXCL
|
||
lock with no time-out) so that no access is possible. Any attempt to use a
|
||
function that must touch the to-file locks up the workstation until the copy
|
||
command completes. For instance, you should not use the following functions
|
||
on a to-file that you are copying: <p> WRKACTJOB<br />
|
||
Option 11 (Work with Locks)<br />
|
||
Option 5 (Work with Job Member Locks)<br />
|
||
Option 8 (Work with Object Locks)<br />
|
||
DSPDBR<br />
|
||
DSPFD<br />
|
||
DSPFFD<br />
|
||
WRKJOB<br />
|
||
Option 12 (Work with Locks, if active)<br />
|
||
Option 5 (Work with Job Member Locks)<br />
|
||
F10 (Display Open Files, if active)<br />
|
||
WRKLIB<br />
|
||
The library containing the to-file<br />
|
||
DSPLIB<br />
|
||
The library containing the to-file<br />
|
||
WRKOBJLCK<br />
|
||
WRKRCDLCK</p>
|
||
</div>
|
||
<p>If you want to display any information about a to-file, you must anticipate
|
||
the requirement and force the copy command to use block record-at-a-time operations
|
||
by specifying ERRLVL(1).</p>
|
||
<p>If you anticipate that problems might arise because of this, you can preallocate
|
||
the files and members using the <a href="../cl/alcobj.htm">Allocate Object (ALCOBJ)</a> command.</p>
|
||
</div>
|
||
<div>
|
||
<div class="familylinks">
|
||
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal3preall.htm" title="iSeries places locks on the from-file and the to-file when you copy files. To prevent allocation errors when copying files, you can place stronger locks on those files.">Prevent allocation errors when copying files</a></div>
|
||
</div>
|
||
<div class="relinfo"><strong>Related information</strong><br />
|
||
<div><a href="../rbam6/rbam6clmain.htm">Control language (CL)</a></div>
|
||
</div>
|
||
</div>
|
||
</body>
|
||
</html> |