74 lines
5.2 KiB
HTML
74 lines
5.2 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="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="ILE C considerations for DDM" />
|
|
<meta name="abstract" content="ILE C programs can refer to DDM files." />
|
|
<meta name="description" content="ILE C programs can refer to DDM files." />
|
|
<meta name="DC.subject" content="ILE C programming language, source file requirements, restrictions, limitations, language considerations, high-level language (HLL), HLL (high-level language), SRCFILE parameter, SRCMBR parameter, PRTFILE parameter, CRTCPGM (Create ILE C/400 Program) command, Create ILE C/400 Program (CRTCPGM) command, command, CL, CRTCPGM (Create ILE C/400 Program), Create ILE C/400 Program (CRTCPGM), ILE C program, creating, DDM file, ILE C considerations, accessing, ILE C considerations, I/O operation, ILE C programming language, operation, input/output" />
|
|
<meta name="keywords" content="ILE C programming language, source file requirements, restrictions, limitations, language considerations, high-level language (HLL), HLL (high-level language), SRCFILE parameter, SRCMBR parameter, PRTFILE parameter, CRTCPGM (Create ILE C/400 Program) command, Create ILE C/400 Program (CRTCPGM) command, command, CL, CRTCPGM (Create ILE C/400 Program), Create ILE C/400 Program (CRTCPGM), ILE C program, creating, DDM file, ILE C considerations, accessing, ILE C considerations, I/O operation, ILE C programming language, operation, input/output" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbae5plc.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="rbae5ileccon" />
|
|
<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>ILE C considerations for DDM</title>
|
|
</head>
|
|
<body id="rbae5ileccon"><a name="rbae5ileccon"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">ILE C considerations for DDM</h1>
|
|
<div><p>ILE C programs can refer to DDM files.</p>
|
|
<div class="section"><p>Generally, DDM file names can be specified in ILE C programming
|
|
language anywhere a database file name can be specified, for both <span class="keyword">iSeries™</span> and non-<span class="keyword">iSeries</span> target
|
|
servers.</p>
|
|
</div>
|
|
<div class="section"><p>Specify DDM file names on the <span class="cmdname">Create C Program (CRTCPGM)</span> command
|
|
to do the following items:</p>
|
|
<ul><li>Access remote files on an <span class="keyword">iSeries</span> or
|
|
non-<span class="keyword">iSeries server</span> that contains
|
|
source statements. To do this, specify a DDM file name on the SRCFILE parameter,
|
|
and a member name on the SRCMBR parameter. <div class="note"><span class="notetitle">Notes:</span> <ol><li>For <span class="keyword">iSeries</span> or <span class="keyword">System/38™</span> target systems, you access
|
|
a remote <span class="keyword">iSeries</span> or <span class="keyword">System/38</span> source file (or member) in
|
|
the same manner as a local source file and member.</li>
|
|
<li>For non-<span class="keyword">iSeries</span> target
|
|
servers, access a remote source file by using the same file name for the SRCMBR
|
|
and the SRCFILE parameters.</li>
|
|
</ol>
|
|
</div>
|
|
</li>
|
|
<li>Place the compiler listing in a database file on a target server. To do
|
|
this, specify a DDM file name on the PRTFILE parameter of the <span class="cmdname">CRTCPGM</span> command.</li>
|
|
</ul>
|
|
</div>
|
|
<div class="section"><p>When using ILE C programming language, consider the following
|
|
items:</p>
|
|
<ul><li>If the target system is not an <span class="keyword">iSeries server</span> or
|
|
a <span class="keyword">System/38</span>, you can specify
|
|
a DDM file name as the include file on the #INCLUDE source directive statement,
|
|
but the member name must be the same as the DDM file name.</li>
|
|
<li>ILE C programming language only supports sequential I/O operations.</li>
|
|
<li>Although ILE C programming language does not directly support keyed files,
|
|
key exceptions might occur if you are using a keyed file.</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<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>
|
|
</body>
|
|
</html> |