ibm-information-center/dist/eclipse/plugins/i5OS.ic.dm_5.4.0.1/rbal3ciofa.htm

441 lines
19 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="copyright" content="(C) Copyright IBM Corporation 2005" />
<meta name="DC.rights.owner" content="(C) Copyright IBM Corporation 2005" />
<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="Common I/O feedback area" />
<meta name="abstract" content="The table in this topic shows the common I/O feedback area of iSeries." />
<meta name="description" content="The table in this topic shows the common I/O feedback area of iSeries." />
<meta name="DC.subject" content="I/O feedback area, common, feedback area, I/O" />
<meta name="keywords" content="I/O feedback area, common, feedback area, I/O" />
<meta name="DC.Relation" scheme="URI" content="rbal3fedbk.htm" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rbal3ciofa" />
<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>Common I/O feedback area</title>
</head>
<body id="rbal3ciofa"><a name="rbal3ciofa"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Common I/O feedback area</h1>
<div><p>The table in this topic shows the common I/O feedback area of iSeries™.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" width="100%" frame="hsides" border="0" rules="none"><caption>Table 1. Common I/O feedback area</caption><thead align="left"><tr><th align="left" valign="bottom" width="12.962962962962962%" id="d0e33">Offset</th>
<th align="left" valign="bottom" width="14.814814814814813%" id="d0e35">Data type</th>
<th align="left" valign="bottom" width="25.555555555555554%" id="d0e37">Length</th>
<th align="left" valign="bottom" width="46.666666666666664%" id="d0e39">Contents</th>
</tr>
</thead>
<tbody><tr><td align="left" valign="top" width="12.962962962962962%" headers="d0e33 ">0</td>
<td align="left" valign="top" width="14.814814814814813%" headers="d0e35 ">Binary</td>
<td align="left" valign="top" width="25.555555555555554%" headers="d0e37 ">2</td>
<td align="left" valign="top" width="46.666666666666664%" headers="d0e39 ">Offset to file-dependent feedback area.</td>
</tr>
<tr><td align="left" valign="top" width="12.962962962962962%" headers="d0e33 ">2</td>
<td align="left" valign="top" width="14.814814814814813%" headers="d0e35 ">Binary</td>
<td align="left" valign="top" width="25.555555555555554%" headers="d0e37 ">4</td>
<td align="left" valign="top" width="46.666666666666664%" headers="d0e39 ">Write operation count. Updated only when
a write operation completes successfully. For blocked record I/O operations,
this count is the number of blocks, not the number of records.</td>
</tr>
<tr><td align="left" valign="top" width="12.962962962962962%" headers="d0e33 ">6</td>
<td align="left" valign="top" width="14.814814814814813%" headers="d0e35 ">Binary</td>
<td align="left" valign="top" width="25.555555555555554%" headers="d0e37 ">4</td>
<td align="left" valign="top" width="46.666666666666664%" headers="d0e39 ">Read operation count. Updated only when a
read operation completes successfully. For blocked record I/O operations,
this count is the number of blocks, not the number of records.</td>
</tr>
<tr><td align="left" valign="top" width="12.962962962962962%" headers="d0e33 ">10</td>
<td align="left" valign="top" width="14.814814814814813%" headers="d0e35 ">Binary</td>
<td align="left" valign="top" width="25.555555555555554%" headers="d0e37 ">4</td>
<td align="left" valign="top" width="46.666666666666664%" headers="d0e39 ">Write-read operation count. Updated only
when a write-read operation completes successfully.</td>
</tr>
<tr><td align="left" valign="top" width="12.962962962962962%" headers="d0e33 ">14</td>
<td align="left" valign="top" width="14.814814814814813%" headers="d0e35 ">Binary</td>
<td align="left" valign="top" width="25.555555555555554%" headers="d0e37 ">4</td>
<td align="left" valign="top" width="46.666666666666664%" headers="d0e39 ">Other operation count. Number of successful
operations other than write, read, or write-read. Updated only when the operation
completes successfully. This count includes update, delete, force-end-of-data,
force-end-of-volume, change-end-of-data, release record lock, and acquire/release
device operations.</td>
</tr>
<tr><td align="left" valign="top" width="12.962962962962962%" headers="d0e33 ">18</td>
<td align="left" valign="top" width="14.814814814814813%" headers="d0e35 ">Character</td>
<td align="left" valign="top" width="25.555555555555554%" headers="d0e37 ">1</td>
<td align="left" valign="top" width="46.666666666666664%" headers="d0e39 ">Reserved.</td>
</tr>
<tr><td align="left" valign="top" width="12.962962962962962%" headers="d0e33 ">19</td>
<td align="left" valign="top" width="14.814814814814813%" headers="d0e35 ">Character</td>
<td align="left" valign="top" width="25.555555555555554%" headers="d0e37 ">1</td>
<td align="left" valign="top" width="46.666666666666664%" headers="d0e39 ">Current operation. <dl><dt class="dlterm">hex 01</dt>
<dd>Read or read block or read from invited devices</dd>
<dt class="dlterm">hex 02</dt>
<dd>Read direct</dd>
<dt class="dlterm">hex 03</dt>
<dd>Read by key</dd>
<dt class="dlterm">hex 05</dt>
<dd>Write or write block</dd>
<dt class="dlterm">hex 06</dt>
<dd>Write-read</dd>
<dt class="dlterm">hex 07</dt>
<dd>Update</dd>
<dt class="dlterm">hex 08</dt>
<dd>Delete</dd>
<dt class="dlterm">hex 09</dt>
<dd>Force-end-of-data</dd>
<dt class="dlterm">hex 0A</dt>
<dd>Force-end-of-volume</dd>
<dt class="dlterm">hex 0D</dt>
<dd>Release record lock</dd>
<dt class="dlterm">hex 0E</dt>
<dd>Change end-of-data</dd>
<dt class="dlterm">hex 0F</dt>
<dd>Put deleted record</dd>
<dt class="dlterm">hex 11</dt>
<dd>Release device</dd>
<dt class="dlterm">hex 12</dt>
<dd>Acquire device</dd>
</dl>
</td>
</tr>
<tr><td align="left" valign="top" width="12.962962962962962%" headers="d0e33 ">20</td>
<td align="left" valign="top" width="14.814814814814813%" headers="d0e35 ">Character</td>
<td align="left" valign="top" width="25.555555555555554%" headers="d0e37 ">10</td>
<td align="left" valign="top" width="46.666666666666664%" headers="d0e39 ">Name of the record format just processed,
which is either: <ul><li>Specified on the I/O request, or</li>
<li>Determined by default or format selection processing</li>
</ul>
<p>For display files, the default name is either the name of the only
record format in the file or the previous record format name for the record
written to the display that contains input-capable fields. Because a display
file might have multiple formats on the display at the same time, this format
might not represent the format where the last cursor position was typed.</p>
<p>For
ICF files, the format name is determined by the server, based on the format
selection option used. Refer to the <a href="../books/sc415442.pdf" target="_blank">ICF Programming</a> <img src="wbpdf.gif" alt="Link to PDF" /> book for more information.</p>
</td>
</tr>
<tr><td align="left" valign="top" width="12.962962962962962%" headers="d0e33 ">30</td>
<td align="left" valign="top" width="14.814814814814813%" headers="d0e35 ">Character</td>
<td align="left" valign="top" width="25.555555555555554%" headers="d0e37 ">2</td>
<td align="left" valign="top" width="46.666666666666664%" headers="d0e39 ">Device class: <div class="p">Byte 1: <dl><dt class="dlterm">hex 00</dt>
<dd>Database</dd>
<dt class="dlterm">hex 01</dt>
<dd>Display</dd>
<dt class="dlterm">hex 02</dt>
<dd>Printer</dd>
<dt class="dlterm">hex 04</dt>
<dd>Diskette</dd>
<dt class="dlterm">hex 05</dt>
<dd>Tape</dd>
<dt class="dlterm">hex 09</dt>
<dd>Save</dd>
<dt class="dlterm">hex 0B</dt>
<dd>ICF</dd>
</dl>
</div>
</td>
</tr>
<tr><td align="left" valign="top" width="12.962962962962962%" headers="d0e33 ">&nbsp;</td>
<td align="left" valign="top" width="14.814814814814813%" headers="d0e35 ">&nbsp;</td>
<td align="left" valign="top" width="25.555555555555554%" headers="d0e37 ">&nbsp;</td>
<td align="left" valign="top" width="46.666666666666664%" headers="d0e39 "> <div class="p">Byte 2 (if byte 1 contains hex 00): <dl><dt class="dlterm">hex 00</dt>
<dd>Nonkeyed file</dd>
<dt class="dlterm">hex 01</dt>
<dd>Keyed file</dd>
</dl>
</div>
<div class="p">Byte 2 (if byte 1 does not contain hex 00): <dl><dt class="dlterm">hex 02</dt>
<dd>5256 Printer</dd>
<dt class="dlterm">hex 07</dt>
<dd>5251 Display Station</dd>
<dt class="dlterm">hex 08</dt>
<dd>Spooled</dd>
<dt class="dlterm">hex 0A</dt>
<dd>BSCEL</dd>
<dt class="dlterm">hex 0B</dt>
<dd>5291 Display Station</dd>
<dt class="dlterm">hex 0C</dt>
<dd>5224/5225 printers</dd>
<dt class="dlterm">hex 0D</dt>
<dd>5292 Display Station</dd>
<dt class="dlterm">hex 0E</dt>
<dd>APPC</dd>
<dt class="dlterm">hex 0F</dt>
<dd>5219 Printer</dd>
<dt class="dlterm">hex 10</dt>
<dd>5583 Printer (DBCS)</dd>
<dt class="dlterm">hex 11</dt>
<dd>5553 Printer</dd>
<dt class="dlterm">hex 12</dt>
<dd>5555-B01 Display Station</dd>
<dt class="dlterm">hex 13</dt>
<dd>3270 Display Station</dd>
<dt class="dlterm">hex 14</dt>
<dd>3270 Printer</dd>
<dt class="dlterm">hex 15</dt>
<dd>Graphic-capable device</dd>
<dt class="dlterm">hex 16</dt>
<dd>Financial Display Station</dd>
<dt class="dlterm">hex 17</dt>
<dd>3180 Display Station</dd>
<dt class="dlterm">hex 18</dt>
<dd>Save file</dd>
<dt class="dlterm">hex 19</dt>
<dd>3277 DHCF device</dd>
<dt class="dlterm">hex 1A</dt>
<dd>9347 Tape Unit</dd>
<dt class="dlterm">hex 1B</dt>
<dd>9348 Tape Unit</dd>
<dt class="dlterm">hex 1C</dt>
<dd>9331-1 Diskette Unit</dd>
<dt class="dlterm">hex 1D</dt>
<dd>9331-2 Diskette Unit</dd>
<dt class="dlterm">hex 1E</dt>
<dd>Intrasystem communications support</dd>
<dt class="dlterm">hex 1F</dt>
<dd>Asynchronous communications support</dd>
<dt class="dlterm">hex 20</dt>
<dd>SNUF</dd>
<dt class="dlterm">hex 21</dt>
<dd>4234 (SCS) Printer</dd>
<dt class="dlterm">hex 22</dt>
<dd>3812 (SCS) Printer</dd>
<dt class="dlterm">hex 23</dt>
<dd>4214 Printer</dd>
<dt class="dlterm">hex 24</dt>
<dd>4224 (IPDS™)
Printer</dd>
<dt class="dlterm">hex 25</dt>
<dd>4245 Printer</dd>
<dt class="dlterm">hex 26</dt>
<dd>3179-2 Display Station</dd>
<dt class="dlterm">hex 27</dt>
<dd>3196-A Display Station</dd>
<dt class="dlterm">hex 28</dt>
<dd>3196-B Display Station</dd>
<dt class="dlterm">hex 29</dt>
<dd>5262 Printer</dd>
<dt class="dlterm">hex 2A</dt>
<dd>6346 Tape Unit</dd>
<dt class="dlterm">hex 2B</dt>
<dd>2440 Tape Unit</dd>
<dt class="dlterm">hex 2C</dt>
<dd>9346 Tape Unit</dd>
<dt class="dlterm">hex 2D</dt>
<dd>6331 Diskette Unit</dd>
<dt class="dlterm">hex 2E</dt>
<dd>6332 Diskette Unit</dd>
<dt class="dlterm">hex 30</dt>
<dd>3812 (IPDS)
Printer</dd>
<dt class="dlterm">hex 31</dt>
<dd>4234 (IPDS)
Printer</dd>
<dt class="dlterm">hex 32</dt>
<dd>IPDS printer,
model unknown</dd>
<dt class="dlterm">hex 33</dt>
<dd>3197-C1 Display Station</dd>
<dt class="dlterm">hex 34</dt>
<dd>3197-C2 Display Station</dd>
<dt class="dlterm">hex 35</dt>
<dd>3197-D1 Display Station</dd>
<dt class="dlterm">hex 36</dt>
<dd>3197-D2 Display Station</dd>
<dt class="dlterm">hex 37</dt>
<dd>3197-W1 Display Station</dd>
<dt class="dlterm">hex 38</dt>
<dd>3197-W2 Display Station</dd>
<dt class="dlterm">hex 39</dt>
<dd>5555-E01 Display Station</dd>
<dt class="dlterm">hex 3A</dt>
<dd>3430 Tape Unit</dd>
<dt class="dlterm">hex 3B</dt>
<dd>3422 Tape Unit</dd>
<dt class="dlterm">hex 3C</dt>
<dd>3480 Tape Unit</dd>
<dt class="dlterm">hex 3D</dt>
<dd>3490 Tape Unit</dd>
<dt class="dlterm">hex 3E</dt>
<dd>3476-EA Display Station</dd>
<dt class="dlterm">hex 3F</dt>
<dd>3477-FG Display Station</dd>
<dt class="dlterm">hex 40</dt>
<dd>3278 DHCF device</dd>
<dt class="dlterm">hex 41</dt>
<dd>3279 DHCF device</dd>
<dt class="dlterm">hex 42</dt>
<dd>ICF finance device</dd>
<dt class="dlterm">hex 43</dt>
<dd>Retail communications device</dd>
<dt class="dlterm">hex 44</dt>
<dd>3477-FA Display Station</dd>
<dt class="dlterm">hex 45</dt>
<dd>3477-FC Display Station</dd>
<dt class="dlterm">hex 46</dt>
<dd>3477-FD Display Station</dd>
<dt class="dlterm">hex 47</dt>
<dd>3477-FW Display Station</dd>
<dt class="dlterm">hex 48</dt>
<dd>3477-FE Display Station</dd>
<dt class="dlterm">hex 49</dt>
<dd>6367 Tape Unit</dd>
<dt class="dlterm">hex 4A</dt>
<dd>6347 Tape Unit</dd>
<dt class="dlterm">hex 4D</dt>
<dd>Network Virtual Terminal Display Station</dd>
<dt class="dlterm">hex 4E</dt>
<dd>6341 Tape Unit</dd>
<dt class="dlterm">hex 4F</dt>
<dd>6342 Tape Unit</dd>
<dt class="dlterm">hex 50</dt>
<dd>6133 Diskette Unit</dd>
<dt class="dlterm">hex 51</dt>
<dd>5555-C01 Display Station</dd>
<dt class="dlterm">hex 52</dt>
<dd>5555-F01 Display Station</dd>
<dt class="dlterm">hex 53</dt>
<dd>6366 Tape Unit</dd>
<dt class="dlterm">hex 54</dt>
<dd>7208 Tape Unit</dd>
<dt class="dlterm">hex 55</dt>
<dd>6252 (SCS) Printer</dd>
<dt class="dlterm">hex 56</dt>
<dd>3476-EC Display Station</dd>
<dt class="dlterm">hex 57</dt>
<dd>4230 (IPDS)
Printer</dd>
<dt class="dlterm">hex 58</dt>
<dd>5555-G01 Display Station</dd>
<dt class="dlterm">hex 59</dt>
<dd>5555-G02 Display Station</dd>
<dt class="dlterm">hex 5A</dt>
<dd>6343 Tape Unit</dd>
<dt class="dlterm">hex 5B</dt>
<dd>6348 Tape Unit</dd>
<dt class="dlterm">hex 5C</dt>
<dd>6368 Tape Unit</dd>
<dt class="dlterm">hex 5D</dt>
<dd>3486-BA Display Station</dd>
<dt class="dlterm">hex 5F</dt>
<dd>3487-HA Display Station</dd>
<dt class="dlterm">hex 60</dt>
<dd>3487-HG Display Station</dd>
<dt class="dlterm">hex 61</dt>
<dd>3487-HW Display Station</dd>
<dt class="dlterm">hex 62</dt>
<dd>3487-HC Display Station</dd>
<dt class="dlterm">hex 63</dt>
<dd>3935 (IPDS)
Printer</dd>
<dt class="dlterm">hex 64</dt>
<dd>6344 Tape Unit</dd>
<dt class="dlterm">hex 65</dt>
<dd>6349 Tape Unit</dd>
<dt class="dlterm">hex 66</dt>
<dd>6369 Tape Unit</dd>
<dt class="dlterm">hex 67</dt>
<dd>6380 Tape Unit</dd>
<dt class="dlterm">hex 68</dt>
<dd>6378 Tape Unit</dd>
<dt class="dlterm">hex 69</dt>
<dd>6390 Tape Unit</dd>
<dt class="dlterm">hex 70</dt>
<dd>6379 Tape Unit</dd>
<dt class="dlterm">hex 71</dt>
<dd>9331-11 Diskette Unit</dd>
<dt class="dlterm">hex 72</dt>
<dd>9331-12 Diskette Unit</dd>
<dt class="dlterm">hex 73</dt>
<dd>3570 Tape Unit</dd>
<dt class="dlterm">hex 74</dt>
<dd>3590 Tape Unit</dd>
<dt class="dlterm">hex 75</dt>
<dd>6335 Tape Unit</dd>
</dl>
</div>
</td>
</tr>
<tr><td align="left" valign="top" width="12.962962962962962%" headers="d0e33 ">32</td>
<td align="left" valign="top" width="14.814814814814813%" headers="d0e35 ">Character</td>
<td align="left" valign="top" width="25.555555555555554%" headers="d0e37 ">10</td>
<td align="left" valign="top" width="46.666666666666664%" headers="d0e39 ">Device name. The name of the device for which
the operation just completed. Supplied only for display, printer, tape, diskette,
and ICF files. For printer or diskette files being spooled, the value is *N.
For ICF files, the value is the program device name. For other files, the
value is the device description name.</td>
</tr>
<tr><td align="left" valign="top" width="12.962962962962962%" headers="d0e33 ">42</td>
<td align="left" valign="top" width="14.814814814814813%" headers="d0e35 ">Binary</td>
<td align="left" valign="top" width="25.555555555555554%" headers="d0e37 ">4</td>
<td align="left" valign="top" width="46.666666666666664%" headers="d0e39 ">Length of the record processed by the last
I/O operation (supplied only for an ICF, display, tape, or database file).
On ICF write operations, this is the record length of the data. On ICF read
operations, it is the record length of the record associated with the last
read operation.</td>
</tr>
<tr><td align="left" valign="top" width="12.962962962962962%" headers="d0e33 ">46</td>
<td align="left" valign="top" width="14.814814814814813%" headers="d0e35 ">Character</td>
<td align="left" valign="top" width="25.555555555555554%" headers="d0e37 ">80</td>
<td align="left" valign="top" width="46.666666666666664%" headers="d0e39 ">Reserved.</td>
</tr>
<tr><td align="left" valign="top" width="12.962962962962962%" headers="d0e33 ">126</td>
<td align="left" valign="top" width="14.814814814814813%" headers="d0e35 ">Binary</td>
<td align="left" valign="top" width="25.555555555555554%" headers="d0e37 ">2</td>
<td align="left" valign="top" width="46.666666666666664%" headers="d0e39 ">Number of records retrieved on a read request
for blocked records or sent on a write or force-end-of-data or force-end-of-volume
request for blocked records. Supplied only for database, diskette, and tape
files.</td>
</tr>
<tr><td align="left" valign="top" width="12.962962962962962%" headers="d0e33 ">128</td>
<td align="left" valign="top" width="14.814814814814813%" headers="d0e35 ">Binary</td>
<td align="left" valign="top" width="25.555555555555554%" headers="d0e37 ">2</td>
<td align="left" valign="top" width="46.666666666666664%" headers="d0e39 ">For output, the field value is the record
format length, including first-character forms control, option indicators,
source sequence numbers, and program-to-server data. If the value is zero,
use the field at offset 42. <p>For input, the field value is the record format
length, including response indicators and source sequence numbers. If the
value is zero, use the field at offset 42.</p>
</td>
</tr>
<tr><td align="left" valign="top" width="12.962962962962962%" headers="d0e33 ">130</td>
<td align="left" valign="top" width="14.814814814814813%" headers="d0e35 ">Character</td>
<td align="left" valign="top" width="25.555555555555554%" headers="d0e37 ">2</td>
<td align="left" valign="top" width="46.666666666666664%" headers="d0e39 ">Reserved.</td>
</tr>
<tr><td align="left" valign="top" width="12.962962962962962%" headers="d0e33 ">132</td>
<td align="left" valign="top" width="14.814814814814813%" headers="d0e35 ">Binary</td>
<td align="left" valign="top" width="25.555555555555554%" headers="d0e37 ">4</td>
<td align="left" valign="top" width="46.666666666666664%" headers="d0e39 ">Current block count. The number of blocks
of the tape data file already written or read. For tape files only.</td>
</tr>
<tr><td align="left" valign="top" width="12.962962962962962%" headers="d0e33 ">136</td>
<td align="left" valign="top" width="14.814814814814813%" headers="d0e35 ">Character</td>
<td align="left" valign="top" width="25.555555555555554%" headers="d0e37 ">8</td>
<td align="left" valign="top" width="46.666666666666664%" headers="d0e39 ">Reserved.</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal3fedbk.htm" title="iSeries uses OS/400 messages and I/O feedback information to communicate the results of I/O operations to the program. The server updates the I/O feedback area for every successful I/O operation unless your program uses blocked record I/O.">I/O feedback area</a></div>
</div>
</div>
</body>
</html>