ibm-information-center/dist/eclipse/plugins/i5OS.ic.cl_5.4.0.1/crtcmd.htm

1175 lines
46 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Create Command (CRTCMD)</title>
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body bgcolor="white">
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<a name="CRTCMD.Top_Of_Page"></a>
<h2>Create Command (CRTCMD)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
<b>Threadsafe: </b>No
</td>
<td valign="top" align="right">
<a href="#CRTCMD.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CRTCMD.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CRTCMD.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CRTCMD"></a>
<p>The Create Command (CRTCMD) command creates a new user-defined command (that is, a command definition) that can use the same command processing support that is used by IBM-supplied commands. The command definition is an object that can be stored in the general purpose library (QGPL) or in a user library. To update an existing command (for example, change the name of one of its parameter keywords), the existing command must first be deleted by the Delete Command (DLTCMD) command and then created again by the Create Command (CRTCMD) command. However, some of the values can be changed by the Change Command (CHGCMD) command.
</p>
<p>To create a command, a set of command definition statements are entered into a source file. The Create Command (CRTCMD) command is used to process the source file and create a command definition object. The following command definition statements are used as needed:
</p>
<ul>
<li>Command statement (CMD): One CMD statement is needed for each command being defined.
</li>
<li>Parameter statement (PARM): One PARM statement is required for each command parameter in the command being defined. It defines the parameter to be passed to the command processing program (CPP).
</li>
<li>Element statement (ELEM): An ELEM statement further defines a parameter that is a list of values. One statement is required for each possible element of the list.
</li>
<li>Qualifier statement (QUAL): A QUAL statement is required to describe each part of a qualified name that can be accepted for a parameter (defined in a PARM statement) or for an element in a list of values (defined in an ELEM statement).
</li>
<li>Dependent statement (DEP): The DEP statement indicates which parameters are interdependent.
</li>
<li>Prompt control statement (PMTCTL): The PMTCTL statement describes the conditions used to select a parameter for prompting.
</li>
</ul>
<p>Descriptions of the command definition statements are in the Control Language (CL) topic of the Programming category in the iSeries Information Center at URL http://www.ibm.com/eserver/iseries/infocenter .
</p>
<p><b>Restriction:</b> The CRTCMD command can be used only to create the command definition of an actual CL command. That is, it cannot be used to create definitions of <i>statements</i>, such as the command definition statements themselves.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CRTCMD.PARAMETERS.TABLE">Parameters</a></h3>
<table border="1" cellpadding="4" cellspacing="0">
<!-- col1="10" col2="15" col3="30" col4="10" -->
<tr>
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CRTCMD.CMD"><b>CMD</b></a></td>
<td valign="top">Command</td>
<td valign="top"><i>Qualified object name</i></td>
<td valign="top" rowspan="3">Required, Positional 1</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Command</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*CURLIB</u></b></td>
</tr><tr>
<td valign="top" rowspan="3"><a href="#CRTCMD.PGM"><b>PGM</b></a></td>
<td valign="top">Program to process command</td>
<td valign="top">Single values: *REXX<br>Other values: <i>Qualified object name</i></td>
<td valign="top" rowspan="3">Required, Positional 2</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Program to process command</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
</tr><tr>
<td valign="top" rowspan="3"><a href="#CRTCMD.SRCFILE"><b>SRCFILE</b></a></td>
<td valign="top">Source file</td>
<td valign="top"><i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional, Positional 3</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Source file</td>
<td valign="top"><i>Name</i>, <b><u>QCMDSRC</u></b></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
</tr><tr>
<td valign="top"><a href="#CRTCMD.SRCMBR"><b>SRCMBR</b></a></td>
<td valign="top">Source member</td>
<td valign="top"><i>Name</i>, <b><u>*CMD</u></b></td>
<td valign="top">Optional, Positional 4</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CRTCMD.REXSRCFILE"><b>REXSRCFILE</b></a></td>
<td valign="top">REXX source file</td>
<td valign="top"><i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: REXX source file</td>
<td valign="top"><i>Name</i>, <b><u>QREXSRC</u></b></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
</tr><tr>
<td valign="top"><a href="#CRTCMD.REXSRCMBR"><b>REXSRCMBR</b></a></td>
<td valign="top">REXX source member</td>
<td valign="top"><i>Name</i>, <b><u>*CMD</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CRTCMD.REXCMDENV"><b>REXCMDENV</b></a></td>
<td valign="top">REXX command environment</td>
<td valign="top">Single values: <b><u>*COMMAND</u></b>, *CPICOMM, *EXECSQL<br>Other values: <i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: REXX command environment</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
</tr><tr>
<td valign="top" rowspan="5"><a href="#CRTCMD.REXEXITPGM"><b>REXEXITPGM</b></a></td>
<td valign="top">REXX exit programs</td>
<td valign="top">Single values: <b><u>*NONE</u></b><br>Other values (up to 8 repetitions): <i>Element list</i></td>
<td valign="top" rowspan="5">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: Program</td>
<td valign="top">
<i>Qualified object name</i></td>
</tr>
<tr>
<td valign="top" style="padding-left:10pt">Qualifier 1: Program</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top" style="padding-left:10pt">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
</tr><tr>
<td valign="top">Element 2: Exit code</td>
<td valign="top">
2, 3, 4, 5, 7, 8, 9, 10</td>
</tr>
<tr>
<td valign="top"><a href="#CRTCMD.THDSAFE"><b>THDSAFE</b></a></td>
<td valign="top">Threadsafe</td>
<td valign="top">*YES, <b><u>*NO</u></b>, *COND</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CRTCMD.MLTTHDACN"><b>MLTTHDACN</b></a></td>
<td valign="top">Multithreaded job action</td>
<td valign="top"><b><u>*SYSVAL</u></b>, *RUN, *MSG, *NORUN</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CRTCMD.TEXT"><b>TEXT</b></a></td>
<td valign="top">Text 'description'</td>
<td valign="top"><i>Character value</i>, <b><u>*SRCMBRTXT</u></b>, *CMDPMT, *BLANK</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CRTCMD.VLDCKR"><b>VLDCKR</b></a></td>
<td valign="top">Validity checking program</td>
<td valign="top">Single values: <b><u>*NONE</u></b><br>Other values: <i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Validity checking program</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
</tr><tr>
<td valign="top"><a href="#CRTCMD.MODE"><b>MODE</b></a></td>
<td valign="top">Mode in which valid</td>
<td valign="top">Single values: <b><u>*ALL</u></b><br>Other values (up to 3 repetitions): *PROD, *DEBUG, *SERVICE</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CRTCMD.ALLOW"><b>ALLOW</b></a></td>
<td valign="top">Where allowed to run</td>
<td valign="top">Single values: <b><u>*ALL</u></b><br>Other values (up to 9 repetitions): *BATCH, *INTERACT, *BPGM, *IPGM, *BREXX, *IREXX, *EXEC, *BMOD, *IMOD</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CRTCMD.ALWLMTUSR"><b>ALWLMTUSR</b></a></td>
<td valign="top">Allow limited users</td>
<td valign="top"><b><u>*NO</u></b>, *YES</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CRTCMD.MAXPOS"><b>MAXPOS</b></a></td>
<td valign="top">Maximum positional parameters</td>
<td valign="top">0-75, <b><u>*NOMAX</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CRTCMD.PMTFILE"><b>PMTFILE</b></a></td>
<td valign="top">Message file for prompt text</td>
<td valign="top">Single values: <b><u>*NONE</u></b><br>Other values: <i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Message file for prompt text</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
</tr><tr>
<td valign="top" rowspan="3"><a href="#CRTCMD.MSGF"><b>MSGF</b></a></td>
<td valign="top">Message file</td>
<td valign="top"><i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Message file</td>
<td valign="top"><i>Name</i>, <b><u>QCPFMSG</u></b></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
</tr><tr>
<td valign="top"><a href="#CRTCMD.HLPSHELF"><b>HLPSHELF</b></a></td>
<td valign="top">Help bookshelf</td>
<td valign="top"><i>Simple name</i>, <b><u>*NONE</u></b>, *LIST</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CRTCMD.HLPPNLGRP"><b>HLPPNLGRP</b></a></td>
<td valign="top">Help panel group</td>
<td valign="top">Single values: <b><u>*NONE</u></b><br>Other values: <i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Help panel group</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
</tr><tr>
<td valign="top"><a href="#CRTCMD.HLPID"><b>HLPID</b></a></td>
<td valign="top">Help identifier</td>
<td valign="top"><i>Character value</i>, *CMD, <b><u>*NONE</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CRTCMD.HLPSCHIDX"><b>HLPSCHIDX</b></a></td>
<td valign="top">Help search index</td>
<td valign="top">Single values: <b><u>*NONE</u></b><br>Other values: <i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Help search index</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
</tr><tr>
<td valign="top"><a href="#CRTCMD.CURLIB"><b>CURLIB</b></a></td>
<td valign="top">Current library</td>
<td valign="top"><i>Name</i>, <b><u>*NOCHG</u></b>, *CRTDFT</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CRTCMD.PRDLIB"><b>PRDLIB</b></a></td>
<td valign="top">Product library</td>
<td valign="top"><i>Name</i>, <b><u>*NOCHG</u></b>, *NONE</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CRTCMD.PMTOVRPGM"><b>PMTOVRPGM</b></a></td>
<td valign="top">Prompt override program</td>
<td valign="top">Single values: <b><u>*NONE</u></b><br>Other values: <i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Prompt override program</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
</tr><tr>
<td valign="top"><a href="#CRTCMD.AUT"><b>AUT</b></a></td>
<td valign="top">Authority</td>
<td valign="top"><i>Name</i>, <b><u>*LIBCRTAUT</u></b>, *USE, *ALL, *CHANGE, *EXCLUDE</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CRTCMD.REPLACE"><b>REPLACE</b></a></td>
<td valign="top">Replace command</td>
<td valign="top"><b><u>*YES</u></b>, *NO</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CRTCMD.ENBGUI"><b>ENBGUI</b></a></td>
<td valign="top">Enable GUI</td>
<td valign="top">*YES, <b><u>*NO</u></b></td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CRTCMD.CMD"></a>
<h3>Command (CMD)</h3>
<p>Specifies the command to be created.
</p>
<p><b>Qualifier 1: Command</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the command to be created.
</dd>
</dl>
<p>This is a required parameter.
</p>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*CURLIB</u></b></dt>
<dd>The command is created in the current library for the job. If no library is specified as the current library for the job, QGPL is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library where the command is to be located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCMD.PGM"></a>
<h3>Program to process command (PGM)</h3>
<p>Specifies the name and library of the command processing program (CPP) used to process the command. The command processing program is not needed until command run time.
</p>
<p>The parameters passed to the command processing program are the ones defined by the command definition statements in the source file specified in the <b>Source file (SRCFILE)</b> parameter.
</p>
<p>This is a required parameter.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b>*REXX</b></dt>
<dd>The CPP for this command is the REXX procedure identified on the <b>REXX source member (REXSRCMBR)</b> parameter.
</dd>
</dl>
<p><b>Qualifier 1: Program to process command</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the CPP that processes the command.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the library list for the current thread are searched until the first match is found.
</dd>
</dl>
<dl>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the job is used to locate the program. If no library is specified as the current library for the job, QGPL is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library where the program is located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCMD.SRCFILE"></a>
<h3>Source file (SRCFILE)</h3>
<p>Specifies the source file that contains the command definition statements.
</p>
<p><b>Qualifier 1: Source file</b>
</p>
<dl>
<dt><b><u>QCMDSRC</u></b></dt>
<dd>The source file named QCMDSRC contains the command definition statements.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the source file that contains the command definition statements for the command being created.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the library list for the current thread are searched until the first match is found.
</dd>
</dl>
<dl>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the job is used to locate the source file. If no library is specified as the current library for the job, QGPL is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the library name for the source file that contains the command definition statements for the command being created.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCMD.SRCMBR"></a>
<h3>Source member (SRCMBR)</h3>
<p>Specifies the source file member that contains the command definition statements used to create the command.
</p>
<dl>
<dt><b><u>*CMD</u></b></dt>
<dd>When the file specified for the <b>Source file (SRCFILE)</b> parameter is a database file, the name of the source file member is the name specified for the <b>Command (CMD)</b> parameter of this command.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the member in the source file specified for the SRCFILE parameter.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCMD.REXSRCFILE"></a>
<h3>REXX source file (REXSRCFILE)</h3>
<p>Specifies the source file that contains the REXX command processing program (CPP).
</p>
<p><b>Qualifier 1: REXX source file</b>
</p>
<dl>
<dt><b><u>QREXSRC</u></b></dt>
<dd>The file named QREXSRC contains the REXX CPP source file member.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the source file that contains the source member to use.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the library list for the current thread are searched until the first match is found.
</dd>
</dl>
<dl>
<dt><b>*CURLIB</b></dt>
<dd>The current library is used to locate the source file. If no library is specified as the current library for the job, QGPL is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library used to locate the REXX source file.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCMD.REXSRCMBR"></a>
<h3>REXX source member (REXSRCMBR)</h3>
<p>Specifies the source file member that contains the REXX procedure that is to function as the apparent command processing program (CPP).
</p>
<dl>
<dt><b><u>*CMD</u></b></dt>
<dd>The default member name is the name specified for the <b>Command (CMD)</b> parameter of this command.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the source file member that contains the REXX procedure that is to function as the apparent command processing program.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCMD.REXCMDENV"></a>
<h3>REXX command environment (REXCMDENV)</h3>
<p>Specifies the command environment that is active when the REXX command processing program (CPP) starts to run. If the system control language (CL) environment is not used, a program can be specified to process commands found in the REXX procedure. The REXX interpreter calls this program to process commands encountered in the procedure. This environment can be changed through the REXX ADDRESS instruction.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*COMMAND</u></b></dt>
<dd>The control language (CL) command environment is used.
</dd>
<dt><b>*CPICOMM</b></dt>
<dd>The Common Programming Interface (CPI) for Communications command environment is used. CPICOMM is the command environment used for CL commands that are embedded within a REXX procedure.
</dd>
<dt><b>*EXECSQL</b></dt>
<dd>The Structured Query Language (SQL) Command environment is used. EXECSQL is the command environment used for CL commands that are imbedded within a SQL procedure.
</dd>
</dl>
<p><b>Qualifier 1: REXX command environment</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the program to be called to process commands that are embedded in the REXX procedure.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the library list for the current thread are searched until the first match is found.
</dd>
</dl>
<dl>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the job is used to locate the program. If no library is specified as the current library for the job, QGPL is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library where the program is located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCMD.REXEXITPGM"></a>
<h3>REXX exit programs (REXEXITPGM)</h3>
<p>Specifies the exit programs to be used when the REXX command processing program (CPP) is started. A maximum of eight program and exit code combinations can be specified.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>There are no exit programs for the REXX CPP.
</dd>
</dl>
<p><b>Element 1: Program</b>
</p>
<dl>
<dt><b></b></dt>
<dd>
<p><b>Qualifier 1: Program</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the exit program.
</dd>
</dl>
</dd>
<dt><b></b></dt>
<dd>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the library list for the current thread are searched until the first match is found.
</dd>
</dl>
<dl>
<dt><b>*CURLIB</b></dt>
<dd>The current library list is used to locate the program. If no library is specified as the current library for the job, QGPL is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library to be searched.
</dd>
</dl>
</dd>
</dl>
<p><b>Element 2: Exit code</b>
</p>
<dl>
<dt><b>2</b></dt>
<dd>The associated program is called whenever an external function or subroutine has been called by the REXX program. The exit program is then responsible for locating and calling the requested routine.
</dd>
<dt><b>3</b></dt>
<dd>The associated program is called whenever the interpreter is going to call a command. The exit program is responsible for locating and calling the command given the command string and the current environment name.
</dd>
<dt><b>4</b></dt>
<dd>The associated program is called whenever a REXX instruction or function attempts an operation on the REXX external data queue.
</dd>
<dt><b>5</b></dt>
<dd>The associated program is called when session input or output operations are attempted.
</dd>
<dt><b>7</b></dt>
<dd>The associated program is called after running each clause of the REXX procedure to determine whether it should be halted.
</dd>
<dt><b>8</b></dt>
<dd>The associated program is called after running each clause of the REXX program to check whether tracing should be turned on or off.
</dd>
<dt><b>9</b></dt>
<dd>The associated program is called before interpretation of the first instruction of a REXX procedure (including REXX procedures called as external functions and subroutines).
</dd>
<dt><b>10</b></dt>
<dd>The associated program is called after interpretation of the last instruction of a REXX procedure (including REXX procedures called as external functions and subroutines).
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCMD.THDSAFE"></a>
<h3>Threadsafe (THDSAFE)</h3>
<p>Specifies whether the command is threadsafe and can be used safely in a job that has multiple threads.
</p>
<dl>
<dt><b><u>*NO</u></b></dt>
<dd>The command is not threadsafe and should not be used in a job that has multiple threads.
</dd>
<dt><b>*YES</b></dt>
<dd>The command is threadsafe and can be used safely in a job that has multiple threads.
</dd>
<dt><b>*COND</b></dt>
<dd>The command is threadsafe under certain conditions. See the online help or other documentation for the command to determine the conditions under which the command is threadsafe.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCMD.MLTTHDACN"></a>
<h3>Multithreaded job action (MLTTHDACN)</h3>
<p>Specify the multithreaded job action for this command. If you do not know the action to take in a multithreaded job, use the default value of *SYSVAL.
</p>
<dl>
<dt><b><u>*SYSVAL</u></b></dt>
<dd>The multithreaded job action specified in the QMLTTHDACN system value is used.
</dd>
<dt><b>*RUN</b></dt>
<dd>Run the command.
</dd>
<dt><b>*MSG</b></dt>
<dd>Run the command and send a diagnostic message.
</dd>
<dt><b>*NORUN</b></dt>
<dd>Do not run the command.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCMD.TEXT"></a>
<h3>Text 'description' (TEXT)</h3>
<p>Specifies the text that briefly describes the object.
</p>
<dl>
<dt><b><u>*SRCMBRTXT</u></b></dt>
<dd>The text is taken from the source file member used to create the CL command.
</dd>
<dt><b>*CMDPMT</b></dt>
<dd>The text is taken from the text defined for the PROMPT keyword of the CMD statement in the command definition source.
</dd>
<dt><b>*BLANK</b></dt>
<dd>No text is specified.
</dd>
<dt><b><i>'description'</i></b></dt>
<dd>Specify no more than 50 characters of text, enclosed in apostrophes.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCMD.VLDCKR"></a>
<h3>Validity checking program (VLDCKR)</h3>
<p>Specifies the program that performs additional validity checking on the parameters in the command being created. The same parameters that are passed to the command processing program (CPP) are also passed to the validity checking program. The validity checker performs additional parameter checking beyond that specified by the command definition statements in the source file, and beyond normal control language syntax checking. More information on validity checking is in the CL information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>There is no separate validity checking program for this command. All validity checking is done by the command analyzer and the command processing program. Whenever the command is processed or checked for validity, provided variables and expressions are not used.
</dd>
</dl>
<p><b>Qualifier 1: Validity checking program</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name and library of the validity checking program that checks the validity of the command.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the library list for the current thread are searched until the first match is found.
</dd>
</dl>
<dl>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the job is used to locate the program. If no library is specified as the current library for the job, QGPL is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library where the validity checking program is located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCMD.MODE"></a>
<h3>Mode in which valid (MODE)</h3>
<p>Specifies the modes of operating environment to which the newly defined command applies.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*ALL</u></b></dt>
<dd>The command is valid in all the types of modes: production, debug, and service.
</dd>
</dl>
<p><b>Other values (up to 3 repetitions)</b>
</p>
<dl>
<dt><b>*PROD</b></dt>
<dd>The command is valid for production mode operations.
</dd>
<dt><b>*DEBUG</b></dt>
<dd>The command is valid for debug mode operations.
</dd>
<dt><b>*SERVICE</b></dt>
<dd>The command is valid for service mode operations.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCMD.ALLOW"></a>
<h3>Where allowed to run (ALLOW)</h3>
<p>Specifies where the command can be processed.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*ALL</u></b></dt>
<dd>The command can be processed in a batch input stream, in a CL program, in a REXX procedure, in a CL ILE module, or when processed interactively. It can also be passed to the system program QCMDEXC (or QCAEXEC) for processing.
</dd>
</dl>
<p><b>Other values (up to 9 repetitions)</b>
</p>
<dl>
<dt><b>*BATCH</b></dt>
<dd>The command can be processed in a batch input stream, external to a compiled CL program.
</dd>
<dt><b>*INTERACT</b></dt>
<dd>The command can be processed interactively, external to a compiled CL program.
</dd>
<dt><b>*BPGM</b></dt>
<dd>The command can be processed in a compiled CL program that is called from batch entry.
</dd>
<dt><b>*IPGM</b></dt>
<dd>The command can be processed in a compiled CL program that is called from interactive entry.
</dd>
<dt><b>*BREXX</b></dt>
<dd>The command can be used in a REXX procedure run in a batch job.
</dd>
<dt><b>*IREXX</b></dt>
<dd>The command can be used in a REXX procedure run in an interactive job.
</dd>
<dt><b>*BMOD</b></dt>
<dd>The command can be used in a batch CL ILE program only.
</dd>
<dt><b>*IMOD</b></dt>
<dd>The command can be used in a interactive CL ILE program only.
</dd>
<dt><b>*EXEC</b></dt>
<dd>The command can be used as a parameter on the CALL command and be passed as a character string to the system program QCMDEXC (or QCAEXEC) for processing. If *EXEC is specified, either *BATCH or *INTERACT must also be specified.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCMD.ALWLMTUSR"></a>
<h3>Allow limited users (ALWLMTUSR)</h3>
<p>Specifies whether a user whose profile is set for limited capabilities is allowed to use the command by typing it in the command line on a menu.
</p>
<dl>
<dt><b><u>*NO</u></b></dt>
<dd>This command cannot be entered in the command line on a menu by a user whose profile is set for limited capabilities.
</dd>
<dt><b>*YES</b></dt>
<dd>This command can be entered in the command line on a menu by a user whose profile is set for limited capabilities.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCMD.MAXPOS"></a>
<h3>Maximum positional parameters (MAXPOS)</h3>
<p>Specifies the maximum number of parameters that can be specified positionally (without the parameter keyword) for this command. This parameter value must be greater than the number of nonconstant required parameters and less than the total number of nonconstant parameters. Parameters of TYPE(*ZEROELEM), parameters with the CONSTANT attribute, and lists and qualified names whose ELEMs and QUALs have the CONSTANT attribute or are of TYPE(*ZEROELEM) are not included in the number of parameters that can be coded positionally for this command.
</p>
<dl>
<dt><b><u>*NOMAX</u></b></dt>
<dd>No maximum positional coding limit is specified for this command.
</dd>
<dt><b><i>0-75</i></b></dt>
<dd>Specify the maximum number of positional parameters.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCMD.PMTFILE"></a>
<h3>Message file for prompt text (PMTFILE)</h3>
<p>Specifies the message file from which the prompt text for the command is retrieved.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>No message file is needed for the prompt text. The text, if any, is supplied in the definition statements that define the command.
</dd>
</dl>
<p><b>Qualifier 1: Message file for prompt text</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the message file.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the library list for the current thread are searched until the first match is found.
</dd>
</dl>
<dl>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the job is used to locate the message file. If no library is specified as the current library for the job, QGPL is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library where the message file is located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCMD.MSGF"></a>
<h3>Message file (MSGF)</h3>
<p>Specifies the message file from which messages identified on the Dependency (DEP) command definition statements are retrieved. The <b>Message identifier (MSGID)</b> parameter on the DEP statements lets you specify the message identifier to be sent if a parameter syntax error is detected. For message identifies with a three-character prefix other than 'CPF', the message file specified for this parameter will be used. QCPFMSG is always used for as the message file for messages that have the prefix 'CPF' in the message identifier.
</p>
<p><b>Qualifier 1: Message file</b>
</p>
<dl>
<dt><b><u>QCPFMSG</u></b></dt>
<dd>Message file QCPFMSG is the file from which DEP error messages are retrieved.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the message file from which DEP error messages are retrieved.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the library list for the current thread are searched until the first match is found.
</dd>
</dl>
<dl>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the job is used to locate the message file. If no library is specified as the current library for the job, QGPL is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library where the message file is located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCMD.HLPSHELF"></a>
<h3>Help bookshelf (HLPSHELF)</h3>
<p>This parameter is no longer supported.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCMD.HLPPNLGRP"></a>
<h3>Help panel group (HLPPNLGRP)</h3>
<p>Specifies the help panel group for this command.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>No help panel group is specified.
</dd>
</dl>
<p><b>Qualifier 1: Help panel group</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the help panel group for this command.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the library list for the current thread are searched until the first match is found.
</dd>
</dl>
<dl>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the job is used to locate the panel group. If no library is specified as the current library for the job, QGPL is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library where the panel group is located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCMD.HLPID"></a>
<h3>Help identifier (HLPID)</h3>
<p>Specifies the root name for all help section identifiers for this command. All help sections in the help panel group associated with this command will begin with this name.
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>No help identifier is specified. *NONE is not allowed if a panel group name is specified for the <b>Help panel group (HLPPNLGRP)</b> parameter.
</dd>
</dl>
<dl>
<dt><b>*CMD</b></dt>
<dd>The name of the command is to be used as the root for help section identifiers in the help panel group.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the root name for the help section identifiers for this command.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCMD.HLPSCHIDX"></a>
<h3>Help search index (HLPSCHIDX)</h3>
<p>Specifies the help search index to use when the search index function key is pressed from the help screen.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>No help search index is associated with this command.
</dd>
</dl>
<p><b>Qualifier 1: Help search index</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the search index to be used when the search index function key is pressed.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the library list for the current thread are searched until the first match is found.
</dd>
</dl>
<dl>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the job is used to locate the search index. If no library is specified as the current library for the job, the QGPL library is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library where the search index is located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCMD.CURLIB"></a>
<h3>Current library (CURLIB)</h3>
<p>Specifies the name of the current library associated with the job being run.
</p>
<p>
<b>Note: </b>This library is also the current library when the validity checker program (if any) is processed for the command.
</p>
<dl>
<dt><b><u>*NOCHG</u></b></dt>
<dd>The current library does not change for the processing of this command. If the current library is changed during processing of the command, the change remains in effect after command processing is complete.
</dd>
<dt><b>*CRTDFT</b></dt>
<dd>No current library is active during the processing of the command. The current library that was active before command processing began is restored when processing is completed.
<p>If *CURLIB was specified as the to-value for any single values or special values for this command, or for any command processed while no current library is active, the QGPL library is used as the current library.
</p>
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library that is used as the current library. The library need not exist when the command is created, but must exist when the command is processed. When command processing is completed, the current library is restored to its previous value. If the current library is changed during command processing by the Change Library List (CHGLIBL) command or Change Current Library (CHGCURLIB) command, the change is effective only until the command is processed. QTEMP cannot be specified for the current library.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCMD.PRDLIB"></a>
<h3>Product library (PRDLIB)</h3>
<p>Specifies the product library that is to be in effect during the processing of the command.
</p>
<p>
<b>Note: </b>The product library for a command or menu remains in the library list while a command or menu is active, unless another command or menu changes the product library. When a command or menu that changed the product library ends, the product library is restored to what it was when the command or menu started.
</p>
<dl>
<dt><b><u>*NOCHG</u></b></dt>
<dd>The product library is not changed when processing of the command starts. If the product library is changed during the processing of the command, the change remains in effect after command processing is complete.
</dd>
<dt><b>*NONE</b></dt>
<dd>There is no product library in the job's library list. The product library is restored to its previous value when command processing is complete.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library to be used as the product library during command processing. The library need not exist when the command is created, but must exist when the command is processed. When command processing is completed, the product library is restored to its previous value. QTEMP cannot be specified for the product library.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCMD.PMTOVRPGM"></a>
<h3>Prompt override program (PMTOVRPGM)</h3>
<p>Specifies the name and library of the prompt override program (POP) that will replace (on the prompt display) the default values with the current actual values specified for the parameter. If a POP is specified, the key parameters (specified as KEYPARM(*YES) on the PARM statement in the command definition source) are the only parameters visible on the initial prompt display. When values are input for the key parameters, the remaining parameters are shown on the display with the actual values instead of the default values.
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>No prompt override program is specified.
<p>
<b>Note: </b>If *NONE is specified when key parameters exist in the command definition source (that is when KEYPARM(*YES) is specified on the PARM statement), a warning message is issued when the command is created, and KEYPARM(*NO) will be assumed for all parameters.
</p>
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the prompt override program for the command.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the library list for the current thread are searched until the first match is found.
</dd>
</dl>
<dl>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the job is used to locate the prompt override program. If no library is specified as the current library for the job, QGPL is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library where the prompt override program is located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCMD.AUT"></a>
<h3>Authority (AUT)</h3>
<p>Specifies the authority you are giving to users who do not have specific authority for the object, who are not on an authorization list, and whose group profile or supplemental group profiles do not have specific authority for the object.
</p>
<dl>
<dt><b><u>*LIBCRTAUT</u></b></dt>
<dd>The system determines the authority for the object by using the value specified on the <b>Create authority (CRTAUT)</b> parameter on the Create Library command (CRTLIB) for the library containing the object to be created. If the value specified on the <b>Create authority (CRTAUT)</b> parameter is changed, the new value will not affect any existing objects.
</dd>
</dl>
<dl>
<dt><b>*CHANGE</b></dt>
<dd>The user can perform all operations on the object except those limited to the owner or controlled by object existence (*OBJEXIST) and object management (*OBJMGT) authorities. The user can change and perform basic functions on the object. *CHANGE authority provides object operational (*OBJOPR) authority and all data authority. If the object is an authorization list, the user cannot add, change, or remove users.
</dd>
</dl>
<dl>
</dl>
<dl>
<dt><b>*ALL</b></dt>
<dd>The user can perform all operations except those limited to the owner or controlled by authorization list management (*AUTLMGT) authority. The user can control the object's existence, specify the security for the object, change the object, and perform basic functions on the object. The user also can change ownership of the object.
</dd>
</dl>
<dl>
</dl>
<dl>
<dt><b>*USE</b></dt>
<dd>The user can perform basic operations on the object, such as running a program or reading a file. The user cannot change the object. Use (*USE) authority provides object operational (*OBJOPR), read (*READ), and execute (*EXECUTE) authorities.
</dd>
</dl>
<dl>
</dl>
<dl>
<dt><b>*EXCLUDE</b></dt>
<dd>The user cannot access the object.
</dd>
</dl>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of an authorization list. Users included on the authorization list are granted authority to the object as specified by the list. The authorization list must exist when the object is created.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCMD.REPLACE"></a>
<h3>Replace command (REPLACE)</h3>
<p>Specifies whether or not an existing commmand object with the same name and library as the command being created should be replaced.
</p>
<p>If you specify *YES and a command object already exists with the same name and in the same library, the existing command is renamed and moved to library QRPLOBJ, and will be deleted the next time an IPL of the operating system occurs.
</p>
<dl>
<dt><b><u>*YES</u></b></dt>
<dd>If the create operation is successful, existing commands are replaced by new versions of the same command.
</dd>
<dt><b>*NO</b></dt>
<dd>Existing commands are not replaced, and the creation of new commands with the same name, type, and library as the existing commands is not allowed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCMD.ENBGUI"></a>
<h3>Enable GUI (ENBGUI)</h3>
<p>Specifies whether the command prompt panels are enabled for conversion to a graphical user interface.
</p>
<dl>
<dt><b><u>*NO</u></b></dt>
<dd>The command prompt panels are not enabled for conversion to a graphical user interface.
</dd>
<dt><b>*YES</b></dt>
<dd>The command prompt panels are enabled for conversion to a graphical user interface by including information about the panel content in the 5250 data stream.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CRTCMD.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
CRTCMD CMD(PAYROLL) PGM(PAY076) SRCFILE(PAYSOURCE)
AUT(*EXCLUDE)
</pre>
</p>
<p>The command named PAYROLL is created from the source file PAYSOURCE. The command is private and calls the command processing program (CPP) named PAY076. It is a valid command when entered in a batch input stream, when compiled in a control language program, when entered interactively, or when passed to the QCMDEXC program.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CRTCMD.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF0201</b></dt>
<dd>Command &amp;2 not created in library &amp;3.
</dd>
<dt><b>CPF0210</b></dt>
<dd>Cannot open printer file.
</dd>
<dt><b>CPF0212</b></dt>
<dd>Unable to open source file.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCMD.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>