The nine general rules applying to all CA JARS Wizard control statements are described next.
LIST JOB NAME, STEP NAME, ACTIVE TIME
The statement name (LIST in the sample statement) can start in any position; however, it must be the first entry in the control statement.
Keyword parameters can appear anywhere after the statement name except in the middle of a list.
Lists such as the string of data field names given above, can be of various lengths. Each entry except the last must be followed by a comma.
Data field names can contain blank spaces, but never more than one at a time.
Example:
JOB NAME - valid JOB NAME - invalid
Any number of blank spaces can be inserted before or after a data field name, statement name, or punctuation.
Both of the following statements are valid:
SELECT APPL CODE EQ AB137596 SELECT APPL CODE EQ 'AB137596'
The first statement, with no quotation marks, causes CA JARS Wizard to perform the following checks:
Any control record with an * in column 1 is treated as a comment. The text is included in the listing for the run, but it has no effect on processing. One or more comments can be inserted at any point in the control statements.
Any statement can be continued onto one or more additional records by two methods:
, comma AND EQ EL
OR NE LE
THEN GT GE
ELSE LT
ALWAYS EG
CA JARS Wizard assumes that position 1 of the continuation record immediately follows position 71 of the record that is being continued. All the rules for the use of blank spaces apply; therefore, if a data field name, literal value, or keyword is interrupted, the text must resume in position 1. Otherwise, initial columns can be left blank if it helps to format the statement listing.
In addition, COMPUTE, SELECT, REJECT, and EXCEPTION statements are assumed to be continued if the statement only contains the keyword and if the statement ends with an operator (for example, +,-,*,/).
Certain words have special meaning to CA JARS Wizard and must not be used for anything else. For example:
BLANK BLANKS SPACE SPACES
All refer to a field of blank spaces. It can be any length. These words can be used to move a field of blanks to a data field, to compare a field with a field of blanks, or to base selection on whether a field contains blanks.
| Copyright © 2012 CA. All rights reserved. |
|