<?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="ILE C considerations" /> <meta name="abstract" content="These topics summarize considerations for using the ILE C programming language to access remote VSAM data sets from an iSeries server." /> <meta name="description" content="These topics summarize considerations for using the ILE C programming language to access remote VSAM data sets from an iSeries server." /> <meta name="DC.subject" content="ILE C programming language, programming limitations, source DDM (SDDM), ILE C programming limitations, SDDM (source DDM), DDM source considerations" /> <meta name="keywords" content="ILE C programming language, programming limitations, source DDM (SDDM), ILE C programming limitations, SDDM (source DDM), DDM source considerations" /> <meta name="DC.Relation" scheme="URI" content="rbae5lc.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="rbae5xc400" /> <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</title> </head> <body id="rbae5xc400"><a name="rbae5xc400"><!-- --></a> <!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script> <h1 class="topictitle1">ILE C considerations</h1> <div><p>These topics summarize considerations for using the ILE C programming language to access remote VSAM data sets from an <span class="keyword">iSeries™</span> server.</p> <div class="section"><h4 class="sectiontitle">ILE C open considerations</h4><p>Because ILE C programming language supports only sequential I/O, open operations will fail if KSDS or VSAM paths are opened.</p> </div> <div class="section"><h4 class="sectiontitle">Open mode considerations</h4><p>This topic shows the open mode considerations when using ILE C programming language.</p> <div class="tablenoborder"><a name="rbae5xc400__rbae5tb1"><!-- --></a><table cellpadding="4" cellspacing="0" summary="" id="rbae5xc400__rbae5tb1" width="100%" frame="border" border="1" rules="all"><caption>Table 1. Use ILE C programming language to open a CICS<sup>®</sup> file</caption><thead align="left"><tr><th rowspan="2" align="left" valign="bottom" width="46.85185185185185%" id="d0e57">ILE C open mode</th> <th colspan="4" align="center" valign="bottom" id="d0e59">VSAM data set organization</th> </tr> <tr><th align="center" valign="bottom" width="13.333333333333334%" id="d0e62"> ESDS</th> <th align="center" valign="bottom" width="13.333333333333334%" id="d0e64"> RRDS</th> <th align="center" valign="bottom" width="13.333333333333334%" id="d0e66"> KSDS</th> <th align="center" valign="bottom" width="13.148148148148147%" id="d0e68">VSAM Path</th> </tr> </thead> <tbody><tr><td align="left" valign="top" width="46.85185185185185%" headers="d0e57 ">r, rb</td> <td align="center" valign="top" width="13.333333333333334%" headers="d0e59 d0e62 ">X</td> <td align="center" valign="top" width="13.333333333333334%" headers="d0e59 d0e64 ">X</td> <td align="center" valign="top" width="13.333333333333334%" headers="d0e59 d0e66 ">X</td> <td align="center" valign="top" width="13.148148148148147%" headers="d0e59 d0e68 ">X</td> </tr> <tr><td align="left" valign="top" width="46.85185185185185%" headers="d0e57 ">w, wb</td> <td align="center" valign="top" width="13.333333333333334%" headers="d0e59 d0e62 ">E</td> <td align="center" valign="top" width="13.333333333333334%" headers="d0e59 d0e64 ">E</td> <td align="center" valign="top" width="13.333333333333334%" headers="d0e59 d0e66 ">E</td> <td align="center" valign="top" width="13.148148148148147%" headers="d0e59 d0e68 ">E</td> </tr> <tr><td align="left" valign="top" width="46.85185185185185%" headers="d0e57 ">w+, wb+, w+b, a+, ab+, a+b, r+, rb+, r+b, a, ab</td> <td align="center" valign="top" width="13.333333333333334%" headers="d0e59 d0e62 ">X</td> <td align="center" valign="top" width="13.333333333333334%" headers="d0e59 d0e64 ">X</td> <td align="center" valign="top" width="13.333333333333334%" headers="d0e59 d0e66 ">X</td> <td align="center" valign="top" width="13.148148148148147%" headers="d0e59 d0e68 ">E</td> </tr> <tr><td align="left" valign="top" width="46.85185185185185%" headers="d0e57 ">a, ab</td> <td align="center" valign="top" width="13.333333333333334%" headers="d0e59 d0e62 ">X</td> <td align="center" valign="top" width="13.333333333333334%" headers="d0e59 d0e64 ">—</td> <td align="center" valign="top" width="13.333333333333334%" headers="d0e59 d0e66 ">—</td> <td align="center" valign="top" width="13.148148148148147%" headers="d0e59 d0e68 ">—</td> </tr> <tr><td colspan="5" align="left" valign="top" headers="d0e57 d0e59 d0e62 d0e64 d0e66 d0e68 "><p>Where:</p> <dl><dt class="dlterm">X</dt> <dd>Open mode is allowed.</dd> <dt class="dlterm">E</dt> <dd>Open mode is allowed by ILE C programming language, but the open fails when accessing the VSAM data set.</dd> <dt class="dlterm">—</dt> <dd>Open mode is not applicable.</dd> </dl> </td> </tr> </tbody> </table> </div> </div> </div> <div> <div class="familylinks"> <div class="parentlink"><strong>Parent topic:</strong> <a href="rbae5lc.htm" title="iSeries application programmers using ILE COBOL, ILE C, iSeries System/36-Compatible RPG II, or ILE RPG languages should be aware of the information in these topics.">Language considerations for iSeries server and CICS</a></div> </div> </div> </body> </html>