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

95 lines
5.5 KiB
HTML
Raw Permalink 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="task" />
<meta name="DC.Title" content="Use the Start Programmer Menu (STRPGMMNU) command" />
<meta name="abstract" content="The Start Programmer Menu (STRPGMMNU) command can be used for various purposes." />
<meta name="description" content="The Start Programmer Menu (STRPGMMNU) command can be used for various purposes." />
<meta name="DC.subject" content="STRPGMMNU (Start Programmer Menu) command, using, Start Programmer Menu (STRPGMMNU) command, command, CL, STRPGMMNU (Start Programmer Menu), Start Programmer Menu (STRPGMMNU), programmer menu, starting" />
<meta name="keywords" content="STRPGMMNU (Start Programmer Menu) command, using, Start Programmer Menu (STRPGMMNU) command, command, CL, STRPGMMNU (Start Programmer Menu), Start Programmer Menu (STRPGMMNU), programmer menu, starting" />
<meta name="DC.Relation" scheme="URI" content="pmenu.htm" />
<meta name="DC.Relation" scheme="URI" content="exitp.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/strpgmmnu.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="dsppg" />
<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>Use the Start Programmer Menu (STRPGMMNU) command</title>
</head>
<body id="dsppg"><a name="dsppg"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Use the Start Programmer Menu (STRPGMMNU) command</h1>
<div><p>The <span class="cmdname">Start Programmer Menu (STRPGMMNU)</span> command
can be used for various purposes.</p>
<div class="section"> <ul><li>Performing the same function as a call to QPGMMENU</li>
<li>Filling in the standard input fields <div class="p">Four of the command parameters
allow you to fill in the standard input fields at the bottom of the menu.
These parameters are the following: <ul><li>Source file</li>
<li>Source library</li>
<li>Object library</li>
<li>Job description</li>
</ul>
</div>
</li>
</ul>
<p>The command may be used with one or more of the parameters that control
the initial values of the menu. You could design this as part of an initial
program for sign-on or for situations in which a user calls a specific user-written
function. The following example shows such a program, with a separate function
for each application area requiring different initial values. </p>
<pre> PGM
CHGLIBL LIBL(PGMR1 QGPL QTEMP)
LOOP:
STRPGMMNU SRCLIB(PGMR1) OBJLIB(PGMR1) JOBD(PGMR1)
MONMSG MSGID(CPF2320) EXEC(GOTO END) /* F3 or F12 to leave menu */
GOTO LOOP
END: ENDPGM</pre>
<ul><li>Controlling programmer menu options <p>The other parameters assist you
in controlling the menu and its functions. For example, you can specify ALWUSRCHG(*NO)
to prevent a user from changing the values that appear on the menu. This
parameter should not be considered to be a security feature because a user
who is using the menu can call the <span class="cmdname">Start Programmer Menu (STRPGMMNU)</span> command
and change the values in a separate call. (The user can also start functions
by using F10 to call the command entry display.) If the menu is displayed
by the <span class="cmdname">Start Programmer Menu (STRPGMMNU)</span> command, you can
prevent the user (by authorization) from calling the QPGMMENU program directly,
but you cannot prevent the user from requesting another call of the <span class="cmdname">Start
Programmer Menu (STRPGMMNU)</span> command.</p>
</li>
<li>Adapting the menu create option <p>The EXITPGM and DLTOPT parameters
allow you to provide your own support for the menu create option (option 3).
The system may call a user program when you request option 3. IBM<sup>®</sup> provides online
information that discusses the parameters and the parameter list that are
passed to the user program. For more information, see <a href="passp.htm">Pass parameters</a>. </p>
</li>
</ul>
</div>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="exitp.htm">Use the EXITPGM parameter</a></strong><br />
The EXITPGM parameter can be used for various purposes.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="pmenu.htm" title="You can enter program source using the programmer menu.">Enter program source</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="../cl/strpgmmnu.htm">Start Programmer Menu (STRPGMMNU) command</a></div>
</div>
</div>
</body>
</html>