To compile a syntax model, issue the following commands:
acf ACF set model MODEL decompile fn
The file name of the sample model file in the previous list.
Note: The default MDLTYPE from the CMDLIM VMO record is used unless the MDLTYPE is specified on each model in the file being compiled or the MDLTYPE parameter is included on the COMPILE command.
For more information on compiling command syntax models, see the Installation Guide.
Below is a sample compile of the syntax model.
* ACFMOUNT COMMAND
COMMAND ACFMOUNT
FORMAT
OPERAND VOLSER,6,TRAN=ANY
OPERAND GROUP=OPTIONS
FORMAT END
OPTIONS GROUP TYPE=OPTIONAL
OPERAND VCUU,4,TRAN=VCUU
ADDRESS OF VIRTUAL TAPE DRIVE
OPERAND LIST=((WRITE), -
(READ,TYPE=DEFAULT))
GROUP END
COMMAND END
.
.
.
COMMAND WARNING
FORMAT CLASS=AB
OPERAND LIST=( -
(ALL,3), -
(*,1,TRAN=SELF), -
(OPERATOR,2), -
(USERID,8,TRAN=USER) -
)
OPERAND MSGTEXT,231,TRAN=REST,OPTIONAL
FORMAT END
COMMAND END
For the sake of brevity, the above syntax model only shows the first and last CP commands in this model. For information about the names of the syntax model files, see the Installation Guide.
Many VM sites often develop complete CP commands locally. If this is the case at your site, be sure to define a command model for each locally-developed CP command. This lets CA ACF2 for z/ VM validate execution of the command using the standard command limiting feature.
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|