1. On the command line of the OS/400 Main Menu, type the DSPOBJD command as shown on the
following display and press the Enter key. This creates the file named
QRYFILE
and puts it in the
library QGPL.
Note:
When you type
*ALL
for the OBJTYPE parameter, you must include a space after
*ALL
or you
will receive an error message. You must type in the entire command
exactly
as it appears on
the display that follows.
MAIN
OS/400 Main Menu
System:
RCH38342
Select one of the following:
1. User tasks
2. Office tasks
3. General systemtasks
4. Files, libraries, and folders
5. Programming
6. Communications
7. Define or change the system
8. Problemhandling
9. Display a menu
90. Sign off
Selection or command
===> DSPOBJD OBJ(QGPL/*ALL) OBJTYPE(*ALL ) OUTPUT(*OUTFILE) OUTFILE(QGPL/QRYFIL
E)
F3=Exit
F4=Prompt
F9=Retrieve
F12=Cancel
F13=User support
F23=Set initial menu
(C) COPYRIGHT IBM CORP. 1980, 1991.
2. Type
WRKQRY
on the command line and press the Enter key.
MAIN
OS/400 Main Menu
System:
RCH38342
Select one of the following:
1. User tasks
2. Office tasks
3. General systemtasks
4. Files, libraries, and folders
5. Programming
6. Communications
7. Define or change the system
8. Problemhandling
9. Display a menu
90. Sign off
Selection or command
===> WRKQRY
F3=Exit
F4=Prompt
F9=Retrieve
F12=Cancel
F13=User support
F23=Set initial menu
3. The Work with Queries display is shown. On this display, choose option 1 (Create). Then name your
query by typing a name in the
Query
prompt, and specify the library where your query will be stored
by typing a name in the
Library
prompt. Press the Enter key.
216
Query for iSeries Use V5R2
Summary of Contents for @server iSeries
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 ...