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

78 lines
5.5 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="DDM considerations for all languages" />
<meta name="abstract" content="DDM files can be used as data files or source files by high-level language (HLL) programs." />
<meta name="description" content="DDM files can be used as data files or source files by high-level language (HLL) programs." />
<meta name="DC.subject" content=", System/38, restrictions, SRCMBR parameter, all languages, SRCFILE parameter, high-level language (HLL), programming language considerations, HLL (high-level language), source file member, I/O operation, all languages, operation, input/output" />
<meta name="keywords" content=", System/38, restrictions, SRCMBR parameter, all languages, SRCFILE parameter, high-level language (HLL), programming language considerations, HLL (high-level language), source file member, I/O operation, all languages, operation, input/output" />
<meta name="DC.Relation" scheme="URI" content="rbae5plc.htm" />
<meta name="DC.Relation" scheme="URI" content="rbae5hllinout.htm" />
<meta name="DC.Relation" scheme="URI" content="rbae5compile.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="rbae5ddmall" />
<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>DDM considerations for all languages</title>
</head>
<body id="rbae5ddmall"><a name="rbae5ddmall"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">DDM considerations for all languages</h1>
<div><p>DDM files can be used as data files or source files by high-level
language (HLL) programs.</p>
<p>However, for CL, data description specifications (DDS), and BASIC, if a
DDM file is to be used as a source file, the target server must be an <span class="keyword">iSeries™ server</span> or a <span class="keyword">System/38™</span>,
and the file referred to by the DDM file must be defined on the target <span class="keyword">iSeries server</span> or <span class="keyword">System/38</span> as
a source file. That is, the remote file must have been created either by the <span class="cmdname">Create
Source Physical File (CRTSRCPF)</span> command or as FILETYPE(*SRC) by
the <span class="cmdname">Create Physical File (CRTPF)</span> command. These restrictions
are not enforced by the ILE RPG, ILE COBOL, and ILE C compilers, which allow
source files to be used from both <span class="keyword">iSeries</span> and
non-<span class="keyword">iSeries</span> target servers.</p>
<p>If a source file <em>member</em> name is specified when the target server
is not an <span class="keyword">iSeries server</span> or a <span class="keyword">System/38</span>, all the HLL compilers end
compilation if the name of the source member specified on the SRCMBR parameter
is different from the name of the DDM file specified on the SRCFILE parameter.</p>
<p>If programs that accessed local files are to access remote files, certain
restrictions might require that a program be changed and recompiled. And,
if the target server is not an <span class="keyword">iSeries server</span> or
a <span class="keyword">System/38</span>, externally described
data must, in some cases, reside on the local (source) server. All of these
restrictions are described under the topic Program modification requirements
for DDM.</p>
<p>If the target system is not an <span class="keyword">iSeries server</span> or
a <span class="keyword">System/38</span>, the number of records
returned in the open feedback might not be valid.</p>
<p>If you do not specify a library name for the SRCFILE parameter, the first
file found in the user's library list with the same name as the file you specified
for the SRCFILE parameter is used as the source file.</p>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="rbae5hllinout.htm">HLL program input and output operations with i5/OS DDM</a></strong><br />
The high-level language operations are supported by DDM for keyed or nonkeyed operations.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbae5plc.htm" title="DDM is supported by these iSeries languages.">Programming language considerations for DDM</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="rbae5compile.htm" title="Remote files can be accessed by iSeries application programs written in the HLL and control language.">Program modification requirements for DDM</a></div>
</div>
</div>
</body>
</html>