Previous Topic: Step 3— Choose columns and specify selection criteriaNext Topic: Step 5— Retrieve the data


Step 4— Specifying additional selection criteria

Additional selection criteria

The Additional selection criteria field and the Selection Criteria screen, give you more room to add selection criteria for the rows of data you want in your report.

In this example, you want to report on those employees whose:

Begin entering the additional selection criteria on this screen. Then specify Y to go to the Selection Criteria Screen for more room to enter selection criteria.

CA OLQ Release nn.n *** Column Select *** -> Page 1 Of 1 124000 Select columns, specify selection criteria and press the ENTER key. Columns Currently Selected: 0 Selection Criteria Distinct N Y/N _ EMPLOYEE _ 02 EMP-ID s 02 EMP-LAST-NAME _ 02 EMP-FIRST-NAME s 02 START-YEAR s 02 DEPT-HEAD-ID s 02 DEPT-ID eq 4000 s 02 SALARY-AMOUNT s 02 PROJECT _ 02 OFFICE-CODE Additional Selection Criteria: PROJECT EQ 'EVALUATION' Proceed to Selection Criteria Screen? Y Y/N 1=HELP 3=QUIT 4=MESSAGE 6=MENU PA2=REFRESH

Finish entering the additional selection criteria.

CA OLQ Release nn.n ***Selection Criteria*** -> Line 1 Of 1 146000 Type in selection criteria, and press the ENTER key. Please Enter Additional Selection Criteria: PROJECT EQ 'EVALUATION' AND (DEPT-ID EQ 0111) AND (EMP-LAST-NAME EQ 'C' OR EMP-LAST-NAME EQ 'S') AND (SALARY-AMOUNT GT 40000 AND SALARY- AMOUNT LT 100000) AND (START-YEAR GT 88) 1=HELP 3=QUIT 4=MESSAGE 6=MENU PA2=REFRESH

With the Selection Criteria screen you can also enter: