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

94 lines
5.1 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="ASSUME (Assume) keyword for display files" />
<meta name="abstract" content="Use this record-level keyword to specify that the i5/OS operating system is to assume that this record is already shown on the display when this file is opened." />
<meta name="description" content="Use this record-level keyword to specify that the i5/OS operating system is to assume that this record is already shown on the display when this file is opened." />
<meta name="DC.subject" content="ASSUME (Assume) keyword" />
<meta name="keywords" content="ASSUME (Assume) 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="rzakcmstdfassum" />
<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>ASSUME (Assume) keyword for display files</title>
</head>
<body id="rzakcmstdfassum"><a name="rzakcmstdfassum"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">ASSUME (Assume) keyword for display files</h1>
<div><p>Use this record-level keyword to specify that the <span class="keyword">i5/OS™</span> operating system
is to assume that this record is already shown on the display when this file
is opened.</p>
<div class="section"><p>Such a record can also be defined, with the KEEP keyword, in another
display file. That other display file can be closed before this file (in which
you are specifying ASSUME) is opened.</p>
<p>This keyword has no parameters.</p>
<p>Specify
the ASSUME keyword for at least one record format within the display file
so that the <span class="keyword">i5/OS</span> operating system
does not erase the display when the file is opened. In addition, specify the
OVERLAY keyword with the ASSUME keyword to prevent the <span class="keyword">i5/OS</span> operating system
from deleting the display when your program sends the first output operation
after opening the file.</p>
<p>If you use the ASSUME keyword, at least one
field in the record must be able to be displayed. If more than one record
with the ASSUME keyword exists, they must occupy unique display lines.</p>
<p>For
the <span class="keyword">i5/OS</span> operating system to process
the data correctly, your program must specify the record format name containing
this keyword.</p>
<p>The ASSUME keyword is not needed if the record format
you are defining is in a shared file (SHARE(*YES)) parameter specified on
the Create Display File (CRTDSPF), Change Display File (CHGDSPF), or Override
with Display File (OVRDSPF) command).</p>
<p>This keyword cannot be specified
with any of the following keywords:</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" width="100%" frame="void" border="0" rules="none"><tbody><tr><td valign="top" width="50%"><p>ALWROL<br />
CLRL<br />
SFL</p>
</td>
<td valign="top" width="50%"><p>SLNO<br />
USRDFN<br />
USRDSPMGT</p>
</td>
</tr>
</tbody>
</table>
</div>
<p>A warning message is issued at file creation time if the ASSUME
keyword is specified on a record with the DSPMOD keyword. At runtime,
the ASSUME keyword is ignored when the display mode changes.</p>
<p>A file
with the ASSUME keyword will be opened to the display size of the file with
the KEEP keyword.</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 ASSUME keyword.</p>
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00005A R RECORD ASSUME
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>