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

91 lines
5.3 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="MDTOFF (Modified Data Tag Off) keyword for display files" />
<meta name="abstract" content="Use this record-level keyword with the OVERLAY keyword to set off modified data tags (MDTs) for input-capable fields in record formats already on the display." />
<meta name="description" content="Use this record-level keyword with the OVERLAY keyword to set off modified data tags (MDTs) for input-capable fields in record formats already on the display." />
<meta name="DC.subject" content="MDTOFF (Modified Data Tag Off) keyword, Modified Data Tag Off (MDTOFF) keyword" />
<meta name="keywords" content="MDTOFF (Modified Data Tag Off) keyword, Modified Data Tag Off (MDTOFF) 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="rzakcmstdfmdtof" />
<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>MDTOFF (Modified Data Tag Off) keyword for display files</title>
</head>
<body id="rzakcmstdfmdtof"><a name="rzakcmstdfmdtof"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">MDTOFF (Modified Data Tag Off) keyword for display files</h1>
<div><p>Use this record-level keyword with the OVERLAY keyword to set off
modified data tags (MDTs) for input-capable fields in record formats already
on the display.</p>
<div class="section"><div class="p">The format of the keyword is: <pre>MDTOFF[(*UNPR | *ALL)]</pre>
</div>
<p>The
MDTs are set off when your program sends an output operation to the record
format you are defining.</p>
<p>To set off MDTs for unprotected fields only
(those without the DSPATR(PR) keyword in effect), specify the *UNPR parameter
value (this is also the default if no parameter value is specified). To set
off MDTs for all input-capable fields, specify the *ALL parameter value.</p>
<p>Your
program can select the DSPATR(MDT) keyword for fields in the same record format
for which it selects MDTOFF (any parameter). If so, these fields are displayed
with their MDTs set on.</p>
<p>The ERASEINP(*ALL) keyword implies MDTOFF(*UNPR)
unless MDTOFF(*ALL) is specified.</p>
<p>If the ERASEINP(*MDTON) keyword is
specified with MDTOFF(*ALL), the end effect is as if the ERASEINP(*ALL) keyword
and MDTOFF(*ALL) are both specified. This is also true if the ERASEINP keyword
is specified with no parameter value.</p>
<p>Option indicators are valid for
this keyword.</p>
<p>MDTOFF is not valid for the subfile record format (identified
by the SFL keyword). It is valid for all other record formats for which OVERLAY
keyword is also specified.</p>
</div>
<div class="example"><h4 class="sectiontitle">Example</h4><p>The following example shows how to specify
the MDTOFF keyword.</p>
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A R RECORD1 OVERLAY MDTOFF
00020A FLD1 6 B 2 2
00030A FLD2 6 B 3 2
00040A*
00050A R RECORD2 OVERLAY MDTOFF(*UNPR)
00060A FLD21 6 B 4 2
00070A FLD22 6 B 5 2
00080A*
00090A R RECORD3 OVERLAY MDTOFF(*ALL)
00100A FLD31 6 B 6 2
00110A FLD32 6 B 7 2
00120A FLD33 6 B 8 2DSPATR(PR)
A</pre>
<p>RECORD1 and RECORD2 have equivalent MDTOFF keyword specifications.
When RECORD1 or RECORD2 is displayed, the MDT of each input-capable field
already on the display is set off, unless the field has the DSPATR(PR) keyword
in effect (FLD33, when displayed, is such a field). When RECORD3 is displayed,
the MDTs of each input-capable field already on the display is set off even
if the DSPATR(PR) keyword is in effect for the field.</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>