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

194 lines
11 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="reference" />
<meta name="DC.Title" content="Command definition source listing" />
<meta name="abstract" content="When you create a command, a source list is produced." />
<meta name="description" content="When you create a command, a source list is produced." />
<meta name="DC.subject" content="command definition, source list, command, CL, defining, list, source list, command definition" />
<meta name="keywords" content="command definition, source list, command, CL, defining, list, source list, command definition" />
<meta name="DC.Relation" scheme="URI" content="ccmds.htm" />
<meta name="DC.Relation" scheme="URI" content="cdefs.htm" />
<meta name="DC.Relation" scheme="URI" content="cdefs.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="cdslt" />
<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>Command definition source listing</title>
</head>
<body id="cdslt"><a name="cdslt"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Command definition source listing</h1>
<div><p>When you create a command, a source list is produced.</p>
<div class="section"><p>The following shows a sample source list. The numbers refer to
descriptions following the list.</p>
</div>
<div class="example"> <div class="fignone"><pre> 5722SS1 V5R3M0 031231<span><strong>1</strong></span> Command Definition DSTPRODLB/ORDENTRY SYSNAME 11/20/98 14:53:32<span><strong>2</strong></span>Page 1<span><strong>3</strong></span>
Command name . . . . . . . . . . . . . . . . : ORDENTRY
Library . . . . . . . . . . . . . . . . . . : DSTPRODLB
Command processing program . . . . . . . . . : ORDENT <span><strong>4</strong></span>
Library . . . . . . . . . . . . . . . . . . : *LIBL
Source file . . . . . . . . . . . . . . . . . : QCMDSRC
Library . . . . . . . . . . . . . . . . . . : QGPL
Source file member . . . . . . . . . . . . . : ORDENTRY 11/20/98 14:54:32
Validity checker program . . . . . . . . . . : *NONE
Mode in which valid . . . . . . . . . . . . . : *PROD
*DEBUG
*SERVICE
Environment allowed . . . . . . . . . . . . . : *IREXX
*BREXX
*BPGM
*IPGM
*EXEC
*INTERACT
*BATCH
*BMOD
*IMOD
Allow limited user . . . . . . . . . . . . . : *NO
Max positional parameters . . . . . . . . . . : *NOMAX
Prompt file . . . . . . . . . . . . . . . . . : *NONE
Message file . . . . . . . . . . . . . . . . : QCPFMSG
Library . . . . . . . . . . . . . . . . . . : *LIBL
Authority . . . . . . . . . . . . . . . . . . : *LIBCRTAUT
Replace command . . . . . . . . . . . . . . . : *YES
Enable graphical user interface . . . . . . . : *NO
Threadsafe . . . . . . . . . . . . . . . . . : *NO
Multithreaded job action . . . . . . . . . . : *SYSVAL
Text . . . . . . . . . . . . . . . . . . . . : Calls order entry application
Help book name . . . . . . . . . . . . . . . : *NONE
Help bookshelf. . . . . . . . . . . . . . . . : *NONE
Help panel group . . . . . . . . . . . . . . : *NONE
Help identifier . . . . . . . . . . . . . . . : *NONE
Help search index . . . . . . . . . . . . . . : *NONE
Current library . . . . . . . . . . . . . . . : *NOCHG
Product library . . . . . . . . . . . . . . . : *NOCHG
Prompt override program . . . . . . . . . . . : *NONE
Compiler . . . . . . . . . . . . . . . . . . : IBM AS/400 Command Definition Compiler <span><strong>5</strong></span>
Command Definition Source
<span><strong>6</strong></span>
SEQNBR *...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... 8 ...+... 9 ...+. DATE <span><strong>8</strong></span>
100- CMD PROMPT('Order entry command') 11/20/98
<span><strong>7</strong></span>
200- PARM KWD(OETYPE) TYPE(*CHAR) RSTD(*YES) + 11/20/98
300 VALUES(DAILY WEEKLY MONTHLY) MIN(1) + 11/20/98
400 PROMPT('Type of order entry:') 11/20/98
* * * * * E N D O F S O U R C E * * * * *
5769SS1 V4R4M0 990521 Command Definition DSTPRODLB/ORDENTRY 11/20/98 14:54:32 Page 2
Cross Reference
Defined Keywords <span><strong>9</strong></span>
Keyword Number Defined References
OETYPE 001 200
* * * * * E N D O F C R O S S R E F E R E N C E * * * * *
5769SS1 V4R4M0 990521 Command Definition DSTPRODLB/ORDENTRY 11/20/98 14:54:32 Page 3
Final Messages
Message Sequence
ID Number Sev Text <span><strong>10</strong></span>
Message Summary
Total Info Error
0 0 0 <span><strong>11</strong></span>
* CPC0202 00 Command ORDENTRY created in library DSTPRODLB. <span><strong>12</strong></span>
* * * * * E N D O F C O M P I L A T I O N * * * * *</pre>
</div>
</div>
<div class="section"><p><em>Title:</em> </p>
<dl><dt class="dlterm"><span>1</span></dt>
<dd>The program number, version, release, modification level, and date of i5/OS™.</dd>
<dt class="dlterm"><span>2</span></dt>
<dd>The date and time of this run.</dd>
<dt class="dlterm"><span>3</span></dt>
<dd>The page number in the list.</dd>
</dl>
</div>
<div class="section"><p><em>Prologue</em> </p>
<dl><dt class="dlterm"><span>4</span></dt>
<dd>The parameter values specified (or defaults if not specified) on the CRTCMD
command. If the source is not in a database file, the member name, date,
and time are omitted.</dd>
<dt class="dlterm"><span>5</span></dt>
<dd>The name of the create command definition compiler.</dd>
</dl>
</div>
<div class="section"><p><em>Source:</em> </p>
<dl><dt class="dlterm"><span>6</span></dt>
<dd>The sequence number of lines (records) in the source file. A dash following
a sequence number indicates that a source statement begins at that sequence
number. The absence of a dash indicates that a statement is the continuation
of the previous statement. For example, a PARM source statement starts at
sequence number 200 and continues at sequence numbers 300 and 400. (Note
the continuation character of + on the PARM statement at sequence number 200
and 300.) <p>Comment source statements are handled like any other source
statement and have sequence numbers.</p>
</dd>
<dt class="dlterm"><span>7</span></dt>
<dd>The source statements.</dd>
<dt class="dlterm"><span>8</span></dt>
<dd>The last date the source statement was changed or added. If the statement
has not been changed or added, no date is shown. If the source is not in
a database file, the date is omitted. <p>If an error is found during processing
of the command definition statements and can be traced to a specific source
statement, the error message is printed immediately following the source statement.
An asterisk (*) indicates that the line contains an error message. The line
contains the message identifier, severity, and the text of the message.</p>
</dd>
</dl>
</div>
<div class="section"><p><em>Cross-references:</em> </p>
<dl><dt class="dlterm"><span>9</span></dt>
<dd>The keyword table is a cross-reference list of the keywords validly defined
in the command definition. The table lists the keyword, the position of the
keyword in the command, the sequence number of the statement where the keyword
is defined, and the sequence numbers of statements that refer to the keyword.
<p>If valid labels are defined in the command definition, a cross-reference
list of the labels (label table) is provided. The table lists the label,
the sequence number of the statement where the label is defined, and the sequence
numbers of statements that refer to the label.</p>
</dd>
</dl>
</div>
<div class="section"><p><em>Messages:</em> </p>
<dl><dt class="dlterm"><span>10</span></dt>
<dd>A list of the general error messages not listed in the source section
that were encountered during processing of the command definition statements,
if any. For each message, this section contains the message identifier, the
sequence number of where the error occurred, the severity, and the message.</dd>
</dl>
</div>
<div class="section"><p><em>Message summary:</em> </p>
<dl><dt class="dlterm"><span>11</span></dt>
<dd>A summary of the number of messages issued during processing of the command
definition statements. The total number is given along with totals by severity.</dd>
<dt class="dlterm"><span>12</span></dt>
<dd>A completion message is printed following the message summary.</dd>
</dl>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="ccmds.htm" title="After you have defined your command through the command definition statements, you use the Create Command (CRTCMD) command to create the command.">Create commands</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="cdefs.htm" title="The types of errors that are caught during processing of the command definition statements include syntax errors, references to keywords and labels not defined, and missing statements.">Command errors when processing command definition statements</a></div>
</div>
</div>
</body>
</html>