ibm-information-center/dist/eclipse/plugins/i5OS.ic.ddm_5.4.0.1/rbae5keyfield.htm

55 lines
3.6 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="reference" />
<meta name="DC.Title" content="Key field updates" />
<meta name="abstract" content="An iSeries program is allowed to change any part of a data record including key fields." />
<meta name="description" content="An iSeries program is allowed to change any part of a data record including key fields." />
<meta name="DC.subject" content="key field update, ILE COBOL programming language, restrictions, ILE RPG programming language, key field updates" />
<meta name="keywords" content="key field update, ILE COBOL programming language, restrictions, ILE RPG programming language, key field updates" />
<meta name="DC.Relation" scheme="URI" content="rbae5amc.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1999, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1999, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rbae5keyfield" />
<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>Key field updates</title>
</head>
<body id="rbae5keyfield"><a name="rbae5keyfield"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Key field updates</h1>
<div><p>An <span class="keyword">iSeries™</span> program
is allowed to change any part of a data record including key fields. </p>
<div class="section"><p>The exception to this is an ILE COBOL program because
the ILE COBOL language does not allow key field changes. A <span class="keyword">System/36™</span> program
cannot change primary key fields in a record, regardless of the access method
specified when the file is opened. Logical file key fields can be changed
under some circumstances, but primary key fields can never be changed.</p>
</div>
<div class="section"><p>This means that an ILE RPG program, for example, that routinely
changes key fields in a local keyed file might fail when it is redirected
to a remote keyed file on a <span class="keyword">System/36</span> (or
other system with similar restrictions). Several different errors might be
returned by the DDM target, depending on the access method or access path
being used when the key field change is attempted.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbae5amc.htm" title="Access methods control what subsets of functions can be performed after a particular remote file is opened. This might mean that an iSeries program, or a group of programs sharing a non-iSeries file, cannot do all the same operations that are possible using a file that is on the local iSeries server.">Work with access methods for DDM</a></div>
</div>
</div>
</body>
</html>