When you create a command, a source list is produced. The following shows a sample source list. The numbers refer to descriptions following the list.
5769SS1 V4R5M0 990521(1) Command Definition DSTPRODLB/ORDENTRY 11/20/98 14:53:32(2)Page 1(3)
Command name . . . . . . . . . . . . . . . . : ORDENTRY
Library . . . . . . . . . . . . . . . . . . : DSTPRODLB
Command processing program . . . . . . . . . : ORDENT (4)
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 (5)
Command Definition Source
(6)
SEQNBR *...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... 8 ...+... 9 ...+. DATE (8)
100- CMD PROMPT('Order entry command') 11/20/98
(7)
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 (9)
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 (10)
Message Summary
Total Info Error
0 0 0 (11)
* CPC0202 00 Command ORDENTRY created in library DSTPRODLB. (12)
* * * * * E N D O F C O M P I L A T I O N * * * * *
Title:
Prologue
Source:
Comment source statements are handled like any other source statement and have sequence numbers.
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.
For more information about the command definition errors, see Errors Encountered when Processing Command Definition Statements.
Cross-references:
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.
Messages:
Message summary:
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.