z/OS TSO/E Programming Services
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Defining command operand syntax

z/OS TSO/E Programming Services
SA32-0973-00

If you write your own Command Processors, and you intend to use the Parse Service Routine to determine which operands have been entered following the command name, your command operands must adhere to the syntactical structure described in this section.

Command operands must be separated from one another by one or more of the separator characters: blank, tab, comma, or a comment (see Table 1). The command operands end either at the end of a logical line (carrier return), or at a semicolon. If the command operands end with a semicolon, and other characters are entered after the semicolon but before the end of the logical line, the Parse Service Routine ignores the portion of the line that follows the semicolon. The parse service routine does not issue a message to indicate this condition.

The Parse Service Routine recognizes two types of command operands:
Positional operands
This type must be entered first in the parameter string, and they must be entered in a specific order.
Keyword operands
This type can be entered anywhere in the command as long as they follow all positional operands. See Keyword operands for more information.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014