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

117 lines
6.5 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="VLDCMDKEY (Valid Command Key) keyword for display files" />
<meta name="abstract" content="Use this file- or record-level keyword to specify that the i5/OS program is to set on the specified response indicator when any valid command key other than the Enter key is pressed by the workstation user." />
<meta name="description" content="Use this file- or record-level keyword to specify that the i5/OS program is to set on the specified response indicator when any valid command key other than the Enter key is pressed by the workstation user." />
<meta name="DC.subject" content="VLDCMDKEY (Valid Command Key) keyword, Valid Command Key (VLDCMDKEY) keyword" />
<meta name="keywords" content="VLDCMDKEY (Valid Command Key) keyword, Valid Command Key (VLDCMDKEY) 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="rzakcmstdfvckey" />
<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>VLDCMDKEY (Valid Command Key) keyword for display files</title>
</head>
<body id="rzakcmstdfvckey"><a name="rzakcmstdfvckey"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">VLDCMDKEY (Valid Command Key) keyword for display files</h1>
<div><p>Use this file- or record-level keyword to specify that the <span class="keyword">i5/OS™</span> program is to set on the specified
response indicator when any valid command key other than the Enter key is
pressed by the workstation user.</p>
<div class="section"><p>One use of this function is to perform a simple test to determine
if the workstation user has requested a function you want to watch for in
your program.</p>
<p>See the <a href="s36env.htm">System/36 environment considerations for display files</a> topic for information
about how to specify the VLDCMDKEY keyword in files that are used in the System/36™ environment.</p>
<div class="p">The
format of the keyword is: <pre>VLDCMDKEY(response-indicator ['text'])</pre>
</div>
<p>The
response-indicator parameter is required.</p>
<p>The optional text is included
on the computer printout created at program compilation to explain the intended
use of the indicator. This text's only function in the file or the program
is a comment. The single quotation marks are required. If you specify more
than 50 characters between the single quotation marks, the text is truncated
to 50 characters on the program computer printout.</p>
<div class="p">For a command key
to be considered valid, you must have activated the key by specifying it with
one of the following keywords: <dl><dt><strong>Keyword</strong></dt>
<dd><strong>Comments</strong></dd>
<dt class="dlterm">ALTHELP(CAnn)</dt>
<dd>With or without response indicator on the HELP keyword. Causes the command
attention key specified to be considered a valid command key.</dd>
<dt class="dlterm">ALTPAGEUP(CFnn)</dt>
<dd>With or without response indicator on the PAGEUP keyword. Causes the command
function key specified to be considered a valid command key if PAGEUP is also
specified.</dd>
<dt class="dlterm">ALTPAGEDWN(CFnn)</dt>
<dd>With or without response indicator on the PAGEDOWN keyword. Causes the
command function key specified to be considered a valid command key if PAGEDOWN
is also specified.</dd>
<dt class="dlterm">CAnn</dt>
<dd>With or without response indicator.</dd>
<dt class="dlterm">CFnn</dt>
<dd>With or without response indicator.</dd>
<dt class="dlterm">CLEAR</dt>
<dd>With or without response indicator.</dd>
<dt class="dlterm">HELP</dt>
<dd>Valid only when HELP key is passed back to application as follows: <ul><li>HELP and HLPRTN (with or without a response indicator).</li>
<li>HELP (with or without a response indicator) and no help areas are defined
for any records currently being displayed.</li>
</ul>
</dd>
<dt class="dlterm">HOME</dt>
<dd>With or without response indicator.</dd>
<dt class="dlterm">PAGEDOWN</dt>
<dd>With or without response indicator.</dd>
<dt class="dlterm">PAGEUP</dt>
<dd>With or without response indicator.</dd>
<dt class="dlterm">PRINT</dt>
<dd>Valid only when PRINT key is passed back to application as follows: <ul><li>PRINT (with a response indicator).</li>
<li>PRINT (*PGM).</li>
</ul>
</dd>
<dt class="dlterm">ROLLUP</dt>
<dd>With or without response indicator.</dd>
<dt class="dlterm">ROLLDOWN</dt>
<dd>With or without response indicator.</dd>
</dl>
</div>
<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 VLDCMDKEY keyword.</p>
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A R REC1 VLDCMDKEY(90 'Any valid key')
00020A CA01(91)
00030A CA02(92)
00040A CA03(93)
00050A CLEAR(94)
A</pre>
<p>In this example, Indicator 90 is set on if any of four
keys (CA01, CA02, CA03, or Clear) is pressed.</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>