130 lines
6.4 KiB
HTML
130 lines
6.4 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 COBOL SELECT clause" />
|
||
<meta name="abstract" content="iSeries users can access remote CICS files with the ILE COBOL programming language." />
|
||
<meta name="description" content="iSeries users can access remote CICS files with the ILE COBOL programming language." />
|
||
<meta name="DC.Relation" scheme="URI" content="rbae5xcobol.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="rbae5cobselect" />
|
||
<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 COBOL SELECT clause</title>
|
||
</head>
|
||
<body id="rbae5cobselect"><a name="rbae5cobselect"><!-- --></a>
|
||
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
<h1 class="topictitle1">ILE COBOL SELECT clause</h1>
|
||
<div><p><span class="keyword">iSeries™</span> users can
|
||
access remote CICS<sup>®</sup> files
|
||
with the ILE COBOL programming language.</p>
|
||
<div class="section"><p>However, the ILE COBOL SELECT clause must use the file organizations
|
||
and access methods specified in the following table.</p>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="rbae5cobselect__rbae5cobfl"><!-- --></a><table cellpadding="4" cellspacing="0" summary="" id="rbae5cobselect__rbae5cobfl" width="100%" frame="border" border="1" rules="all"><caption>Table 1. ILE COBOL file organizations
|
||
and access methods</caption><thead align="left"><tr><th align="center" valign="bottom" width="16.666666666666664%" id="d0e33">ILE COBOL programming language</th>
|
||
<th colspan="5" align="center" valign="bottom" id="d0e35">VSAM data
|
||
set organization</th>
|
||
</tr>
|
||
<tr><th align="left" valign="bottom" width="16.666666666666664%" id="d0e38">Program-given access methods</th>
|
||
<th align="left" valign="bottom" width="16.666666666666664%" id="d0e40">ESDS</th>
|
||
<th align="left" valign="bottom" width="16.666666666666664%" id="d0e42">RRDS</th>
|
||
<th align="left" valign="bottom" width="16.666666666666664%" id="d0e44">KSDS</th>
|
||
<th align="left" valign="bottom" width="16.666666666666664%" id="d0e46">VSAM Path</th>
|
||
<th align="left" valign="top" width="16.666666666666664%" id="d0e48">Program-given organization</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e33 d0e38 ">Sequential</td>
|
||
<td align="left" valign="top" width="16.666666666666664%" headers="d0e35 d0e40 ">Sequential</td>
|
||
<td align="left" valign="top" width="16.666666666666664%" headers="d0e35 d0e42 ">X</td>
|
||
<td align="left" valign="top" width="16.666666666666664%" headers="d0e35 d0e44 ">X</td>
|
||
<td align="left" valign="top" width="16.666666666666664%" headers="d0e35 d0e46 ">E</td>
|
||
<td align="left" valign="top" width="16.666666666666664%" headers="d0e35 d0e48 ">E</td>
|
||
</tr>
|
||
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e33 d0e38 ">Relative</td>
|
||
<td align="left" valign="top" width="16.666666666666664%" headers="d0e35 d0e40 "> <p>Sequential <br />
|
||
Random <br />
|
||
Dynamic</p>
|
||
</td>
|
||
<td align="left" valign="top" width="16.666666666666664%" headers="d0e35 d0e42 "> <p>E<br />
|
||
E<br />
|
||
E</p>
|
||
</td>
|
||
<td align="left" valign="top" width="16.666666666666664%" headers="d0e35 d0e44 "> <p>X<br />
|
||
X<br />
|
||
X</p>
|
||
</td>
|
||
<td align="left" valign="top" width="16.666666666666664%" headers="d0e35 d0e46 "> <p>E<br />
|
||
E<br />
|
||
E</p>
|
||
</td>
|
||
<td align="left" valign="top" width="16.666666666666664%" headers="d0e35 d0e48 "> <p>E<br />
|
||
E<br />
|
||
E</p>
|
||
</td>
|
||
</tr>
|
||
<tr><td align="left" valign="top" width="16.666666666666664%" headers="d0e33 d0e38 ">Indexed</td>
|
||
<td align="left" valign="top" width="16.666666666666664%" headers="d0e35 d0e40 "> <p>Sequential <br />
|
||
Random <br />
|
||
Dynamic</p>
|
||
</td>
|
||
<td align="left" valign="top" width="16.666666666666664%" headers="d0e35 d0e42 "> <p>– <br />
|
||
– <br />
|
||
–</p>
|
||
</td>
|
||
<td align="left" valign="top" width="16.666666666666664%" headers="d0e35 d0e44 "> <p>– <br />
|
||
– <br />
|
||
–</p>
|
||
</td>
|
||
<td align="left" valign="top" width="16.666666666666664%" headers="d0e35 d0e46 "> <p>X<br />
|
||
X<br />
|
||
X</p>
|
||
</td>
|
||
<td align="left" valign="top" width="16.666666666666664%" headers="d0e35 d0e48 "> <p>X<br />
|
||
X<br />
|
||
X</p>
|
||
</td>
|
||
</tr>
|
||
<tr><td colspan="6" align="left" valign="top" headers="d0e33 d0e35 d0e38 d0e40 d0e42 d0e44 d0e46 d0e48 "><p>Where: </p>
|
||
<dl><dt class="dlterm">X</dt>
|
||
<dd>Shows the access method is allowed.</dd>
|
||
<dt class="dlterm">E</dt>
|
||
<dd>Shows that ILE COBOL programming language allows the access method but
|
||
that the open fails when accessing the VSAM data set. An <span class="keyword">iSeries</span> message
|
||
is created.</dd>
|
||
<dt class="dlterm">–</dt>
|
||
<dd>Shows the option is never valid for nonkeyed files. An <span class="keyword">iSeries</span> message
|
||
occurs whenever indexed file organization is selected for any nonkeyed file.
|
||
This is true even when the file is a local file.</dd>
|
||
</dl>
|
||
<div class="note"><span class="notetitle">Notes:</span> <ol><li>When accessing a VSAM path, the WITH DUPLICATE phrase should be used.</li>
|
||
<li>When accessing a VSAM KSDS, the WITH DUPLICATE phrase should not be used.</li>
|
||
</ol>
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div>
|
||
<div class="familylinks">
|
||
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbae5xcobol.htm" title="These topics summarize the limitations that exist when using the ILE COBOL programming language to access remote VSAM data sets from an iSeries server.">ILE COBOL considerations</a></div>
|
||
</div>
|
||
</div>
|
||
</body>
|
||
</html> |