Previous Topic: Choice of Required ParametersNext Topic: Optional Parameter


Default Value for a Required Parameter

When a required parameter in a syntax diagram has a default value, the default value appears above the main line, and it indicates the value for the parameter if the command is not specified. If you specify the command, you must code the parameter and specify one of the displayed values.

The following is a diagram of a statement with a default value for a required parameter:

►►─ COMMAND ─ PARM1= ─┬─ YES ◄ ─┬─ PARM2 ─────────────────────────────────────►◄
                      └─ NO ────┘

If you specify the command, you must write one of the following:

COMMAND PARM1=NO PARM2
COMMAND PARM1=YES PARM2