Take a look at some of the CP commands that are documented in the IBM CP Command Reference. Notice that:
To illustrate some of these characteristics, review the standard syntax for the IPL command in the next figure.
Ipl {vaddr [cylno ] {CLear } }
{ [nnnnnn] {NOCLear} [STOP] [ATTN]}[PARM p1 [p2..[p32]]]
systemname
While reviewing the IPL command syntax, notice:
The syntax model command language provides a relatively straightforward method for modelling a command. An example of how the IPL command is modelled follows:
Notes: SMCL CLAUSES:
1. COMMAND IPL
*
2. FORMAT CLASS=G
3. OPERAND vcuu,4,TRAN=VCUU
4. OPERAND GROUP=OPTIONS
5. OPERAND GROUP=PLIST
FORMAT END
6. FORMAT CLASS=G
7. OPERAND systemname,8,TRAN=ANY
5. OPERAND GROUP=PLIST
FORMAT END
4. OPTIONS GROUP TYPE=OPTIONAL
OPERAND LIST=((cylno,3,TRAN=HEX), -
(nnnnnn,6,TRAN=DECIMAL))
OPERAND LIST=((CLEAR,2), -
(NOCLEAR,4,TYPE=DEFAULT))
OPERAND STOP,4
OPERAND ATTN,4
GROUP END
5. PLIST GROUP TYPE=KEYWORD
OPERAND PARM,4
OPERAND P1,8,TRAN=ANY
OPERAND P2,8,TRAN=ANY,OCCURS=31,OPTIONAL
GROUP END
8. COMMAND END
Most of the supplied models shown in this guide apply to VM/HPO Release 4.2 systems.
OPTIONS GROUP TYPE=OPTIONAL
OPERAND LIST=((cylno,3,TRAN=HEX), -
(nnnnnn,6,TRAN=DECIMAL))
OPERAND LIST=((CLEAR,2), -
(NOCLEAR,4,TYPE=DEFAULT))
OPERAND STOP,4
OPERAND ATTN,4
GROUP END
See how the CLEAR and NOCLEAR operands are described in the model. These are called mutually exclusive operands, meaning you can choose either CLEAR or NOCLEAR, but not both. The 2 following CLEAR and the 4 following NOCLEAR indicate the minimum length of these operands. NOCLEAR is identified as the default operand through a TYPE=DEFAULT verb. The GROUP END clause signals the end of this operand group.
PLIST GROUP TYPE=KEYWORD
OPERAND PARM,4
OPERAND P1,8,TRAN=ANY
OPERAND P2,8,TRAN=ANY,OCCURS=31,OPTIONAL
GROUP END
The first parm value (P1) means that you must enter at least one value whenever you specify the PARM keyword.
If you specify PARM with nothing following it, CA ACF2 for z/ VM stops looking at the command model and signals a syntax error.
The first operand in the second format is systemname that has a maximum length of eight characters.
Because there is no way to know what value systemname is when you enter the command, a transposition routine (TRAN=ANY) is used when you enter the IPL command. This verifies that the length of systemname is one to eight characters. This FORMAT clause also references the GROUP clause labeled PLIST (see Note 5).
The next section describes each syntax model command language clause and its verbs in detail.
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|