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

112 lines
6.4 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?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="OVERLAY (Overlay) keyword for display files" />
<meta name="abstract" content="Use this record-level keyword to specify that the record format that you are defining should appear on the display without the entire display being deleted first." />
<meta name="description" content="Use this record-level keyword to specify that the record format that you are defining should appear on the display without the entire display being deleted first." />
<meta name="DC.subject" content="OVERLAY (Overlay) keyword" />
<meta name="keywords" content="OVERLAY (Overlay) keyword" />
<meta name="DC.Relation" scheme="URI" content="rzakcmstkeyent.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakcmstzwindow.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="rzakcmstoverla" />
<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>OVERLAY (Overlay) keyword for display files</title>
</head>
<body id="rzakcmstoverla"><a name="rzakcmstoverla"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">OVERLAY (Overlay) keyword for display files</h1>
<div><p>Use this record-level keyword to specify that the record format
that you are defining should appear on the display without the
entire display being deleted first.</p>
<div class="section"><p>This keyword has no parameters.</p>
<div class="p">Normally, the entire display
is deleted on each output operation. All records on the display with fields
that partially or completely overlap fields in this record are deleted before
this record is displayed; all others remain on the display and are not changed
in any way. A record already on the display is deleted even if fields specified
in the record format are not selected for display. For example, assume that
the following records are on the display: <p>REC1 (lines 1 and 2)<br />
REC2 (lines 3 and 4)<br />
REC3 (line 5)<br />
REC4 (line 9)</p>
An output of REC5 (lines 4 and 5) with OVERLAY will leave
the display with the following records: <p>REC1 (lines 1 and 2)<br />
REC5 (lines 4 and 5)<br />
REC4 (line 9)</p>
</div>
<p>If the record with the OVERLAY keyword in effect
is already on the display and PUTOVR, PUTRETAIN, or CLRL keyword is not specified,
it is deleted and rewritten as a new record.</p>
<p>When the beginning attribute
character of a record overlaps the ending attribute character of a record
already displayed, the attribute characters overlap each other in position
1 of a line. (The last field of the first record displayed ends in the farthest
right display position of the preceding line.)</p>
<div class="p">In the above example,
however, if the only portion of REC2 on line 4 is the ending attribute character
of the last field of REC2 (which occurs when the last displayed character
of the last field of REC2 is in the last position of line 3), REC2 remains
displayed following the display of REC5 with OVERLAY. The display will have
the following records: <p>REC1 (lines 1 and 2)<br />
REC2 (line3)<br />
REC5 (lines 4 and 5)<br />
REC9 (line 9)</p>
</div>
<p>The display is always deleted on the first output
operation after the file is opened, except when both ASSUME and OVERLAY are
specified.</p>
<p>OVERLAY is assumed by the <span class="keyword">i5/OS™</span> operating system
for ERRMSG, ERRMSGID, PUTOVR, and CLRL functions.</p>
<p>If OVERLAY is conditioned
and not selected, then the ERASE, ERASEINP, MDTOFF, PROTECT, and PUTRETAIN
keywords cannot take effect if they are selected, unless the PUTOVR keyword
is selected. In such cases, the ERASE, ERASEINP, and MDTOFF keywords can take
effect.</p>
<p>If you specify OVERLAY, you should also specify the RSTDSP(*YES)
keyword on the CRTDSPF (Create Display File) or CHGDSPF (Change Display File)
command. Otherwise, data on the display can be lost if the file is suspended.</p>
<p>To
delete any of the records on the display, use the ERASE keyword to specify
the names of the record formats to be deleted.</p>
<p>If you also specify the
CLRL keyword, processing proceeds according to the CLRL specification, not
the OVERLAY specification.</p>
<p>A warning message is sent at file creation
time if the OVERLAY keyword is specified on a record with the DSPMOD keyword.
At run time, the OVERLAY keyword is ignored when the display mode changes.</p>
<p>Option
indicators are valid for this keyword.</p>
</div>
<div class="example"><h4 class="sectiontitle">Example</h4><p>The following example shows how to specify
the OVERLAY keyword.</p>
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00021A R RECL OVERLAY
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 class="relref"><strong>Related reference</strong><br />
<div><a href="rzakcmstzwindow.htm" title="Use this record-level keyword to specify that the record format you are defining will be displayed using a window.">WINDOW (Window) keyword for display files</a></div>
</div>
</div>
</body>
</html>