Define the Query
Query . . . . . . :
KJOQRY
Option . . . . . :
CHANGE
Library . . . . . :
YOURLIB
CCSID . . . . . . :
37
Type options, press Enter. Press F21 to select all.
1=Select
Opt
Query Definition Option
> Specify file selections
_
Define result fields
_
Select and sequence fields
1
Select records
_
Select sort fields
_
Select collating sequence
_
Specify report column formatting
_
Select report summary functions
_
Define report breaks
_
Select output type and output form
_
Specify processing options
F3=Exit
F5=Report
F12=Cancel
F13=Layout
F18=Files
F21=Select all
6. Press the Enter key. The Select Records display is shown.
Select Records
Type comparisons, press Enter. Specify OR to start each new group.
Tests: EQ, NE, LE, GE, LT, GT, RANGE, LIST, LIKE, IS, ISNOT...
AND/OR Field
Test
Value (Field, Number, or ’Characters’)
______________
_____ ______________________________
____
______________
_____ ______________________________
____
______________
_____ ______________________________
____
______________
_____ ______________________________
____
______________
_____ ______________________________
____
______________
_____ ______________________________
Bottom
Field
Text
Len Dec
LASTNAME
Last name
15
FIRSTNAME
First name
10
ADDRESS1
Address line 1
20
ADDRESS2
Address line 2
20
CITY
City
15
F3=Exit
F5=Report
F9=Insert
F11=Display names only
F12=Cancel
F13=Layout
F20=Reorganize
F24=More keys
The fields in the file
NAMEADDR
are listed on the bottom portion of this display. (If your display is not in
single-column list format, that is the
Text
,
Len
, and
Dec
prompts are not shown, press F11.) You can
move your cursor to any place in the list and press the Page Down key to see more field names.
7. Complete the
Field
,
Test
, and
Value
columns on the display as follows:
212
Query for iSeries Use V5R2
Содержание ISERIES SC41-5210-04
Страница 1: ...iSeries Query for iSeries Use Version 5 SC41 5210 04 ERserver ...
Страница 2: ......
Страница 3: ...iSeries Query for iSeries Use Version 5 SC41 5210 04 ERserver ...
Страница 12: ...x Query for iSeries Use V5R2 ...
Страница 14: ...2 Query for iSeries Use V5R2 ...
Страница 18: ...Figure 3 Major Tasks on the Query Menu and the Work with Queries Display 6 Query for iSeries Use V5R2 ...
Страница 32: ...20 Query for iSeries Use V5R2 ...
Страница 38: ...26 Query for iSeries Use V5R2 ...
Страница 44: ...32 Query for iSeries Use V5R2 ...
Страница 116: ...104 Query for iSeries Use V5R2 ...
Страница 122: ...110 Query for iSeries Use V5R2 ...
Страница 146: ...134 Query for iSeries Use V5R2 ...
Страница 150: ...138 Query for iSeries Use V5R2 ...
Страница 174: ...162 Query for iSeries Use V5R2 ...
Страница 178: ...166 Query for iSeries Use V5R2 ...
Страница 196: ...184 Query for iSeries Use V5R2 ...
Страница 198: ...186 Query for iSeries Use V5R2 ...
Страница 204: ...192 Query for iSeries Use V5R2 ...
Страница 205: ...Part 4 Appendixes Copyright IBM Corp 2000 2002 193 ...
Страница 206: ...194 Query for iSeries Use V5R2 ...
Страница 210: ...198 Query for iSeries Use V5R2 ...
Страница 242: ...230 Query for iSeries Use V5R2 ...
Страница 256: ...244 Query for iSeries Use V5R2 ...
Страница 270: ...258 Query for iSeries Use V5R2 ...
Страница 272: ...260 Query for iSeries Use V5R2 ...
Страница 292: ...280 Query for iSeries Use V5R2 ...
Страница 293: ......
Страница 294: ... Printed in U S A SC41 5210 04 ...