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

276 lines
15 KiB
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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="WDWBORDER (Window Border) keyword for display files" />
<meta name="abstract" content="Use this file- or record-level keyword to specify the color, display attributes, and characters used to form the border of a window." />
<meta name="description" content="Use this file- or record-level keyword to specify the color, display attributes, and characters used to form the border of a window." />
<meta name="DC.subject" content="WDWBORDER (Window Border) keyword, Window Border (WDWBORDER) keyword" />
<meta name="keywords" content="WDWBORDER (Window Border) keyword, Window Border (WDWBORDER) keyword" />
<meta name="DC.Relation" scheme="URI" content="rzakcmstkeyent.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakcmstdfcolor.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="rzakcmstwdwbord" />
<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>WDWBORDER (Window Border) keyword for display files</title>
</head>
<body id="rzakcmstwdwbord"><a name="rzakcmstwdwbord"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">WDWBORDER (Window Border) keyword for display files</h1>
<div><p>Use this file- or record-level keyword to specify the color, display
attributes, and characters used to form the border of a window.</p>
<div class="section"><div class="p">The format of the keyword is: <pre>WDWBORDER([color] [display-attribute] [characters])</pre>
</div>
<p>At
least one parameter must be specified.</p>
<p>The color parameter specifies
the color of the border characters on a color display station (3179 Models
C1 and C2, 5292 Color display stations only, or 5555 Models C01 and F01).
The parameter is specified as an expression of the form (*COLOR value).</p>
<div class="p">The
valid values for the color parameter are: <dl><dt><strong>Value</strong></dt>
<dd><strong>Meaning</strong></dd>
<dt class="dlterm">BLU</dt>
<dd>Blue</dd>
<dt class="dlterm">GRN</dt>
<dd>Green</dd>
<dt class="dlterm">WHT</dt>
<dd>White</dd>
<dt class="dlterm">RED</dt>
<dd>Red</dd>
<dt class="dlterm">TRQ</dt>
<dd>Turquoise</dd>
<dt class="dlterm">YLW</dt>
<dd>Yellow</dd>
<dt class="dlterm">PNK</dt>
<dd>Pink</dd>
</dl>
</div>
<p>If the color parameter is not specified, the default
is BLU. This parameter is ignored if it is specified for a window on a monochrome
display.</p>
<p>The display-attribute parameter specifies the display attributes
of the border characters. The parameter is specified as an expression of the
form (<var class="varname">*DSPATR [value1 [value2 [value3...]]]</var>). If more than
one DSPATR value is used, they are combined to form one DSPATR that is used
for the entire border.</p>
<div class="p">The valid values for the display-attributes values
are: <dl><dt><strong>Value</strong></dt>
<dd><strong>Meaning</strong></dd>
<dt class="dlterm">BL</dt>
<dd>Blink</dd>
<dt class="dlterm">CS</dt>
<dd>Column separator</dd>
<dt class="dlterm">HI</dt>
<dd>High intensity</dd>
<dt class="dlterm">ND</dt>
<dd>Nondisplay</dd>
<dt class="dlterm">RI</dt>
<dd>Reverse image</dd>
<dt class="dlterm">UL</dt>
<dd>Underline</dd>
</dl>
</div>
<p>There is no default for display-attributes.</p>
<div class="note"><span class="notetitle">Note:</span> Display-attributes
CS, HI, and BL can cause fields on 5292, 3179, and 3197 Model C1 and C2 display
stations to appear as color fields. Display-attributes HI, RI, and UL cause
a border not to be displayed. </div>
<div class="p">The characters parameter specifies
the characters that make up the border. The parameter is specified as an expression
of the form (*CHAR 'border-characters'). The border character value is an
8-character string that defines the border characters in the following order:
<pre>top-left-corner
top-border
top-right-corner
left-border
right-border
bottom-left-corner
bottom-border
bottom-right-corner</pre>
</div>
<p>If this parameter is not specified,
the default border characters are period (.) for the upper-left and right
corners and the top and bottom borders, colon (:) for the left and right borders
and lower-left and right corners. Although any displayable character can be
specified as a border character, it is recommended that you use invariant
characters.</p>
<p>The following table shows the invariant
characters:</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" width="100%" frame="hsides" border="1" rules="all"><caption>Table 1. Character set for system data</caption><thead align="left"><tr><th align="left" valign="bottom" width="33.33333333333333%" id="d0e138">Hexadecimal</th>
<th align="left" valign="bottom" width="33.33333333333333%" id="d0e140">Character</th>
<th align="left" valign="bottom" width="33.33333333333333%" id="d0e142">Description</th>
</tr>
</thead>
<tbody><tr><td align="left" valign="top" width="33.33333333333333%" headers="d0e138 ">40</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e140 ">&nbsp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e142 ">Blank</td>
</tr>
<tr><td align="left" valign="top" width="33.33333333333333%" headers="d0e138 ">4B</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e140 ">.</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e142 ">Period</td>
</tr>
<tr><td align="left" valign="top" width="33.33333333333333%" headers="d0e138 ">4C</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e140 ">&lt;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e142 ">Less than sign</td>
</tr>
<tr><td align="left" valign="top" width="33.33333333333333%" headers="d0e138 ">4D</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e140 ">(</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e142 ">Left parenthesis</td>
</tr>
<tr><td align="left" valign="top" width="33.33333333333333%" headers="d0e138 ">4E</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e140 ">+</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e142 ">Plus sign</td>
</tr>
<tr><td align="left" valign="top" width="33.33333333333333%" headers="d0e138 ">50</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e140 ">&amp;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e142 ">Ampersand</td>
</tr>
<tr><td align="left" valign="top" width="33.33333333333333%" headers="d0e138 ">5C</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e140 ">*</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e142 ">Asterisk</td>
</tr>
<tr><td align="left" valign="top" width="33.33333333333333%" headers="d0e138 ">5D</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e140 ">)</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e142 ">Right parenthesis</td>
</tr>
<tr><td align="left" valign="top" width="33.33333333333333%" headers="d0e138 ">5E</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e140 ">;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e142 ">Semicolon</td>
</tr>
<tr><td align="left" valign="top" width="33.33333333333333%" headers="d0e138 ">60</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e140 ">-</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e142 ">Minus sign</td>
</tr>
<tr><td align="left" valign="top" width="33.33333333333333%" headers="d0e138 ">61</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e140 ">/</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e142 ">Slash</td>
</tr>
<tr><td align="left" valign="top" width="33.33333333333333%" headers="d0e138 ">6B</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e140 ">,</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e142 ">Comma</td>
</tr>
<tr><td align="left" valign="top" width="33.33333333333333%" headers="d0e138 ">6C</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e140 ">%</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e142 ">Percent sign</td>
</tr>
<tr><td align="left" valign="top" width="33.33333333333333%" headers="d0e138 ">6D</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e140 ">_</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e142 ">Underline</td>
</tr>
<tr><td align="left" valign="top" width="33.33333333333333%" headers="d0e138 ">6E</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e140 ">&gt;</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e142 ">Greater than sign</td>
</tr>
<tr><td align="left" valign="top" width="33.33333333333333%" headers="d0e138 ">6F</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e140 ">?</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e142 ">Question mark</td>
</tr>
<tr><td align="left" valign="top" width="33.33333333333333%" headers="d0e138 ">7A</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e140 ">:</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e142 ">Colon</td>
</tr>
<tr><td align="left" valign="top" width="33.33333333333333%" headers="d0e138 ">7D</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e140 ">'</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e142 ">Single quotation mark</td>
</tr>
<tr><td align="left" valign="top" width="33.33333333333333%" headers="d0e138 ">7E</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e140 ">=</td>
<td align="left" valign="top" width="33.33333333333333%" headers="d0e142 ">Equal sign</td>
</tr>
<tr><td colspan="3" align="left" valign="top" headers="d0e138 d0e140 d0e142 "><div class="note"><span class="notetitle">Note:</span> In addition, you can use any of the following characters:<ul><li>Uppercase alphabetic characters: A through Z</li>
<li>Numeric characters: 0 through 9</li>
</ul>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<p>If the WDWBORDER keyword is specified at the record level, the
WINDOW or PULLDOWN keyword must also be specified on the same record. If a
WINDOW keyword that references another window is also specified, a warning
message is issued.</p>
<p>Option indicators are valid for this keyword.</p>
<p>You
can specify more than one WDWBORDER on a record. If you specify the WDWBORDER
keyword more than once at the file level or at a record level, the parameters
for the keywords that are in effect are combined on the same level. If different
values are specified for the same parameter, the parameter value of the first
keyword is used.</p>
<p>If the WDWBORDER keyword is specified both at the file
level and on a window or pull-down definition record, the parameter values
defined at both levels are combined. If different values are specified for
the same parameter, the parameter value at the record level is used.</p>
</div>
<div class="example"><h4 class="sectiontitle">Example</h4><p>The following example shows how to specify
the WDWBORDER keyword.</p>
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
A 01 WDWBORDER((*COLOR PNK) +
A (*DSPATR BL))
A R RECORD1 WINDOW(6 15 9 30)
A N01 WDWBORDER((*COLOR GRN))
A 01 WDWBORDER((*COLOR RED))
A FIELD1 5A B 2 2
A FIELD2 20A B 8 5
A R RECORD2 WINDOW(8 20 9 30)
A WDWBORDER((*COLOR YLW) +
A (*DSPATR RI))
A FIELD3 5A B 2 2
A FIELD4 20A B 8 5
A LINE 2S 0P
A POS 2S 0P
A R RECORD3 WINDOW(&amp;LINE &amp;POS 9 30)
A WDWBORDER((*CHAR +
A 02 '+-+||+-+'))
A FIELD3 5A B 2 2
A FIELD4 20A B 8 5
A LINE 2S 0P
A POS 3S 0P
A</pre>
<p>If the window defined by RECORD1 is written to the display
with indicator 01 set off, it has a green border constructed of colons for
the vertical borders and periods for the horizontal borders. If indicator
01 is set on, the window has a blinking red border.</p>
<p>When the window
defined by RECORD2 is written to the display, it has a yellow border displayed
in reverse image constructed of the default border characters.</p>
<div class="p">When
the window defined by RECORD3 is written to the display, the following output
appears: <ul><li>If indicator 02 is set on and indicator 01 is off, the window has a blue
border constructed of dashes for the top and bottom borders, vertical bars
for the left and right borders, and plus signs for the corners.</li>
<li>If indicator 02 is set off and indicator 01 is set on, the window has
a pink border.</li>
<li>If indicators 01 and 02 are on, the window has a pink border constructed
of dashes for the top and bottom borders, vertical bars for the left and right
borders, and plus signs for the corners.</li>
</ul>
</div>
</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="rzakcmstdfcolor.htm" title="Use this keyword to specify the color of a field on a color display.">COLOR (Color) keyword for display files</a></div>
</div>
</div>
</body>
</html>