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

73 lines
4.5 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="Prompt for user input at runtime" />
<meta name="abstract" content="You can prompt the workstation user for input to a CL procedure or program." />
<meta name="description" content="You can prompt the workstation user for input to a CL procedure or program." />
<meta name="DC.subject" content="control language (CL), program, allowing user changes at run time, changing, CL program at run time, run time, allowing user changes to CL commands" />
<meta name="keywords" content="control language (CL), program, allowing user changes at run time, changing, CL program at run time, run time, allowing user changes to CL commands" />
<meta name="DC.Relation" scheme="URI" content="clpro.htm" />
<meta name="DC.Relation" scheme="URI" content="prmpt.htm" />
<meta name="DC.Relation" scheme="URI" content="secpr.htm" />
<meta name="DC.Relation" scheme="URI" content="qcaex.htm" />
<meta name="DC.Relation" scheme="URI" content="workv.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="allow" />
<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>Prompt for user input at runtime</title>
</head>
<body id="allow"><a name="allow"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Prompt for user input at runtime</h1>
<div><p>You can prompt the workstation user for input to a CL procedure
or program.</p>
<div class="section"> <p>With most CL procedures and programs, the workstation user provides
input to the procedure or program by specifying parameter values passed to
the procedure or program or by typing into input-capable fields on a display
prompt.</p>
<p>You can also prompt the workstation user for input to a CL procedure
or program in the following ways: </p>
<ul><li>If you enter a ? before the CL command in the CL procedure or program
source, the system displays a prompt for the CL command. Parameter values
you have already specified in your procedure or program are filled in and
cannot be changed by the workstation user.</li>
<li>If you call the QCMDEXC program and request selective prompting, the system
displays a prompt for a CL command, but you need not specify in the CL program
source which CL command is to be used at processing time.</li>
</ul>
</div>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="prmpt.htm">Use the i5/OS prompter within a CL procedure or program</a></strong><br />
You can request prompting within the interactive processing of a CL procedure or program.</li>
<li class="ulchildlink"><strong><a href="secpr.htm">Use selective prompting for CL commands</a></strong><br />
You can request to prompt for selected parameters within a command.</li>
<li class="ulchildlink"><strong><a href="qcaex.htm">Use QCMDEXC with prompting in CL procedures and programs</a></strong><br />
The QCMDEXC program may be used to call the prompter.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="clpro.htm" title="This provides tasks and concepts specific to CL programming.">CL programming</a></div>
</div>
<div class="reltasks"><strong>Related tasks</strong><br />
<div><a href="workv.htm" title="CL procedures consist of CL commands, and the commands themselves consist of the command statement, parameters, and parameter values.">Use variables</a></div>
</div>
</div>
</body>
</html>