ibm-information-center/dist/eclipse/plugins/i5OS.ic.rbam6_5.4.0.1/spypop.htm

65 lines
4.4 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="Specify the prompt override program when creating or changing commands" />
<meta name="abstract" content="You can use a prompt override program by specifying the program name when creating or changing the command." />
<meta name="description" content="You can use a prompt override program by specifying the program name when creating or changing the command." />
<meta name="DC.subject" content="prompt override program, specifying when creating or changing command, command, CL, specifying prompt override program, when creating, specifying prompt override program, when changing" />
<meta name="keywords" content="prompt override program, specifying when creating or changing command, command, CL, specifying prompt override program, when creating, specifying prompt override program, when changing" />
<meta name="DC.Relation" scheme="URI" content="promptoverpgm.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/crtcmd.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/chgcmd.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="spypop" />
<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>Specify the prompt override program when creating or changing commands</title>
</head>
<body id="spypop"><a name="spypop"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Specify the prompt override program when creating or changing commands</h1>
<div><p>You can use a prompt override program by specifying the program
name when creating or changing the command.</p>
<div class="section"> <p>To use a prompt override program for a command you want to create,
specify the program name when you use the <span class="cmdname">Create Command (CRTCMD)</span> command.
You can also specify the program name when you change the command using the <span class="cmdname">Change
Command (CHGCMD)</span> command. For both commands, specify the name of
the prompt override program on the PMTOVRPGM parameter.</p>
<p>If key parameters
are defined in the command definition source but the prompt override program
is not specified when the command is created or changed, warning message CPD029B
results. The key parameters are ignored, and when the command is prompted,
it is displayed using the defaults specified in the command definition
source.</p>
<p>Sometimes a prompt override program is specified when a command
is created but when no key parameters are defined in the command definition
source. In these cases, the prompt override program is called before the command
is prompted; informational message CPD029A is sent when the command is created
or changed.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="promptoverpgm.htm" title="This describes how to use a prompt override program to allow current values rather than defaults to be displayed when a command is prompted.">Use a prompt override program</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="../cl/crtcmd.htm">Create Command (CRTCMD) command</a></div>
<div><a href="../cl/chgcmd.htm">Change Command (CHGCMD) command</a></div>
</div>
</div>
</body>
</html>