Previous Topic: REC ParameterNext Topic: SELECT / BYPASS Parameters


SELECT / BYPASS—Overview

More information:

SELECT / BYPASS Parameters

What They Do

SELECT/BYPASS (SEL/BYP) parameters establish selection criteria that are applied to input records at run time. When SELECT/BYPASS parameters are included, users can select or deselect records required for a particular CA Culprit run. SELECT/BYPASS parameters apply to all reports processed for a CA Culprit run; selection logic need not be repeated during record processing for multiple reports.

SELECT and BYPASS parameters process input records:

When to Use Them

Preference for SELECT or BYPASS depends on which method more clearly states the test conditions. Either parameter type can be coded more than once for the same input file; however, both SELECT and BYPASS parameters must not be coded for the same input file. The following figure shows how selection criteria apply to an input file.

                                                                 ┌───────────┐
          ┌───────────┐                                          │REPORT nn  │
        ┌─┴─────────┐6│                       ┌───────────┐      │PROCESSING │
      ┌─┴─────────┐5│ │                     ┌─┴─────────┐4│    ┌─┴─────────┐ │
    ┌─┴─────────┐4│ ├─┘  ┌───────────┐    ┌─┴─────────┐3│ │    │REPORT 02  ├─┘
  ┌─┴─────────┐3│ ├─┘    │ SEL CODE  │  ┌─┴─────────┐2│ ├─┘    │PROCESSING │
┌─┴─────────┐2│ ├─┘ ─────► EQ(1 TO 4)├──►          1│ ├─┘ ──►┌─┴─────────┐ │
│          1│ ├─┘        │           │  │           ├─┘      │REPORT 01  ├─┘
│           ├─┘          └───────────┘  └───────────┘        │PROCESSING │
└───────────┘                                                │           │
                                                             └───────────┘

Note: Input records that have CODE equal to a value in the range 1 through 4 inclusive are selected for processing. The selected records are passed to each report in the Culprit run.

Syntax for the SELECT/BYPASS parameter follows.