Work with Queries
Type choices, press Enter.
Option . . . . . . .
1
1=Create, 2=Change, 3=Copy, 4=Delete
5=Display, 6=Print definition
8=Run in batch 9=Run
Query . . . . . . . .
QNAME
Name, F4 for list
Library . . . . . .
YOURLIB
Name, *LIBL, F4 for list
F3=Exit
F4=Prompt
F5=Refresh
F12=Cancel
(C) COPYRIGHT IBM CORP. 1988, 1991
4. On the Define the Query display, select definition steps
Select and sequence fields
,
Select records
,
Select sort fields
,
Specify report column formatting
,
Select report summary functions
, and
Define
report breaks
by typing a 1 to the left of each of them. (Notice that
Specify file selections
is already
selected for you.) Press the Enter key.
Define the Query
Query . . . . . . :
QNAME
Option . . . . . :
CREATE
Library . . . . :
YOURLIB
CCSID . . . . . . :
37
Type options, press Enter. Press F21 to select all.
1=Select
Opt
Query Definition Option
1
Specify file selections
Define result fields
1
Select and sequence fields
1
Select records
1
Select sort fields
Select collating sequence
1
Specify report column formatting
1
Select report summary functions
1
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
Query presents the selected definition step displays to you in the order in which they are listed on the
Define the Query display.
5. On the Specify File Selections display, which is the first display shown after the Define the Query
display, type
QRYFILE
in the
File
prompt and
QGPL
in the
Library
prompt. The
Member
and
Format
prompts already are filled in for you. Press the Enter key.
Appendix B. Practice exercise for Query for iSeries query
217
Summary of Contents for ISERIES SC41-5210-04
Page 1: ...iSeries Query for iSeries Use Version 5 SC41 5210 04 ERserver ...
Page 2: ......
Page 3: ...iSeries Query for iSeries Use Version 5 SC41 5210 04 ERserver ...
Page 12: ...x Query for iSeries Use V5R2 ...
Page 14: ...2 Query for iSeries Use V5R2 ...
Page 32: ...20 Query for iSeries Use V5R2 ...
Page 38: ...26 Query for iSeries Use V5R2 ...
Page 44: ...32 Query for iSeries Use V5R2 ...
Page 116: ...104 Query for iSeries Use V5R2 ...
Page 122: ...110 Query for iSeries Use V5R2 ...
Page 146: ...134 Query for iSeries Use V5R2 ...
Page 150: ...138 Query for iSeries Use V5R2 ...
Page 174: ...162 Query for iSeries Use V5R2 ...
Page 178: ...166 Query for iSeries Use V5R2 ...
Page 196: ...184 Query for iSeries Use V5R2 ...
Page 198: ...186 Query for iSeries Use V5R2 ...
Page 204: ...192 Query for iSeries Use V5R2 ...
Page 205: ...Part 4 Appendixes Copyright IBM Corp 2000 2002 193 ...
Page 206: ...194 Query for iSeries Use V5R2 ...
Page 210: ...198 Query for iSeries Use V5R2 ...
Page 242: ...230 Query for iSeries Use V5R2 ...
Page 256: ...244 Query for iSeries Use V5R2 ...
Page 270: ...258 Query for iSeries Use V5R2 ...
Page 272: ...260 Query for iSeries Use V5R2 ...
Page 292: ...280 Query for iSeries Use V5R2 ...
Page 293: ......
Page 294: ... Printed in U S A SC41 5210 04 ...