124 lines
6.4 KiB
HTML
124 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="task" />
|
||
|
<meta name="DC.Title" content="ERASEINP(*ALL) keyword" />
|
||
|
<meta name="abstract" content="Follow the instructions in this topic to set the input save area to blanks and zeros to match the fields cleared at the workstation by the ERASEINP(*ALL) keyword." />
|
||
|
<meta name="description" content="Follow the instructions in this topic to set the input save area to blanks and zeros to match the fields cleared at the workstation by the ERASEINP(*ALL) keyword." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzakcmstdfinz.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="rzakcmstdfinzeraseinp" />
|
||
|
<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>ERASEINP(*ALL) keyword</title>
|
||
|
</head>
|
||
|
<body id="rzakcmstdfinzeraseinp"><a name="rzakcmstdfinzeraseinp"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">ERASEINP(*ALL) keyword</h1>
|
||
|
<div><p>Follow the instructions in this topic to set the input save area
|
||
|
to blanks and zeros to match the fields cleared at the workstation by the
|
||
|
ERASEINP(*ALL) keyword.</p>
|
||
|
<div class="section">Complete the following tasks:</div>
|
||
|
<ol><li class="stepexpand"><span>Specify the same option indicators for INZINP as for ERASEINP(*ALL),
|
||
|
PUTOVR, and OVERLAY keywords.</span></li>
|
||
|
<li class="stepexpand"><span>Specify OVRDTA or OVRATR for all input/output fields.</span> <p>Set
|
||
|
option indicators off for these keywords if you do not want to send data or
|
||
|
attributes to the device. If you enable OVRATR, also enable OVRDTA.</p>
|
||
|
</li>
|
||
|
<li class="stepexpand"><span>Specify the OVRATR keyword for all input-only fields.</span> <p>Set
|
||
|
option indicators off for this keyword if you do not want to send attributes
|
||
|
to the device.</p>
|
||
|
</li>
|
||
|
<li class="stepexpand"><span>Set all input/output fields to blanks (for character fields) or
|
||
|
zeros (for numeric fields) before the output operation.</span></li>
|
||
|
</ol>
|
||
|
<div class="section"><p>A warning message appears at file creation time if the INZINP keyword
|
||
|
is specified on a record with the DSPMOD keyword. At runtime, the INZINP keyword
|
||
|
is ignored when the display mode changes.</p>
|
||
|
<p>Option indicators are valid
|
||
|
for this keyword.</p>
|
||
|
<p>The following example shows how to specify the INZINP
|
||
|
keyword.</p>
|
||
|
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
|
||
|
00010A R FMT1
|
||
|
00020A 77 PUTOVR OVERLAY ERASEINP(*ALL)
|
||
|
00030A 77 INZINP
|
||
|
00040A 7 8'CUSTOMER NUMBER'
|
||
|
00050A CUSNBR 6 I 7 26
|
||
|
00060A N77 OVRATR
|
||
|
00070A 9 12'CUSTOMER NAME'
|
||
|
00080A NAME 25 B 9 30
|
||
|
00090A N77 OVRATR
|
||
|
00100A 10 2'CUSTOMER ADDRESS LINE 1'
|
||
|
00110A ADDR1 25 B 10 30
|
||
|
00120A N77 OVRATR
|
||
|
00130A 11 2'CUSTOMER ADDRESS LINE 2'
|
||
|
00140A ADDR2 25 B 11 30
|
||
|
00150A N77 OVRATR
|
||
|
00160A 12 9'NEW CREDIT LIMIT'
|
||
|
00170A LIMIT 4 0I 12 30
|
||
|
00180A N77 OVRATR
|
||
|
A</pre>
|
||
|
</div>
|
||
|
<div class="example"><h4 class="sectiontitle">Example details</h4><p>This example illustrates
|
||
|
the following points:</p>
|
||
|
<ol><li>For the first output operation, the user program sets
|
||
|
off option indicator 77. Therefore, the PUTOVR, ERASEINP, and INZINP keywords
|
||
|
are not in effect. This has the following effect:<ul><li>Fields NAME, ADDR1, and ADDR2 are sent to the workstation.</li>
|
||
|
<li>The input save area contains: <dl><dt class="dlterm">CUSNBR</dt>
|
||
|
<dd>All blanks</dd>
|
||
|
<dt class="dlterm">NAME</dt>
|
||
|
<dd>The program value (which appears on the display)</dd>
|
||
|
<dt class="dlterm">ADDR1</dt>
|
||
|
<dd>The program value (which appears on the display)</dd>
|
||
|
<dt class="dlterm">ADDR2</dt>
|
||
|
<dd>The program value (which appears on the display)</dd>
|
||
|
<dt class="dlterm">LIMIT</dt>
|
||
|
<dd>All zeros</dd>
|
||
|
</dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li>For the second output operation, the user program sets on option indicator
|
||
|
77. This has the following effect:<ul><li>All input-capable fields are cleared at the workstation.</li>
|
||
|
<li>No fields are sent to the workstation.</li>
|
||
|
<li>The input save area contains: <dl><dt class="dlterm">CUSNBR</dt>
|
||
|
<dd>All blanks</dd>
|
||
|
<dt class="dlterm">NAME</dt>
|
||
|
<dd>The program value (not sent to the display)</dd>
|
||
|
<dt class="dlterm">ADDR1</dt>
|
||
|
<dd>The program value (not sent to the display)</dd>
|
||
|
<dt class="dlterm">ADDR2</dt>
|
||
|
<dd>The program value (not sent to the display)</dd>
|
||
|
<dt class="dlterm">LIMIT</dt>
|
||
|
<dd>All zeros</dd>
|
||
|
</dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ol>
|
||
|
<div class="note"><span class="notetitle">Note:</span> If fields NAME, ADDR1, and ADDR2 had been set to blanks
|
||
|
before this second output operation, the input save area would contain all
|
||
|
blanks and zeros.</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakcmstdfinz.htm" title="Use this record-level keyword to initialize input/output fields without necessarily sending the initialized data to the display when the PUTOVR and ERASEINP(*ALL) keywords are both in effect.">INZINP (Initialize Input) keyword for display files</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|