84 lines
5.6 KiB
HTML
84 lines
5.6 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="task" />
|
|
<meta name="DC.Title" content="Key parameters and prompt override programs" />
|
|
<meta name="abstract" content="The prompt override program allows current values rather than defaults to be displayed when a command is prompted. Key parameters are parameters, such as the name of an object, that uniquely identify the object." />
|
|
<meta name="description" content="The prompt override program allows current values rather than defaults to be displayed when a command is prompted. Key parameters are parameters, such as the name of an object, that uniquely identify the object." />
|
|
<meta name="DC.subject" content="key parameter, using, parameter, key, prompt override program, using key parameter" />
|
|
<meta name="keywords" content="key parameter, using, parameter, key, prompt override program, using key parameter" />
|
|
<meta name="DC.Relation" scheme="URI" content="defcm.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="promptoverpgm.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="sampop.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="comprover.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="addpmt.htm" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
|
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="pop" />
|
|
<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>Key parameters and prompt override programs</title>
|
|
</head>
|
|
<body id="pop"><a name="pop"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Key parameters and prompt override programs</h1>
|
|
<div><p>The prompt override program allows current values rather than defaults
|
|
to be displayed when a command is prompted. Key parameters are parameters,
|
|
such as the name of an object, that uniquely identify the object. </p>
|
|
<div class="section"> <p>If a prompt override program is defined for a command, you can
|
|
see the results of calling the prompt override program in the following two
|
|
ways:</p>
|
|
<ul><li>Type the name of the command without parameters on any command line and
|
|
press F4=Prompt. The next screen shows the key parameters for the command. <p>Complete
|
|
all fields shown and press the Enter key. The next screen shows all command
|
|
parameters, and the parameter fields that are not key parameter fields contain
|
|
current values rather than defaults (such as *SAME and *PRV).</p>
|
|
<p>For example,
|
|
if you type <samp class="codeph">CHGLIB</samp> on a command line and press F4=Prompt,
|
|
you see only the Library parameter. If you then type <samp class="codeph">*CURLIB</samp> and
|
|
press the Enter key, the current values for your current library are displayed.</p>
|
|
</li>
|
|
<li>Type the name of the command and the values for all key parameters on
|
|
any command line. Press F4=Prompt. The next screen shows all command parameters,
|
|
and the parameter fields that are not key parameter fields will contain current
|
|
values rather than defaults (such as *SAME and *PRV). <p>For example, if
|
|
you type <samp class="codeph">CHGLIB LIB(*CURLIB)</samp> on a command line and press
|
|
F4=Prompt, the current values for your current library are displayed.</p>
|
|
</li>
|
|
</ul>
|
|
<p>When F10=Additional parameters is pressed, any parameters defined
|
|
with PMTCTL(*PMTRQS) are displayed with current values.</p>
|
|
<p>To
|
|
exit the command prompt, press F3=Exit.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<ul class="ullinks">
|
|
<li class="ulchildlink"><strong><a href="promptoverpgm.htm">Use a prompt override program</a></strong><br />
|
|
This describes how to use a prompt override program to allow current values rather than defaults to be displayed when a command is prompted.</li>
|
|
<li class="ulchildlink"><strong><a href="sampop.htm">Example: Use a prompt override program</a></strong><br />
|
|
This example shows the command source for a command and the prompt override program.</li>
|
|
</ul>
|
|
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="defcm.htm" title="This describes how you can define and create your own commands.">Define commands</a></div>
|
|
</div>
|
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
|
<div><a href="comprover.htm" title="You can write prompt override programs to supply current values for parameter defaults when prompting the command.">Prompt override program</a></div>
|
|
<div><a href="addpmt.htm" title="You can specify that a parameter which is not frequently used will not be prompted for unless the user requests additional parameters by pressing a function key during prompting.">Additional parameters</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |