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

134 lines
7.0 KiB
HTML
Raw Permalink 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="DSPMOD (Display Mode) keyword for display files" />
<meta name="abstract" content="Use this record-level keyword to specify which of two modes (display sizes) you want to use for the 3180, 3477, or the 3197 Model D1, D2, W1, or W2 display station." />
<meta name="description" content="Use this record-level keyword to specify which of two modes (display sizes) you want to use for the 3180, 3477, or the 3197 Model D1, D2, W1, or W2 display station." />
<meta name="DC.subject" content="DSPMOD (Display Mode) keyword, Display Mode (DSPMOD) keyword" />
<meta name="keywords" content="DSPMOD (Display Mode) keyword, Display Mode (DSPMOD) 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="rzakcmstdfdspmd" />
<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>DSPMOD (Display Mode) keyword for display files</title>
</head>
<body id="rzakcmstdfdspmd"><a name="rzakcmstdfdspmd"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">DSPMOD (Display Mode) keyword for display files</h1>
<div><p>Use this record-level keyword to specify which of two modes (display
sizes) you want to use for the 3180, 3477, or the 3197 Model D1, D2, W1, or
W2 display station.</p>
<div class="section"><p>*DS3 (24 x 80) and *DS4 (27 x 132) are both supported for the
3180, 3477, 3487 Models HA, HC, HG, and HW, 3488, and the 3197 Model D1, D2,
W1, or W2 display stations.</p>
<p>The format of the keyword is:</p>
<pre>DSPMOD(condition-name)</pre>
<p>This
keyword is valid only when both the 24 x 80 and 27 x 132 display sizes are
specified on the DSPSIZ keyword. The first of the two display sizes specified
on the DSPSIZ keyword is the default display mode. The record is displayed
using this mode unless the DSPMOD keyword indicates that the second specified
display size should be used.</p>
<div class="note"><span class="notetitle">Note:</span> This keyword is a runtime
keyword and not a compile-time keyword.</div>
<p>You can specify the default
display size with this keyword only if you do not specify option indicators
for this keyword.</p>
<p>The capability to display in the 27 x 132 mode is
allowed only on a 3180-2 or a 3197 Model D1, D2, W1, or W2 device attached
locally to a 6040 or 6140 controller or remotely to a 5294 or 5394 controller.
The DSPMOD keyword is ignored unless these controllers are used.</p>
<p>When
a record with DSPMOD causes the mode to be changed, all records currently
on the display are deleted. The record with DSPMOD active is then sent to
the display. The mode for this record is maintained on the display as long
as the DSPMOD keyword is active. Setting DSPMOD off or writing to another
record without DSPMOD causes the display mode to be placed back in the primary
display size for the device.</p>
<p>The following keywords are ignored if the
display modes have changed:</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 />
ASSUME<br />
CLRL<br />
ERASEINP/INZINP<br />
ERRMSG<br />
ERRMSGID<br />
KEEP</p>
</td>
<td valign="top" width="50%"><p>OVERLAY<br />
PROTECT<br />
PUTOVR<br />
PUTRETAIN<br />
SFLMSG<br />
SFLMSGID</p>
</td>
</tr>
</tbody>
</table>
</div>
<p>When you create a file specifying any of the above keywords and
DSPMOD on the same record, a warning message results at create-time. However,
a diagnostic message is <em>not</em> issued during processing.</p>
<p>This keyword
is not valid for user-defined records (USRDFN keyword).</p>
<p>The DSPMOD keyword
cannot be specified on a subfile record (SFL keyword). The subfile is be displayed
according to the DSPMOD of the corresponding subfile control record.</p>
<p>Option
indicators are valid for this keyword. If the option indicator is on at the
time of processing, the display mode you have chosen will be used to display
the record. However, if the option indicator is off at the time of processing,
the default display mode will be used.</p>
<div class="note"><span class="notetitle">Note:</span> Switching display modes is
similar to displaying a record without OVERLAY.</div>
</div>
<div class="example"><h4 class="sectiontitle">Example 1</h4><p>The following example shows how to specify
the DSPMOD keyword.</p>
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
A DSPSIZ(*DS3 *DS4)
A R RECORD1 DSPMOD(*DSP4)
A R RECORD2
A R RECORD3
A 03 DSPMOD(*DS4)
A</pre>
<p>The DSPMOD keyword gives the following results:</p>
<ul><li>If you write RECORD1, RECORD1 is displayed in *DS4 mode.</li>
<li>If you write RECORD2, the display is cleared and RECORD2 is displayed
in *DS3 mode.</li>
<li>If you write RECORD3 with indicator 03 off, RECORD3 is displayed in *DS3
mode. RECORD2 remains on the display.</li>
<li>If you write RECORD3 with indicator 03 on, the display is cleared and
RECORD3 is displayed in *DS4 mode.</li>
</ul>
</div>
<div class="example"><h4 class="sectiontitle">Example 2</h4><pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
A DSPSIZ(24 80 *NORM +
A 27 132 *WIDE)
A R RECORD1
A 03 DSPMOD(*WIDE)
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>