SELECT and BYPASS are optional parameters that select records to be processed based upon specified selection criteria. By using SELECT or BYPASS parameters, you can produce reports that contain only the required information (for example, all programs created after a particular date).
Syntax
Col 2 ▼ ►►──┬─ SELect ─┬─┬─ BUFFER ───────────────────────────────────┬───────────────► └─ BYPass ─┘ └─ record-name level-number IN PATH path-id ─┘ ►─ WHEN boolean-expression ──────────────────────────────────────────────────►◄
Expanded Syntax for boolean-expression
►►── operand test-operation ─┬─ operand TO operand ─┬─────────────────────────► │ ┌───────────┐ │ └─▼─ operand ─┴────────┘ ┌─────────────────────────────────────────────────────────────┐ ►─▼─┬─ AND ─┬─ operand test-operation ─┬─ operand TO operand ─┬─┴────────────►◄ └─ OR ──┘ │ ┌───────────┐ │ └─▼─ operand ─┴────────┘
Parameters
Selects input data. SELECT is coded starting in column 2. One or more SELECT parameters can be specified per run, but you can not use both SELECT and BYPASS (see below) in a run.
Bypasses input data. BYPASS is coded starting in column 2. One or more BYPASS parameters can be specified per run, but you can not use both SELECT (see above) and BYPASS in a run.
Applies the selection criteria to the contents of the completed input buffer (rather than to a specific record type).
(D-, C-, and AREPORTs only) Applies the selection criteria to a specific database record. Record-name is the name of a database record, which must also appear on a PATH parameter for the report.
Identifies the occurrence of record in the path; the default is 1.
Identifies the path containing the database record. Path-id is a 2-byte primary path identifier. If no path id is specified, the selection criteria apply to all preceding PATH parameters that specify the named record.
Specifies the test criteria to be applied to each record.
Specifies an alphanumeric, numeric, or hexadecimal literal or the name of a data item:
The data type of the left operand must match the data type of the right operand in a boolean expression. To list operands on the right side of the expression:
For example:
MAP-NAME-098 EQ ('JKDMAP','DEHMAP','TDBMAP').
Specifies a comparison operator:
Specifies a range of values to which the left operand is to be compared. Operand must be a literal value or the name of a data item, as defined under operand above. The specified range must be enclosed in parentheses. For example, MAP-NAME-098 EQ ('A' TO 'G').
Allows the specification of additional test criteria:
Continuing a SELECT or BYPASS Parameter
If the SELECT or BYPASS parameter does not fit on one line, code an asterisk (*) in column 1 of each continuation line.
|
Copyright © 2013 CA.
All rights reserved.
|
|