ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzakc_5.4.0.1/rzakcmstdfkeep.htm

70 lines
3.9 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="KEEP (Keep) keyword for display files" />
<meta name="abstract" content="Use this record-level keyword to keep the display from being deleted when the display file is closed." />
<meta name="description" content="Use this record-level keyword to keep the display from being deleted when the display file is closed." />
<meta name="DC.subject" content="KEEP (Keep) keyword" />
<meta name="keywords" content="KEEP (Keep) 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="rzakcmstdfkeep" />
<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>KEEP (Keep) keyword for display files</title>
</head>
<body id="rzakcmstdfkeep"><a name="rzakcmstdfkeep"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">KEEP (Keep) keyword for display files</h1>
<div><p>Use this record-level keyword to keep the display from being deleted
when the display file is closed.</p>
<div class="section"><p>The entire display is kept if any of the records on the display
have KEEP specified. The default causes the entire display to be deleted when
the file is closed.</p>
<p>In addition, the name of the first, uppermost record
on the display that has the KEEP attribute is saved by the <span class="keyword">i5/OS™</span> operating system
for possible use by subsequent programs. The name kept can be
used by a subsequent program that does not specify a record name on its first
input operation. This keyword enables you to leave data on the display for
review after your program ends, or use that data as input for subsequent programs.</p>
<p>This
keyword has no parameters.</p>
<div class="p">This keyword cannot be specified with the
following keywords: <p>ALWROL<br />
CLRL<br />
SLNO</p>
</div>
<p>A warning message appears at file creation time if the
KEEP keyword is specified on a record with the DSPMOD keyword. At run time,
the KEEP keyword is ignored when the display mode changes.</p>
<p>Option and
response 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 KEEP keyword.</p>
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00061A R REC46 KEEP
A</pre>
</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>