CL Command Reference - CMD
CL Command List > CMD Reference
Description:
The Command (CMD) command definition statement specifies the prompt text for the command being created. The prompt text is displayed when a user requests prompting while entering the command that is being defined. The CMD statement can be anywhere in the source file referred to by the Create Command (CRTCMD) command; one and only one CMD statement must be used in the source file even if no prompt text is specified for the created command.
Examples:
CMD PROMPT(UCD0001)
This statement describes a command that is prompted with additional text in the display heading. The command prompt text comes from the message identified by UCD0001. The message file which contains message identifier UCD0001 must be specified on the PMTFILE parameter of the Create Command (CRTCMD) command used to create the command definition object.