Previous Topic: Compiling Command Syntax ModelsNext Topic: Characteristics of a Command Model


Components of a Model

Each command model describes a valid CP command, its formats, and its operands. Command models are created through the syntax model command language facility.

You use the following set of clauses to define a syntax model.

COMMAND clause

Identifies a command by name. It signals the start of a command model definition and signals the end of a command model.

FORMAT clause

Identifies the VM privilege class required to use a particular format of a command. You can specify multiple FORMAT clauses for a single command to accommodate CP commands that have multiple formats.

NEXTMDL clause

Describes how you can break large command limiting models into smaller, more manageable syntax models.

OPERAND clause

Describes an individual command operand and its attributes.

GROUP clause

Describes groups of command operands that relate or depend on each other. Typically, a GROUP clause describes keyword operands, required operands, optional operands, and mutually exclusive operand groups.

COMMENT clause

Places comments in the command model.

NULL clause

Places blank (or null) lines in the command model to make reading a command model easier.