Exit This Query
Type choices, press Enter.
Save definition . . .
N
Y=Yes, N=No
Run option . . . . . .
3
1=Run interactively
2=Run in batch
3=Do not run
For a saved definition:
Query . . . . . . .
CEBQRY
Name
Library . . . . .
YOURLIB
Name, F4 for list
Text
. . . . .
Lists customer names and addresses
Authority . . . . .
*CHANGE
*LIBCRTAUT, *CHANGE, *ALL
*EXCLUDE, *USE
authorization list name
F4=Prompt
F5=Report
F13=Layout
F14=Define the query
12. Press the Enter key. The Work with Queries display is shown.
Work with Queries
Type choices, press Enter.
Option . . . . . . .
1=Create, 2=Change, 3=Copy, 4=Delete
5=Display, 6=Print definition
8=Run in batch 9=Run
Query
. . . . . . .
CEBQRY
Name, F4 for list
Library . . . . . .
YOURLIB
Name, *LIBL, F4 for list
F3=Exit
F4=Prompt
F5=Refresh
F12=Cancel
Query option processing completed successfully.
To sign off the system or use it for something other than Query, press F3 (Exit) to return to the menu
from which you chose to use Query.
Query for iSeries query exercise: Creating an advanced query
In the following example, you create a file named
QRYFILE
by using the Display Object Description
(DSPOBJD) command. The file contains descriptions of all the objects that currently reside in the QGPL
library. Then, using several of Query’s definition step options, you create a query definition that obtains
information from
QRYFILE
and creates a report showing that information.
Note:
This example does not explain the DSPOBJD command and its parameters. For additional
information, see the CL Reference information in the iSeries Information Center.
Appendix B. Practice exercise for Query for iSeries query
215
Содержание 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 ...