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

94 lines
6.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="iSeries server and System/38 DDM differences" />
<meta name="abstract" content="This topic consists of a list of differences between the iSeries server and System/38." />
<meta name="description" content="This topic consists of a list of differences between the iSeries server and System/38." />
<meta name="DC.subject" content="differences, between, server, iSeries, System/38, system, AS/400, to, differences to" />
<meta name="keywords" content="differences, between, server, iSeries, System/38, system, AS/400, to, differences to" />
<meta name="DC.Relation" scheme="URI" content="rbae5dif.htm" />
<meta name="DC.Relation" scheme="URI" content="rbae5namecon.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="rbae5differences38" />
<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>iSeries server and System/38 DDM differences</title>
</head>
<body id="rbae5differences38"><a name="rbae5differences38"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1"><span class="keyword">iSeries server</span> and <span class="keyword">System/38</span> DDM differences</h1>
<div><p>This topic consists of a list of differences between the <span class="keyword">iSeries™ server</span> and <span class="keyword">System/38™</span>. </p>
<div class="section"><ul><li>Three parameters are added to the <span class="cmdname">Create DDM File (CRTDDMF)</span> and <span class="cmdname">Change
DDM File (CHGDDMF)</span> commands. These parameters are the remote location
name (RMTLOCNAME), local location name (LCLLOCNAME), and the remote network
ID (RMTNETID). DDM files can be created either in the <span class="keyword">System/38</span> environment
or on the <span class="keyword">iSeries server</span>.</li>
<li>The <span class="cmdname">Submit Remote Command (SBMRMTCMD)</span> command must
be in the syntax of the target server, even in the <span class="keyword">System/38</span> environment.
For example, when a <span class="keyword">System/38</span> submits
commands to an <span class="keyword">iSeries server</span>, the
syntax of the <span class="keyword">iSeries server</span> must
be used.</li>
<li>The remote file name must be in the syntax of the target server. </li>
<li>The default value for the DDMACC parameter on the <span class="cmdname">Change Network
Attributes (CHGNETA)</span> command on the <span class="keyword">System/38</span> is
*REJECT. The default value for the DDMACC parameter on the <span class="keyword">iSeries server</span> is
*OBJAUT.</li>
<li>On the <span class="keyword">System/38</span>, files
are created as FIFO (first in, first out) or LIFO (last in, first out). The
default for creating a file is FIFO on the <span class="keyword">System/38</span>.
<p>When running <span class="keyword">System/38</span> applications
that are dependent on duplicate keys being FIFO or LIFO to an <span class="keyword">iSeries server</span>,
you should specify either FIFO or LIFO when creating your <span class="keyword">iSeries</span> files
because there is no default for <span class="keyword">iSeries</span> files.
This means the <span class="keyword">iSeries server</span> looks
for an available index path to share, which can be either FIFO or LIFO.</p>
</li>
<li>Keyed files containing fields other than character (zoned or packed) created
by using DDM on a remote <span class="keyword">System/38</span> might
result in the fields defined as character fields. This might produce unexpected
results when such a file is processed using relative keyed operations. Because
the file is created with fields that are not packed, records might be returned
in a different order than expected or no record can be found when one is expected.
<p>As an example, the ILE RPG SETLL statement might fail unexpectedly with
record not found or might select a record other than the record expected when
using packed fields to a <span class="keyword">System/38</span> file.
Only character and unsigned numeric fields should be used as key fields for
files that are created by using DDM on the remote <span class="keyword">System/38</span>.</p>
</li>
<li>To support adding a record by the relative record number operation, an
ILE RPG program is required for DDM to do a READ CHAIN(RRN) operation followed
by a WRITE operation. The file must be opened for read and update authorities,
and the user must have read and update data authorities to the file. <p>Format
selector programs on adding a record by the relative record number operation
are only supported on the <span class="keyword">iSeries server</span>.
Incompatibilities might arise for those users who have a format selector program
for a logical file if they do direct file processing.</p>
</li>
</ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbae5dif.htm" title="This topic describes the DDM differences between iSeries server and System/36, and iSeries server and System/38.">Use DDM on the iSeries server versus other IBM systems</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="rbae5namecon.htm" title="The rules for specifying the name of a DDM file (on the local iSeries server) are the same as for any other file type on an iSeries server. The rules, however, for specifying the name of a remote file depend on the type of target server.">Rules for specifying target server file names for DDM</a></div>
</div>
</div>
</body>
</html>