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

112 lines
7.1 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="Display a command definition" />
<meta name="abstract" content="You can use the Display Command (DSPCMD) command to display or print the values that were specified as parameters on the CRTCMD command." />
<meta name="description" content="You can use the Display Command (DSPCMD) command to display or print the values that were specified as parameters on the CRTCMD command." />
<meta name="DC.subject" content="DSPCMD (Display Command) command, Display Command (DSPCMD) command, command, CL, DSPCMD (Display Command), Display Command (DSPCMD), displaying, command, command definition, command definition" />
<meta name="keywords" content="DSPCMD (Display Command) command, Display Command (DSPCMD) command, command, CL, DSPCMD (Display Command), Display Command (DSPCMD), displaying, command, command definition, command definition" />
<meta name="DC.Relation" scheme="URI" content="defcm.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/crtcmd.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/chgcmd.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/dspcmd.htm" />
<meta name="DC.Relation" scheme="URI" content="../apis/qcdrcmdi.htm" />
<meta name="DC.Relation" scheme="URI" content="../apis/qcdrcmdd.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="dcdef" />
<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>Display a command definition</title>
</head>
<body id="dcdef"><a name="dcdef"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Display a command definition</h1>
<div><p>You can use the <span class="cmdname">Display Command (DSPCMD)</span> command
to display or print the values that were specified as parameters on the CRTCMD
command. </p>
<div class="section"> <p>The <span class="cmdname">Display Command (DSPCMD)</span> command displays
the following information for your commands or for IBM-supplied commands:
</p>
<ul><li>Qualified command name. The library name is the name of the library in
which the command being displayed is located.</li>
<li>Qualified name of the command processing program. The library name is
the name of the library in which the command processing program resided when
the command was created if a library name was specified on the <span class="cmdname">Create
Command (CRTCMD)</span> or <span class="cmdname">Change Command (CHGCMD)</span> command.
If a library name was not specified, *LIBL is displayed as the library qualifier.
If the CPP is a REXX procedure, *REXX is shown.</li>
<li>Qualified source file name, if the source file was a database file. The
library name is the name of the library in which the source file was located
when the CRTCMD command was processed. This field is blank if the source
file was not a database file.</li>
<li>Source file member name, if the source file was a database source file.</li>
<li>If the CPP is a REXX procedure, the following information is shown: <ul><li>REXX procedure member name</li>
<li>Qualified REXX source file name where the REXX procedure is located</li>
<li>REXX command environment</li>
<li>REXX exit programs</li>
</ul>
</li>
<li>Qualified name of the validity checking program. The library name is
the name of the library in which the program resided when the command was
created if a library name was specified on the <span class="cmdname">Create Command (CRTCMD)</span> or <span class="cmdname">Change
Command (CHGCMD)</span> command. If a library name was not specified, *LIBL
is displayed as the library qualifier.</li>
<li>Valid modes of operation.</li>
<li>Valid environments in which the command can be run.</li>
<li>The positional limit for the command. *NOMAX is displayed if no positional
limit exists for the command.</li>
<li>Qualified name of the prompt message file. The library name is the name
of the library in which the message file was located when the CRTCMD command
was run. *NONE is displayed if no prompt message file exists for the command.</li>
<li>Qualified name of the message file for the DEP statement. If a library
name was specified for the message file when the command was created, that
library name is displayed. If the library list was used when the command
was created, *LIBL is displayed. *NONE is displayed if no DEP message file
exists for the command.</li>
<li>Qualified name of the help panel group.</li>
<li>The help identifier name for the command.</li>
<li>Qualified name for the prompt override program.</li>
<li>Text associated with the command. Blanks are displayed if no text exists
for the command.</li>
<li>Indicator for whether the command prompt is enabled for conversion to
a graphical user interface.</li>
<li>Threadsafe indicator.</li>
<li>Multithreaded job action, if the command is not threadsafe.</li>
</ul>
<p>You can use the <span class="apiname">Retrieve Command Information (QCDRCMDI)</span> API
to return command attributes that were specified on the <span class="cmdname">Create Command
(CRTCMD)</span> command when the command was created. You can also use
the <span class="apiname">Retrieve Command Definition (QCDRCMDD)</span> API
to retrieve the structure of a command definition object, including parameter
information, inter-parameter dependency information, and conditional prompting
information. </p>
</div>
</div>
<div>
<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="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><a href="../cl/dspcmd.htm">Display Command (DSPCMD) command</a></div>
<div><a href="../apis/qcdrcmdi.htm">Retrieve Command Information (QCDRCMDI) API</a></div>
<div><a href="../apis/qcdrcmdd.htm">Retrieve Command Definition (QCDRCMDD) API</a></div>
</div>
</div>
</body>
</html>