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

174 lines
9.9 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="CHGINPDFT (Change Input Default) keyword for display files" />
<meta name="abstract" content="Use this file-, record-, or field-level keyword to change one or more input defaults for input-capable fields." />
<meta name="description" content="Use this file-, record-, or field-level keyword to change one or more input defaults for input-capable fields." />
<meta name="DC.subject" content="CHGINPDFT (Change Input Default) keyword, Change Input Default (CHGINPDFT) keyword" />
<meta name="keywords" content="CHGINPDFT (Change Input Default) keyword, Change Input Default (CHGINPDFT) 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="rzakcmstdfcind" />
<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>CHGINPDFT (Change Input Default) keyword for display files</title>
</head>
<body id="rzakcmstdfcind"><a name="rzakcmstdfcind"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">CHGINPDFT (Change Input Default) keyword for display files</h1>
<div><p>Use this file-, record-, or field-level keyword to change one or
more input defaults for input-capable fields.</p>
<div class="section"><p>Without parameter values, this keyword removes the underline for
input-capable fields (input only or input/output). With parameter values,
this keyword applies the specified display attributes or keyboard controls
to the affected input-capable fields.</p>
<div class="p">The format of the keyword is:
<pre>CHGINPDFT[(input-default1 input-default2 . . .)]</pre>
</div>
<p>Valid
parameter values for this keyword are:</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" width="100%" frame="void" border="0" rules="none"><thead align="left"><tr><th valign="top" width="33.33333333333333%" id="d0e33">Parameter value</th>
<th valign="top" width="33.33333333333333%" id="d0e35">Equivalent DDS keyword</th>
<th valign="top" width="33.33333333333333%" id="d0e37">Meaning</th>
</tr>
</thead>
<tbody><tr><td valign="top" width="33.33333333333333%" headers="d0e33 ">None</td>
<td valign="top" width="33.33333333333333%" headers="d0e35 ">DSPATR(UL) specified but not selected</td>
<td valign="top" width="33.33333333333333%" headers="d0e37 ">Remove underline</td>
</tr>
<tr><td valign="top" width="33.33333333333333%" headers="d0e33 ">BL</td>
<td valign="top" width="33.33333333333333%" headers="d0e35 ">DSPATR(BL)</td>
<td valign="top" width="33.33333333333333%" headers="d0e37 ">Blinking field</td>
</tr>
<tr><td valign="top" width="33.33333333333333%" headers="d0e33 ">CS</td>
<td valign="top" width="33.33333333333333%" headers="d0e35 ">DSPATR(CS)</td>
<td valign="top" width="33.33333333333333%" headers="d0e37 ">Column separators</td>
</tr>
<tr><td valign="top" width="33.33333333333333%" headers="d0e33 ">HI</td>
<td valign="top" width="33.33333333333333%" headers="d0e35 ">DSPATR(HI)</td>
<td valign="top" width="33.33333333333333%" headers="d0e37 ">High intensity</td>
</tr>
<tr><td valign="top" width="33.33333333333333%" headers="d0e33 ">RI</td>
<td valign="top" width="33.33333333333333%" headers="d0e35 ">DSPATR(RI)</td>
<td valign="top" width="33.33333333333333%" headers="d0e37 ">Reverse image</td>
</tr>
<tr><td valign="top" width="33.33333333333333%" headers="d0e33 ">UL</td>
<td valign="top" width="33.33333333333333%" headers="d0e35 ">DSPATR(UL)</td>
<td valign="top" width="33.33333333333333%" headers="d0e37 ">Underline</td>
</tr>
<tr><td valign="top" width="33.33333333333333%" headers="d0e33 ">FE</td>
<td valign="top" width="33.33333333333333%" headers="d0e35 ">CHECK(FE)</td>
<td valign="top" width="33.33333333333333%" headers="d0e37 ">Field exit</td>
</tr>
<tr><td valign="top" width="33.33333333333333%" headers="d0e33 ">LC</td>
<td valign="top" width="33.33333333333333%" headers="d0e35 ">CHECK(LC) or LOWER</td>
<td valign="top" width="33.33333333333333%" headers="d0e37 ">Lowercase</td>
</tr>
<tr><td valign="top" width="33.33333333333333%" headers="d0e33 ">ME</td>
<td valign="top" width="33.33333333333333%" headers="d0e35 ">CHECK(ME)</td>
<td valign="top" width="33.33333333333333%" headers="d0e37 ">Mandatory enter</td>
</tr>
<tr><td valign="top" width="33.33333333333333%" headers="d0e33 ">MF</td>
<td valign="top" width="33.33333333333333%" headers="d0e35 ">CHECK(MF)</td>
<td valign="top" width="33.33333333333333%" headers="d0e37 ">Mandatory fill</td>
</tr>
</tbody>
</table>
</div>
<div class="note"><span class="notetitle">Note:</span> If DSPATR(UL) is specified for a field, the CHGINPDFT keyword
cannot control underlining for that field.</div>
<p>The above equivalent DDS
keywords apply only to output fields. For input and both fields, DSPATR(UL)
also must be specified but not selected in addition to the equivalent keywords.
This is because DSPATR(UL) is applied to input and both fields by default
when CHGINPDFT is not specified.</p>
<p>Two common ways to use this keyword
are to allow lowercase data entry for all input-capable fields in a record
format or file and to specify column separators for all input-capable fields
in a record format or file.</p>
<p>At the file level, this keyword applies
to all input-capable fields in the file. At the record level, this keyword
applies to all input-capable fields in the record format. At the field level,
this keyword applies only to the fields for which it is specified.</p>
<p>If
you specify the CHGINPDFT keyword at more than one level, the lower level
keyword overrides the higher level keyword. Thus, specifying CHGINPDFT(BL)
at the file level and CHGINPDFT(HI) for a record format causes all input-capable
fields in the file except those in that record format to blink. In that record
format, all input-capable fields are highlighted.</p>
<p>The CHGINPDFT keyword
can be specified with any CHECK or DSPATR keyword. If you specify CHGINPDFT
at the file, record, or field level, you can add check codes or display attributes
to single fields by specifying CHECK or DSPATR at the field level. For instance,
if you specify CHGINPDFT(CS) at the record level and DSPATR(HI) at the field
level, the field is displayed with column separators and is highlighted. In
addition, the CHECK or DSPATR keyword at the field level controls the check
code or display attribute specified with it. For example, if you specify CHGINPDFT(CS)
at the record level and DSPATR(CS) with option indicators at the field level,
the setting of the option indicators controls the column separators for the
field.</p>
<p>If you display a field with UL, RI, and HI in effect, no matter
whether specified on the CHGINPDFT keyword, the DSPATR keyword, or a combination
of both, the field is not displayed.</p>
<p>When specified at the file or record
level, CHGINPDFT(LC) does not apply to numeric fields. If specified for a
numeric field, CHGINPDFT(LC) is ignored.</p>
<p>CHGINPDFT(MF) is not allowed
with CHECK(RB), CHECK(RZ), AUTO(RAB), AUTO(RAZ), or WRDWRAP 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 CHGINPDFT keyword.</p>
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A R RECORD1 CHGINPDFT
00020A FLD1 10 B 1 2
00030A FLD2 10 2 2
00040A R RECORD2 CHGINPDFT(CS)
00050A FLD3 10 I 3 2
00060A FLD4 10 B 4 2
00070A FLD5 10 B 5 2
00080A 01 DSPATR(CS)
00090A FLD6 10 6 2
00100A R RECORD3 CHGINPDFT(CS)
00110A FLD7 10 I 7 2
00120A FLD8 10 I 8 2
00130A 02 DSPATR(HI)
A</pre>
<p>CHGINPDFT is specified at the record level for RECORD1,
RECORD2, and RECORD3:</p>
<ul><li>For RECORD1, CHGINPDFT removes the underline for FLD1.</li>
<li>For RECORD2, CHGINPDFT can have the following results: <ul><li>FLD3 and FLD4 have column separators.</li>
<li>FLD5 has column separators only when DSPATR(CS) is selected.</li>
<li>FLD6 (an output-only field) has no column separators.</li>
</ul>
</li>
<li>For RECORD3, CHGINPDFT can have the following results: <ul><li>FLD7 and FLD8 have column separators.</li>
<li>FLD8 is also highlighted when DSPATR(HI) is selected.</li>
</ul>
</li>
</ul>
</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>