131 lines
6.2 KiB
HTML
131 lines
6.2 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="ALTHELP (Alternative Help Key) keyword for display files" />
|
||
|
<meta name="abstract" content="Use this file-level keyword to assign a command attention (CA) key as an alternative Help key." />
|
||
|
<meta name="description" content="Use this file-level keyword to assign a command attention (CA) key as an alternative Help key." />
|
||
|
<meta name="DC.subject" content="ALTHELP (Alternative Help) keyword, Alternative Help (ALTHELP) keyword" />
|
||
|
<meta name="keywords" content="ALTHELP (Alternative Help) keyword, Alternative Help (ALTHELP) keyword" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzakcmstkeyent.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzakcmstdfhelp.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="rzakcmstdfalhlp" />
|
||
|
<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>ALTHELP (Alternative Help Key) keyword for display files</title>
|
||
|
</head>
|
||
|
<body id="rzakcmstdfalhlp"><a name="rzakcmstdfalhlp"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">ALTHELP (Alternative Help Key) keyword for display files</h1>
|
||
|
<div><p>Use this file-level keyword to assign a command attention (CA)
|
||
|
key as an alternative Help key.</p>
|
||
|
<div class="section"><p>When either the Help key or the CA key is pressed, the help function
|
||
|
is called.</p>
|
||
|
<div class="p">The format of the keyword is: <pre>ALTHELP[(CAnn)]</pre>
|
||
|
</div>
|
||
|
<p>The
|
||
|
valid values for the optional parameter are CA01 through CA24. If the parameter
|
||
|
is not specified, CA01 is the default.</p>
|
||
|
<p>The HELP keyword must also be
|
||
|
specified, either at the file level or on at least one record in the file.
|
||
|
ALTHELP applies only to records for which the HELP keyword also applies. If
|
||
|
HELP is specified at the file level, it applies to all records in the file;
|
||
|
thus, ALTHELP also applies to all records in the file. If HELP is specified
|
||
|
at the record level, ALTHELP applies only to those records that have the HELP
|
||
|
keyword specified. See the HELP (Help) keyword for display files topic for
|
||
|
information about how to specify the HELP keyword.</p>
|
||
|
<p>If you specify a
|
||
|
response indicator on the HELP keyword, the response indicator is set on and
|
||
|
control is returned to your program when either the Help key or the CAnn key
|
||
|
is pressed.</p>
|
||
|
<p>If you specify option indicators on the HELP keyword, the
|
||
|
same option indicators apply to the ALTHELP keyword. That is, both the Help
|
||
|
key and the CAnn key are active when the indicator condition is true.</p>
|
||
|
<p>The following keywords cannot be specified in a file with
|
||
|
an ALTHELP keyword that has no parameter (CA01 default):</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>ALTPAGEDWN(CF01)<br />
|
||
|
ALTPAGEUP(CF01)<br />
|
||
|
CA01<br />
|
||
|
CF01<br />
|
||
|
MNUCNL(CA01)<br />
|
||
|
MNUBARSW(CA01)<br />
|
||
|
MOUBTN(...CF01)</p>
|
||
|
</td>
|
||
|
<td valign="top" width="50%"><p>PSHBTNCHC(...CF01)<br />
|
||
|
SFLDROP(CA01)<br />
|
||
|
SFLDROP(CF01)<br />
|
||
|
SFLENTER(CA01)<br />
|
||
|
SFLENTER(CF01)<br />
|
||
|
SFLFOLD(CA01)<br />
|
||
|
SFLFOLD(CF01)</p>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<p>Similarly, the following keywords cannot be specified
|
||
|
in a file with ALTHELP(CA<var class="varname">nn</var>) (where <var class="varname">nn</var> is
|
||
|
the same number):</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>ALTPAGEDWN(CFnn)<br />
|
||
|
ALTPAGEUP(CFnn)<br />
|
||
|
CAnn<br />
|
||
|
CFnn<br />
|
||
|
MNUCNL(CAnn)<br />
|
||
|
MNUBARSW(CAnn)<br />
|
||
|
MOUBTN(...CFnn)</p>
|
||
|
</td>
|
||
|
<td valign="top" width="50%"><p>PSHBTNCHC(...CFnn)<br />
|
||
|
SFLDROP(CAnn)<br />
|
||
|
SFLDROP(CFnn)<br />
|
||
|
SFLENTER(CAnn)<br />
|
||
|
SFLENTER(CFnn)<br />
|
||
|
SFLFOLD(CAnn)<br />
|
||
|
SFLFOLD(CFnn)</p>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<p>You cannot specify RETKEY or RETCMDKEY in a file with the ALTHELP
|
||
|
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 ALTHELP keyword.</p>
|
||
|
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
|
||
|
A ALTHELP
|
||
|
A HELP(01 'HELP KEY PRESSED')
|
||
|
A R RECORD
|
||
|
A FIELD1 20A 5 5
|
||
|
A</pre>
|
||
|
<p>The CA01 key is an alternative Help key. If the user
|
||
|
presses the CA01 key or the Help key, response indicator 01 is set on and
|
||
|
control returns to the application program.</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 class="relref"><strong>Related reference</strong><br />
|
||
|
<div><a href="rzakcmstdfhelp.htm" title="Use this file- or record-level keyword to enable the Help key.">HELP (Help) keyword for display files</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|