83 lines
5.0 KiB
HTML
83 lines
5.0 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="INDARA (Indicator Area) keyword for display files" />
|
||
|
<meta name="abstract" content="Use this file-level keyword to remove option and response indicators from the buffer (also called the record area) and place them in a 99-byte separate indicator area." />
|
||
|
<meta name="description" content="Use this file-level keyword to remove option and response indicators from the buffer (also called the record area) and place them in a 99-byte separate indicator area." />
|
||
|
<meta name="DC.subject" content="INDARA (Indicator Area) keyword, Indicator Area (INDARA) keyword" />
|
||
|
<meta name="keywords" content="INDARA (Indicator Area) keyword, Indicator Area (INDARA) keyword" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzakcmstkeyent.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2001, 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2001, 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="rzakcmstdfindar" />
|
||
|
<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>INDARA (Indicator Area) keyword for display files</title>
|
||
|
</head>
|
||
|
<body id="rzakcmstdfindar"><a name="rzakcmstdfindar"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">INDARA (Indicator Area) keyword for display files</h1>
|
||
|
<div><p>Use this file-level keyword to remove option and response indicators
|
||
|
from the buffer (also called the record area) and place them in a 99-byte
|
||
|
separate indicator area.</p>
|
||
|
<div class="section"><p>This keyword has no parameters.</p>
|
||
|
<div class="p">Specifying INDARA provides
|
||
|
the following advantages: <ul><li>Simplifies COBOL programming when both option and response indicators
|
||
|
are used. If the same indicator is used as a response indicator and as an
|
||
|
option indicator, both indicators always have the same value, regardless of
|
||
|
the order in which they are specified in the DDS.</li>
|
||
|
<li>Assists the RPG programmer using program-described WORKSTN files.</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<p>If you specify INDARA, you can add, change, or delete option and
|
||
|
response indicators in the DDS and re-create the file without re-creating
|
||
|
the high-level language program. This is true because the field locations
|
||
|
in the buffer have not changed and therefore the level check data has not
|
||
|
changed. However, if the program is to take advantage of the new indicators,
|
||
|
it still needs to be changed and re-created.</p>
|
||
|
<p>If you specify INDARA,
|
||
|
some high-level languages might require that you specify in your program that
|
||
|
a separate indicator area is to be used. See the appropriate high-level language
|
||
|
manual.</p>
|
||
|
<p>If you specify INDARA, the LOGINP and LOGOUT keywords do not
|
||
|
log response or option indicators when your program sends I/O operations.
|
||
|
This is because response and option indicators do not appear in the input
|
||
|
or output buffers.</p>
|
||
|
<p>Option indicators are not valid for this keyword.</p>
|
||
|
</div>
|
||
|
<div class="example"><h4 class="sectiontitle">Example</h4><p>The following example shows how to specify
|
||
|
the INDARA keyword.</p>
|
||
|
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
|
||
|
00010A INDARA
|
||
|
00020A CF01(01 'End program')
|
||
|
00030A R PROMPT
|
||
|
00040A ACTNBR 10 B 2 2
|
||
|
00050A 41 ERRMSG('Account number +
|
||
|
00060A not found' 41)
|
||
|
A</pre>
|
||
|
<p>INDARA has been specified; option indicator 41 and response
|
||
|
indicators 01 and 41 are removed from the buffer for record format PROMPT
|
||
|
and placed in the separate indicator area. Only ACTNBR, a named input/output
|
||
|
field, remains in the buffer for record format PROMPT.</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakcmstkeyent.htm" title="You type the keyword entries that define display files in positions 45 through 80 (functions).">DDS keyword entries for display files (positions 45 through 80)</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|