The syntax diagrams for the batch commands do not accurately depict
white space (line breaks and blank characters). Here are the rules:
- Separate the command name, such as APPROVE, from its parameters
(keyword=value etc.)
with one or more blanks.
- Separate parameters with commas. Do not insert blanks
between or within parameters that are on the same input line.
- The comma-separated list of parameters can continue
over multiple input lines. Begin a new line only after a comma. Do
not split individual parameters over lines.
- When specifying a comparison operator for the COND
parameter of the CRITERIASET command (for reporting, and for unloading
or loading journal records), the following rules apply:
- If you use a 2-letter code, such as EQ, then you must insert one
or more blanks before and after the operator
- If you use a sign, such as =, then do not insert blanks before
or after the sign
For example, this is correct:
APPROVE CPID=555,SCHEME=TEST,
ROLE=MANAGER
Note that the parameters CPID=555 and SCHEME=TEST are
separated only by a comma, with no blanks in between.
This is also correct:
UNLOAD DELETE=YES,KEEPINSTANCES=2
CRITERIASET COND=(API_COMMAND EQ MIGRATE),
COND=(CONFIGURATION=PROD*)